1 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
3 [2.2.0 Release Candidate 3]
5 * debian/changelog: updates
7 2009-09-07 Alejandro G. Castro <alex@igalia.com>
9 * hildon/hildon-pannable-area.c,
10 (hildon_pannable_area_class_init): Increased max speed.
12 2009-09-07 Claudio Saavedra <csaavedra@igalia.com>
14 [2.2.0 Release Candidate 2]
17 * debian/changelog: bump version, updates
19 2009-09-07 Alejandro G. Castro <alex@igalia.com>
21 * hildon/hildon-pannable-area.c,
22 (hildon_pannable_area_class_init),
23 (hildon_pannable_area_button_release_cb): More tuning for the
26 2009-09-07 Alejandro G. Castro <alex@igalia.com>
28 * hildon/hildon-pannable-area.c,
29 (hildon_pannable_area_class_init):
30 Change the default value of the scrollbar_fade_delay.
32 Fixes: NB#127018 (Panning indicator fades out too slowly)
34 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
36 [2.2.0 Release Candidate 1]
39 * configure.ac: Bump version
40 * debian/changelog: updates
42 2009-09-04 Alejandro G. Castro <alex@igalia.com>
44 * hildon/hildon-pannable-area.c,
45 (hildon_pannable_area_init),
46 (hildon_pannable_area_button_press_cb),
47 (hildon_pannable_area_button_release_cb): Added a new acceleration
48 system to help traversing big lists, tuned the stop threshold.
50 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
52 2009-09-04 Alberto Garcia <agarcia@igalia.com>
54 * hildon/hildon-window.h:
55 Document and deprecate HILDON_WINDOW_LONG_PRESS_TIME
57 Fixes: MB#4580 (HILDON_WINDOW_LONG_PRESS_TIME is undocumented)
59 2009-09-04 Claudio Saavedra <csaavedra@igalia.com>
63 * configure.ac: bump version
65 * debian/changelog: updates
67 2009-09-04 Alberto Garcia <agarcia@igalia.com>
69 * hildon/hildon-entry.c
70 * hildon/hildon-text-view.c:
73 2009-09-04 Alberto Garcia <agarcia@igalia.com>
75 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
76 Redraw menu when the number of items change.
78 Fixes: NB#131911 (Appmenu does not resize properly, when number of
81 2009-09-03 Claudio Saavedra <csaavedra@igalia.com>
83 * hildon/hildon-pannable-area.c:
84 (hildon_pannable_area_launch_fade_timeout),
85 (hildon_pannable_area_motion_event_scroll),
86 (hildon_pannable_area_check_move),
87 (hildon_pannable_area_button_release_cb),
88 (hildon_pannable_area_scroll_to):
90 Use a priority of G_PRIORITY_IDLE_HIGH + 20 for all the pannable
91 area drawing operations, since this is the recommended for drawing
94 Fixes: NB#110894 (In event view containing very large description
95 field, application menu is displayed blank while panning)
96 Fixes: NB#131942 (HildonPickerDialog is seen empty when popping up
99 2009-09-03 Alberto Garcia <agarcia@igalia.com>
101 * doc/hildon-sections.txt
102 * hildon/hildon-button.c
103 * hildon/hildon-edit-toolbar.c
104 * hildon/hildon-gtk.[ch]
105 * hildon/hildon-main.c
106 * hildon/hildon-program.c
107 * hildon/hildon-stackable-window.c:
108 Documentation updates
110 2009-08-28 Alberto Garcia <agarcia@igalia.com>
112 * hildon/hildon-app-menu.c
113 (+hildon_app_menu_grab_notify, hildon_app_menu_class_init):
114 Close the menu if it receives a grab-notify signal.
116 Fixes: NB#134533 (UI freezes if we show a dialog with
117 gtk_dialog_run() while a menu is opened)
119 2009-08-27 Alejandro G. Castro <alex@igalia.com>
121 * hildon/hildon-pannable-area.c,
122 (hildon_pannable_area_class_init): Reverted tuning modifications:
123 "Pannign needs to be faster" and "Pannable kinetics in large lists
126 2009-08-26 Alberto Garcia <agarcia@igalia.com>
128 * hildon/hildon-sound.c (hildon_play_system_sound):
129 Set "module-stream-restore.id" to "x-maemo-system-sound" when
130 playing system sounds
132 Fixes: NB#133767 (Information and confirmation note sound should
133 follow system profile setting)
135 2009-08-26 Alejandro G. Castro <alex@igalia.com>
137 * hildon/hildon-pannable-area.c,
138 (hildon_pannable_area_class_init): Added more force and increased
139 the max speed threshold.
141 Fixes: NB#135344 (Pannign needs to be faster)
143 2009-08-26 Claudio Saavedra <csaavedra@igalia.com>
145 [Release 2.1.96, this time for real]
148 * debian/changelog: updates
150 2009-08-26 Alejandro Pinheiro <apinheiro@igalia.com>
152 * hildon/hildon-pannable-area.c
153 (hildon_pannable_area_get_topmost): change the computation of the
154 co-ordinates transformed when no one of the children is a topmost
156 Fixes: NB#133252 (Opening any feed item from RSS always opens the
157 first feed item in browser)
159 2009-08-26 Alejandro G. Castro <alex@igalia.com>
161 * hildon/hildon-pannable-area.c,
162 (hildon_pannable_area_remove_timeouts): Adding this new function
163 with the code that removes the timeouts of the widget.
164 (hildon_pannable_area_dispose),
165 (hildon_pannable_area_unrealize): Use the new remove function to
166 stop timeouts when unrealizing and disposing.
167 (hildon_pannable_area_scroll_to): Added a CLAMP to the position
168 calculation to avoid negative values in some cases.
170 Fixes: NB#135179 (Remove pannable timeouts in unrealize function)
172 2009-08-24 Claudio Saavedra <csaavedra@igalia.com>
174 * examples/hildon-check-button-example.c: (button_toggled_cb):
175 * hildon/hildon-check-button.c: (hildon_check_button_toggled),
176 (hildon_check_button_set_active), (hildon_check_button_new),
177 (hildon_check_button_clicked), (hildon_check_button_class_init):
178 * hildon/hildon-check-button.h:
179 * hildon/hildon-set-password-dialog.c: (create_contents),
180 (hildon_set_password_response_change), (hildon_checkbox_toggled):
182 Revert "Make HildonCheckButton derive from GtkToggleButton"
184 2009-08-21 Alberto Garcia <agarcia@igalia.com>
188 * configure.ac: bump version
190 * debian/changelog: updates
192 2009-08-21 Alberto Garcia <agarcia@igalia.com>
194 * hildon/hildon-check-button.h
195 * hildon/hildon-check-button.c
196 (hildon_check_button_clicked, hildon_check_button_class_init):
197 Make HildonCheckButton derive from GtkToggleButton
198 (hildon_check_button_toggled, hildon_check_button_set_active)
199 (hildon_check_button_get_active):
200 Deprecate unnecessary HildonCheckButton API and use the
201 one from GtkToggleButton instead.
203 * hildon/hildon-set-password-dialog.c (create_contents)
204 (hildon_set_password_response_change, hildon_checkbox_toggled)
205 * examples/hildon-check-button-example.c (button_toggled_cb):
206 Update to use the GtkToggleButton API
208 Fixes: MB#4739 (HildonCheckButton should inherit from
211 Fixes: NB#132661 (HildonCheckButton should inherit from
214 2009-08-20 Alberto Garcia <agarcia@igalia.com>
216 * hildon/hildon-pannable-area.c
217 (hildon_pannable_area_class_init):
218 Increase default value of HildonPannableArea:velocity_max to 2000
220 Fixes: NB#132584 (Pannable kinetics in large lists needs tuning)
222 2009-08-18 Alberto Garcia <agarcia@igalia.com>
226 * configure.ac: bump version
228 * debian/changelog: updates
230 2009-08-11 Alejandro G. Castro <alex@igalia.com>
232 * hildon/hildon-pannable-area.c
233 (hildon_pannable_area_size_allocate): Checked the scrollbars
234 before the first try when defining the layout, avoids two
235 allocations in some situations.
237 Fixes: NB#131794 (pannable area produces unnecessary allocations
238 causing performance problems)
240 2009-08-11 Alejandro G. Castro <alex@igalia.com>
242 * hildon/hildon-pannable-area.c
243 (hildon_pannable_area_button_press_cb),
244 (hildon_pannable_area_motion_notify_cb),
245 (hildon_pannable_area_button_release_cb): Added unrefs to reduce
246 the spurious ref added in the copy, fixes leak of window.
248 Fixes: NB#130900 (HildonPannableArea will leak it's event_window
249 if it's realized without showing and then deleted)
251 2009-08-10 Alberto Garcia <agarcia@igalia.com>
255 * configure.ac: bump version
257 * debian/changelog: updates
259 2009-08-06 Alberto Garcia <agarcia@igalia.com>
261 * examples/hildon-hvolumebar-timer-example.c
263 * hildon/hildon-banner.c
264 (hildon_banner_timeout, hildon_banner_ensure_timeout)
265 * hildon/hildon-calendar.c
266 (calendar_timer, start_spinning)
267 * hildon/hildon-color-chooser.c
268 (inline_limited_expose)
269 * hildon/hildon-date-editor.c
270 (hildon_date_editor_entry_focus_in)
271 (hildon_date_editor_entry_validate)
272 (hildon_date_editor_entry_select_all)
273 * hildon/hildon-note.c
275 * hildon/hildon-number-editor.c
276 (hildon_number_editor_button_pressed)
277 (hildon_number_editor_start_timer, do_mouse_timeout),
278 (add_select_all_idle, hildon_number_editor_select_all)
279 * hildon/hildon-time-editor.c
280 (hildon_time_editor_entry_focus_in)
281 (highlight_callback, hildon_time_editor_validate)
282 (hildon_time_editor_entry_select_all)
283 * hildon/hildon-time-picker.c
284 (hildon_time_picker_arrow_press)
285 (hildon_time_picker_key_repeat_timeout)
286 * hildon/hildon-window.c
287 (hildon_window_key_press_event)
288 (hildon_window_escape_timeout):
289 Replace all calls to g_idle_add/g_timeout_add with their
290 gdk_threads counterparts.
292 Fixes: NB#126198 (gdk-threads API should be used to install idle
293 and timeout handlers)
295 2009-08-06 Alejandro G. Castro <alex@igalia.com>
297 * hildon/hildon-pannable-area.c,
298 (hildon_pannable_area_class_init): Increased the overshooting max
299 speed to get a faster effect.
300 (hildon_pannable_axis_scroll): Increased minimum speed and reduce
301 deceleration of the overshooting
302 (hildon_pannable_area_button_release_cb): Calculate initial
303 overshooting speed when finger on the screen using the distance to
304 launch the effect faster.
306 Fixes: NB#126115 (Pannable list overshooting is unusably slow for
307 lists with slow row renderers)
309 2009-08-05 Alberto Garcia <agarcia@igalia.com>
311 * doc/hildon-sections.txt: Add new functions
313 2009-08-05 Alberto Garcia <agarcia@igalia.com>
315 * hildon/hildon-text-view.[ch]
316 * hildon/hildon-entry.[ch]:
317 Add deprecation guards around deprecated functions.
319 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
321 * hildon/hildon-app-menu.c: Remove leftover function declaration.
323 2009-08-05 Claudio Saavedra <csaavedra@igalia.com>
325 Remove the grab from HildonAppMenu
327 * hildon/hildon-app-menu.c:
328 Now hildon-desktop places a blocker window behind the menu to handle
329 its closing, so the grab is no longer needed. This simplifies its
330 implementation and allows the system blanking to succeed.
332 Fixes: NB#130910 (Screen gets unlocked when menu is open)
334 2009-08-04 Claudio Saavedra <csaavedra@igalia.com>
338 * configure.ac: bump version
340 * debian/changelog: updates
341 * debian/control: raise debian dependency on GTK+
343 2009-08-04 Alberto Garcia <agarcia@igalia.com>
345 * hildon/hildon-text-view.c
346 * hildon/hildon-entry.c:
347 Remove all placeholder code from HildonEntry and HildonTextView
348 and use the API in GtkEntry and GtkTextView instead.
350 * examples/hildon-entry-example.c
351 * examples/hildon-text-view-example.c
352 * examples/hildon-wizard-dialog-example.c
353 * hildon/hildon-get-password-dialog.c
354 * hildon/hildon-login-dialog.c
355 * hildon/hildon-picker-dialog.c
356 * hildon/hildon-set-password-dialog.c
357 * hildon/hildon-touch-selector-entry.c:
358 Replace all deprecated calls to HildonEntry and HildonTextView
359 with their Gtk counterparts.
361 Fixes: NB#122395 (hildon_entry_set_placeholder() should be in
364 2009-08-03 Alejandro G. Castro <alex@igalia.com>
366 * hildon/hildon-pannable-area.c,
367 (hildon_pannable_area_check_move),
368 (hildon_pannable_area_button_release_cb),
369 (hildon_pannable_area_scroll_to): Reverted the priority change of
370 the timeout, in some situations, slow renderers, the click do not
371 make it to the mainloop on time.
373 Fixes NB#131013 (unable to stop panning file manager by tapping on
376 2009-07-30 Claudio Saavedra <csaavedra@igalia.com>
378 * configure.ac: bump version
380 * debian/changelog: updates
382 2009-07-28 Alejandro Pinheiro <apinheiro@igalia.com>
384 * hildon/hildon-touch-selector.[ch]
385 (hildon_touch_selector_center_on_index): New method that allows to center
386 on a item not selected
388 Fixes NB#130291 (New HildonTouchSelector API is required to center on
391 2009-07-29 Alberto Garcia <agarcia@igalia.com>
393 * hildon/hildon-text-view.c
394 (+set_logical_color, +hildon_text_view_style_set)
395 (hildon_text_view_refresh_contents, hildon_text_view_class_init)
396 (hildon_text_view_init)
397 * hildon/hildon-entry.c
398 (+set_logical_color, +hildon_entry_style_set)
399 (hildon_entry_show_placeholder, hildon_entry_hide_placeholder)
400 (hildon_entry_class_init, hildon_entry_init)
401 * hildon/hildon-button.c
402 (+set_logical_font, +set_logical_color)
403 (hildon_button_style_set, hildon_button_init)
404 (hildon_button_set_arrangement, hildon_button_set_style):
405 Remove all calls to hildon_helper_set_logical_font() and
406 hildon_helper_set_logical_color(), which are recursive, from
409 Fixes: NB#123409 (Showing dialog consumes significant amount of
412 2009-07-29 Alejandro G. Castro <alex@igalia.com>
414 * hildon/hildon-pannable-area.c,
415 (hildon_pannable_area_timeout): Added the process updates of the
416 scrollbars window in the pannable.
418 Fixes: NB#130043 (scrollindicator not smooth while panning)
420 2009-07-23 Alejandro G. Castro <alex@igalia.com>
422 * hildon/hildon-pannable-area.c,
423 (hildon_pannable_area_check_move),
424 (hildon_pannable_area_button_release_cb),
425 (hildon_pannable_area_scroll_to): Increased the priority of the
426 timeout this way it is going to be handled before the events.
428 2009-07-22 Claudio Saavedra <csaavedra@igalia.com>
432 * configure.ac: bump version
433 * debian/changelog: updates
435 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
437 * hildon/hildon-entry.c: (set_property): Do not allow to set
438 automatic height and use finger height instead, to prevent an to
439 have a smaller size than than its theme pixbuf.
441 Fixes: NB#118398 (HildonEntry - unnecessary rescaling of images)
443 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
445 * configure.ac: postrelease version bump.
446 * debian/changelog: post release version bump
448 2009-07-21 Claudio Saavedra <csaavedra@igalia.com>
453 * configure.ac: Bump version.
454 * debian/changelog: Updates.
456 2009-07-20 Claudio Saavedra <csaavedra@igalia.com>
458 * hildon/hildon-note.c: (label_size_request): Take the note
459 padding into account when setting the size request.
461 Fixes: NB#127896 (Information notes text truncated)
463 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
465 * configure.ac: postrelease version bump.
466 * debian/changelog: post release version bump
468 2009-07-16 Claudio Saavedra <csaavedra@igalia.com>
473 * configure.ac: Bump version.
474 * debian/changelog: Updates.
476 2009-07-16 Alejandro G. Castro <alex@igalia.com>
479 * hildon/hildon-text-view.c,
480 (hildon_text_view_button_press_event): Grabbed the focus in button
481 press, this way we are sure the widget has the focus in the
482 release event, required for HIM.
484 Fixes: NB#121445 (Virtual keyboard opening is not working in same
485 way for each text entry field)
487 2009-07-15 Alejandro Pinheiro <apinheiro@igalia.com>
489 * hildon/hildon-pannable-area.[ch](hildon_pannable_area_set_focus_child)
490 (hildon_pannable_area_center_on_child_focus ,hildon_pannable_area_class_init)
491 (hildon_pannable_area_get_property, hildon_pannable_area_set_property)
492 (hildon_pannable_area_button_press_cb, hildon_pannable_area_button_release_cb)
493 (hildon_pannable_area_[gs]et_center_on_child_focus)
494 Redefined GtkContainer set-focus-child signal, in order to center
495 properly on a child when it receives the focus. Defined a new property
496 "center-on-child-focus" in order to activate this feature (deactivated
497 by default). Public get/set methods defined to manage the property.
499 Fixes: NB#108487 (Phone settings dialog should scroll to focused field)
501 2009-07-14 László Pere <lpere@blumsoft.eu>
503 * hildon/hildon-app-menu.c: (hildon_app_menu_apply_style): Ensure that
504 the new size is applied.
506 Fixes: NB#124510 (The Application Menu is distorted when switched
507 between portrait and landscape mode)
508 Fixes: NB#115388 (Power key menu does not resize itself)
510 2009-07-01 Alberto Garcia <agarcia@igalia.com>
512 * hildon/hildon-banner.c (hildon_banner_map):
513 Set banner position after mapping.
515 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
517 * configure.ac: postrelease version bump.
518 * debian/changelog: post release version bump
520 2009-06-29 Claudio Saavedra <csaavedra@igalia.com>
525 * configure.ac: Bump version.
526 * debian/changelog: Updates.
528 2009-06-29 Adam Endrodi <adam.endrodi@blumsoft.eu>
530 * hildon/hildon-program.c (hildon_program_update_top_most): Ignore
533 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
535 * tests/check-hildon-banner.c
537 * tests/test_suites.h
538 Protect hildon-banner tests with #ifndef HILDON_DISABLE_DEPRECATED, as
539 were testing deprecated functions.
540 * examples/hildon-banner-example.c: typo on button3 type, that causes
541 a fail compiling with --with-examples but without --disable-deprecated
543 Missed commit in order to fix compilation using '--enable-fatal' and
544 '--disable-deprecated' (see previous commit)
546 2009-06-26 Alejandro Pinheiro <apinheiro@igalia.com>
548 * examples/hildon-banner-example.c: Protect deprecated hildon-banner
549 functions with #ifndef HILDON_DISABLE_DEPRECATED
550 * examples/hildon-find-toolbar.c: Protect deprecated
551 HILDON_ICON_SIZE_TOOLBAR with #ifndef HILDON_DISABLE_DEPRECATED
552 * hildon/hildon-find-toolbar.c: Change deprecated HILDON_ICON_SIZE_TOOLBAR
553 in favor of HILDON_ICON_PIXEL_SIZE_FINGER
554 * hildon/hildon-private.h: Unmark hildon_privfate_create_animation() as
556 * hildon/hildon-stackable-window.c: Added #undef HILDON_DISABLE_DEPRECATED
557 to allow proper compilation of deprecated functions defined on the header
559 Fixed compilation using '--enable-fatal' and '--disable-deprecated'
561 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
563 * hildon/hildon-pannable-area.c: (hildon_pannable_area_init):
564 Cache the panning indicator color.,
565 (hildon_pannable_area_style_set): Query the color on style changes.
566 (hildon_pannable_draw_vscroll),
567 (hildon_pannable_draw_hscroll),
568 (hildon_pannable_area_expose_event): Use the cached panning indicator
569 color instead of looking it up on every expose and more.
571 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
573 * hildon/hildon-pannable-area.c: (hildon_pannable_draw_vscroll),
574 (hildon_pannable_draw_hscroll),
575 (hildon_pannable_area_expose_event): Fix the panning indicator color,
576 so that it's "SecondaryTextColor", as desired.
578 2009-06-25 Alejandro Pinheiro <apinheiro@igalia.com>
580 * hildon/hildon-picker-dialog.c:
581 (selection_completed): take into account HILDON_UI_MODE_NORMAL
582 * hildon/hildon-touch-selector.c
583 (hildon_touch_selector_init): Initialize hildon-ui-mode
584 (hildon_touch_selector_row_activated): new callback for the
585 "row-activated" signal, in order to save the last activated
586 (hildon_touch_selector_check_ui_mode_coherence): new method that checks
587 if the current hildon-ui-mode is coherent with the touch selector
588 (hildon_touch_selector_class_init)
589 (hildon_touch_selector_get_property)
590 (hildon_touch_selector_set_property)
591 Added "hildon-ui-mode" property
592 (disconnect_model_handlers): renamed to clean_column
593 (hildon_touch_selector_remove): use clean_column function
594 (_create_new_column): use the hildon-ui-mode to create the treeview, and
595 only select the first element on HILDON_UI_MODE_EDIT
596 (hildon_touch_selector_column_init): Initialize last_activate
597 (hildon_touch_selector_append_column): check that the touch selector
598 is coherent with the current hildon-ui-mode
599 (hildon_touch_selector_get_hildon_ui_mode)
600 (hildon_touch_selector_set_hildon_ui_mode)
601 Added a getter/setter for the hildon-ui-mode property
602 (hildon_touch_selector_get_last_activated_row): Added this method in
603 order to get the last activated row.
604 * examples/hildon-touch-selector-normal-mode-example.c
605 New example, that shows how to use the HildonTouchSelector in
606 HILDON_UI_MODE_NORMAL
608 Fixes: NB#95685 (Add field dialog should use HILDON_UI_MODE_NORMAL), using
609 Kristian Rietveld <kris@lanedo.com> advices
611 2009-06-25 Claudio Saavedra <csaavedra@igalia.com>
613 * hildon/hildon-time-selector.c: (update_format_policy): Do
614 not call update_format_dependant_columns() if not necessary.
615 (update_format_dependant_columns): Remove unnecessary check for
616 the number of columns.
618 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
620 * hildon/hildon-note.c (+hildon_note_constructor),
621 (hildon_note_class_init), (+hildon_note_set_padding),
622 (hildon_note_rebuild): Install a constructor where to set the
623 padding properties in the note, so that it actually works fine.
624 Use hildon_note_set_padding() for this, and also to set it during
627 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
629 * configure.ac: Bump GTK+ requirement to 2.14.3.
630 * hildon/hildon-note.c: (hildon_note_rebuild): Use gtk_dialog_set_padding()
631 when using maemo-gtk to define proper margins for the notes.
633 Fixes: NB#124408 (Confirmation notes: the 'Yes' button overlaps
634 with the dialog edge)
636 2009-06-24 Alberto Garcia <agarcia@igalia.com>
638 * hildon/hildon-banner.c
639 (hildon_banner_class_init):
641 (+hildon_banner_size_request):
642 Request always the full width of the screen.
643 (hildon_banner_realize)
644 (-hildon_banner_check_position, hildon_banner_map):
645 hildon_banner_check_position() is not needed in Hildon 2.2.
646 (-hildon_banner_reset_wrap_state)
647 (hildon_banner_constructor, hildon_banner_init):
648 Remove unnecessary calls to hildon_banner_reset_wrap_state()
649 (+banner_do_set_text)
650 (force_to_wrap_truncated):
651 Remove has_been_wrapped and has_been_truncated attributes.
652 (+reshow_banner, hildon_banner_real_show_information)
653 (hildon_banner_show_information_with_markup)
654 (hildon_banner_show_animation, hildon_banner_show_progress)
655 (hildon_banner_set_text, hildon_banner_set_markup):
656 Refactor code. Shrink banner vertically to use the minimum space
657 necessary everytime the text of the label is updated.
658 (screen_size_changed):
659 Call force_to_wrap_truncated() when the size of the screen
662 Fixes: NB#120500 (only device memory connect mmc in use info
663 banner is left aligned)
665 Fixes: NB#120613 (Size of HildonBanner varies depending on
666 previously opened banners)
668 2009-06-24 Claudio Saavedra <csaavedra@igalia.com>
670 * hildon/hildon-color-chooser.c
671 (hildon_color_chooser_pointer_motion): Take the widget allocation
674 Fixes: NB#124385 (Unable to select exact point in color mixing box
675 in color palette dialog)
677 2009-06-23 Alejandro G. Castro <alex@igalia.com>
679 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init)
680 (hildon_pannable_area_dispose)
681 (hildon_pannable_area_button_press_cb)
682 (hildon_pannable_area_timeout, hildon_pannable_area_check_move)
683 (hildon_pannable_area_button_release_cb)
684 (hildon_pannable_area_scroll_cb, hildon_pannable_area_jump_to):
685 New 'panning-started' and 'panning-finished' signals.
687 Fixes: NB#121732 (New feature request: Signal to pannable area
688 that informs when panning is stopped.)
690 2009-06-23 Mox Soini <ext-mox.soini@nokia.com>
692 * hildon/hildon-wizard-dialog.c: (create_title): Use separator
693 instead of hardcoded colon.
695 Fixes: NB#124090 (New calendar wizard title is not using
696 ecdg_ti_caption_separator)
698 2009-06-22 David King <davidk@openismus.com>
700 * hildon/hildon-find-toolbar.c: Add Gtk-Doc markup for types,
701 constants and functions, as well as correct many typos throughout the
704 Fixes: MB#4700 (HildonFindToolbar documentation lacks Gtk-Doc markup,
707 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
709 * configure.ac: postrelease version bump.
710 * debian/changelog: post release version bump
712 2009-06-22 Claudio Saavedra <csaavedra@igalia.com>
717 * configure.ac: Bump version.
718 * debian/changelog: Updates.
720 2009-06-18 Alberto Garcia <agarcia@igalia.com>
722 * hildon/hildon-window-stack.c
723 (hildon_window_stack_pop_and_push_list):
724 Prevent windows from having the same stack index
726 2009-06-18 Alberto Garcia <agarcia@igalia.com>
728 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
729 Use the index of the previous window rather than the stack length
730 to calculate the new index.
734 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
736 * hildon/hildon-date-selector.c
737 (hildon_date_selector_select_current_date)
738 (hildon_date_selector_get_date)
739 (hildon_date_selector_select_day):
740 Update the documentation: uses always the range (1-31), as it is obvious
741 that the final one will depend on the month and the year, but globally
742 the range is this, in a similar GtkCalendar approach
743 (hildon_date_selector_get_date):
744 Update the documentation: add NULL as a valid value for the day, month
747 Fix some details, after talk with David King on bug MB#4698
749 2009-06-18 Alejandro Pinheiro <apinheiro@igalia.com>
751 * hildon/hildon-touch-selector-entry.c
752 * hildon/hildon-touch-selector.c
753 Update the documentation of the "text-column" property
755 2009-06-18 David King <davidk@openismus.com>
757 * hildon/hildon-note.c: Add Gtk-Doc markup where appropriate. Correct
758 several typos and errors throughout the documentation.
760 Fixes: MB#4701 (HildonNote documentation lacks some Gtk-Doc markup and
763 2009-06-18 Alberto Garcia <agarcia@igalia.com>
765 * hildon/hildon-note.c (hildon_note_realize):
766 Make HildonNote support portrait mode.
768 Fixes: NB#123448 (HildonNote is not portrait-friendly)
770 2009-06-17 Alberto Garcia <agarcia@igalia.com>
772 * hildon/hildon-color-chooser.c (hildon_color_chooser_new):
773 Document this function
775 2009-06-17 David King <davidk@openismus.com>
777 * hildon/hildon-date-selector.c
778 (hildon_date_selector_select_current_date)
779 (hildon_date_selector_get_date): Update documentation regarding days,
780 as the day of the month is dependent on both the month and the year.
781 (hildon_date_selector_get_date): Fix documentation of output arguments.
783 Fixes: MB#4698 (DateSelector documentation has bad output argument
784 description, and the day depends on both the month and the year)
786 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
788 * hildon/hildon-caption.c: Other documentation fixes to
791 2009-06-17 David King <davidk@openismus.com>
793 * hildon/hildon-caption.c: Minor documentation updates for
794 HildonCaption. Fixes MB#4697.
796 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
798 * doc/hildon-docs.sgml: Add hildon-version section.
799 * doc/hildon-sections.txt:
800 * hildon/hildon-version.h.in: Document versioning macros and
803 2009-06-17 Claudio Saavedra <csaavedra@igalia.com>
805 * doc/hildon-sections.txt: Remove HILDON_DISABLE_DEPRECATED
806 from HildonPickerDialog section.
808 2009-06-16 Alberto Garcia <agarcia@igalia.com>
810 * hildon/hildon-banner.c (hildon_banner_bind_style)
811 (screen_size_changed, hildon_banner_init)
812 (hildon_banner_real_show_information)
813 (hildon_banner_show_information_with_markup)
814 (hildon_banner_show_animation, hildon_banner_show_progress):
815 Set a different widget name to banners in portrait mode, for them
816 to be themed correctly.
818 2009-06-16 Alberto Garcia <agarcia@igalia.com>
820 * hildon/hildon-note.c (hildon_note_rename, screen_size_changed):
821 Set a different widget name to notes in portrait mode, for them to
824 Partially fixes: NB#118401 (HildonNote causes unnecessary
827 2009-06-16 Alberto Garcia <agarcia@igalia.com>
829 * hildon/hildon-note.c (hildon_note_class_init)
830 (+hildon_note_size_request, screen_size_changed):
831 Always request the full width of the screen.
833 Fixes: NB#118375 (unnecessary rescaling of images)
835 2009-06-16 Alejandro G. Castro <alex@igalia.com>
837 * hildon/hildon-pannable-area.c,
838 (hildon_pannable_area_init),
839 (hildon_pannable_area_realize): Replaced old code adding flags in
840 the object init, now we add it with the other flags in the realize
843 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
845 * hildon/hildon-note.c: (hildon_note_class_init): Several
846 documentation improvements to the HildonNote widget.
848 2009-06-16 Claudio Saavedra <csaavedra@igalia.com>
850 * hildon/hildon-note.h: Document the HildonNoteType enumeration.
852 Fixes: MB#4556 (HildonNoteType is undocumented)
854 2009-06-15 Alberto Garcia <agarcia@igalia.com>
856 * hildon/hildon-picker-button.c:
857 Explain how HildonPickerButton sets the title of its dialog
859 Fixes: MB#4528 (HildonPickerButton docs should mention how to set
860 the title of its dialog)
862 2009-06-15 Alberto Garcia <agarcia@igalia.com>
864 * hildon/hildon-check-button.c:
865 Documentation updates
867 Fixes: MB#4598 (HildonCheckButton documentation doesn't say why it
870 2009-06-15 Alberto Garcia <agarcia@igalia.com>
873 * hildon/hildon-edit-toolbar-private.h
874 * hildon/hildon-edit-toolbar.c
875 (+hildon_edit_toolbar_set_progress_indicator)
876 (hildon_edit_toolbar_init): Add progress indicator to the
879 * hildon/hildon-gtk.c
880 (hildon_gtk_window_set_progress_indicator):
881 If the window contains a HildonEditToolbar, enable the progress
884 * hildon/hildon-private.h
885 * hildon/hildon-private.c
886 (+hildon_private_create_animation)
887 * hildon/hildon-banner.c
888 (-hildon_banner_create_animation):
889 Moved to hildon-private.c
891 Fixes: NB#102373 (Progress indicator also for the Edit mode
894 2009-06-15 Alberto Garcia <agarcia@igalia.com>
896 * hildon/hildon-app-menu-private.h
897 * hildon/hildon-app-menu.c (hildon_app_menu_insert)
898 (hildon_app_menu_add_filter, +menu_item_button_event)
899 (hildon_app_menu_button_release, hildon_app_menu_init):
900 Make sure that buttons receive 'button-release-event' in spite of
901 the grab held by HildonAppMenu
903 Fixes: NB#108337 (Focus mismatch in items of AppMenu)
905 2009-06-15 Alberto Garcia <agarcia@igalia.com>
907 * hildon/hildon-app-menu.c
908 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
909 New style property to set the size of the group of filter buttons.
911 Fixes: NB#122033 (Filter buttons in view menus incorrectly sized)
913 2009-06-15 Claudio Saavedra <csaavedra@igalia.com>
918 * configure.ac: Bump version.
919 * debian/changelog: Updates.
921 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
923 * hildon/hildon-main.c: Minor documentation fixes.
925 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
927 * doc/hildon-sections.txt:
928 * hildon/hildon-defines.h: Document the defines, organize them,
929 and mark deprecations as such.
931 Fixes: MB#4463 (Hildon size #defines are undocumented)
933 2009-06-13 Claudio Saavedra <csaavedra@igalia.com>
935 * hildon/hildon-animation-actor.c:
936 * hildon/hildon-app-menu.c:
937 * hildon/hildon-button.c:
938 * hildon/hildon-date-editor.c:
939 * hildon/hildon-dialog.c:
940 * hildon/hildon-edit-toolbar.c:
941 * hildon/hildon-entry.c:
942 * hildon/hildon-program.c:
943 * hildon/hildon-remote-texture.c:
944 * hildon/hildon-stackable-window.c:
945 * hildon/hildon-text-view.c:
946 * hildon/hildon-touch-selector.c:
947 * hildon/hildon-window-stack.c:
948 * hildon/hildon-window.c:
950 Remove redundant "represents" wording from most of the documentation.
952 Fixes: MB#4554 (Documentation: Annoying "represents" phrasing.)
954 2009-06-12 Alberto Garcia <agarcia@igalia.com>
959 * hildon/hildon-banner-private.h
960 * hildon/hildon-banner.c:
961 Move HildonBannerPrivate to hildon-banner.c and remove
962 hildon-banner-private.h
963 Use a bit field to store private booleans.
965 2009-06-12 Alberto Garcia <agarcia@igalia.com>
967 * hildon/hildon-app-menu.c (hildon_app_menu_map):
968 Don't install a new idle function if there's already one
973 2009-06-11 Alberto Garcia <agarcia@igalia.com>
975 * hildon/hildon-window.c (hildon_window_toggle_gtk_menu)
976 (+legacy_menu_realized, +legacy_menu_unmapped)
977 (+set_legacy_menu_type):
978 Set the _HILDON_WM_WINDOW_TYPE property to legacy Gtk app menus so
979 they can be identified by the window manager.
981 Fixes: NB#101437 (Invoking CSM on the left side of page area is
982 displayed in wrong location)
984 Fixes: MB#4563 (Popup menu won't locate at the left side of the
987 2009-06-11 Alberto Garcia <agarcia@igalia.com>
989 Remove m4/gtk-doc.m4, as it already comes with gtk-doc-tools
991 Fixes: MB#4616 (Compiling libhildon requires gtk-doc but does not
994 2009-06-11 Alberto Garcia <agarcia@igalia.com>
996 * hildon/hildon-code-dialog.c
997 * hildon/hildon-date-editor.c
998 * hildon/hildon-number-editor.c
999 * hildon/hildon-seekbar.c
1000 * hildon/hildon-stackable-window.c
1001 * hildon/hildon-window.c:
1002 Misc documentation updates
1004 2009-06-10 Claudio Saavedra <csaavedra@igalia.com>
1006 * hildon/hildon-entry.c (hildon_entry_class_init): Make HildonEntry:size
1007 a G_PARAM_CONSTRUCT property, to allow the default size to be set.
1009 Fixes: NB#117931 (Theming issues in accounts dialogs)
1011 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1013 * hildon/hildon-pannable-area.c,
1014 (hildon_pannable_area_button_release_cb): Changed the coordinates
1015 of the original release in case we want to discard the release,
1016 some widgets in Fremantle do not handle the leave-notify.
1018 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1020 * hildon/hildon-pannable-area.c,
1021 (hildon_pannable_area_button_release_cb): Reviewed the logic of
1022 the release using the last refactored functions and avoiding the
1023 movement if an element was selected.
1025 2009-06-09 Alejandro G. Castro <alex@igalia.com>
1027 * hildon/hildon-pannable-area.c,
1028 (hildon_pannable_area_check_move),
1029 (hildon_pannable_area_handle_move),
1030 (hildon_pannable_area_motion_notify_cb): Refactored the
1031 motion_notify method using a couple of new functions.
1033 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1035 * hildon/hildon-date-selector.c:
1036 (hildon_date_selector_construct_ui):
1037 * hildon/hildon-time-selector.c:
1038 (hildon_time_selector_constructor):
1039 * hildon/hildon-touch-selector-entry.c:
1040 (hildon_touch_selector_entry_set_text_column),
1041 (hildon_touch_selector_entry_get_text_column):
1042 * hildon/hildon-touch-selector.c: (_default_print_func),
1043 (hildon_touch_selector_new_text): Use
1044 hildon_touch_selector_set/get_text_column() instead of
1045 setting/getting the "text-column" property.
1047 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1049 * doc/hildon-sections.txt: Add the new public methods below.
1051 * examples/hildon-picker-button-multicolumn-example.c:
1052 (create_touch_selector):
1053 * examples/hildon-touch-selector-example.c: (create_selector):
1054 * examples/hildon-touch-selector-multi-cells-example.c:
1056 Use hildon_touch_selector_column_set_text_column()
1058 * hildon/hildon-touch-selector-column.h:
1059 * hildon/hildon-touch-selector.c:
1060 (hildon_touch_selector_column_set_text_column),
1061 (hildon_touch_selector_column_get_text_column):
1062 Make hildon_touch_selector_column_set/get_column() public, use
1063 them in the inline example, document them, and reference to them
1066 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1068 * hildon/hildon-time-selector.c: Fix the docs for
1069 hildon_time_selector_new_step().
1071 2009-06-09 Claudio Saavedra <csaavedra@igalia.com>
1073 * hildon/hildon-touch-selector.c: Improve the documentation for
1074 hildon_touch_selector_append_column().
1076 Fixes MB#4641 (Documentation:
1077 hildon_touch_selector_append_column() ref-counting)
1079 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1081 * tests/check-hildon-controlbar.c: (test_set_range_invalid):
1082 Comment out test 5, since the hildon_controlbar_set_range() range
1083 check is broken and fixing it would have side effects. Also,
1084 this finally fixes make distcheck.
1086 Fixes: NB#101420 (Update unit tests and fix make distcheck)
1088 2009-06-18 Claudio Saavedra <csaavedra@igalia.com>
1090 * tests/TEST-CASES.txt: Remove other bogus test.
1091 * tests/check-hildon-controlbar.c: (test_set_value_invalid):
1092 Remove bogus test that was setting/retrieving a valid value.
1094 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1096 * tests/TEST-CASES.txt: Remove bogus tests.
1097 * tests/check-hildon-color-chooser.c: (test_set_color_invalid):
1098 Remove three bogus tests that were actually setting valid colors.
1100 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1102 * configure.ac: post release version bump
1103 * debian/changelog: post release version bump
1105 2009-06-08 Claudio Saavedra <csaavedra@igalia.com>
1110 * configure.ac: Bump version.
1111 * debian/changelog: Updates.
1113 2009-06-08 Christian Dywan <christian@lanedo.com>
1117 * hildon/hildon-helper.c (hildon_format_file_size_for_display):
1118 Correct errors in hildon_format_file-size_for_display and use
1119 translations from the hildon-fm package instead of osso-filemanager.
1121 2009-06-08 Alejandro G. Castro <alex@igalia.com>
1123 * hildon/hildon-pannable-area.c,
1124 (hildon_pannable_area_init): Initialized new values to handle the
1125 adjustment position.
1126 (hildon_pannable_area_adjust_value_changed): Check if the values
1127 changed before even call the redraw function.
1128 (hildon_pannable_area_size_allocate),
1129 (hildon_pannable_axis_scroll),
1130 (hildon_pannable_area_scroll),
1131 (hildon_pannable_area_jump_to): Improved the diagonal movement
1134 Fixes: NB#113065 (Image viewer image scrolling updates in X, then
1137 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1139 * examples/hildon-banner-example.c:
1140 Several style updates
1141 (on_animation_clicked, on_animation_idle)
1142 (on_progress_clicked, on_progress_idle):
1143 Add additional reference for the cases when the parent window is
1146 2009-06-08 Alberto Garcia <agarcia@igalia.com>
1148 * doc/hildon-sections.txt
1149 * hildon/hildon-pannable-area.c
1150 * hildon/hildon-banner.h
1151 * hildon/hildon-banner.c: Documentation updates.
1153 Fixes: MB#4643 (Documentation: hildon_banner_show_information()
1156 2009-06-05 Alejandro G. Castro <alex@igalia.com>
1158 * hildon/hildon-calendar-popup.h:
1159 * hildon/hildon-caption.h:
1160 * hildon/hildon-code-dialog.h:
1161 * hildon/hildon-controlbar.h:
1162 * hildon/hildon-date-editor.h:
1163 * hildon/hildon-dialog.h:
1164 * hildon/hildon-get-password-dialog.h:
1165 * hildon/hildon-hvolumebar.h:
1166 * hildon/hildon-login-dialog.h:
1167 * hildon/hildon-note.h:
1168 * hildon/hildon-number-editor.h:
1169 * hildon/hildon-range-editor.h:
1170 * hildon/hildon-seekbar.h:
1171 * hildon/hildon-set-password-dialog.h:
1172 * hildon/hildon-sort-dialog.h:
1173 * hildon/hildon-time-editor.h:
1174 * hildon/hildon-time-picker.h:
1175 * hildon/hildon-volumebar-range.h:
1176 * hildon/hildon-volumebar.h:
1177 * hildon/hildon-vvolumebar.h:
1178 * hildon/hildon-weekday-picker.h:
1179 * hildon/hildon-window.h:
1180 * hildon/hildon-wizard-dialog.h: Replaced the deprecated GTK
1181 macros with the current replacements
1183 Fixes: NB#120941 (HildonWindow using deprecated GTK_CHECK* macros)
1185 2009-06-04 Claudio Saavedra <csaavedra@igalia.com>
1187 * hildon/hildon-color-button.c (hildon_color_button_init): Use
1188 HILDON_ICON_PIXEL_SIZE_FINGER for the color icon and 80x70 for the button
1189 itself, to make it fit better with Fremantle style.
1191 Fixes: NB#109878 (height and width of focus on color icon is not
1192 consistent with other item in the application tool bar)
1194 2009-06-02 Alejandro Pinheiro <apinheiro@igalia.com>
1196 * hildon/hildon-touch-selector.c:
1197 (hildon_touch_selector_optimal_size_request): use the current requisition
1198 as the base, in order to include any possible extra widget, like the
1199 hildon entry on HildonTouchSelectorEntry
1201 Fixes: NB#119805 (Merge conflict picker dialogs are too small)
1203 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1205 * configure.ac: post release version bump
1206 * debian/changelog: post release version bump
1208 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1213 * configure.ac: Bump version.
1214 * debian/changelog: Updates.
1216 2009-05-29 Claudio Saavedra <csaavedra@igalia.com>
1218 * hildon/hildon-banner-private.h: Add a GtkAlignment to the private
1220 * hildon/hildon-banner.c (hildon_banner_init): Use a GtkAlignment
1221 to ensure the banner contents are centered, instead of relying on
1222 the expand and fill properties in GtkHBox.
1223 (hildon_banner_ensure_child): Do not expand nor fill the child widget.
1225 Fixes: NB#108265 (Animation banner not properly centered)
1227 2009-05-28 Alejandro Pinheiro <apinheiro@igalia.com>
1229 * hildon/hildon-pannable-area.c
1230 (hildon_pannable_area_initial_effect): Remove the initial_effect
1231 management, check initial_hint
1232 (hildon_pannable_are_expose_event): Remove the initial_hint management,
1233 set initial_effect to FALSE
1234 (hildon_pannable_are_refresh): Check if we need to show the scrollbars,
1235 by launching the fade_timeout if the scrollbars state has changed and are
1237 * examples/hildon-pannable-area-initial-hint-example.c
1238 Modified to allow to remove rows too. Add and remove rows one by one.
1240 2009-05-28 Alberto Garcia <agarcia@igalia.com>
1242 * hildon/hildon-app-menu.c (hildon_app_menu_find_intruder):
1243 Don't close the menu if there's an animation actor below it.
1245 Fixes: NB#117927 (Application menu not usable with animation
1248 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1250 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init): Unset
1251 "focus-on-click" from the dialog button, to avoid stealing the
1252 focus from the entry.
1254 Fixes: NB#118903 (Account setup wizard: Text in Search field
1255 should be focused when "Region" touch list picker is reopened
1258 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1260 * hildon/hildon-picker-dialog.c (hildon_picker_dialog_init),
1261 (prepare_action_area): Completely hide the dialog separator.
1263 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1265 * hildon/hildon-touch-selector-entry.c
1266 (hildon_touch_selector_entry_print_func), (entry_on_text_changed),
1267 (hildon_touch_selector_entry_changed): Use HildonEntry text API,
1268 now that the entry is exposed.
1270 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1272 * hildon/hildon-touch-selector-entry.c
1273 (hildon_touch_selector_entry_init): Change the entry's size
1274 to HILDON_SIZE_FINGER_HEIGHT, avoiding unnecessary scaling.
1276 2009-05-27 Claudio Saavedra <csaavedra@igalia.com>
1278 * hildon/hildon-entry.c (hildon_entry_class_init): Set the default
1279 height to HILDON_SIZE_AUTO_WIDTH and HILDON_SIZE_FINGER_HEIGHT, to
1280 avoid unnecessary scaling.
1282 2009-05-27 Alberto Garcia <agarcia@igalia.com>
1284 * hildon/hildon-app-menu.c (hildon_app_menu_map):
1285 Create grab transfer window before calling parent's map function.
1287 Fixes: NB#115988 (hildon_app_menu_popup creates menu with
1288 "crushed" button(s) in the top left corner)
1290 2009-05-26 Alberto Garcia <agarcia@igalia.com>
1292 * hildon/hildon-window-stack.c (_hildon_window_stack_do_push):
1293 Check if the window is already realized when pushing it.
1295 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1297 * configure.ac: post release version bump
1298 * debian/changelog: post release version bump
1300 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1305 * configure.ac: Bump version.
1306 * debian/changelog: Updates.
1308 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1310 * hildon/hildon-app-menu.c: Doc updates.
1312 2009-05-25 Claudio Saavedra <csaavedra@igalia.com>
1314 * hildon/hildon-banner.c: Remove leftover macro.
1316 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1318 * hildon/hildon-pannable-area.c,
1319 (hildon_pannable_area_scroll_indicator_fade),
1320 (hildon_pannable_area_button_release_cb): Reviewed vmin
1321 conditions, it could cause problems in the fadeout procedure.
1323 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1325 * hildon/hildon-pannable-area.c
1326 (hildon_pannable_area_button_release_cb): Added a threshold to
1327 push the animation if the speed is big (MAX_SPEED_THRESHOLD).
1329 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1331 * hildon/hildon-pannable-area.c,
1332 (hildon_pannable_area_set_property): Added code to sync the gtk
1333 dnd threshold with the panning threshold.
1335 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1337 * hildon/hildon-pannable-area.c,
1338 (hildon_pannable_area_class_init): Changed some of the default
1339 values, now it should be less responsive and more accurate.
1341 2009-05-25 Alejandro G. Castro <alex@igalia.com>
1343 * hildon/hildon-pannable-area.c,
1344 (hildon_pannable_area_init),
1345 (hildon_pannable_area_scroll_indicator_fade),
1346 (hildon_pannable_area_button_press_cb),
1347 (hildon_pannable_axis_scroll),
1348 (hildon_pannable_area_timeout),
1349 (hildon_pannable_area_motion_notify_cb),
1350 (hildon_pannable_area_button_release_cb): Changed the name of the
1351 clicked attribute to button_pressed, it is more clear about its use.
1353 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1355 * src/hildon-pannable-area.c
1356 (hildon_pannable_area_init): set scroll_delay_counter and scrollbar_fade_delay
1358 (hildon_pannable_area_initial_effect): avoid to compute horizontal and
1359 vertical scrollbar visibility, and use the data on private section instead,
1360 remove the initial_hint check
1361 (hildon_pannable_area_expose_event): add the initial_hint check here
1363 2009-05-25 Alejandro Pinheiro <apinheiro@igalia.com>
1365 * src/hildon-pannable-area.c
1366 (hildon_pannable_area_initial_effect): set to FALSE initial_effect
1367 if the fadeout effect was used
1368 (hildon_pannable_area_expose_event): check if it is required to
1369 manage the initial effect on the begining of the function. Previously
1370 it was made at the end, but this doesn't ensure that the scrollbars
1371 will be painted on the first show. Do not set to FALSE initial_effect,
1372 to ensure that the initial hint is showed the first time the pannable
1374 * examples/Makefile.am
1375 * examples/hildon-pannable-area-initial-hint-example.c:
1376 New example, to show that the initial-hint is showed when the widget
1379 Fixes: NB#116607 (Pannable area should always have scrollbar visible
1380 initially if the application can be scrolled)
1382 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1384 * hildon/hildon-app-menu.c (hildon_app_menu_repack_items):
1385 Resize table before adding new items to make sure that
1386 gtk_table_resize() is called just once.
1388 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1390 * hildon/hildon-app-menu-private.h
1391 * hildon/hildon-app-menu.c (item_visibility_changed)
1392 (filter_visibility_changed, hildon_app_menu_show_all)
1393 (hildon_app_menu_hide_all, hildon_app_menu_init):
1394 Rearrange items just once when gtk_widget_show_all()/hide_all()
1397 2009-05-25 Alberto Garcia <agarcia@igalia.com>
1399 * hildon/hildon-app-menu.c
1400 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1401 Don't call gtk_widget_show() on added items.
1403 Fixes: NB#109063 (HildonAppMenu shouldn't show its items
1404 automatically when they're added)
1406 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1408 * hildon/hildon-banner.c
1409 (hildon_banner_realize, +hildon_banner_unrealize)
1410 (+screen_size_changed, hildon_banner_class_init):
1411 Redisplay the banner if the screen is rotated.
1413 Fixes: NB#117870 ('Disconnect charger...' info banner is truncated
1414 on transition from landscape to portrait)
1416 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1418 * hildon/hildon-banner.[ch]:
1419 (hildon_banner_show_information_override_dnd): remove icon_name from the
1420 method definition as it is ignored.
1421 * examples/hildon-banner-dnd-example.c: updated with the change on
1424 2009-05-20 Alejandro Pinheiro <apinheiro@igalia.com>
1426 * hildon/hildon-banner-private.h: new require_override_dnd and
1427 overrides_dnd variables
1428 * hildon/hildon-banner.h:
1429 (hildon_banner_show_information_override_dnd): new method, that shows
1430 the information but sets the override flag, in order to show important
1432 * hildon/hildon-banner.c
1433 (hildon_banner_show_information_override_dnd): new method
1434 (hildon_banner_set_override_flag): new utility function
1435 (hildon_banner_real_show_information): new utility function, in order to
1436 generalize the current hildon_banner_show_information_override_dnd and
1437 hildon_banner_show_information_override_dnd
1438 * examples/Makefile.am
1439 * examples/hildon-banner-dnd-example.c: New example that show how to
1440 use the new hildon_banner_show_information_override_dnd
1442 Fixes: NB#114874 (There is no possibility to show hildon banners with
1445 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1447 * hildon/hildon-pannable-area.c: Add a comment explaining the math
1448 behind hildon_pannable_calculate_vel_factor().
1450 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1452 * hildon/hildon-pannable-area.c
1453 (hildon_pannable_calculate_vel_factor): Correct the sum of the
1454 deceleration factors.
1456 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1458 * hildon/hildon-pannable-area.c (hildon_pannable_area_class_init):
1459 Reduce the default value for 'scroll_time' to 1 second, since the
1460 current initial scrolling takes too much time.
1462 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1464 * hildon/hildon-pannable-area.c (hildon_pannable_area_init): Do not
1465 calculate velocity factor during initialization, since the properties
1468 2009-05-20 Claudio Saavedra <csaavedra@igalia.com>
1470 * hildon/hildon-pannable-area.c
1471 (hildon_pannable_area_set_property): Calculate the velocity factor
1472 after setting the deceleration property and not after.
1474 2009-05-20 Alberto Garcia <agarcia@igalia.com>
1476 * hildon/hildon-entry.c
1477 (hildon_entry_class_init, +set_property, hildon_entry_new)
1478 * hildon/hildon-check-button.c
1479 (hildon_check_button_class_init)
1480 (+set_property, hildon_check_button_new):
1481 Make the theme size a property.
1483 Fixes: NB#117928 (Widgets such as Entry and CheckButton (and
1484 others) do too much in the _new function)
1486 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1488 * configure.ac: post release version bump
1489 * debian/changelog: post release version bump
1491 2009-05-18 Claudio Saavedra <csaavedra@igalia.com>
1496 * configure.ac: Bump version.
1497 * debian/changelog: Updates.
1499 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1501 * hildon/hildon-gtk.h
1502 * hildon/hildon-gtk.c (hildon_gtk_window_take_screenshot):
1503 New API function to take a screenshot of a window
1505 Fixes: NB#106374 (Need API to take a loading screenshot)
1507 2009-05-15 Alejandro Pinheiro <apinheiro@igalia.com>
1509 * hildon/hildon-time-selector.c
1510 (update_format_policy): prevent to use hours and minutes unitialized
1512 2009-05-15 Alberto Garcia <agarcia@igalia.com>
1514 * hildon/hildon-window.c (hildon_window_size_request):
1515 Always request the full size of the screen (minus the title bar if
1516 not in fullscreen mode).
1518 Fixes: NB#107486 (HildonWindow should size itself properly)
1520 2009-05-14 Claudio Saavedra <csaavedra@igalia.com>
1522 * hildon/hildon-note-private.h: Add idle_handler to the private data.
1523 * hildon/hildon-note.c (hildon_note_init), (hildon_note_finalize),
1524 (on_show_cb), (sound_handling): Disconnect the idle handler for
1525 the sound when the note is finalized to avoid possible crashes.
1527 Fixes: NB#116786 (Image viewer crases whie trying to launch menu,
1530 2009-05-13 Artem Egorkine <ext-artem.egorkine@nokia.com>
1532 * src/hildon-animation-actor.c,
1533 * src/hildon-remote-texture.c:
1534 Added proper object cleanup to remove signal handler and object
1535 references as HildonAnimationActor and HildonRemoteTexture
1536 objects get destroyed.
1538 Fixes: NB#116682 (Destroying parented animation actors when
1539 parent in unmapped leads to crash)
1541 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1543 Based on a patch by Christian Dywan (christian@imendio.com)
1545 * doc/hildon-sections.txt:
1546 * hildon/hildon-helper.c (+hildon_format_file_size_for_display):
1547 * hildon/hildon-helper.h: New file size formatting method.
1549 * debian/control: Depend on osso-filemanager l10n package for
1550 proper localization strings.
1552 2009-05-13 Claudio Saavedra <csaavedra@igalia.com>
1554 * tests/Makefile.am: Include top_srcdir to make possible to build
1555 tests in a different builddir.
1556 * tests/*.c: Include <hildon/hildon-*.h> to allow building tests
1557 on a different builddir.
1559 2009-05-12 Claudio Saavedra <csaavedra@igalia.com>
1561 * hildon/hildon-touch-selector.c (disconnect_model_handlers),
1562 (hildon_touch_selector_remove): Disconnect model's signal handler
1565 Fixes: NB#116289 (Hildon home crashes while adding task
1568 2009-05-11 Alberto Garcia <agarcia@igalia.com>
1570 * hildon/hildon-button.c
1571 (hildon_button_set_title, hildon_button_set_value):
1572 Hide labels containing an empty string.
1574 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: post release version bump
1577 * debian/changelog: post release version bump
1579 2009-05-11 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: Bump version.
1585 * debian/changelog: Updates.
1587 2009-05-08 Alejandro Pinheiro <apinheiro@igalia.com>
1589 * hildon/hildon-note-private.h: Removed sound_signal_handler
1590 * hildon/hildon-note.c
1591 (on_show_cb): new callback on note "show" event, this simply adds
1592 a idle, with the function sound_handling
1593 (sound_handling): removed the sound_signal_handler management
1594 (hildon_note_init): connect note "show" event to on_show_cb
1595 (hildon_note_realize): remove the connection to "expose-event"
1597 Fixes: NB#115242 (Sound is not played every time for the 'Switch off
1598 device?' confirmation note)
1600 2009-05-08 Alberto Garcia <agarcia@igalia.com>
1602 * hildon/hildon-note.c
1603 (hildon_note_new_information_with_icon_name)
1604 (hildon_note_new_confirmation_with_icon_name):
1605 Terminate the list of parameters in g_object_set() calls
1607 Fixes: NB#115166 (Formatting memory card is not taking place)
1609 2009-05-08 Claudio Saavedra <csaavedra@igalia.com>
1611 * hildon/hildon-sound.c (hildon_play_system_sound): Set the
1612 "dialog-information" role for the sound being played.
1614 2009-05-06 Alberto Garcia <agarcia@igalia.com>
1616 * hildon/hildon-app-menu.c (hildon_app_menu_init):
1617 Don't make the menu a modal window, it causes strange interactions
1618 with the pointer grab and it's not really needed.
1620 Fixes: NB#105529 (Empty App menu is launched in a scenario.)
1622 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1624 * hildon/hildon-touch-selector.[ch]
1625 (hildon_touch_selector_optimal_size_request): function added to get a
1626 optimal size request from the touch selector, when you want a dialog to
1627 show as much of the selector
1628 * hildon/hildon-picker-dialog.c:
1629 Removed HILDON_TOUCH_SELECTOR_HEIGHT macro
1630 (hildon_app_menu_class_init):
1631 New "max-height-landscape" and "max-height-portrait" style properties
1632 (hildon_picker_dialog_size_request): redefined GtkWidget::size_request
1633 (hildon_picker_dialog_get_max_height): returns the maximum height using
1634 the style properties defined and checking the current portrait/landscape
1636 (_hildon_picker_dialog_set_selector): removed the set_size_request
1638 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
1640 2009-05-06 Claudio Saavedra <csaavedra@igalia.com>
1642 * hildon/hildon-bread-crumb-trail.c:
1643 * hildon/hildon-bread-crumb.c:
1644 * hildon/hildon-seekbar.c:
1645 Add reference to replacements for these deprecated widgets.
1647 Fixes: MB#4461 (Documentation: All deprecations should mention
1650 2009-05-06 Alejandro Pinheiro <apinheiro@igalia.com>
1652 * examples/hildon-remote-texture-example.c
1654 Change the include to the hildon-remote-texture in order to compile
1655 properly the examples on the installed libhildon1-examples package
1657 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1659 * tests/Makefile.am: Add check for HildonPickerButton.
1660 * tests/check-hildon-picker-button.c (fx_setup), (fx_teardown),
1661 (START_TEST), (create_hildon_picker_button_suite): Add three simple
1662 checks for the HildonPickerButton.
1663 * tests/check_test.c (configure_tests): Add the test suite.
1664 * tests/test_suites.h: likewise.
1666 2009-05-05 Claudio Saavedra <csaavedra@igalia.com>
1668 * hildon/hildon-touch-selector.c
1669 (+on_row_changed): Emit HildonTouchSelector:changed when the
1670 contents of a selected row change.
1671 (_create_new_column), (_hildon_touch_selector_set_model): connect
1672 to GtkTreeModel:row-changed on a newly set model.
1674 Fixes: NB#114253 (HildonPickerButton not refreshing its value)
1676 2009-05-05 Alberto Garcia <agarcia@igalia.com>
1678 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
1680 * hildon/hildon-banner.c (hildon_banner_destroy)
1681 (hildon_banner_show_progress, hildon_banner_set_fraction):
1682 Remove the progress bar from HildonBanner and use a progress
1685 Fixes: NB#113761 (Update progress banner to use progress
1688 2009-05-04 Alberto Garcia <agarcia@igalia.com>
1690 * hildon/hildon-banner.c:
1691 Calculate size of the banner label using the actual screen width
1692 rather than using a fixed value.
1694 Fixes: NB#114395 ('Disconnect charger...' info banner in portrait
1697 2009-05-04 Alejandro G. Castro <alex@igalia.com>
1699 * hildon/hildon-pannable-area.c,
1700 (hildon_pannable_area_class_init): Fixed signals documentation
1703 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: post release version bump
1706 * debian/changelog: post release version bump
1708 2009-05-04 Claudio Saavedra <csaavedra@igalia.com>
1713 * configure.ac: Bump version.
1714 * debian/changelog: Updates.
1716 2009-05-01 Alberto Garcia <agarcia@igalia.com>
1718 * hildon/hildon-edit-toolbar.c
1719 (hildon_edit_toolbar_init):
1720 Don't let buttons in HildonEditToolbar receive focus.
1722 Fixes: NB#111160 (!HildonEditToolbar buttons are focused after
1723 typing on an HW arrows key)
1725 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1727 * doc/Makefile.am: Fix build.
1729 2009-04-30 Claudio Saavedra <csaavedra@igalia.com>
1731 * doc/Makefile.am: Do not redefine content_files.
1733 2009-04-30 Alberto Garcia <agarcia@igalia.com>
1741 Renamed src/ to hildon/
1746 Include <hildon/hildon.h> directly in all examples.
1748 2009-04-29 Alejandro Pinheiro <apinheiro@igalia.com>
1750 * src/hildon-sort-dialog.c
1751 (hildon_sort_dialog_add_sort_key_with_sorting)
1755 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1757 * src/Makefile.am: Move generated sources to CLEANFILES, so that
1758 make distcheck passes.
1760 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1762 * Makefile.am: Enable gtk-doc during distcheck.
1764 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1766 * Makefile.am: Do not distribute the debian/ directory.
1768 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1770 * doc/Makefile.am: Add the extra SGML files to content_files,
1771 so that they are distributed properly.
1773 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1775 * tests/Makefile.am: Add missing test_suites.h and check_utils.h
1778 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-note.c (hildon_note_new_confirmation_with_icon_name),
1781 (hildon_note_new_information_with_icon_name): Set the "icon" property
1782 to preserve soundness.
1784 2009-04-29 Claudio Saavedra <csaavedra@igalia.com>
1786 * src/hildon-font-selection-dialog.c
1787 (hildon_font_selection_dialog_set_property): Fail when the "family"
1788 property is set to NULL.
1790 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
1795 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
1797 * src/hildon-time-selector.h:
1798 Added HildonTimeSelectorFormatPolicy
1799 * src/hildon-time-selector.c:
1800 Added PROP_TIME_FORMAT_POLICY
1801 (_check_ampm_format): renamed to check_automatic_ampm_format
1802 (update_format_policy), (update_format_dependant_columns): new functions
1803 (hildon_time_selector_class_init)
1804 (hildon_time_selector_contructor)
1805 (hildon_time_selector_init)
1806 (hildon_time_selector_get_property)
1807 (hildon_time_selector_set_property)
1808 (hildon_time_selector_get_time)
1809 (hildon_time_selector_set_time)
1810 * src/hildon-touch-selector.h: new file
1811 * src/hildon-touch-selector.c
1812 (hildon_touch_selector_emit_changed)
1813 (hildon_touch_selector_block_changed)
1814 (hildon_touch_selector_unblock_changed)
1815 Added functions to allow to block the emission of the "changed" signal
1816 * src/hildon-picker-dialog.c
1817 (hildon_picker_dialog_show): call the parent show before the custom code
1818 * examples/hildon-time-button-example.c
1819 Modified, so now you can configure the time format using the new property
1821 Added a new property "time-format-policy" that allow to choose the time
1822 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
1823 case it uses gconf in order to check if the time selector must use
1826 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
1829 2009-04-28 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-note.c (hildon_note_init):
1832 Label in HildonNote must be left aligned, not centered. This
1833 reverts the last commit in HildonNote.
1835 Fixes: NB#112933 (text is not left aligned in confirmation dialog
1836 is connectivity dialog)
1838 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1843 * doc/hildon-sections.txt:
1844 Added hildon_gtk_window_set_do_not_disturb()
1846 2009-04-27 Alberto Garcia <agarcia@igalia.com>
1848 * src/hildon-note.c (hildon_note_init): Center label.
1850 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1853 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
1858 * configure.ac: Bump version.
1859 * debian/changelog: Updates.
1861 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1863 * src/hildon-note-private.h: Add button-width to the private data.
1864 * src/hildon-note.c (+resize_button),
1865 (+hildon_note_orientation_update): methods to repack widgets on orientation
1867 (screen_size_changed): Call above method for confirmation notes.
1868 (hildon_note_realize): Always connect to the "screen-size" changed signal.
1869 (hildon_note_rebuild): Store the original width request from buttons.
1871 Fixes: NB#109635 (Confirmation notes do not support portrait)
1873 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1875 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
1876 when it is a progress note.
1878 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
1881 in the note, since there are no horizontally arranged contents.
1883 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-gtk.c (+set_flag): new generic method to
1886 set/delay a flag setting in a window.
1887 (hildon_gtk_window_set_progress_indicator):
1888 (hildon_gtk_window_set_do_not_disturb),
1889 (hildon_gtk_window_set_portrait_flags): use set_flag() to
1890 avoid code redundance.
1892 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
1894 Based on a patch by Alberto Garcia (agarcia@igalia.com)
1896 * src/hildon-gtk.c (set_clear_window_flag),
1897 (do_set_progress_indicator), (do_set_do_not_disturb),
1898 (do_set_portrait_flags),
1899 (hildon_gtk_window_set_progress_indicator),
1900 (hildon_gtk_window_set_do_not_disturb),
1901 (hildon_gtk_window_set_portrait_flags):
1902 Allow setting dnd-flag, progress indicator, and portrait flags
1903 when the window is not realized.
1905 2009-04-24 Alejandro G. Castro <alex@igalia.com>
1907 * src/hildon-pannable-area.c,
1908 * src/hildon-pannable-area.h: Add the hildon deprecated define to
1909 the size request policy function and defines.
1911 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1913 * doc/hildon-sections.txt: Add the new API.
1914 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
1915 method to set the portrait flags.
1916 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
1918 Fixes: NB#112328 (Adding helpers for setting portrait properties)
1920 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
1922 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
1923 to allow using this method with other flags.
1924 (hildon_gtk_window_set_progress_indicator): Update accordingly.
1925 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
1927 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1929 * src/hildon-touch-selector.c
1930 (hildon_touch_selector_append_text_column):
1931 Make the cell renderer use the smallest width possible.
1933 Fixes: NB#108470 (Selected items in multiple selection are either
1934 having a tick that is cut or not visible at all.)
1936 2009-04-22 Alberto Garcia <agarcia@igalia.com>
1938 * src/hildon-touch-selector.c
1939 (hildon_touch_selector_append_text_column):
1942 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
1945 Use g_strdup_printf() instead of a fixed size buffer.
1947 2009-04-21 Alberto Garcia <agarcia@igalia.com>
1949 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
1950 Close banners when a HildonAppMenu is popped up.
1952 Fixes: NB#111027 (Title menu closed immediately if activated when
1953 "Invalid e-mail address" banner is shown)
1955 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
1960 * configure.ac: Bump version.
1961 * debian/changelog: Updates.
1963 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-banner.c (hildon_banner_realize):
1966 Mark HildonBanner as supporting portrait mode.
1967 Use GDK to set window properties insetad of direct Xlib calls.
1969 Fixes: NB#111830 (HildonBanner should be marked as supporting
1972 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1974 * src/hildon-note.c (hildon_note_rebuild):
1975 Hide action area in information notes. Prevents text from being
1976 slightly aligned to the left.
1978 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
1981 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1983 Patch by Mox Soini (ext-mox.soini@nokia.com)
1985 * src/hildon-banner.c (hildon_banner_create_animation):
1986 Use stylus-sized icons in animation banner.
1988 Fixes: NB#111206 (stylus sized icon for animation banner)
1990 2009-04-20 Alberto Garcia <agarcia@igalia.com>
1994 (+hildon_gtk_window_set_do_not_disturb):
1995 New API to set the do-not-disturb flag.
1997 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
1999 2009-04-20 Alberto Garcia <agarcia@igalia.com>
2001 * examples/hildon-progress-indicator-example.c: Fix example
2003 * src/hildon-gtk.c (set_clear_window_flag)
2004 (hildon_gtk_window_set_progress_indicator):
2005 Create a generic function for setting flags to a window.
2006 Use GDK instead of direct Xlib calls.
2008 2009-04-14 Alberto Garcia <agarcia@igalia.com>
2010 * src/hildon-button.c (hildon_button_set_arrangement):
2011 Due to NB#88126, if one of the labels is too long it will be
2012 painted outside the button. The 'value' label is more likely to be
2013 the longest one, so we change its packing options in order to
2014 truncate it if necessary. As a side effect, the 'title' label will
2015 no longer be truncated.
2017 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
2019 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
2024 * configure.ac: Bump version.
2025 * debian/changelog: Updates.
2027 2009-04-13 Alejandro G. Castro <alex@igalia.com>
2029 Deprecation of the hildon_pannable_area_set_size_request_policy
2030 API, the only policy properly supported in gtk+ nowadays is the
2033 * src/hildon-pannable-area.c,
2034 (hildon_pannable_area_size_request): Added a workaround for the
2035 size_request to avoid the problems of huge pixmaps in case someone
2036 is still using the function.
2037 * src/hildon-pannable-area.h: Deprecated the enum with the
2040 Fixes: NB#110244 (Problems with the
2041 hildon_pannable_area_set_size_request_policy API)
2043 2009-04-08 Alejandro G. Castro <alex@igalia.com>
2045 * src/hildon-pannable-area.c,
2046 (hildon_pannable_area_init),
2047 (hildon_pannable_area_size_request),
2048 (hildon_pannable_area_style_set),
2049 (hildon_pannable_draw_vscroll),
2050 (hildon_pannable_draw_hscroll),
2051 (hildon_pannable_area_check_scrollbars): Replaced area_width with
2052 indicator_width to clarify the use of the attribute.
2054 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
2059 * configure.ac: Bump version.
2060 * debian/changelog: Updates.
2062 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
2064 * src/hildon-picker-dialog.c
2065 * src/hildon-touch-selector.c
2066 Reverting the change that tried to avoid the hardcoded height on
2067 the picker dialog, as causes problems on the hildon-touch-selector
2070 Fixes: NB#110029 (selectors not scrolling to selected value)
2072 2009-04-07 Alberto Garcia <agarcia@igalia.com>
2074 * src/hildon-touch-selector.c: Fix typos
2076 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2078 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
2079 Use the event coordinates instead of gdk_window_get_pointer(). Also,
2080 request more motions after using it.
2082 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2084 * src/hildon-calendar.c (hildon_calendar_expose),
2085 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
2086 Remove unused variables.
2088 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2090 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
2091 variable assignment.
2093 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
2095 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
2096 Check the return value of gtk_tree_selection_get_selected()
2099 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2101 * src/hildon-animation-actor.c
2102 * src/hildon-button.c
2104 * src/hildon-pannable-area.c
2105 * src/hildon-picker-button.c
2106 * src/hildon-program.c
2107 * src/hildon-remote-texture.c
2108 * src/hildon-text-view.c
2109 * src/hildon-touch-selector.c
2110 * src/hildon-window-stack.c
2111 * src/hildon-window.c:
2112 Add missing 'Since: 2.2' tags.
2114 * doc/hildon-sections.txt:
2115 Add some missing symbols.
2117 * doc/hildon-docs.sgml:
2118 New 'Other' section for HildonAnimationActor and
2121 2009-04-06 Alberto Garcia <agarcia@igalia.com>
2123 Patch by Iván Gómez (igomez@igalia.com)
2126 * doc/compiling.sgml
2127 * doc/hildon-docs.sgml
2128 * doc/hildon-sections.txt
2129 * doc/migration.sgml
2130 * doc/resources.sgml
2132 New chapters on using the Hildon library.
2133 Updated the general structure of the reference manual.
2134 Other minor documentation fixes.
2136 * src/hildon-calendar-popup.c
2137 * src/hildon-calendar.c
2138 * src/hildon-controlbar.c
2139 * src/hildon-date-editor.c
2140 * src/hildon-dialog.c
2141 * src/hildon-hvolumebar.c
2142 * src/hildon-number-editor.c
2143 * src/hildon-range-editor.c
2144 * src/hildon-sort-dialog.c
2145 * src/hildon-time-editor.c
2146 * src/hildon-time-picker.c
2147 * src/hildon-volumebar-range.c
2148 * src/hildon-volumebar.c
2149 * src/hildon-vvolumebar.c
2150 * src/hildon-weekday-picker.c:
2151 Add deprecation notes
2153 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
2154 Document 'horizontal-movement' and 'vertical-movement' signals.
2156 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
2161 * configure.ac: Bump version.
2162 * debian/changelog: Updates.
2164 2009-04-06 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c,
2167 (hildon_pannable_area_class_init): increased the minimum velocity.
2168 (hildon_pannable_area_button_release_cb): Updated the
2169 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
2170 setup. Review the code to control that last event.
2172 Fixes: NB#109790 (Releasing finger in pannable area easily causes
2175 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
2177 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
2179 * src/hildon-get-password-dialog.c
2180 (hildon_get_password_set_property),
2181 (hildon_get_password_get_property), (create_contents):
2182 * src/hildon-login-dialog-private.h:
2183 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
2184 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
2185 (hildon_login_dialog_get_password):
2186 * src/hildon-set-password-dialog-private.h:
2187 * src/hildon-set-password-dialog.c
2188 (hildon_set_password_set_property),
2189 (hildon_set_password_get_property), (create_contents),
2190 (hildon_set_password_response_change),
2191 (hildon_set_password_response_set), (hildon_checkbox_toggled):
2193 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
2194 instead and look more Fremantle style.
2196 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
2198 2009-04-03 Alberto Garcia <agarcia@igalia.com>
2200 * doc/hildon-sections.txt
2201 * src/hildon-window-stack.h
2202 * src/hildon-window-stack.c
2203 (+hildon_window_stack_get_windows):
2204 New API to obtain the list of windows on a stack.
2206 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2208 * src/hildon-app-menu.c (hildon_app_menu_popup)
2209 (hildon_app_menu_class_init, -hildon_app_menu_show):
2210 Remove hildon_app_menu_show() and move all its checks to
2211 hildon_app_menu_popup()
2213 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
2215 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
2216 (_hildon_picker_dialog_set_selector): removed call to
2217 gtk_widget_set_size_request
2218 * src/hildon-touch-selector.c
2219 (_create_new_column): change the pannable size request policy
2221 Avoid to use a hardcoded height for the hildon picker dialog. In order
2222 to get that, we needed to change the hildon pannable size request
2224 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
2226 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2228 * src/hildon-window.c (hildon_window_map): Check for vbox to be
2229 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
2232 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
2234 * debian/control: Depend on osso-system-lock localization package.
2235 * src/hildon-code-dialog.c: Obtain the secu_application_title
2236 translation from osso-system-lock.
2237 * src/hildon-get-password-dialog.c (create_contents): Do not mark
2238 for translation the atk related strings, that's not necessary.
2239 * src/hildon-set-password-dialog.c (create_contents): Ditto.
2240 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
2241 cancel button, it is not required.
2243 2009-04-02 Alejandro G. Castro <alex@igalia.com>
2245 * src/hildon-pannable-area.c,
2246 (hildon_pannable_area_class_init): Modified the default value of
2247 the overshooting max speed, we have reduced it.
2249 2009-04-02 Alberto Garcia <agarcia@igalia.com>
2251 * doc/hildon-sections.txt
2252 * src/hildon-window-private.h
2253 * src/hildon-window.h
2254 * src/hildon-window.c (hildon_window_class_init)
2255 (hildon_window_init, hildon_window_finalize)
2256 (hildon_window_realize, hildon_window_get_property)
2257 (hildon_window_set_property, hildon_window_update_markup)
2258 (hildon_window_get_markup, hildon_window_set_markup):
2259 New "markup" property and hildon_window_{get,set}_markup() methods.
2261 * examples/hildon-stackable-window-example.c (new_window):
2262 Update example to use hildon_window_set_markup()
2264 Fixes: NB#106375 (Need API to retitle a window with a title
2267 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2269 * src/hildon-pannable-area.c,
2270 (hildon_pannable_area_class_init): Changed the default value of
2271 the initial_hint to TRUE.
2272 (hildon_pannable_area_initial_effect): Changed the initial effect,
2273 not the effect is just the fade-out of the scrollbars.
2275 Fixes: NB#107775 (No scrollbars can be seen when several items are
2276 available in a dialog)
2278 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-program.c (hildon_program_update_top_most):
2283 Fixes: NB#109179 (Memory leak in Hildon program)
2285 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2287 * src/hildon-banner.c (-get_current_app_window):
2288 Remove unused function.
2290 2009-04-01 Alejandro G. Castro <alex@igalia.com>
2292 * src/hildon-pannable-area.c: Modified the documentation of the
2293 get adjustments functions to explain the problem of using the
2294 adjustment directly.
2295 (hildon_pannable_area_class_init): Improved the explanation about
2298 2009-04-01 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-app-menu-private.h
2301 * src/hildon-app-menu.c
2302 (hildon_app_menu_class_init):
2303 Bring back the 'external-border' style property
2304 (hildon_app_menu_class_init, hildon_app_menu_init)
2305 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
2306 Set a fixed width-request for the menu, independent of the number
2309 Fixes: NB#94957 (Smoothly opened application menu)
2311 2009-03-30 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
2315 * src/hildon-banner.c
2316 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
2318 Make sure that the banner is correctly placed the first time it's
2320 (hildon_banner_check_position, -check_fullscreen_state):
2321 Show the banner in the same place no matter if the window is in
2322 fullscreen mode or not.
2324 Fixes: NB#107386 (Odd stacking behaviour for information banners)
2326 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2328 * src/hildon-touch-selector.c (_default_print_func): reorder
2329 concatenation for clarity.
2331 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
2333 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
2334 for multicolumn selectors.
2336 Fixes: NB#109099 (Memory leak in Hildon touch selector)
2338 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
2343 * configure.ac: Bump version.
2344 * debian/changelog: Updates.
2346 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
2348 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
2351 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2353 * configure.ac: removed libcangerra-gtk dependency
2354 * debian/control: removed libcanberra-gtk dependency
2355 * src/Makefile.am: removed libcanberra gtk related flags
2356 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
2357 context, and manage a global canberra context instead
2359 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2361 2009-03-26 Alberto Garcia <agarcia@igalia.com>
2363 Patch by Daniel Borgmann (danielb@openismus.com)
2365 * src/hildon-edit-toolbar.c:
2366 Adjust the left padding.
2367 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
2368 Paint background of the edit toolbar.
2370 Fixes: NB#107897 (Patch to make editmodetoolbar background
2371 themeable and adjust margin)
2373 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2375 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2377 * src/hildon-program.c (hildon_program_update_top_most):
2378 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
2380 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
2381 change when the user tasks in/out of an application)
2383 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
2385 * configure.ac: added libcangerra-gtk dependency
2386 * debian/control: added libcanberra-gtk dependency
2387 * src/Makefile.am: added libcanberra gtk related flags
2388 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
2391 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
2393 2009-03-25 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-program.c (hildon_program_remove_window)
2396 (hildon_program_add_window): Add checks for the window
2397 parameter. Don't decrease the window counter if the window is not
2400 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2402 * src/hildon-pannable-area.c,
2403 (hildon_pannable_area_realize): Fixed position of the event_window
2404 in the realize method.
2406 2009-03-24 Alberto Garcia <agarcia@igalia.com>
2408 * src/hildon-app-menu-private.h
2409 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
2410 (hildon_app_menu_map, hildon_app_menu_hide_idle)
2411 (hildon_app_menu_key_press, hildon_app_menu_init)
2412 (hildon_app_menu_finalize):
2413 Make sure that all idle functions are removed when the widget is
2416 Fixes: NB#107583 (Hildon app menu crashes in various applications)
2418 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2423 * configure.ac: Bump version.
2424 * debian/changelog: Updates.
2426 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-entry.c
2429 (+hildon_entry_show_placeholder),
2430 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
2431 that replace hildon_entry_update_contents().
2432 (hildon_entry_set_text),
2433 (hildon_entry_set_placeholder),
2434 (hildon_entry_focus_in_event),
2435 (hildon_entry_focus_out_event): Determine when it is needed
2436 either to show or hide the placeholder and call the above methods.
2438 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
2439 when the placeholder text is already set)
2441 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
2443 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
2444 simple GdkPixbufAnim using the new icons for the banner.
2445 (hildon_banner_show_animation): Use the above mentioned method to
2446 create the animation widget.
2448 Fixes: NB#103564 (Make hildon animation banner use individual
2449 image files as the animation)
2451 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2453 * src/hildon-pannable-area.c,
2454 (hildon_pannable_leave_notify_event): Check if the child is NULL
2455 to avoid sending the leave.
2457 2009-03-24 Alejandro G. Castro <alex@igalia.com>
2459 * src/hildon-pannable-area.c,
2460 (hildon_pannable_area_class_init),
2461 (hildon_pannable_leave_notify_event): Added a handler of the
2462 leave-notify-signal to consider when no motion notify before
2465 Fixes: NB#107494 (Items stay selected when clicking and moving
2466 away when inside pannable area)
2468 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
2473 * configure.ac: Bump version.
2474 * debian/changelog: Updates.
2476 2009-03-19 Alejandro G. Castro <alex@igalia.com>
2478 Patch by Alberto Garcia (agarcia@igalia.com)
2480 * src/hildon-date-button.c,
2481 (hildon_date_button_class_init),
2482 (hildon_date_button_init): Removed the construct property handling
2483 and created a default selector in the init method.
2484 * src/hildon-picker-button.c,
2485 (hildon_picker_button_class_init): Removed the construct flag of the
2488 2009-03-18 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-main.c (hildon_init):
2491 Don't allow hildon_init() to be called more than once.
2493 Fixes: NB#106607 (hildon_init should issue error message upon
2496 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
2498 * examples/hildon-pannable-area-touch-list-example.c
2499 * examples/hildon-pannagle-area-touch-grid-example.c
2500 * examples/hildon-edit-toolbar-example.c
2501 * examples/hildon-touch-selector-multi-cells-example.c
2502 Removed the call to gtk_rc_parse_string, as it is not required since
2505 2009-03-17 Alejandro G. Castro <alex@igalia.com>
2507 * src/hildon-pannable-area.c,
2508 (hildon_pannable_area_class_init): Modified the default panning
2509 threshold of the widget to 6px.
2511 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
2512 than the threshold value ) within the button is not sending the
2515 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
2518 for the treeview in the new column. This way, the touch list will never
2521 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
2522 be selected manually for the HW keys to work)
2524 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
2527 comparison instead of using strcmp(). Fixes a compiler warning as well.
2529 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2531 * doc/hildon-docs.sgml: Do not set the library version in the
2532 document title, use the releaseinfo tag for that purpose instead.
2534 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2536 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
2537 Do not jump to the first item if the text in the entry is removed.
2539 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2544 * configure.ac: Bump version.
2545 * debian/changelog: Updates.
2547 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-entry.c (hildon_entry_refresh_contents):
2550 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
2551 Use "ReversedSecondaryTextColor" for the placeholder text.
2553 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2555 * src/hildon-text-view.c: Fix compilation warning.
2557 2009-03-12 Alberto Garcia <agarcia@igalia.com>
2559 * src/hildon-button.c (hildon_button_class_init): Don't make
2560 "title" and "value" construction properties, to prevent them from
2561 overwriting labels set from derived classes.
2563 * src/hildon-picker-button.c
2564 (hildon_picker_button_set_selector): Allow setting a NULL selector.
2565 (hildon_picker_button_class_init): Make touch-selector a
2566 construction property.
2568 * src/hildon-date-button.c (hildon_date_button_class_init)
2569 (+hildon_date_button_constructed): Add a default date selector if
2572 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2574 * src/hildon-touch-selector.c: Small documentation fixes.
2576 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2578 Based on a patch by Daniel Borgmann (danielb@openismus.com)
2580 * src/hildon-entry.c (hildon_entry_refresh_contents),
2581 (hildon_entry_get_text), (hildon_entry_init): Do not use the
2582 widget name, set the logical color directly instead and a boolean
2583 showing_placeholder instead.
2584 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
2585 use the widget name here either.
2587 Fixes: NB#105678 (HildonTextView should use logical colours
2588 instead of setting widget name)
2590 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2592 Patch by Daniel Elster (danielk@openismus.com)
2594 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
2595 Add user_data parameter.
2596 (hildon_touch_selector_set_print_func_full): New function akin
2597 hildon_touch_selector_set_print_func() but with support for user
2598 data and a destroy callback.
2599 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
2600 to clean up the print function user data.
2601 (hildon_touch_selector_class_init): Install dispose function.
2602 (HildonTouchSelectorPrivate::print_user_data),
2603 (HildonTouchSelectorPrivate::print_destroy_func): New private
2605 (hildon_touch_selector_init): Initialize new private members.
2606 (hildon_touch_selector_get_current_text): Pass along user data
2607 to the print function.
2608 (_default_print_func): Add dummy user_data to parameter list.
2609 * hildon-date-selector.c (_custom_print_func): ditto,
2610 * hildon-time-selector.c (_custom_print_func): ditto,
2611 * hildon-touch-selector-entry.c
2612 (hildon_touch_selector_entry_print_func): ditto.
2614 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
2616 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
2618 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
2620 2009-03-12 Alejandro G. Castro <alex@igalia.com>
2622 * src/hildon-pannable-area.c,
2623 (hildon_pannable_area_init),
2624 (hildon_pannable_area_button_press_cb),
2625 (hildon_pannable_area_motion_notify_cb): We have added code to
2626 handle the leave and enter events when using the motion events.
2628 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
2630 2009-03-11 Alberto Garcia <agarcia@igalia.com>
2632 * src/hildon-date-button.c (hildon_date_button_get_date)
2633 (hildon_date_button_set_date): Make sure that the button has a
2636 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
2638 2009-03-11 Alejandro G. Castro <alex@igalia.com>
2640 * src/hildon-pannable-area.c,
2641 (hildon_pannable_area_class_init),
2642 (hildon_pannable_area_calculate_velocity): Modify the use of the
2643 force and adapt the value.
2645 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2647 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
2648 (hildon_app_menu_class_init): Hide the menu if it receives a
2649 delete-event, but don't destroy it
2651 Fixes: NB#104485 (Not able to address the call when application
2652 menu is opened at background)
2654 2009-03-10 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-app-menu.c
2657 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
2658 Remove the "external-border" style property, let the menu take its
2659 natural size (or the one set by the window manager)
2660 (hildon_app_menu_repack_items):
2661 Don't reshow the menu, avoid flickers.
2663 Partially fixes NB#94957 (Smoothly opened application menu)
2665 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
2670 * configure.ac: Bump version.
2671 * debian/changelog: Updates.
2673 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2675 * src/hildon-pannable-area.c,
2676 (hildon_pannable_area_motion_notify_cb): We control that the
2677 direction error margin is used just in case the movement is
2678 allowed in the other direction.
2680 Fixes: NB#105012 (buttons inside a pannable area not getting
2681 release event when dragging/releasing)
2683 2009-03-10 Alejandro G. Castro <alex@igalia.com>
2685 * src/hildon-pannable-area.c,
2686 (hildon_pannable_area_class_init),
2687 (hildon_pannable_area_get_property),
2688 (hildon_pannable_area_set_property),
2689 (hildon_pannable_area_initial_effect),
2690 (hildon_pannable_axis_scroll),
2691 (hildon_pannable_area_button_release_cb): Reviewed the
2692 overshooting effect, now it has its own max
2693 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
2694 speed when bouncing.
2696 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
2701 * configure.ac: Bump version.
2702 * debian/changelog: Updates.
2704 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2706 * src/hildon-pannable-area.c,
2707 (hildon_pannable_area_class_init): Changed the max speed, now
2708 users can launch the widget very fast. Reduced the default force,
2709 that way it is easier to control the launch speed.
2711 2009-03-09 Alejandro G. Castro <alex@igalia.com>
2713 * src/hildon-pannable-area.c,
2714 (hildon_pannable_area_button_release_cb): Removed this check
2715 because it causes problems when the device is overloaded.
2717 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2719 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2720 add a current_text field to store the text entered in the
2721 touch selector entry.
2722 (_clean_current_selection): clean up the current text as well.
2723 (_save_current_selection), (_restore_current_selection):
2724 Save/restore the text in the entry if the selector is a
2725 HildonTouchSelectorEntry.
2727 Fixes: NB#102541 (value entered in the touch selector entry is not
2728 shown when opened for second time)
2730 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
2732 * doc/hildon-sections.txt:
2733 * src/hildon-touch-selector-entry.c
2734 (+hildon_touch_selector_entry_get_entry):
2735 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
2737 Fixes: NB#104815 (I need accessor to the entry inside
2738 HildonTouchSelectorEntry)
2740 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2742 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
2743 (hildon_app_menu_class_init):
2744 New "filter-vertical-spacing" style property.
2746 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2748 * src/hildon-find-toolbar.c
2749 (hildon_find_toolbar_emit_close)
2750 (hildon_find_toolbar_emit_invalid_input)
2751 (hildon_find_toolbar_entry_activate):
2752 Use g_signal_emit() instead of g_signal_emit_by_name()
2754 2009-03-06 Alberto Garcia <agarcia@igalia.com>
2756 Patch by Mox Soini (ext-mox.soini@nokia.com)
2758 * tests/TEST-CASES.txt
2759 * tests/check-hildon-banner.c
2760 * tests/check-hildon-note.c
2761 * src/hildon-banner.c
2762 * src/hildon-code-dialog.c
2763 * src/hildon-date-editor.c (real_set_calendar_icon_state)
2764 * src/hildon-time-editor.c
2765 * examples/hildon-lookup-example.c (main):
2766 Replace obsolete icon names with new ones.
2768 * src/hildon-find-toolbar-private.h:
2769 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
2770 (-hildon_find_toolbar_emit_search):
2771 Remove find button and change icon of close button.
2773 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
2775 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-time-button.c (hildon_time_button_new_step):
2778 Use the "touch-selector" property to set the selector directly
2779 when creating the object.
2781 2009-03-05 Alejandro G. Castro <alex@igalia.com>
2783 Added a new example application that allows tuning the pannable
2784 area and replaced defines with properties in order to simplify the
2785 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
2786 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
2787 PROP_DIRECTION_ERROR_MARGIN.
2789 * examples/hildon-pannable-area-tuning-example.c: New example
2791 * src/hildon-pannable-area.c,
2792 (hildon_pannable_area_class_init),
2793 (hildon_pannable_area_init),
2794 (hildon_pannable_area_get_property),
2795 (hildon_pannable_area_set_property),
2796 (hildon_pannable_area_launch_fade_timeout),
2797 (hildon_pannable_area_adjust_value_changed),
2798 (hildon_pannable_axis_scroll),
2799 (hildon_pannable_area_motion_notify_cb),
2800 (hildon_pannable_area_scroll_cb),
2801 (hildon_pannable_area_button_release_cb): We have converted some
2802 of the defines that control the widget to properties to simplify
2805 2009-03-05 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-app-menu.c (hildon_app_menu_map)
2808 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
2809 so it's closed if a new window appears.
2811 Fixes: NB#104485 (Not able to address the call when application
2812 menu is opened at background)
2814 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2816 * src/hildon-color-button.c (hildon_color_button_get_property):Add
2817 missing 'break' statement in in 'case' construct to avoid
2820 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-touch-selector-entry.c
2823 (hildon_touch_selector_entry_get_property),
2824 (hildon_touch_selector_entry_set_property): Add missing 'break'
2825 statements in in 'case' constructs to avoid incorrect warnings.
2827 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2829 * src/hildon-time-editor.c
2830 (hildon_time_editor_get_time_separators): Do not crash if
2831 the first label is NULL.
2833 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
2835 * src/hildon-date-selector.c (_month_days): Check for month to be
2836 strictly less than 12, since otherwise we may overrun the array.
2838 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2840 * src/hildon-date-button.c (+hildon_date_button_new_full)
2841 (hildon_date_button_new, hildon_date_button_new_with_year_range)
2842 (hildon_date_button_init): Set the date selector using a
2843 construction property, to make it happen after HildonButton's
2844 "value" property is set.
2846 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
2847 current date by default)
2849 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2851 * doc/hildon-sections.txt
2852 * src/hildon-program.c
2853 * src/hildon-stackable-window.c
2854 * src/hildon-window.c:
2855 Documentation updates
2857 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-window-stack.c (hildon_window_stack_get_default)
2860 (hildon_window_stack_new, +hildon_window_stack_set_property)
2861 (+hildon_window_stack_get_property)
2862 (hildon_window_stack_class_init)
2863 (+hildon_window_stack_set_window_group)
2864 (+hildon_window_stack_get_window_group):
2865 Make the window group a construction property.
2867 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2869 * doc/hildon-sections.txt
2870 * src/hildon-stackable-window-private.h
2871 * src/hildon-stackable-window.h
2872 * src/hildon-stackable-window.c
2873 (-hildon_stackable_window_set_app_menu)
2874 (-hildon_stackable_window_get_app_menu)
2875 (-hildon_stackable_window_toggle_menu)
2876 (-hildon_stackable_window_finalize)
2877 (hildon_stackable_window_class_init)
2878 (hildon_stackable_window_init)
2879 * src/hildon-window-private.h
2880 * src/hildon-window.h
2881 * src/hildon-window.c (hildon_window_init)
2882 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
2883 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
2884 (hildon_window_get_main_menu, hildon_window_set_main_menu)
2885 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
2886 Moved all HildonAppMenu code to HildonWindow. The menu does not
2887 require a HildonStackableWindow anymore.
2889 * src/hildon-app-menu.c
2890 * src/hildon-program.c
2891 * examples/hildon-app-menu-example.c (main):
2892 Update examples and documentation to reflect HildonAppMenu
2895 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2897 * src/hildon-remote-texture.c
2898 * src/hildon-animation-actor.c:
2899 Don't include unused private headers.
2901 2009-03-04 Alberto Garcia <agarcia@igalia.com>
2903 * src/hildon-program-private.h
2904 * src/hildon-program.c
2905 (hildon_program_set_common_menu)
2906 (hildon_program_get_common_menu)
2907 (hildon_program_set_common_app_menu)
2908 (hildon_program_get_common_app_menu):
2909 Change common menu pointers from GtkWidget* to GtkMenu* and
2910 HildonAppMenu* to avoid unnecessary casts.
2912 2009-03-03 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-window.c (hildon_window_set_main_menu):
2915 Removed incorrect 'Since:' tag
2917 2009-03-03 Alejandro G. Castro <alex@igalia.com>
2919 * src/hildon-pannable-area.c,
2920 (hildon_pannable_area_calculate_velocity): We use now the
2921 RATIO_TOLERANCE here to check the distance, fixed typo in the
2923 (hildon_pannable_area_motion_notify_cb): We have to set the type
2924 and time even if we are not sending the motion.
2926 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2928 * doc/hildon-sections.txt
2929 * src/hildon-app-menu.h
2930 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
2931 (+hildon_app_menu_get_filters): New methods to get the contents of
2934 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
2937 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2939 * src/hildon-app-menu.c (hildon_app_menu_popup):
2942 2009-03-02 Alberto Garcia <agarcia@igalia.com>
2944 * src/hildon-window.h
2945 * src/hildon-window.c (+hildon_window_get_main_menu)
2946 (hildon_window_get_menu): Created hildon_window_get_main_menu()
2947 and deprecated hildon_window_get_menu().
2949 * src/hildon-stackable-window.h
2950 * src/hildon-stackable-window.c
2951 (+hildon_stackable_window_set_app_menu)
2952 (+hildon_stackable_window_get_app_menu)
2953 (hildon_stackable_window_set_main_menu): Created
2954 hildon_stackable_window_{get,set}_app_menu() and deprecated
2955 hildon_stackable_window_set_main_menu().
2957 * doc/hildon-sections.txt
2958 * examples/hildon-app-menu-example.c (main)
2959 * src/hildon-app-menu.c
2960 * src/hildon-program.c:
2961 Updated examples and documentation.
2963 Fixes: NB#103758 (No way to obtain a menu from a
2964 HildonStackableWindow)
2966 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2971 * configure.ac: Bump version.
2972 * debian/changelog: Updates.
2974 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
2976 * examples/hildon-remote-texture-example.c: Include
2977 hildon-remote-texture.h explicitely.
2978 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
2979 applications not defining _XOPEN_SOURCE which don't require this header.
2981 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2983 * doc/hildon-sections.txt
2984 * src/hildon-app-menu.h
2985 * src/hildon-app-menu.c (+hildon_app_menu_popup):
2986 New function to pop up a HildonAppMenu
2988 * src/hildon-stackable-window.c
2989 (hildon_stackable_window_toggle_menu):
2990 Use hildon_app_menu_popup() to show the menu.
2992 2009-02-27 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-app-menu.c (hildon_app_menu_show)
2995 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
2996 menu if there's another window between it and its parent window.
2998 Fixes: NB#100468 (Application menu window is launched even when a
2999 new secondary-window/dialog is pending to be shown/realized)
3001 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-window-stack.c (hildon_window_stack_push)
3004 (hildon_window_stack_pop_and_push):
3005 Don't forget to push/pop the first window.
3006 Reverse the window list before calling _push_list()
3008 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3010 * src/hildon-picker-button.h
3011 * src/hildon-picker-button.c (hildon_picker_button_class_init):
3012 Remove "value_changed" slot to avoid ABI breakage
3014 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3016 * src/hildon-pannable-area.c,
3017 (hildon_pannable_area_realize),
3018 (hildon_pannable_area_unrealize),
3019 (hildon_pannable_draw_vscroll),
3020 (hildon_pannable_draw_hscroll): Changed the method to handle the
3021 GC used to draw the transparent scrollbar, this way we avoid
3022 creating the GC all the time when drawing the scrollbars.
3024 2009-02-26 Alejandro G. Castro <alex@igalia.com>
3026 * src/hildon-pannable-area.c,
3027 (hildon_pannable_area_init),
3028 (hildon_pannable_area_remove): Removed some unnecessary casts.
3029 (hildon_pannable_area_dispose): Disconnected some signals before
3030 releasing the adjustments.
3032 2009-02-26 Alberto Garcia <agarcia@igalia.com>
3034 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3035 Make sure that all widgets contained in the toolbar are shown.
3037 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3039 * doc/hildon-sections.txt
3040 * src/hildon-picker-button.h
3041 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
3042 (_selection_changed, hildon_picker_button_on_dialog_response)
3043 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
3044 New hildon_picker_button_value_changed() method.
3047 * src/hildon-picker-button-private.h
3048 * src/hildon-picker-button.c (hildon_picker_button_init)
3049 (+hildon_picker_button_disable_value_changed): Add protected
3050 function for disabling the "value-changed" signal.
3052 * src/hildon-date-button.c (hildon_date_button_set_date):
3053 Don't emit "value-changed" for each one of the three columns.
3055 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
3056 before actual change of values)
3058 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3060 * src/hildon-pannable-area.c,
3061 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
3062 for the treeview overshooting.
3064 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-banner.c (+hildon_banner_bind_style):
3067 Renamed from hildon_banner_bind_label_style(), now naming the
3068 banner itself as well.
3069 (hildon_banner_show_information),
3070 (hildon_banner_show_information_with_markup),
3071 (hildon_banner_show_animation), (hildon_banner_show_progress):
3072 Name the widgets and labels, based on their type.
3074 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3077 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-note.c (hildon_note_set_property): call
3080 hildon_note_rename() on HildonNote:note-type set.
3081 (hildon_note_rename): Name the note and its label, based on the
3082 HildonNote:note-type property.
3084 See NB#98597 (Hildon Note and Hildon Banner should use themeable
3087 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3089 * src/hildon-pannable-area.c,
3090 (hildon_pannable_area_class_init),
3091 (hildon_pannable_area_motion_notify_cb): Reviewed the default
3092 panning parameters, increased SPS and deceleration factor. Added
3093 also a margin to control fake directions.
3095 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3097 Patch by Sven Herzberg (sven@imendio.com)
3099 * configure.ac: Add missing AM_PROG_CC_C_0
3100 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
3102 See NB#101420 (Update unit tests and fix make check)
3104 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3106 This patch was applied before but reverted because it caused
3107 problems, we have changed the main condition and tested the
3108 regressions we detected before and they work ok. We have done a
3109 complete review of the topmost algorithm in order to get a more
3112 * src/hildon-pannable-area.c,
3113 (hildon_pannable_area_get_topmost): Added a new parameter to
3114 filter the the windows that do not include those events.
3115 (hildon_pannable_area_button_press_cb),
3116 (hildon_pannable_area_button_release_cb),
3117 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3118 topmost function, we have added the new parameter.
3120 Fixes: NB#97458 (Pannable area prevents propagation of button
3123 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3125 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
3126 if all columns in the selector have an item selected.
3127 (_on_dialog_response): Stop "response" signal emission if there is
3128 any selector column without selected items.
3130 Fixes: NB#101889 (Picker dialog should not close when nothing is
3131 selected in multiple selection list)
3133 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
3135 * src/hildon-font-selection-dialog.c
3136 (hildon_font_selection_dialog_class_init),
3137 (hildon_font_selection_dialog_init): Remove the preview
3138 button and dialog, since previewing with default theming is likely
3139 to be overcomplicated. The :preview property has now no effect.
3140 Update documentation blurbs to inform about this.
3142 Fixes: NB#92297 (Preview content is not clearly visible for
3143 default colour text)
3145 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3147 Reviewed the geometry that handles the children size and
3148 scrollbar, now it tries a size and reviews the results depending
3149 on the scrollbars visibility.
3151 * src/hildon-pannable-area.c,
3152 (hildon_pannable_area_realize): Fixed a typo.
3153 (hildon_pannable_area_child_allocate_calculate): Added this
3154 function to calculate the child allocation.
3155 (hildon_pannable_area_size_allocate): Reviewed the allocation
3157 (hildon_pannable_area_check_scrollbars),
3158 (hildon_pannable_area_refresh): Refactored refresh function, this
3159 way we can call the code handling the scrollbars without causing a
3160 size_request, it is interesting in the allocate.
3161 (hildon_pannable_area_init): Replace the callbacks of the
3162 value_changed and changed signals to propertly deal with the
3164 (hildon_pannable_area_grab_notify),
3165 (hildon_pannable_area_initial_effect),
3166 (hildon_pannable_area_launch_fade_timeout),
3167 (hildon_pannable_area_adjust_changed),
3168 (hildon_pannable_area_adjust_value_changed),
3169 (hildon_pannable_area_redraw),
3170 (hildon_pannable_area_button_press_cb),
3171 (hildon_pannable_area_button_release_cb),
3172 (hildon_pannable_area_scroll_cb),
3173 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
3174 code and use the new functions adjust_changed and
3175 adjust_value_changed.
3177 Fixes: NB#101603 (Focus is not even for the text entry boxes in
3178 Contact editor dialog)
3180 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
3185 * configure.ac: Bump version.
3186 * debian/changelog: Updates.
3188 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3190 * src/hildon-pannable-area.c,
3191 (hildon_pannable_area_get_topmost),
3192 (hildon_pannable_area_button_press_cb),
3193 (hildon_pannable_area_button_release_cb),
3194 (hildon_pannable_get_child_widget_at): Reverted the patch for the
3195 topmost function adding the event mask. We have to try a
3196 differente approach because it is still causing problems (NB#9745,
3199 2009-02-19 Alberto Garcia <agarcia@igalia.com>
3201 * src/hildon-banner.c:
3202 Update the maximum width of timed banners.
3203 (force_to_wrap_truncated): Enforce the maximum text width if the
3206 Fixes: NB#102413 (The text margins (wrapping) in information
3207 banner should be HILDON_MARGIN_TRIPLE)
3209 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3211 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
3213 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
3214 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
3215 bound when calculating the scroll indicator position.
3217 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
3218 treat ->lower correctly)
3220 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
3222 * src/hildon-caption.c (hildon_caption_class_init): Remove the
3223 expose event handling, since it is not necessary to draw the focus
3226 Fixes: NB#102467 (Do not show highlight on the text in
3229 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3231 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
3232 full height of the toolbar for the button and the label.
3234 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3236 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
3237 padding before the label and after the button.
3239 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
3243 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
3244 Add a GtkVSeparator between the button and the back arrow.
3245 Let the button have automatic size.
3246 Set a name to the widget for theming handling.
3248 Fixes: NB#101793 (Make edit toolbar the same height as window
3249 title bar (use title area theming))
3251 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3253 * src/hildon-helper.c (attach_new_color_element): Fix memory
3256 Fixes: NB#102262 (memory leak in hildon_button_set_style())
3258 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3260 * examples/hildon-button-example.c (common_buttons_window): Don't
3263 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3265 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
3266 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
3268 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-gtk.c: Check that the window is realized.
3272 Fixes: NB#102225 (Crash setting the progress indicator to a non
3275 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
3278 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
3279 instead of modifying the one in the widget style.
3281 Fixes: NB#101043 (Second row of all the command button are
3282 displayed in transparent mode.)
3284 2009-02-17 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-date-button.c
3287 * src/hildon-time-button.c: Add gettext macros
3289 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
3291 * src/hildon-date-button.c (hildon_date_button_new):
3292 * src/hildon-time-button.c (hildon_time_button_new_step):
3293 Use new logical strings to set the button default title.
3295 Fixes: NB#99915 (Date and Time options are not localised in Date
3298 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3300 * src/hildon-pannable-area.c
3301 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
3302 the PANNING_THRESHOLD.
3304 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3306 * src/hildon-pannable-area.c,
3307 (hildon_pannable_area_class_init): Increased the maximum speed.
3308 (hildon_pannable_area_get_property),
3309 (hildon_pannable_area_set_property),
3310 (hildon_pannable_area_timeout): Added a new low friction mode, it
3311 allows the user avoid friction when launching the widget fast
3312 enough. It is interesting to traverse long lists.
3314 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
3317 (+hildon_stackable_window_delete_event): Ignore delete events if
3318 the window is not the topmost one.
3320 Fixes: NB#101698 (Back button long press and delete-event handling)
3322 2009-02-16 Alejandro G. Castro <alex@igalia.com>
3324 * src/hildon-pannable-area.c,
3325 (hildon_pannable_area_motion_notify_cb): Removed the use of the
3326 gtk-dnd-drag-threshold, it was too big. We have defined our own
3327 dnd define and set a smaller value: PANNIG_THRESHOLD.
3329 2009-02-16 Alberto Garcia <agarcia@igalia.com>
3331 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
3332 user-defined icons, use always the default one.
3334 Fixes: NB#101916 (Do not allow custom icons on animation banner)
3336 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3338 This patch was applied before but reverted because it caused
3339 problems, we have changed the main condition and tested the
3340 regressions we detected before and they work ok.
3342 * src/hildon-pannable-area.c,
3343 (hildon_pannable_area_get_topmost): Added a new parameter to
3344 filter the the windows that do not include those events. Added
3345 also a condition when finding the window to filter windows that do
3346 not ask for those events.
3347 (hildon_pannable_area_button_press_cb),
3348 (hildon_pannable_area_button_release_cb),
3349 (hildon_pannable_get_child_widget_at): Reviewed the call the the
3350 topmost function, we have added the new parameter.
3352 Fixes: NB#97458 (Pannable area prevents propagation of button
3355 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3357 * tests/check-hildon-color-button.c (START_TEST): do not leak
3360 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3362 * src/hildon-font-selection-dialog.c
3363 (hildon_font_selection_dialog_get_preview_text): Return NULL
3364 instead of FALSE on the g_return_val_if_fail().
3366 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3368 * src/hildon-time-selector.c (hildon_time_selector_set_time):
3369 * src/hildon-date-selector.c
3370 (hildon_date_selector_select_current_date):
3371 Do not compare unsigned integers to be greater than or equal 0,
3372 because it's always TRUE.
3374 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3376 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
3377 (hildon_date_selector_constructor): Do not select the current
3378 date until we are handle the "changed" signal, to avoid having bogus
3379 elements in the days model.
3381 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3383 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
3384 for num_days, since _month_days() can return a negative value.
3386 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3388 * src/hildon-caption.c (hildon_caption_size_allocate):
3389 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
3390 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
3392 Initialize allocation variables to 0, to avoid eventually using
3393 unitialized variables.
3395 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3397 * src/hildon-bread-crumb-trail.c
3398 (hildon_bread_crumb_trail_size_allocate):
3399 * src/hildon-calendar.c (hildon_calendar_set_background):
3400 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
3401 * src/hildon-range-editor.c (hildon_range_editor_get_range):
3402 * src/hildon-seekbar.c (hildon_seekbar_init):
3403 * src/hildon-time-editor.c (hildon_time_editor_get_time):
3404 * src/hildon-time-selector.c (hildon_time_selector_finalize):
3405 * src/hildon-touch-selector-entry.c
3406 (hildon_touch_selector_get_text_from_model):
3407 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
3408 * src/hildon-window.c (hildon_window_finalize):
3410 Remove many unused variables.
3412 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3414 * src/hildon-seekbar.c: (hildon_seekbar_init),
3415 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
3417 Remove unnecessary g_assert() calls.
3419 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3421 * src/hildon-caption.c: (hildon_caption_expose),
3422 (hildon_caption_set_property), (hildon_caption_init),
3423 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
3424 (hildon_caption_size_request), (hildon_caption_size_allocate),
3425 (hildon_caption_forall), (hildon_caption_set_separator),
3426 (hildon_caption_activate), (hildon_caption_set_child_expand),
3427 (hildon_caption_set_label_text),
3428 (hildon_caption_get_label_alignment):
3430 Remove unnecessary g_assert() calls.
3432 2009-02-12 Alberto Garcia <agarcia@igalia.com>
3434 * src/hildon-banner.c
3435 (hildon_banner_map, hildon_banner_init): Make banner temporary
3436 before mapping it to avoid closing other temporary windows, but
3437 make it non-temporary afterwards to avoid being closed by other
3438 non-temporary windows.
3439 (-hildon_banner_client_event, hildon_banner_init):
3440 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
3442 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
3445 2009-02-11 Alberto Garcia <agarcia@igalia.com>
3447 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
3450 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3452 * src/hildon-remote-texture.c
3453 * src/hildon-remote-texture.h
3454 * src/hildon-remote-texture-private.h
3455 * examples/hildon-remote-texture-example.c:
3456 Updates/fixes to remote-texture and its example.
3458 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
3460 Patch by Mox Soini (ext-mox.soini@nokia.com)
3462 * src/hildon-code-dialog.c: Update logical id.
3463 * src/hildon-set-password-dialog.c: Update logical id.
3465 Fixes: NB#100646 (Logical strings is shown for ok in set
3466 password,Password needed dialogs)
3468 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
3471 * src/hildon-remote-texture.c
3472 * src/hildon-remote-texture.h
3473 * src/hildon-remote-texture-private.h
3475 Added remote texture widget (for Clutter shared memory textures)
3477 * examples/hildon-remote-texture-example.c
3478 * examples/Makefile.am
3479 Added example file for remote texture usage
3481 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
3483 * configure.ac: post release version bump.
3484 * debian/changelog: version bump.
3486 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
3491 * configure.ac: Bump version.
3492 * debian/changelog: Updates.
3494 2009-02-06 Alberto Garcia <agarcia@igalia.com>
3496 * src/hildon-date-selector.c (hildon_date_selector_init)
3497 (hildon_date_selector_constructor): Don't connect to the "changed"
3498 signal until the selector is completely constructed.
3500 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3502 * src/hildon-touch-selector.c: (_create_new_column),
3503 (hildon_touch_selector_append_column),
3504 (hildon_touch_selector_set_column_selection_mode),
3505 (hildon_touch_selector_set_active),
3506 (hildon_touch_selector_select_iter):
3507 Emit the HildonTouchSelector::changed signal every time selection
3508 is changed in any of the methods above. This behavior was already
3509 documented but not fully functional.
3511 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
3512 selection is programmatically changed)
3514 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3516 * doc/hildon-sections.txt: Remove obsolete icon
3517 sizes from here as well.
3519 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3521 * examples/hildon-stackable-window-example.c (add_window): Remove
3524 2009-02-05 Alberto Garcia <agarcia@igalia.com>
3526 * src/hildon-app-menu.c
3527 (hildon_app_menu_show): Check whether the parent window of a menu
3528 is topmost before popping it up.
3530 Fixes: NB#100468 (Application menu window is launched even when a
3531 new secondary-window/dialog is pending to be shown/realized.)
3533 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3535 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
3538 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3540 Patch by Mox Soini (ext-mox.soini@nokia.com)
3542 * src/hildon-banner.c: (hildon_banner_show_animation):
3543 use stylus size instead of obsolete note size.
3544 * src/hildon-defines.h: Update icon sizes.
3546 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3548 * src/hildon-touch-selector-entry.c:
3549 (hildon_touch_selector_entry_init): Disable unsupported
3551 (hildon_touch_selector_entry_get_text_column): Emit a warning
3552 if an unsupported input modes is used and explicitile state
3553 these modes in the documentation.
3555 Fixes: NB#99802 (Hildon touch selector entry not working properly
3556 for some of the input modes)
3558 2009-02-05 Alejandro G. Castro <alex@igalia.com>
3560 * src/hildon-pannable-area.c,
3561 (hildon_pannable_area_init): Added the changed signal handlers of
3564 Fixes: NB#100320 (HildonPannableArea does not listen to
3565 GtkAdjustment "change" signals)
3567 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3569 * doc/hildon-sections.txt
3570 * src/hildon-window-private.h
3571 * src/hildon-window.h
3572 * src/hildon-window.c (hildon_window_init)
3573 (hildon_window_realize, hildon_window_unrealize)
3574 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
3575 (hildon_window_size_request, hildon_window_size_allocate)
3576 (hildon_window_forall, hildon_window_show_all)
3577 (hildon_window_destroy, +paint_edit_toolbar)
3578 (+hildon_window_set_edit_toolbar):
3579 New hildon_window_set_edit_toolbar() method, to add a
3580 HildonEditToolbar to a window without having to pack it manually.
3582 Reorganize hildon_window_size_allocate()
3584 * src/hildon-edit-toolbar.c: Update documentation.
3586 * examples/hildon-edit-toolbar-example.c (edit_window): Update
3587 example to use the new API.
3589 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
3591 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3593 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
3594 Remove from stack before calling parent's hide.
3596 2009-02-04 Alberto Garcia <agarcia@igalia.com>
3598 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
3599 window is removed from the middle of the stack, update the
3600 transiency of the previous one.
3602 Fixes: NB#100487 (HildonStackableWindow transiency becomes
3605 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3607 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
3608 block/unblock the signal handler if it's not actually being used.
3609 Fixes some critical warnings.
3611 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3613 Based on a patch by Iván Gómez (igomez@igalia.com)
3615 * src/hildon-banner.c
3619 * src/hildon-pannable-area.c
3620 * src/hildon-picker-dialog.c
3621 * src/hildon-wizard-dialog.h
3622 * src/hildon-wizard-dialog.c: Documentation updates.
3624 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
3625 gtk_dialog_add_button() instead of hildon_dialog_add_button().
3627 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3629 * configure.ac: post release version bump.
3630 * debian/changelog: version bump.
3632 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
3637 * configure.ac: Bump version.
3638 * debian/changelog: Updates.
3640 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3642 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
3643 a stock icon nor change the relief of the back arrow.
3645 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
3646 graphics from theme)
3648 2009-01-29 Alberto Garcia <agarcia@igalia.com>
3650 * src/hildon-button.c (hildon_button_set_alignment): Use
3651 priv->alignment if the button has no child yet.
3653 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
3655 * src/hildon-button.c: (hildon_button_init): Set the
3656 button style during initialization to give it the proper
3659 Fixes: NB#99713 (HildonButton value label color is wrong)
3661 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3663 * src/hildon-touch-selector.c: Document
3664 hildon_touch_selector_center_on_selected()
3666 2009-01-28 Alberto Garcia <agarcia@igalia.com>
3668 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
3669 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
3670 all menu items, but not the menu itself.
3671 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
3672 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
3673 items after adding them to the menu so keyboard accelerators work.
3674 (hildon_app_menu_show): Don't show the menu if it contains items
3675 but none of them are visible.
3677 * examples/hildon-app-menu-example.c (create_menu): Use
3678 gtk_widget_show_all() to show all menu items.
3680 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
3682 * src/hildon-picker-dialog.c:
3683 (-_update_title_on_selector_changed_cb),
3684 (-_dialog_update_title): Removed.
3685 (_select_on_selector_changed_cb), (_on_dialog_response),
3686 (on_selector_columns_changed): Do not update the dialog title.
3687 (setup_interaction_mode): Do not connect to
3688 HildonTouchSelector::changed signal if there's a "done" button, as
3689 the dialog title doesn't need to be updated.
3691 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
3694 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
3696 Patch by Kristian Rietveld (kris@imendio.com)
3698 * src/hildon-touch-selector.c: (_create_new_column): Use new
3699 GtkTreeView::hildon-row-tapped signal to react to user interactions
3700 instead of ::changed.
3702 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
3703 with some dynamic tree model)
3705 2009-01-27 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
3708 (+screen_size_changed, +label_size_request)
3709 (hildon_note_class_init): Make the Hildon information note have a
3710 minimum height, and make its text hvae a maximum width.
3712 Fixes: NB#98614 (Hildon information note (background) should have
3713 minimum height and maximum text width)
3715 2009-01-26 Alberto Garcia <agarcia@igalia.com>
3717 * src/hildon-banner.h
3718 * src/hildon-banner.c (hildon_banner_show_information)
3719 (hildon_banner_show_informationf)
3720 (hildon_banner_show_information_with_markup): Update documentation
3721 to reflect that the icon_name parameter is not used anymore.
3722 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
3723 Remove all code from these functions and mark them as deprecated.
3724 (hildon_banner_show_progress): Mark as deprecated.
3726 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
3728 2009-01-26 Alejandro G. Castro <alex@igalia.com>
3730 * src/hildon-pannable-area.c,
3731 (hildon_pannable_area_class_init),
3732 (tranparency_color),
3733 (hildon_pannable_draw_vscroll),
3734 (hildon_pannable_draw_hscroll),
3735 (hildon_pannable_area_expose_event): Added a new way to render the
3736 scrollbars of the pannable area avoiding using cairo at all. This
3737 way we improve the performance of the pannable area rendering. The
3738 cairo rendering procedure is still in the code, we can control
3739 which one to use changing the value of the define
3740 USE_CAIRO_SCROLLBARS.
3742 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3744 * configure.ac: post release version bump.
3745 * debian/changelog: version bump.
3747 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
3752 * configure.ac: Bump version.
3753 * debian/changelog: Updates.
3755 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3757 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
3758 banners instead of destroying them when they receive a button
3761 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3763 Reverted commit 34028, it was causing regressions, probably the
3764 topmost condition is not correct, we have to check it in more
3765 detail. We have reponed the bug: NB#97458 (Pannable area prevents
3766 propagation of button press events)
3768 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3770 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
3771 that the selection is not empty before attempting to retrieve the
3772 current ampm selection.
3774 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
3776 * src/hildon-picker-button.c:
3777 (hildon_picker_button_on_dialog_response): Directly update the
3778 button contents when required instead of calling _selection_changed.
3780 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-program.c (hildon_program_update_top_most): Update
3783 'is-topmost' property also when wm_hints is not set.
3785 Fixes: NB#98383 (is-topmost signal is not emitted when task
3786 switcher is clicked.)
3788 2009-01-23 Alejandro G. Castro <alex@igalia.com>
3790 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
3794 * src/hildon-animation-actor.c,
3795 * src/hildon-animation-actor.h: Added the animation actor class,
3796 this widget represents an animation actor for WM-assisted
3797 animation effects in the Hildon framework.
3799 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3801 * src/hildon-window-stack-private.h
3802 * src/hildon-window-stack.c
3803 * src/hildon-stackable-window.c (hildon_stackable_window_show):
3804 Avoid calling gtk_widget_show() again indirectly from
3805 hildon_stackable_window_show()
3807 2009-01-23 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
3812 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3814 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
3815 (hildon_time_selector_init): Move the construction of the hours and
3816 ampm columns to the constructor to preserve the order the columns
3819 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3821 * src/hildon-picker-dialog.c:
3822 (hildon_picker_dialog_class_init): Connect a realize method.
3823 (+hildon_picker_dialog_realize): Setup the interaction mode here
3825 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
3826 yet, do it during the realize instead.
3827 (_on_dialog_response):
3828 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
3829 if the widget is not realized, to avoid the dialog response before it
3832 Avoid premature responses in the HildonPickerDialog that can cause it
3833 to be hidden before it's even shown.
3835 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
3838 (on_selector_columns_changed), (requires_done_button),
3839 (+prepare_action_area), (setup_interaction_mode),
3840 (_hildon_picker_dialog_set_selector):
3842 Split the interaction mode setup into preparation of the
3843 action area (prepare_action_area()) and the connection of
3844 the signals in setup_interaction_mode() and update the code to
3847 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3849 * src/hildon-pannable-area.c,
3850 (hildon_pannable_area_class_init): Reduced the amount of scrolls
3851 per second to 15, we will check if this is ok regarding
3854 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3856 * src/hildon-pannable-area.c,
3857 (hildon_pannable_axis_scroll): Avoid resize if we already have
3858 reached overshoot_max.
3860 2009-01-22 Alejandro G. Castro <alex@igalia.com>
3862 * src/hildon-pannable-area.c,
3863 (hildon_pannable_area_init),
3864 (hildon_pannable_area_realize),
3865 (hildon_pannable_area_size_allocate),
3866 (hildon_pannable_area_map),
3867 (hildon_pannable_area_unmap),
3868 (hildon_pannable_draw_vscroll),
3869 (hildon_pannable_draw_hscroll),
3870 (hildon_pannable_area_expose_event),
3871 (hildon_pannable_area_refresh): Added a new GdkWindow to the
3872 pannable are to avoid the expose events go to the window and
3873 redraw the window. We save this way that part of the stack and the
3874 paint_boxes. We had to change the positions of the elements when
3877 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
3879 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3880 * src/hildon-color-chooser-dialog.c:
3881 (hildon_color_chooser_dialog_init):
3882 * src/hildon-font-selection-dialog.c:
3883 (hildon_font_selection_dialog_init),
3884 (hildon_font_selection_dialog_show_preview):
3885 * src/hildon-get-password-dialog.c:
3886 * src/hildon-login-dialog.c:
3887 * src/hildon-set-password-dialog.c:
3888 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
3889 * src/hildon-time-picker.c: (hildon_time_picker_init):
3891 Remove obsolete logical string IDs and update to the appropriate ones.
3893 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
3895 2009-01-21 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
3898 that happens if the window hasn't been realized yet.
3900 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
3901 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
3903 2009-01-20 Alberto Garcia <agarcia@igalia.com>
3905 * src/hildon-app-menu.c (hildon_app_menu_class_init)
3906 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
3909 Fixes: NB#98537 (Device hangs in account settings dialog)
3911 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3913 * configure.ac: post release version bump.
3914 * debian/changelog: version bump
3916 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3921 * configure.ac: Bump version.
3922 * debian/changelog: Updates.
3924 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3926 Added a new function to the HildonTimeButton widget that allows to
3927 change the step of the minutes in the selector associated with the
3928 button: hildon_time_button_new_step
3930 * src/hildon-time-button.c,
3931 (hildon_time_button_init),
3932 (hildon_time_button_new),
3933 (hildon_time_button_new_step):
3934 * src/hildon-time-button.h: Added the new function and refactored
3936 * examples/hildon-time-button-example.c,
3937 (main): We have replaced the function without parameters with the
3938 function with the steps set to 5
3940 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
3942 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3944 * src/hildon-time-selector.c,
3945 (hildon_time_selector_class_init),
3946 (hildon_time_selector_constructor),
3947 (hildon_time_selector_get_property),
3948 (hildon_time_selector_set_property),
3949 (_create_minutes_model),
3950 (hildon_time_selector_new_step),
3951 (hildon_time_selector_set_time),
3952 * src/hildon-time-selector.h: Added a new property to the
3953 HildonTimeSelector (minutes-step), we use that property to control
3954 the steps between the minutes in the list of the selector. We have
3955 added a new function to the API to create a widget changing the
3956 step: hildon_time_selector_new_step.
3958 2009-01-20 Alejandro G. Castro <alex@igalia.com>
3960 * src/hildon-time-selector.c,
3961 (hildon_time_selector_class_init),
3962 (hildon_time_selector_constructor),
3963 (hildon_time_selector_init): Overrided the construct function when
3964 creating the time selector object. We have moved the minutes model
3965 handling code from the init to the new construction function:
3966 hildon_time_selector_constructor.
3968 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3970 * examples/hildon-date-button-example.c: (main): Use the new
3971 hildon_date_button_new_with_year_range() method in the example.
3972 * src/hildon-date-button.c:
3973 (+hildon_date_button_new_with_year_range): New public method
3974 to conveniently create a HildonDateButton with a custom year range
3975 in its HildonDateSelector.
3976 * src/hildon-date-button.h: Add the new public method definition.
3978 Fixes: NB#97908 (Not possible to change the year range in
3979 HildonDateSelector/HildonDateButton)
3981 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3983 * src/hildon-date-selector.c:
3984 (+hildon_date_selector_set_property),
3985 (+hildon_date_selector_get_property),
3986 (hildon_date_selector_class_init): Install new properties "min-year"
3987 and "max-year" to define boundaries for the year column.
3988 (_create_year_model): Use the boundary properties to populate the model.
3989 (+hildon_date_selector_new_with_year_range): New public method to
3990 create a HildonDateSelector with a user defined year range.
3991 (hildon_date_selector_select_current_date): Use the new boundaries to
3992 calculate the iterator of current year.
3993 * src/hildon-date-selector.h: Add the new public method definition.
3995 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
3997 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
3998 Install a constructor method.
3999 (+hildon_date_selector_construct_ui): construct the widget.
4000 (+hildon_date_selector_constructor): new constructor.
4001 (+hildon_date_selector_init): move out widget construction code to
4002 the new constructor.
4004 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
4007 that there's actually a month or year selected before obtaining them.
4008 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
4009 of the HildonTouchSelector::changed signal, as it was emitted on every
4010 single item selection.
4012 Fix some warnings and possible crashers due to the selection restoring.
4014 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4016 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
4017 the signal handlers only after creating the dialog instead of on every
4020 2009-01-19 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-button.c (hildon_button_init)
4023 * src/hildon-check-button.c (hildon_check_button_init)
4024 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
4025 focus when clicked by default.
4027 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
4029 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
4032 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4034 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4035 Alejandro G. Castro (alex@igalia.com)
4037 * src/hildon-picker-dialog.c:
4038 (hildon_picker_dialog_class_init): install new "center-on-show"
4040 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
4041 (hildon_picker_dialog_set_property): add setter code for the new
4043 (hildon_picker_dialog_get_property): add getter code for the new
4045 (hildon_picker_dialog_show): Ensure visibility of selected items in the
4046 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
4049 Fixes: NB#92849 (Selected item is not always visible when
4050 HildonTouchSelector is shown)
4052 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
4054 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
4055 Alejandro G. Castro (alex@igalia.com)
4057 * src/hildon-touch-selector.c:
4058 (_create_new_column): Do not connect to the "realize" signal of the
4060 (hildon_touch_selector_append_column): center on the selected items
4061 when a new column is appended.
4062 (hildon_touch_selector_select_iter): Factor out the code to select a
4063 column to hildon_touch_selector_scroll_to().
4064 (+search_nearest_element): Method to retrieve the nearest selected
4065 element to the visible area of the pannable area in a column.
4066 (+on_realize_cb): scroll to the initially selected item.
4067 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
4068 the pannable area is realized, otherwise delay this until it is.
4069 (+_hildon_touch_selector_center_on_selected_items): Centers on the
4070 selected items of a given column.
4071 (+hildon_touch_selector_center_on_selected): Public method to center
4072 all columns on the nearest selected item.
4073 * src/hildon-touch-selector.h: Add definition for
4074 hildon_touch_selector_center_on_selected().
4076 Implement public API to ensure visibility of all selected items in
4077 a HildonTouchSelector.
4079 2009-01-16 Alejandro G. Castro <alex@igalia.com>
4081 Fixed a problem in the fading when calling the scroll_to API, and
4082 improve scrollbar fading handling.
4084 * src/hildon-pannable-area.c,
4085 (hildon_pannable_area_grab_notify): avoid the timeout when the
4087 (hildon_pannable_area_button_press_cb),
4088 (hildon_pannable_area_motion_notify_cb): Code style changes.
4089 (hildon_pannable_area_button_release_cb): Review the conditions
4090 when releasing the mouse button to avoid unrequired fading
4092 (hildon_pannable_area_scroll_to): Do not calculate and set the
4093 velocity if the scroll is not required.
4095 2009-01-15 Alberto Garcia <agarcia@igalia.com>
4097 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
4098 Don't check whether the new selector is NULL: it cannot be.
4099 Hold a reference to the selector while doing the replacement.
4101 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4104 unnecessary size_request in a removed widget.
4106 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
4109 an unnecessary reference tracking that was leaking.
4111 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4113 Added delayed motion notify event handling, this way we can
4114 discard redrawing if more than 25 events arrive per second.
4116 * src/hildon-pannable-area.c,
4117 (hildon_pannable_area_init): Initialized the new private atributes
4118 controlling this timeout
4119 (hildon_pannable_area_dispose): Remove the timeout that controls
4120 the motion notify events.
4121 (hildon_pannable_area_scroll): Added a condition to control the
4122 use of the acceleration.
4123 (hildon_pannable_area_motion_event_scroll_timeout),
4124 (hildon_pannable_area_motion_event_scroll): Added this two
4125 functions, they handle the motion notify events inside the
4127 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
4128 to the scroll method with the new function.
4129 (hildon_pannable_area_button_release_cb): We have to remove the
4130 timeout handler and move to the last position if the last motion
4131 events were not handled.
4133 Fixes: NB#97028 (Pannable area updates on every motion event)
4135 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4137 * src/hildon-pannable-area.c,
4138 (hildon_pannable_area_get_topmost): Added a new parameter to
4139 filter the the windows that do not include those events. Added
4140 also a condition when finding the window to filter windows that do
4141 not ask for those events.
4142 (hildon_pannable_area_button_press_cb),
4143 (hildon_pannable_area_button_release_cb),
4144 (hildon_pannable_get_child_widget_at): Reviewed the call the the
4145 topmost function, we have added the new parameter.
4147 Fixes: NB#97458 (Pannable area prevents propagation of button
4150 2009-01-15 Alejandro G. Castro <alex@igalia.com>
4152 * src/hildon-pannable-area.c,
4153 (hildon_pannable_area_initial_effect): Added controls before
4154 launching the timeout and the idle functions.
4155 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
4156 of the method, in some situations it can return with TRUE and 0 in
4158 (hildon_pannable_area_button_press_cb): We do not need to set
4159 DELAY for fading out here.
4161 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
4163 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
4166 post-cleaning if the selection is not NULL.
4168 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4170 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
4171 all items before restoring the selection.
4173 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4175 * src/hildon-touch-selector.c:
4176 (+hildon_touch_selector_unselect_all):
4177 * src/hildon-touch-selector.h: New API to unselect all items in a
4178 column of the touch selector.
4180 2009-01-14 Alejandro G. Castro <alex@igalia.com>
4182 * src/hildon-pannable-area.c,
4183 (hildon_pannable_area_redraw): Added a call to the refresh
4184 function inside the redraw because apparently in some cases the
4185 change in the adjustment does not imply a size allocate.
4187 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
4188 despite the view not being scrollable)
4190 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4192 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
4193 leak. Check for NULL before attempting to set the window title.
4195 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4197 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
4198 whether to show or not the 'Done' button each time the dialog is
4199 shown, as it depends on the HildonTouchSelector selection mode.
4201 Fixes: NB#96226 (In multiple selection mode Done button is shown
4202 sometimes in listpicker)
4204 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
4206 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
4207 for the number of columns in the HildonTouchSelector more than once.
4209 2009-01-14 Alberto Garcia <agarcia@igalia.com>
4211 * src/hildon-touch-selector.c: Minor documentation fixes.
4213 * src/hildon-picker-dialog.c (+_dialog_update_title)
4214 (_select_on_selector_changed_cb)
4215 (_update_title_on_selector_changed_cb)
4216 (on_selector_columns_changed): Update dialog title when there's no
4217 'Done' button and also when the number of columns in the selector
4221 * src/hildon-picker-button.c (hildon_picker_button_finalize)
4222 (+_selection_changed, hildon_picker_button_on_dialog_response)
4223 (hildon_picker_button_selector_selection_changed)
4224 (+hildon_picker_button_selector_columns_changed)
4225 (hildon_picker_button_set_selector): Update button value and emit
4226 'value-changed' when the number of columns in the selector
4230 Fixes: NB#96225 (Dialog titles are not shown according to the
4231 values selected in the list picker)
4233 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4235 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
4236 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
4237 New "arrow-width" and "arrow-height" style properties to set the
4238 size of the arrow button.
4239 Set name of arrow button ("hildon-edit-toolbar-arrow").
4241 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
4242 graphics from theme)
4244 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/hildon-picker-button.c:
4247 (hildon_picker_button_selector_selection_changed): Use
4248 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
4249 the dialog is present.
4251 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
4252 the selection is accepted in the dialog)
4254 2009-01-13 Alberto Garcia <agarcia@igalia.com>
4256 * src/hildon-color-chooser.h
4257 * src/hildon-color-chooser-dialog.h:
4258 Added G_BEGIN_DECLS and G_END_DECLS
4260 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4262 (_clean_current_selection): plug a leak in the list.
4264 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
4266 * src/hildon-picker-dialog.c:
4267 (+free_path_list): Method to free a GList of GtkTreePaths.
4268 (_clean_current_selection), (_save_current_selection),
4269 (_restore_current_selection): Save the current selection in
4270 as a list of lists, to support multiple selection properly.
4272 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4274 patch by Claudio Saavedra (csaavedra@igalia.com)
4276 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
4277 Store the press position.
4278 (+hildon_text_view_button_release_event): If the release position is
4279 close enough to the press position, move the cursor here. Otherwise,
4281 (hildon_text_view_class_init): Override GtkTextView press, release, and
4282 motion event handlers, disabling this way text selection through
4283 pointer interaction, and allowing the container widget to handle the
4286 Fixes: NB#95828 (HildonTextView functionality)
4288 2009-01-12 Alberto Garcia <agarcia@igalia.com>
4290 Based on a patch by Iván Gómez (igomez@igalia.com)
4292 * src/hildon-button.[ch]
4293 * src/hildon-calendar.c
4294 * src/hildon-check-button.c
4295 * src/hildon-date-editor.c
4296 * src/hildon-date-selector.c
4297 * src/hildon-picker-button.c
4298 * src/hildon-time-editor.c
4299 * src/hildon-time-selector.c
4300 * src/hildon-touch-selector.[ch]:
4301 Documentation updates
4303 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4305 * src/hildon-pannable-area.c,
4306 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
4307 threshold, it was required due to X events handling.
4309 2009-01-12 Alejandro G. Castro <alex@igalia.com>
4311 * src/hildon-pannable-area.c,
4312 (hildon_pannable_area_grab_notify),
4313 (hildon_pannable_area_initial_effect),
4314 (hildon_pannable_area_button_press_cb),
4315 (hildon_pannable_area_button_release_cb),
4316 (hildon_pannable_area_scroll_cb),
4317 (hildon_pannable_area_scroll_to): Review the timeout management of
4318 the scrollbar, the frecuency was incorrectly set.
4320 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
4322 * src/hildon-picker-button.c:
4323 (+hildon_picker_button_on_dialog_response),
4324 (hildon_picker_button_clicked): Present the dialog instead of
4325 running it with gtk_dialog_run().
4327 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
4330 2009-01-07 Alberto Garcia <agarcia@igalia.com>
4332 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4333 (hildon_app_menu_finalize): When a window is hidden it doesn't
4334 emit notify::is-topmost, so make sure than the menu also
4335 disappears in that case.
4336 (parent_window_topmost_notify): Renamed from parent_window_hidden
4338 Fixes: NB#94460 (stackable window's menu is not closed when its
4341 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-touch-selector-entry.c:
4344 (+hildon_touch_selector_entry_set_input_mode),
4345 (+hildon_touch_selector_entry_get_input_mode):
4346 * src/hildon-touch-selector-entry.h: New methods to access the input
4347 mode in the selector's entry.
4349 Fixes: NB#93410 (API required for setting IM mode in
4350 HildonTouchSelectorEntry)
4352 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4354 * configure.ac: post release version bump.
4355 * debian/changelog: version bump
4357 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
4362 * configure.ac: Bump version.
4363 * debian/changelog: Updates.
4365 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-touch-selector.c:
4368 (_hildon_touch_selector_has_multiple_selection): No need
4369 to initialize the variables here.
4371 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4373 * src/hildon-note-private.h
4374 * src/hildon-note.c (event_box_press_event, hildon_note_init)
4375 (hildon_note_finalize, hildon_note_rebuild): Close information
4376 notes when they receive a button press.
4378 Fixes: NB#89890 (Information notes does not get disappeared after
4381 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
4383 * src/hildon-wizard-dialog.c: (create_title): Remove translation
4384 mark from the wizard title, as it's not really necessary. Also,
4385 do not display the page title if not set.
4387 2008-12-17 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4390 (parent_window_hidden): Use the window's "is-topmost" property to
4391 detect when to hide the menu.
4393 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4395 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
4396 (hildon_app_menu_finalize): If the parent window of the menu is
4397 hidden, hide the menu too.
4399 Fixes: NB#94460 (stackable window's menu is not closed when its
4402 2008-12-16 Alberto Garcia <agarcia@igalia.com>
4405 * debian/libhildon1-examples.install
4407 * examples/Makefile.am:
4408 Use dh_install to install all examples.
4409 Use DEB_SRCDIR instead of defining SOURCE_DIR
4411 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4413 * configure.ac: post release version bump.
4414 * debian/changelog: version bump
4416 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4421 * configure.ac: bump version
4422 * debian/changelog: updates
4423 * debian/control: bump gtk+ dependency
4425 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
4427 patch by Christian Dywan (christian@imendio.com)
4429 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
4430 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
4432 2008-12-15 Alberto Garcia <agarcia@igalia.com>
4434 * src/hildon-check-button.c (hildon_check_button_init)
4435 (hildon_check_button_class_init, hildon_check_button_style_set)
4436 (hildon_check_button_apply_style):
4437 New "checkbox-size" style property.
4439 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
4440 larger / configurable size)
4442 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4444 * configure.ac: post release version bump.
4445 * debian/changelog: version bump
4447 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
4452 * configure.ac: bump version
4453 * debian/changelog: updates
4455 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4457 * doc/hildon-sections.txt
4458 * src/hildon-pannable-area.c
4459 * src/hildon-program.c
4460 * src/hildon-time-editor.c
4461 * src/hildon-touch-selector-entry.c:
4463 More documentation updates.
4465 2008-12-12 Alberto Garcia <agarcia@igalia.com>
4467 * doc/hildon-sections.txt
4468 * src/hildon-caption.c
4469 * src/hildon-code-dialog.c
4470 * src/hildon-color-button.c
4471 * src/hildon-controlbar.c
4472 * src/hildon-date-editor.c
4473 * src/hildon-date-selector.c
4474 * src/hildon-edit-toolbar.c
4475 * src/hildon-find-toolbar.c
4476 * src/hildon-font-selection-dialog.c
4478 * src/hildon-program.c
4479 * src/hildon-range-editor.c
4480 * src/hildon-seekbar.c
4481 * src/hildon-time-editor.c
4482 * src/hildon-time-selector.c
4483 * src/hildon-volumebar-range.c
4484 * src/hildon-volumebar.c
4485 * src/hildon-vvolumebar.c
4486 * src/hildon-weekday-picker.c
4487 * src/hildon-window.c
4488 * src/hildon-wizard-dialog.c:
4490 Lots of documentation fixes.
4492 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4494 Patch contributed by Iván Gómez (igomez@igalia.com)
4496 * src/hildon-check-button.c:
4497 * src/hildon-date-button.c:
4498 * src/hildon-date-selector.c:
4499 * src/hildon-dialog.c:
4500 * src/hildon-edit-toolbar.c:
4501 * src/hildon-entry.c:
4502 * src/hildon-picker-button.c:
4503 * src/hildon-program.c:
4504 * src/hildon-text-view.c:
4505 * src/hildon-time-button.c:
4506 * src/hildon-touch-selector-entry.c:
4507 * src/hildon-window-stack.c:
4509 Add more "since" tags to the new API.
4511 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4513 * doc/hildon-sections.txt: Add below method.
4514 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
4515 version for the hildonized scale.
4516 * src/hildon-gtk.h: Add the definition.
4518 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4520 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4522 * doc/hildon-sections.txt: Add missing entries for new methods.
4524 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4526 Added API to pannable are in order to get its adjustments. We
4527 added two properties to manage the values we had in the private
4530 * src/hildon-pannable-area.c:
4531 (hildon_pannable_area_class_init): Added hadjustment and
4532 vadjustment properties in order to expose horizontal and vertical
4534 (hildon_pannable_area_get_property),
4535 (hildon_pannable_area_set_property): Added code to handle the new
4537 (hildon_pannable_area_get_hadjustment),
4538 (hildon_pannable_area_get_vadjustment): API functions to get the
4540 * src/hildon-pannable-area.h:
4541 (hildon_pannable_area_get_hadjustment),
4542 (hildon_pannable_area_get_vadjustment): API functions to get the
4545 2008-12-12 Alejandro G. Castro <alex@igalia.com>
4547 Fixed some leaks, after valgrinding.
4549 * src/hildon-touch-selector.c:
4550 (_default_print_func): Fixed a leak.
4551 (hildon_touch_selector_append_column): Fixed a leak.
4552 * src/hildon-date-button.c:
4553 (hildon_date_button_init): Fixed a leak.
4554 * src/hildon-date-selector.c
4555 (hildon_date_selector_finalize): Fixed a leak.
4557 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
4559 Based on a patch by Christian Dywan (christian@imendio.com)
4561 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
4563 * src/hildon-gtk.h: Add definition.
4565 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
4567 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4569 * src/hildon-picker-button.c: (hildon_picker_button_init),
4570 (hildon_picker_button_new): Set the HildonButton::style property
4571 in the init method, to propagate the value to the derived classes.
4573 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/hildon-button.c: (hildon_button_class_init): Do not make
4576 the "style" property a construct property.
4578 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4580 * src/hildon-wizard-dialog.h
4581 * src/hildon-wizard-dialog.c
4582 (hildon_wizard_dialog_set_forward_page_func)
4583 * src/hildon-pannable-area.h
4584 * src/hildon-pannable-area.c
4585 (hildon_pannable_area_set_size_request_policy):
4586 Documentation fixes.
4588 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4590 * doc/hildon-sections.txt: Fixed warning about unused symbols.
4592 2008-12-11 Alberto Garcia <agarcia@igalia.com>
4594 * doc/hildon-sections.txt: Added sections file.
4596 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
4599 * src/*.[ch]: Updates.
4601 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
4603 * examples/hildon-progress-indicator-example.c: new file
4604 * examples/Makefile.am: include the new example program
4606 2008-12-10 Alberto Garcia <agarcia@igalia.com>
4608 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
4610 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4612 * configure.ac: post release version bump
4613 * debian/changelog: version bump
4615 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4620 * configure.ac: bump version
4621 * debian/changelog: updates
4622 * debian/control: bump gtk+ dependency
4624 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4626 * src/hildon-dialog.c: Mark as deprecated.
4627 * src/hildon-dialog.h: Mark as deprecated.
4628 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
4629 from HildonDialog and still work, even if
4630 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
4631 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
4633 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
4634 maemo changes) instead)
4636 2008-12-09 Alejandro G. Castro <alex@igalia.com>
4638 * src/hildon-pannable_area.h:
4639 * src/hildon-pannable_area.c:
4640 (hildon_pannable_area_class_init),
4641 (hildon_pannable_area_set_property),
4642 (hildon_pannable_area_get_property),
4643 (hildon_pannable_area_size_request),
4644 (hildon_pannable_area_get_size_request_policy),
4645 (hildon_pannable_area_set_size_request_policy): Added new API
4646 allowing applications to control the request policy. Now they can
4647 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
4648 children allocation (HILDON_MOVEMENT_CHILDREN).
4650 2008-12-09 Alberto Garcia <agarcia@igalia.com>
4654 (hildon_gtk_tree_view_set_ui_mode)
4655 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
4656 mode of treeviews and iconviews.
4658 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4660 * src/hildon-touch-selector-entry.c:
4661 (hildon_touch_selector_entry_init): Use a HildonEntry instead
4662 of a GtkEntry to get proper theming.
4664 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
4665 widget, not GtkEntry)
4667 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/hildon-wizard-dialog.c: (response): Move forward if there is
4670 no HildonWizardDialogPageFunc.
4672 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
4674 Patch contributed by Iván Gómez (igomez@igalia.com)
4676 * src/hildon-app-menu.c:
4677 * src/hildon-button.c:
4678 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
4679 * src/hildon-stackable-window.c:
4680 * src/hildon-time-selector.c:
4681 * src/hildon-touch-selector.c:
4682 * src/hildon-window.c:
4684 Add more "since" tags to the new API in hildon 2.2.
4686 2008-12-05 Tim Janik <timj@imendio.com>
4688 Patch contributed by Christian Dywan (christian@imendio.com)
4690 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
4691 HildonSizeType, which are supplied by Gtk+ now.
4693 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
4695 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
4696 (with maemo changes) instead)
4698 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4700 Patch contributed by Iván Gómez (igomez@igalia.com)
4702 * src/hildon-pannable-area.c: Add "since" tags to the new API in
4705 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
4707 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
4708 (some_page_func), (main): Update the example to use a
4709 HildonWizardDialogPageFunc function.
4711 * src/hildon-wizard-dialog-private.h: Add private data for
4712 the HildonWizardDialogPageFunc function usage.
4714 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
4715 (destroy), (hildon_wizard_dialog_init), (response),
4716 (hildon_wizard_dialog_set_forward_page_func):
4717 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
4718 that applications can use to stop a HildonWizardDialog to jump to
4721 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
4724 2008-12-04 Alberto Garcia <agarcia@igalia.com>
4726 * src/hildon-program.h
4727 * src/hildon-program-private.h
4728 * src/hildon-program.c (hildon_program_init)
4729 (hildon_program_set_common_app_menu)
4730 (hildon_program_get_common_app_menu):
4731 New API for setting a common HildonAppMenu for all
4732 HildonStackableWindows registered with the HildonProgram.
4734 * src/hildon-stackable-window.c
4735 (hildon_stackable_window_toggle_menu):
4736 Use the common HildonAppMenu if a window doesn't have a specific
4739 * src/hildon-app-menu-private.h
4740 * src/hildon-app-menu.c
4741 (hildon_app_menu_get_parent_window):
4742 Function to obtain the window a HildonAppMenu is attached to.
4743 (hildon_app_menu_set_parent_window):
4744 Hide the menu if the parent window is set to NULL.
4746 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
4748 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
4749 set GtkTreeView::enable-search to FALSE, to avoid the interactive
4750 search widget to popup.
4752 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4754 * configure.ac: post release version bump
4755 * debian/changelog: version bump
4757 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
4762 * configure.ac: bump version
4763 * debian/changelog: updates
4765 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4767 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
4769 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
4770 (hildon_window_stack_window_realized)
4771 (hildon_window_stack_remove, _hildon_window_stack_do_push):
4772 Set the leader GdkWindow when a window is stacked and realized,
4773 unset it when it's unstacked.
4774 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
4776 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
4778 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-stackable-window.h
4781 * src/hildon-window-stack.h:
4782 Protect definition of HildonWindowStack using the preprocessor.
4784 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
4787 Fix warning if all menu items are hidden.
4789 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
4791 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4793 * src/hildon-controlbar.c:
4794 * src/hildon-hvolumebar.c:
4795 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
4796 Multiple scale size defines updates.
4798 Fixes: NB#94322 (Scale Updates)
4800 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4802 * examples/hildon-app-menu-example.c (create_menu)
4803 Show items after adding them to the menu, as in the future the
4804 menu will no longer call gtk_widget_show() on the added items.
4806 * src/hildon-app-menu.c:
4807 Update example as explained above.
4809 2008-12-02 Alberto Garcia <agarcia@igalia.com>
4811 * src/hildon-app-menu.c
4812 (hildon_app_menu_insert, hildon_app_menu_add_filter):
4813 Make sure that all menu items have finger height.
4815 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
4817 * src/hildon-picker-dialog.c:
4818 (_on_dialog_response), (_save_current_selection),
4819 (_restore_current_selection), (_clean_current_selection),
4820 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
4821 Defined new functions in order to save the current internal selector
4822 selection previous open the dialog, in case that the use cancel the
4823 interaction, so the widget restores the previous selection.
4825 Fixes: NB#92032 (In calendar application, date values in 'new event'
4828 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
4830 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4832 * src/hildon-button.c: Add a reference to the button examples in
4833 hildon-button-example.c
4835 * examples/hildon-button-example.c: Added examples of the most
4836 common button layouts.
4838 2008-11-28 Alberto Garcia <agarcia@igalia.com>
4840 * src/hildon-app-menu.c (hildon_app_menu_show)
4841 (hildon_app_menu_class_init): Don't show the menu if it's empty.
4843 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
4845 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4847 * src/hildon-picker-dialog.c:
4848 (hildon_picker_dialog_init): Initialize the signal id for
4849 HildonTouchSelector::columns-changed.
4850 (+on_selector_columns_changed): Set up the interaction mode everytime a
4851 column is added or removed from the HildonTouchSelector.
4852 (_hildon_picker_dialog_set_selector): Connect to
4853 HildonTouchSelector::columns-changed and keep track of it.
4855 Make sure to update the interaction mode of the dialog everytime a
4856 column is added or removed in the HildonTouchSelector.
4858 Fixes: NB#93228 (Done button is not shown always in listpicker)
4860 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
4863 a new ::columns-changed signal.
4864 (hildon_touch_selector_append_column): Emit ::columns-changed.
4865 (hildon_touch_selector_remove_column): Emit ::columns-changed.
4867 Add a ::columns-changed signal, emitted when the number of columns in a
4868 HildonTouchSelector changes.
4870 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4872 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
4873 (_hildon_picker_dialog_set_selector): Factor out the code
4874 to set up the dialog interaction mode.
4876 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
4879 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
4880 to signal_changed_id.
4882 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4884 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4887 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
4889 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
4890 Updated the logical ids related to ampm format, as now it is required to
4891 show it correctly localized even on languages with no default
4892 abbreviations for am or pm
4893 (_check_am_pm_format): check correctly the 24h format gconf property
4895 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
4897 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4899 * src/hildon-button.c: Documentation updates.
4901 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4903 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
4904 * src/hildon-caption.c: (hildon_caption_class_init):
4905 * src/hildon-color-button.c: (hildon_color_button_class_init):
4906 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
4907 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
4908 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
4909 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
4911 Remove deprecated GTK+ marshalers and replace them with the ones
4912 provided by GLib, for those available, add a marshaler for
4913 BOOLEAN:VOID, which is not available in GLib, and use it.
4915 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4917 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
4918 the text from the previous column if there is no
4919 HildonTouchSelectorColumn::text-property set.
4921 2008-11-27 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-button.h
4924 * src/hildon-button.c (hildon_button_set_property)
4925 (hildon_button_get_property, hildon_button_class_init)
4926 (hildon_button_set_style, hildon_button_get_style):
4927 New "style" property to change the visual appearance of the
4930 * src/hildon-picker-button.c (hildon_picker_button_new):
4931 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
4933 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
4934 HildonButton look like PickerButton)
4936 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
4938 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
4939 column while building the default string.
4941 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4943 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
4944 scroll indicator by default.
4946 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
4948 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
4950 * src/hildon-main.c: Fix the documentation for hildon_init()
4952 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4954 * doc/hildon-docs.sgml
4958 * src/hildon-window-stack-private.h
4959 * src/hildon-window-stack.h
4960 * src/hildon-window-stack.c:
4961 New HildonWindowStack object, that adds support for multiple
4962 stacks of windows per process.
4964 * src/hildon-stackable-window-private.h
4965 * src/hildon-stackable-window.h
4966 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
4967 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
4968 (hildon_stackable_window_show, hildon_stackable_window_hide)
4969 (hildon_stackable_window_class_init)
4970 (hildon_stackable_window_init):
4971 Use HildonWindowStack for stack management.
4973 * src/hildon-program.c (hildon_program_pop_window_stack)
4974 (hildon_program_peek_window_stack)
4975 (hildon_program_go_to_root_window):
4976 Add a fallback implementation to the deprecated functions using
4979 * examples/hildon-stackable-window-example.c:
4980 Use the new HildonWindowStack API.
4982 2008-11-25 Alberto Garcia <agarcia@igalia.com>
4984 * src/hildon-stackable-window-private.h
4985 * src/hildon-stackable-window.c (hildon_stackable_window_show)
4986 (hildon_stackable_window_hide, hildon_stackable_window_init):
4987 Remove all window stack management.
4989 * src/hildon-program-private.h
4990 * src/hildon-program.h
4991 * src/hildon-program.c (hildon_program_init)
4992 (hildon_program_pop_window_stack)
4993 (hildon_program_peek_window_stack)
4994 (hildon_program_go_to_root_window):
4995 Remove all window stack management and mark functions as
4998 2008-11-25 Alberto Garcia <agarcia@igalia.com>
5000 * src/hildon-app-menu.c (hildon_app_menu_realize):
5001 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
5003 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5005 * configure.ac: post release version bump
5006 * debian/changelog: version bump
5008 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5013 * configure.ac: bump version
5014 * debian/changelog: updates
5016 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
5018 Based on initial code by Christian Dywan (christian@imendio.com)
5020 * doc/hildon-docs.sgml: Add section for hildon-main.
5021 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
5022 * src/Makefile.am: Add new hildon-main.[ch]
5023 * src/hildon-defines.h: Update the icon sizes.
5024 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
5025 new library initialization files and register icon sizes.
5026 * src/hildon-main.h: New declarations.
5027 * src/hildon.h: Include hildon-main.h
5029 Add new initialization functions to the library. These methods
5030 will register the hildon specific icon sizes and can be used in the
5031 future for other hildon specific bits.
5033 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
5035 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-window.c: (hildon_window_realize),
5038 (hildon_window_notify), (-hildon_window_update_title): Do not set
5039 the application name in the window title.
5041 Fixes: NB#89754 (Applications shouldn't display their names in the
5044 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
5046 * src/hildon-note-private.h:
5047 * src/hildon-note.c: (hildon_note_set_property),
5048 (hildon_note_get_property), (hildon_note_class_init),
5049 (hildon_note_init), (hildon_note_finalize),
5050 (hildon_note_new_confirmation_with_icon_name),
5051 (hildon_note_new_information_with_icon_name):
5053 No need to mark as deprecated the actual code. Revert
5054 to avoid missing symbols in widgets using deprecated API.
5056 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5058 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
5060 * src/hildon-volumebar.h
5061 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
5062 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
5064 * src/hildon-helper.h
5065 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
5066 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
5068 * examples/Makefile.am:
5069 Deprecate hildon-insensitive-example
5071 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
5073 2008-11-20 Alberto Garcia <agarcia@igalia.com>
5075 * examples/hildon-pannable-area-buttons-scroll-example.c:
5076 Make all buttons finger height
5078 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
5080 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
5082 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
5083 update the day model only if it is really required, and to avoid the
5084 full-reconstruction aproach. Now it only add or remove the required days.
5086 The purpose of this is avoid superfluous HildonTouchSelector::changed
5089 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
5090 with strange parameters)
5092 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
5094 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
5096 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
5097 the WINDOW_TYPE property.
5099 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
5101 2008-11-19 Alberto Garcia <agarcia@igalia.com>
5104 Fix dependency to allow parallel compilation with make -jX
5106 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
5108 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
5109 color frame and some minor tweaks to make it more consistent with
5112 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
5113 highlighted but not visible)
5115 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5117 * examples/Makefile.am: Fixed typo in the Makefile.am.
5119 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5121 Reviewed the use of MAEMO_GTK define, now we add the define in the
5122 compilation line, and we also add it to the pc file.
5124 * configure.ac: Added MAEMO_GTK define to the compilation command
5125 and removed it from the config.h.
5127 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
5128 do not have to take care about this define if the library was
5132 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
5134 2008-11-14 Alejandro G. Castro <alex@igalia.com>
5136 * examples/Makefile.am,
5137 * examples/hildon-pannable-area-buttons-scroll-example.c,
5138 * examples/hildon-pannable-area-gesture-signals-example.c,
5139 * examples/hildon-pannable-area-scroll-jump-example.c,
5140 * examples/hildon-pannable-area-tree-view-example.c:
5141 Renamed the pannable area examples, now they have more meaningful
5144 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
5146 * src/hildon-touch-selector.c:
5147 (hildon_touch_selector_set_column_selection_mode): Used of
5148 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
5149 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
5150 to avoid re-seting the same selection mode.
5152 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
5153 breaks HildonPickerDialog)
5155 2008-11-13 Alejandro G. Castro <alex@igalia.com>
5157 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
5158 conditional in the Makefile.am
5160 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
5162 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
5163 Remove unused methods.
5165 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5167 * src/hildon-button.c (hildon_button_init):
5168 Make button images center-aligned by default
5170 2008-11-12 Alejandro G. Castro <alex@igalia.com>
5173 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
5174 activated, we have to think about how to deal with both defines
5175 MAEMO_GTK and MAEMO_CHANGES.
5177 2008-11-12 Alberto Garcia <agarcia@igalia.com>
5179 * examples/hildon-app-menu-example.c (create_menu): Make all
5180 buttons finger size.
5182 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5184 Fixed the compilation without maemo gtk adding ifdefs with
5185 MAEMO_GTK define to the code, we have to check this version more
5188 * examples/Makefile.am: Added control to avoid some examples that
5189 just make sense with maemo gtk.
5192 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
5193 hildon modes with the define.
5195 * examples/hildon-edit-toolbar-example.c,
5196 (create_icon_view): Create the icon view without hildon-gtk
5197 helpers if we are not using maemo gtk.
5199 * src/hildon-touch-selector.c,
5200 (_create_new_column): Create the treeview without hildon-gtk
5201 helpers if we are not using maemo gtk.
5203 2008-11-11 Alejandro G. Castro <alex@igalia.com>
5205 * src/hildon-pnnable-area.c,
5206 (hildon_pannable_area_dispose),
5207 (hildon_pannable_area_button_press_cb),
5208 (hildon_pannable_area_child_mapped),
5209 (hildon_pannable_area_add),
5210 (hildon_pannable_area_remove): Added code to control the position
5211 of the event_window when adding and removing children from the
5212 pannable. We have to raise the event window when the child is
5215 Fixes: NB#89811 (Not able to select first image thumbnail in multi
5216 selection mode using custom widget inside pannable)
5218 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5220 * configure.ac: post release version bump
5221 * debian/changelog: version bump
5223 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
5228 * configure.ac: bump version
5229 * debian/changelog: updates
5231 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
5233 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
5234 search mode, in order to avoid lose the focus on the treeview when
5235 a hw key (like enter) is pressed.
5237 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
5238 in HildonDateSelector dialog)
5240 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
5242 * debian/rules: Added --enable-maintainer-mode
5243 * Makefile.am: Added ACLOCAL_AMFLAGS
5245 This allows to properly regenerate the Makefiles if you modify the
5246 configure.ac or any Makefile.am.
5248 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5250 * examples/hildon-app-menu-example.c: (main): Do not set RC style
5251 properties, not needed at all.
5253 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5255 * src/hildon-note-private.h: Add strings for the icon and stock_icon
5257 * src/hildon-note.c: (hildon_note_set_property),
5258 (hildon_note_get_property), (hildon_note_class_init),
5259 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
5260 (hildon_note_new_confirmation_add_buttons): Remove icons.
5261 (hildon_note_new_confirmation_with_icon_name): Deprecate.
5262 (hildon_note_new_information_with_icon_name): Deprecate.
5263 (hildon_note_new_confirmation): Act directly, without calling
5264 the deprecated constructor.
5265 (hildon_note_new_information): Act directly, without calling
5266 the deprecated constructor.
5267 * src/hildon-note.h: Mark deprecate methods as such.
5268 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
5269 not run tests on the deprecated methods if built with deprecation
5272 Fixes: NB#91688 (Never show icons in information notes/confirmation
5275 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
5277 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
5278 (hildon_app_menu_key_press): Remove leftover usage of the
5279 private structure in HildonAppMenu struct.
5280 * src/hildon-app-menu.h: Remove leftover private structure
5281 from the HildonAppMenu struct.
5283 Fixes a crasher when using the HildonAppMenu.
5285 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5287 * src/hildon-picker-dialog.c: Use appropriate logical id
5288 for the default "Done" text.
5290 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
5292 * configure.ac: post release version bump
5293 * debian/changelog: version bump
5295 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
5297 Modified the way to scroll to the current selection just when the touch
5298 selector is shown on the screen, avoiding a g_idle. Added too a property
5299 to configure this behaviour. See hildon_pannable_area_jump_to_child
5300 documentation for more information.
5302 * src/hildon-touch-selector.c
5303 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
5304 Added 'initial-scroll' property
5305 (hildon_touch_selector_set_property): Added
5306 (hildon_touch_selector_map): Removed as not required anymore
5307 (_hildon_touch_selector_on_selected_items): Modified in order to manage
5308 only a concrete column, instead of iterate along all the columns
5310 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5315 * configure.ac: bump version
5316 * debian/changelog: updates
5318 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5320 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
5321 compilation time warnings.
5323 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5325 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
5326 the default value for HildonPannableArea::mov-mode to
5327 HILDON_PANNABLE_AREA_MODE_VERT.
5329 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
5331 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5333 Reverting following commit:
5335 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-app-menu-private.h
5338 * src/hildon-app-menu.[ch]
5339 * src/hildon-button.[ch]
5340 * src/hildon-check-button.[ch]
5341 * src/hildon-entry.[ch]
5342 * src/hildon-pannable-area.[ch]
5343 * src/hildon-text-view.[ch]:
5344 Added private field to the object's structure.
5346 because it causes an ABI breakage. We will need to introduce these
5347 changes later at some point. See NB#91636 for an extensive
5348 explanation and status.
5350 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
5352 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5354 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
5355 remove special cases that are no longer necessary.
5357 Fixes: NB#91016 (Change toolbar sizes, simplification)
5359 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5361 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
5362 is shown in the cancel note.
5364 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
5366 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
5367 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
5368 (hildon_seekbar_init): Remove steppers, remove expose event.
5369 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
5371 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
5373 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
5375 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
5376 label font to "SmallSystemFont" for vertically arranged buttons.
5378 Fixes: NB#90662 (HildonButton "value" and "detail" text is
5381 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5383 * src/hildon-check-button.c
5384 (hildon_check_button_set_active, hildon_check_button_clicked):
5385 Don't access private parts directly, use getters instead.
5387 2008-10-31 Alberto Garcia <agarcia@igalia.com>
5389 * src/hildon-check-button.c (hildon_check_button_new):
5390 Align the contents of the check button to the left.
5392 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5394 * src/hildon-pannable-area.c,
5395 (hildon_pannable_area_scroll_to),
5396 (hildon_pannable_area_jump_to),
5397 (hildon_pannable_area_scroll_to_child),
5398 (hildon_pannable_area_jump_to_child): Replace the mapped
5399 precondition of these functions with the realized, it is the
5400 correct state of the widget in this case. Changed the
5401 documentation according to this modification.
5403 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5405 Added a new EXTRA_CFLAGS option to add the deprecated define to
5406 the compilation command. This way we can avoid using the define in
5407 the documentation compilation.
5409 * configure.ac: Defined EXTRA_CFLAGS.
5411 * examples/Makefile.am:
5413 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
5415 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
5417 * src/hildon-picker-dialog.c:
5418 Defined a utility macro with the desired touch selector height
5419 Removed currently unused separator, and title_label variables from
5421 (hildon_picker_dialog_init): Removed code related to the creation
5422 of unused private variables title_label and separator.
5423 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
5424 to ensure correct visualization of the touch selector inside the dialog.
5425 * src/hildon-touch-selector.c
5426 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
5427 ensure a concrete height of the widget.
5429 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5432 * tests/Makefile.am:
5434 Remove spurious whitespaces.
5436 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5438 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
5439 compilation warning after the cancel button removal.
5441 2008-10-30 Alejandro G. Castro <alex@igalia.com>
5443 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
5445 * configure.ac: Added an AM_CONDITIONAL in order to use in the
5446 Makefile.am, that way we can choose not to compile some examples
5447 and tests of the deprecated widgets.
5449 * examples/Makefile.am: Divided the sources in deprecated and
5452 * src/Makefile.am: Added undef statement of the deprecated
5453 symbol to the enums file generation process.
5455 * src/hildon-color-chooser-dialog.c
5456 * src/hildon-color-chooser-dialog.h
5457 * src/hildon-color-button.c
5458 * src/hildon-color-button.h
5459 * src/hildon-color-chooser.c
5460 * src/hildon-color-chooser.h
5461 * src/hildon-controlbar.c
5462 * src/hildon-controlbar.h
5463 * src/hildon-date-editor.c
5464 * src/hildon-date-editor.h
5465 * src/hildon-hvolumebar.c
5466 * src/hildon-hvolumebar.h
5467 * src/hildon-private.c
5468 * src/hildon-private.h
5469 * src/hildon-range-editor.c
5470 * src/hildon-range-editor.h
5471 * src/hildon-seekbar.c
5472 * src/hildon-seekbar.h
5473 * src/hildon-time-editor.c
5474 * src/hildon-time-editor.h
5475 * src/hildon-time-picker.c
5476 * src/hildon-time-picker.h
5477 * src/hildon-volumebar.c
5478 * src/hildon-volumebar.h
5479 * src/hildon-vvolumebar.c
5480 * src/hildon-vvolumebar.h
5481 * src/hildon-bread-crumb-trail.h
5482 * src/hildon-bread-crumb-trail.c
5483 * src/hildon-calendar-popup.c
5484 * src/hildon-calendar-popup.h
5485 * src/hildon-weekday-picker.c:
5486 * src/hildon-weekday-picker.h:
5487 * src/hildon-bread-crumb-widget.c:
5488 * src/hildon-bread-crumb-widget.h:
5489 * src/hildon-bread-crumb.c:
5490 * src/hildon-bread-crumb.h:
5491 * src/hildon-calendar.c:
5492 * src/hildon-calendar.h:
5493 * src/hildon-caption.c:
5494 * src/hildon-code-dialog.c:
5495 * src/hildon-code-dialog.h:
5496 * src/hildon-font-selection-dialog.c:
5497 * src/hildon-font-selection-dialog.h:
5498 * src/hildon-get-password-dialog.c:
5499 * src/hildon-get-password-dialog.h:
5500 * src/hildon-login-dialog.c:
5501 * src/hildon-login-dialog.h:
5502 * src/hildon-number-editor.c:
5503 * src/hildon-number-editor.h:
5504 * src/hildon-set-password-dialog.c:
5505 * src/hildon-set-password-dialog.h:
5506 * src/hildon-sort-dialog.c:
5507 * src/hildon-sort-dialog.h: This is the list of deprecated
5510 * src/hildon-touch-selector.c:
5511 * src/hildon-window.c: Added undef statement to avoid compilation
5514 * tests/Makefile.am: Divided the sources in deprecated and
5517 * tests/check_test.c,
5518 (configure_tests): Marked the deprecated code that was adding
5519 suites with deprecated tests.
5521 Fixes: NB#91135 (Deprecate legacy hildon widgets)
5523 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
5525 * src/hildon-touch-selector.c: (_default_print_func): Do not
5526 duplicate a string returned by gtk_tree_model_get(), it is already
5529 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
5532 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5534 * src/hildon-pannable-area.c
5535 (hildon_pannable_area_add_with_viewport): Reviewed the complete
5536 method, it had problems when adding a widget with viewport the
5537 second time. Now checks if it already has a viewport and uses it.
5539 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
5542 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5544 * src/hildon-pannable-area.c,
5545 (hildon_pannable_area_scroll_to),
5546 (hildon_pannable_area_jump_to),
5547 (hildon_pannable_area_scroll_to_child),
5548 (hildon_pannable_area_jump_to_child): Added a precondition to the
5549 scroll and jump to functions: the widget must be mapped before we
5550 can safely call these functions. We have also added documentation
5551 to the functions to explain how to use them in this situation.
5554 2008-10-28 Alejandro G. Castro <alex@igalia.com>
5556 Reviewed the threading handling of the pannable widget, we have
5557 used the gdk_threads_add_timeout function instead of the usual
5558 glib handlers. This avoids some problems with the threads.
5560 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
5561 (hildon_pannable_area_initial_effect),
5562 (hildon_pannable_area_scroll_indicator_fade),
5563 (hildon_pannable_area_button_press_cb),
5564 (hildon_pannable_area_timeout),
5565 (hildon_pannable_area_motion_notify_cb),
5566 (hildon_pannable_area_button_release_cb),
5567 (hildon_pannable_area_scroll_cb),
5568 (hildon_pannable_area_scroll_to): Removed the
5569 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
5570 gdk_threads_add_timeout.
5572 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
5574 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5579 * configure.ac: bump version
5580 * debian/changelog: updates
5582 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5584 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
5585 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
5586 * src/hildon-color-chooser-dialog.c:
5587 (hildon_color_chooser_dialog_init):
5588 * src/hildon-font-selection-dialog.c:
5589 (hildon_font_selection_dialog_init):
5590 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
5592 Remove all cancel/close-like dialogs, as these are not going to be
5595 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5597 * src/hildon-note.c: (hildon_note_rebuild),
5598 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
5601 Fixes: NB#90661 (Delete dialog is displayed without NO button)
5603 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
5605 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
5606 sure all buttons are shown, even the Cancel/Close-like ones.
5608 Fixes: NB#90861 (Custom Confirmation dialogs should be
5609 protected from cancel button removal)
5611 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5613 * debian/control: Change libhildon1-examples dependency from libhildon1
5615 * debian/libhildon1-examples.install
5617 * Makefile.am: Modified the final install directory for the examples on
5618 package libhildon1-examples
5619 * Makefile.static: Update clean target in order to remove all the binary
5622 Changes suggested by Claudio after review new libhildon1-examples package
5624 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
5626 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
5627 * src/hildon-touch-selector.c: Ditto.
5629 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
5631 * debian/control: Added new package libhildon1-examples, in order to pack
5632 the current hildon examples as documentation
5633 * debian/rules: Not to compress .c files, modify some includes on the
5634 examples (as normally are compiled locally, but when installed it will
5635 require to include the installed libhildon1 library), and rename
5637 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
5638 install all the example files on the new example package
5639 * examples/Makefile.static: Added static makefile that can be used to
5640 compile the examples, once installed the new example package
5641 * examples: Most of the examples were modified in order to grant that
5642 all use only '#include "hildon.h"', in order to be easy to prepare
5643 it on the example package
5645 2008-10-23 Alberto Garcia <agarcia@igalia.com>
5648 * debian/libhildon1-dev.install
5649 * debian/libhildon1-doc.install:
5650 Move all gtk-doc files to a separate libhildon1-doc package.
5652 2008-10-23 Daniel Borgmann <danielb@openismus.com>
5654 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5656 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
5658 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
5660 * debian/rules: Fixed a error in order to avoid unnecessary calls
5661 to autogen.sh on package building
5663 2008-10-22 Alberto Garcia <agarcia@igalia.com>
5665 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
5667 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5669 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
5672 2008-10-21 Alberto Garcia <agarcia@igalia.com>
5674 * src/hildon-picker-button.c
5675 (hildon_picker_button_finalize):
5676 Free priv->done_button_text
5678 * src/hildon-time-button.c
5679 (hildon_time_button_set_time)
5680 * src/hildon-picker-button.c
5681 (hildon_picker_button_clicked)
5682 (hildon_picker_button_selector_selection_changed)
5683 (hildon_picker_button_set_selector)
5684 * src/hildon-date-button.c
5685 (hildon_date_button_set_date):
5686 Free strings returned by hildon_touch_selector_get_current_text()
5688 * src/hildon-button.c (hildon_button_construct_child):
5689 Fix leaks in priv->image and priv->label_box
5691 Fixes: NB#90535 (Memory leak in picker button)
5693 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
5695 * src/hildon-button.c: (hildon_button_get_property): Do not access
5696 private elements directly, use getters instead.
5698 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5700 * src/hildon-app-menu-private.h
5701 * src/hildon-app-menu.c
5702 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
5703 Store the menu's parent window.
5705 * src/hildon-stackable-window.c
5706 (hildon_stackable_window_toggle_menu)
5707 (hildon_stackable_window_finalize):
5708 Set the menu's parent window when the menu is shown, unset it when
5711 * src/hildon-app-menu.c
5712 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
5713 (hildon_app_menu_class_init):
5714 Send unhandled keyboard accelerators to the parent window.
5716 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5718 * src/hildon-stackable-window.c
5719 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
5721 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5723 * configure.ac: post release version bump
5725 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5728 * configure.ac: Bump version
5729 * debian/changelog: Updates
5730 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
5733 2008-10-20 Alberto Garcia <agarcia@igalia.com>
5735 Patch contributed by Daniel Borgmann (danielb@openismus.com)
5738 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
5739 GtkMenu with Hildon style.
5741 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5743 * src/hildon-picker-button.c:
5744 (hildon_picker_button_set_done_button_text): Set the dialog's
5745 done button text here as well.
5747 Fixes: NB#90232 (Picker button does not set the label on done button
5748 for the second time)
5750 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
5752 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
5755 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5757 * src/hildon-app-menu.c (hildon_app_menu_insert)
5758 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
5759 the HildonAppMenu to be activatable using keyboard accelerators
5760 when the menu is not being shown.
5762 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
5764 2008-10-16 Alberto Garcia <agarcia@igalia.com>
5766 * src/hildon-stackable-window.c
5767 (hildon_stackable_window_show):
5768 Don't hide old windows automatically when new windows are shown:
5769 this is now a task for the window manager.
5770 (hildon_stackable_window_class_init)
5771 (hildon_stackable_window_hide):
5772 Remove windows from the stack everytime they're hidden.
5773 (hildon_stackable_window_realize):
5774 Don't change the _NET_WM_WINDOW_TYPE property. Use
5775 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
5776 it as a stackable window.
5778 * src/hildon-program.c
5779 (hildon_program_pop_window_stack):
5780 Just hide the window to remove it from the stack.
5781 (hildon_program_go_to_root_window):
5782 Don't call gtk_widget_show(), this is now a task for the window
5785 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
5787 2008-10-15 Alberto Garcia <agarcia@igalia.com>
5789 * src/hildon-button.c
5790 (hildon_button_construct_child):
5791 Don't pack anything in the button until text or image are
5792 set. This allows adding a custom child after creating the button
5793 with hildon_button_new().
5794 (hildon_button_finalize, hildon_button_class_init)
5795 (hildon_button_init, hildon_button_set_arrangement): Destroy the
5796 alignment and the label box even when they're not packed in the
5799 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
5801 * src/hildon-touch-selector.h:
5802 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
5803 currently the type definition was using GTK_TYPE_VBOX
5804 * src/hildon-touch-selector.c:
5805 Added some implementation notes in order to clarify that any other widget
5806 added without the column related API will not be included on the
5807 selection logic, and how the widget is freed, as some people ask about
5809 (hildon_touch_selector_remove): Reimplemented in order to free properly
5810 the column related data when you remove the private hbox.
5811 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
5812 to get a proper HildonTouchSelectorColumn documentation
5814 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5816 * src/hildon-touch-selector-entry.c:
5817 (hildon_touch_selector_entry_print_func): Return NULL if there is no
5818 text in the GtkEntry and there is no item selected. Fixes a
5821 2008-10-13 Alberto Garcia <agarcia@igalia.com>
5823 * src/hildon-app-menu-private.h
5824 * src/hildon-app-menu.[ch]
5825 * src/hildon-button.[ch]
5826 * src/hildon-check-button.[ch]
5827 * src/hildon-entry.[ch]
5828 * src/hildon-pannable-area.[ch]
5829 * src/hildon-text-view.[ch]:
5830 Added private field to the object's structure.
5832 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
5834 * configure.ac: post-release version bump
5836 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5840 * configure.ac: pre-release version bump
5842 * debian/changelog: updates.
5844 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
5847 Disconnect the handler for HildonTouchSelector::changed.
5849 (hildon_picker_button_selector_selection_changed): Update the button
5850 value if the selection change was not triggered by the
5853 (hildon_picker_button_set_selector): connect to
5854 HildonTouchSelector::changed.
5856 Fixes: NB#89650 (Picker button is not updated, when selection in
5857 selector has changed)
5859 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
5861 * src/hildon-picker-dialog.c
5862 (hildon_picker_dialog_realize): Removed as not required
5863 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
5864 * src/hildon-picker-button.c
5865 (_current_selector_empty): New function, checks if the selector is empty
5866 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
5867 if the current selector is empty, in order to avoid to show the dialog
5868 close the dialog in this case (and shows a g_warning).
5870 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
5872 2008-10-09 Alejandro G. Castro <alex@igalia.com>
5874 * src/hildon-pannable-area.c,
5875 (hildon_pannable_area_scroll): Added clause to stop movement when
5876 the child of pannable is smaller than one page.
5877 (hildon_pannable_area_scroll_to): Added conditions to avoid
5878 starting the scrolling movement if the child is smaller than one
5879 page, the complete child is in the screen, we do not have to move.
5881 Fixes: NB#89632 (Picker button selection doesn't change on first click)
5883 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5885 * src/hildon-app-menu.c: Removed the 'columns' property, as now
5886 this is managed automatically by the widget when the size of the
5889 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5891 * src/hildon-picker-button.c
5892 (hildon_picker_button_set_done_button_text): Make a copy of the
5893 text, and free the previous value.
5895 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5897 * src/hildon-touch-selector-entry.c:
5898 (hildon_touch_selector_entry_print_func): Return the selected row's
5899 text if the entry is empty.
5901 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
5904 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
5906 * src/hildon-touch-selector-entry.c: Minor docs fixes.
5908 2008-10-09 Alberto Garcia <agarcia@igalia.com>
5911 * src/hildon-check-button.h
5912 * src/hildon-check-button.c
5913 * examples/hildon-check-button-example.c:
5914 HildonCheckButton is now a new widget. 'toggled' signal added.
5916 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5918 * src/hildon-program-private.h
5919 * src/hildon-program.c (hildon_program_init)
5920 (hildon_program_finalize): Removed unused variables group_leader
5921 and name from HildonProgramPrivate.
5923 2008-10-08 Alberto Garcia <agarcia@igalia.com>
5925 * src/hildon-check-button.c (hildon_check_button_set_active)
5926 (hildon_check_button_get_active, hildon_check_button_new): Use
5927 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
5929 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
5931 * src/hildon-touch-selector.h
5932 (hildon_touch_selector_set_column_attributes): added deprecation
5933 guard HILDON_DISABLE_DEPRECATED
5934 * src/hildon-time-selector.c
5935 (hildon_time_selector_set_time)
5936 (hildon_time_selector_get_time): Fixed a typo on documentation
5937 * src/hildon-touch-selector.c: update HildonTouchSelector and
5938 HildonTouchSelectorColumn documentation
5939 * src/hildon-touch-selector-entry.c: update "text-column" property
5941 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
5942 to be added to the general documentation.
5944 2008-10-08 Alejandro G. Castro <alex@igalia.com>
5946 * examples/hildon-pannable-area-example-4.c,
5948 * examples/hildon-pannable-area-example.c,
5949 (main): Modified the code in order to use the container add, with
5950 viewport treeviews could have problems if they are really big.
5952 2008-10-06 Alejandro G. Castro <alex@igalia.com>
5954 * src/hildon-weekday-picker.c,
5955 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
5956 the agreement regarding deprecation in the library.
5958 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5960 * examples/hildon-picker-button-multicolumn-example.c:
5961 (main): Use custom "done" button text.
5963 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5964 (hildon_picker_button_set_property),
5965 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5966 (hildon_picker_button_init),
5967 (+hildon_picker_button_get_done_button_text),
5968 (+hildon_picker_button_set_done_button_text): New methods to customize
5969 the "done" button label in the launched HildonPickerDialog. Also,
5972 * src/hildon-picker-button.h: add the public API.
5974 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
5976 * src/hildon-date-selector.h:
5977 * src/hildon-picker-dialog.h:
5978 * src/hildon-time-selector.h:
5979 * src/hildon-touch-selector-column.h:
5980 * src/hildon-touch-selector.h:
5982 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
5983 declarations. Fixes gtk-doc warnings.
5985 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5987 * src/hildon-picker-dialog.h
5988 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
5989 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
5991 Fixes: NB#89329 (selectors in picker dialog are not visible when a
5992 long text is set as label for done button)
5994 2008-10-06 Alberto Garcia <agarcia@igalia.com>
5996 * src/hildon-dialog.c (hildon_dialog_add_button):
5997 Set fixed width to all buttons in the HildonDialog.
5999 2008-10-06 Alberto Garcia <agarcia@igalia.com>
6001 Patch contributed by Daniel Borgmann (danielb@openismus.com)
6003 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
6004 Set widget name using class name plus "-finger" or "-thumb".
6006 2008-10-03 Alberto Garcia <agarcia@igalia.com>
6008 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
6009 'clicked' when the state of the button is manually changed.
6011 2008-10-02 Alberto Garcia <agarcia@igalia.com>
6013 * src/hildon-app-menu.c (hildon_app_menu_realize)
6014 (hildon_app_menu_unrealize, hildon_app_menu_init)
6015 (hildon_app_menu_class_init, item_visibility_changed):
6016 Change the menu layout when the size of the screen changes.
6017 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
6018 Show warning only when changing the number of colums using the
6021 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
6023 * debian/compat: Set to 5
6024 * debian/control: Update dependencies.
6025 * debian/libhildon1-dbg.install: Remove.
6026 * debian/libhildon1-dev.install: Update according to cdbs paths.
6027 * debian/libhildon1.install: Update according to cdbs paths.
6028 * debian/rules: Switch to cdbs.
6030 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6032 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
6033 'item' variable renamed to 'filter'
6035 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6037 * src/hildon-app-menu.c (hildon_app_menu_insert)
6038 (hildon_app_menu_add_filter, remove_item_from_list)
6039 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
6040 Don't leak hidden items when the menu is destroyed.
6042 2008-10-01 Alberto Garcia <agarcia@igalia.com>
6044 * src/hildon-app-menu.c (hildon_app_menu_insert)
6045 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
6046 (hildon_app_menu_set_columns, item_visibility_changed)
6047 (filter_visibility_changed, hildon_app_menu_repack_filters)
6048 (hildon_app_menu_repack_items):
6049 Repack items and filters separately.
6051 Don't repack all items, change only the ones that are needed to
6054 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6056 * src/Makefile.am: added hildon-touch-selector-column.h
6058 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
6060 * src/hildon-touch-selector.c: added the property "text-column" to the
6061 class HildonTouchSelectorColumn, and related get/set functions
6062 (_default_printf_func): updated to use "text-column" property
6063 * src/hildon-touch-selector-entry.c: mark as deprecated the property
6064 "text-column" in his documentation, as this is now included on
6065 HildonTouchSelectorColumn. The get/set_property can still be used,
6066 working as a wrapper to the concrete column "text-column" property
6067 (_text_column_modified): callback added in order to handle the signal
6068 "notify::text-column" of the concrete HildonTouchSelectorColumn
6069 (hildon_touch_selector_entry_get_text_column)
6070 (hildon_touch_selector_entry_set_text_column): Added documentation, and
6071 modified in order to use the HildonTouchSelectorColumn "text-column"
6073 * src/hildon-time-selector.c:
6074 * src/hildon-date-selector.c:
6075 * examples/hildon-touch-selector-example.c
6076 * examples/hildon-touch-selector-multi-cells-example.c
6077 * examples/hildon-picker-button-multicolumn-example.c
6078 Set the right value to "text-column" property on the creation of a new
6079 column using hildon_touch_selector_append_column()
6081 Fixes: NB#88644 (Hardcoded first column of the model as text column)
6083 2008-09-30 Alberto Garcia <agarcia@igalia.com>
6085 * src/hildon-app-menu.c
6086 (hildon_app_menu_construct_child, hildon_app_menu_init): When
6087 updating the layout of the menu, don't create all widgets again,
6088 just repack the items in their new places.
6090 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
6092 * src/hildon-time-selector.c
6093 (hildon_time_selector_get_time)
6094 (hildon_time_selector_set_time)
6095 Added documentation of these public methods
6097 * src/hildon-date-button.h
6098 * src/hildon-touch-selector-column.h
6099 * src/hildon-time-button.h
6100 * src/hildon-picker-dialog.h
6101 * src/hildon-time-selector.h
6102 * src/hildon-picker-button.h
6103 * src/hildon-touch-selector.h
6104 * src/hildon-time-picker.h
6105 * src/hildon-date-selector.h
6106 * src/hildon-touch-selector-entry.h
6107 Modified in order to use hildon-widgets code style
6109 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6111 Added deprecated support to the compilation process using
6112 HILDON_DISABLE_DEPRECATED
6114 * configure.ac: Added the --disable-deprecated to the configure
6117 * src/hildon-weekday-picker.c:
6118 * src/hildon-weekday-picker.h: Deprecated widget, example of how
6119 to use the deprecated support. We will update the other deprecated
6120 widgets status in a new patch.
6122 2008-09-30 Alejandro G. Castro <alex@igalia.com>
6124 * configure.ac: Fixed typo with fatal warnings support, the
6125 variable name was not correct
6127 2008-09-29 Alberto Garcia <agarcia@igalia.com>
6129 * src/hildon-app-menu.c
6130 * src/hildon-program.c: Update documentation.
6132 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6134 * configure.ac: Post-release version bump.
6136 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6141 * configure.ac: Pre-release version bump.
6142 * debian/changelog: Updates.
6144 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
6146 * NEWS: Update news for previous releases.
6148 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6150 * examples/hildon-touch-selector-multi-cells-example.c:
6151 (create_selector): Update the example to use
6152 hildon_touch_selector_append_column() with a NULL renderer and set
6153 the renderers later.
6154 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
6155 passed a NULL renderer. This is documented behavior now.
6157 Allow passing a NULL renderer to hildon_touch_selector_append_column().
6158 This must be used if the developer wants full control on the layout of
6159 the renderers to be added to the column.
6161 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6163 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6165 * src/hildon-touch-selector.c: Documentation fixes.
6167 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
6169 * src/hildon-wizard-dialog-private.h: Remove image and box.
6170 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
6171 (hildon_wizard_dialog_set_property), (response): Completely remove
6172 image/icon support, and the containers required for the layout.
6174 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
6176 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6178 * src/hildon-app-menu.c: Updated documentation.
6180 * src/hildon-stackable-window.c
6181 (hildon_stackable_window_set_main_menu): Unref the old menu after
6182 ref'ing the new one.
6184 2008-09-25 Alberto Garcia <agarcia@igalia.com>
6186 * src/hildon-stackable-window.c
6187 (hildon_stackable_window_set_main_menu): Unref the previous menu
6188 instead of destroying it.
6190 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
6191 floating reference and set has_user_ref_count to FALSE to make
6192 HildonAppMenu act like a normal ref-counted widget and not a
6195 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
6198 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
6200 * src/hildon-touch-selector-column.h: new file
6201 * src/hildon-touch-selector.h
6202 * src/hildon-touch-selector.c
6203 Implemented GtkCellLayout interface, in order to allow to configure
6204 the cell layout on each individual selector column
6205 (hildon_touch_selector_set_column_attributes): marked as deprecated
6206 * examples/hildon-touch-selector-multi-cells-example.c
6207 Example of how to use the GtkCellLayout interface on the selector
6209 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
6211 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6213 * src/hildon-app-menu.h
6214 * src/hildon-app-menu.c
6215 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
6216 (hildon_app_menu_append, hildon_app_menu_prepend):
6217 New methods to prepend, insert and move items in the menu.
6219 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6221 * src/hildon-wizard-dialog.c:
6223 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
6225 (create_title): Update logical IDs and related code.
6226 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
6228 * src/hildon-wizard-dialog.h: Note that
6229 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
6230 point, as it is not used anymore.
6232 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
6234 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6236 * src/hildon-note.c:
6237 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
6238 shown. Do not display an icon in confirmation notes nor information
6240 (hildon_note_set_button_text): Update logical ID for cancel button.
6242 Fixes: NB#88850 (Update HildonNote button strings + signals)
6244 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6246 * src/hildon-stackable-window.c
6247 (hildon_stackable_window_set_main_menu): Fix compilation warning.
6249 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6251 * src/hildon-app-menu-private.h
6252 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
6253 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
6254 (hildon_app_menu_init, hildon_app_menu_class_init): Added
6255 temporary property 'columns' to change the number of columns.
6257 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
6259 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
6261 * examples/hildon-note-example.c: (on_information_clicked),
6262 (on_confirmation_clicked), (on_progress_clicked), (main): Add
6263 debugging information.
6264 * src/hildon-note-private.h: Remove close_if_pressed_outside,
6266 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
6267 (hildon_note_rebuild): Remove special handling of tapping outside/inside
6268 in order to close: this will be handled by the WM from now on.
6270 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
6272 2008-09-24 Alberto Garcia <agarcia@igalia.com>
6274 * src/hildon-app-menu-private.h
6275 * src/hildon-app-menu.c
6276 (hildon_app_menu_append, hildon_app_menu_add_filter)
6277 (button_visibility_changed, hildon_app_menu_apply_style)
6278 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
6279 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
6280 layout everytime a button (item or filter) is shown or hidden.
6282 * src/hildon-stackable-window.c
6283 (hildon_stackable_window_set_main_menu): Destroy the old menu when
6286 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
6288 * src/hildon-touch-selector.c:
6289 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
6290 that the treeview inside the touch selector is in fremantle hildon mode
6291 * examples/hildon-date-button-example.c
6292 * examples/hildon-picker-button-multicolumn-example.c
6293 * examples/hildon-touch-selector-entry-example.c
6294 * examples/hildon-touch-selector-example.c
6295 * examples/hildon-time-button-example.c
6296 * examples/hildon-picker-button-example.c:
6297 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
6299 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
6301 * examples/hildon-text-view-example.c: (main): Remove the
6302 gtkrc bits, now handled by the theme.
6304 2008-09-22 Alberto Garcia <agarcia@igalia.com>
6306 * src/hildon-picker-button.c (hildon_picker_button_set_active):
6309 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6311 * po/Makefile.am: Install properly the mo files.
6312 * po/en_GB.po: Update translation, to ease testing purposes.
6314 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6316 * examples/hildon-picker-button-example.c: (main): Select an item
6317 in the selector before setting it to the button.
6319 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6321 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
6322 Update button's value if the selector has an item active.
6324 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
6325 'value' with the selector)
6327 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
6329 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
6330 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
6331 (hildon_picker_button_class_init): Plug the finalize method.
6332 (hildon_picker_button_set_selector): If there's a previously set
6333 selector, unref'it before setting a new one.
6335 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
6336 HildonTouchSelector)
6338 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
6340 * src/hildon-touch-selector-entry.c:
6341 (hildon_touch_selector_entry_changed): Check if there is no text
6342 selected before setting the entry text.
6345 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6347 * src/hildon-touch-selector.h
6348 * src/hildon-touch-selector.c
6349 (hildon_touch_selector_get_active)
6350 (hildon_touch_selector_set_active): New methods to set/get the
6351 index of the selected item.
6353 * src/hildon-picker-button.h
6354 * src/hildon-picker-button.c
6355 (hildon_picker_button_get_active)
6356 (hildon_picker_button_set_active): New methods to set/get the
6357 index of the selected item.
6359 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6361 * configure.ac: post-release version bump.
6363 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
6367 * configure.ac: Pre-release version bump.
6368 * debian/changelog: Updates.
6369 * debian/control: Add myself as maintainer and depend on l10n
6372 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6374 * src/hildon-window.c
6375 (hildon_window_set_main_menu)
6376 * src/hildon-stackable-window.c
6377 (hildon_stackable_window_set_main_menu):
6378 Updated documentation.
6380 2008-09-15 Alberto Garcia <agarcia@igalia.com>
6382 * src/hildon-date-selector.c (hildon_date_selector_finalize):
6383 Don't free selector->priv manually.
6386 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6389 (hildon_gtk_window_set_progress_indicator):
6390 * src/hildon-gtk.h: Added the new API
6391 hildon_gtk_window_set_progress_indicator, it changes the state of
6392 the window progress hint.
6394 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6396 * src/hildon-button.c
6397 * src/hildon-stackable-window.c: Minor documentation updates.
6399 2008-09-12 Alberto Garcia <agarcia@igalia.com>
6401 * src/hildon-stackable-window.c: Updated documentation.
6403 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
6405 * src/hildon-defines.h: Update margins definitions
6406 to the Fremantle sizes.
6409 2008-09-12 Alejandro G. Castro <alex@igalia.com>
6411 * src/hildon-touch-selector.c,
6412 (_hildon_touch_selector_set_model): Cleaning the code after
6413 review, removed g_print and #if 0 from the code.
6415 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6417 * src/hildon-edit-toolbar.c: Update documentation.
6419 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6421 * src/hildon-check-button.h
6422 * src/hildon-check-button.c
6423 (hildon_check_button_set_label, hildon_check_button_get_label)
6424 * examples/hildon-check-button-example.c
6425 (button_clicked_cb):
6426 Removed deprecated methods.
6428 2008-09-11 Alberto Garcia <agarcia@igalia.com>
6430 * src/hildon-text-view.c:
6431 Add sample code to the documentation.
6433 * src/hildon-entry.h
6434 * src/hildon-text-view.h:
6435 Minor cosmetic changes.
6437 * src/hildon-entry.c:
6438 Add sample code to the documentation.
6439 (hildon_entry_init, hildon_entry_refresh_contents):
6440 Don't allow NULL values in the placeholder.
6442 2008-09-10 Alberto Garcia <agarcia@igalia.com>
6444 * doc/hildon-docs.sgml
6446 * examples/Makefile.am
6447 * examples/hildon-text-view-example.c
6449 * src/hildon-text-view.c
6450 * src/hildon-text-view.h
6452 New HildonTextView widget, with example.
6454 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6456 * po/POTFILES.in: Add missing files with translatable strings.
6457 Partially fixes NB#88287.
6459 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6461 * examples/hildon-pannable-area-example-2.c: (main): No need to
6462 set the cellrenderer height inside hildon touch lists, the theme does
6465 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
6467 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
6468 they are integrated in the theme.
6470 2008-09-09 Alberto Garcia <agarcia@igalia.com>
6472 * examples/hildon-entry-example.c: Update the example adding
6473 widgets to modify the text and the placeholder of the HildonEntry.
6475 * src/hildon-entry.c: Show the placeholder everytime the widget
6476 is empty and loses the focus.
6478 2008-09-09 Alejandro G. Castro <alex@igalia.com>
6480 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
6482 * src/hildon-pannable-area.c,
6483 (hildon_pannable_area_size_request): Fixed bug in height
6484 requisition, avoid increasing size and add border twice.
6486 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6488 * configure.ac: postrelease version bump.
6490 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
6494 * configure.ac: Prerelease version bump.
6495 * debian/changelog: update.
6496 * debian/rules: make -dbg package contain useful debugging symbols.
6498 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6500 * src/hildon-dialog.h
6501 * src/hildon-dialog.c
6502 (hildon_dialog_add_button, hildon_dialog_add_buttons):
6503 New methods to add buttons with finger size.
6504 (hildon_dialog_new_with_buttons):
6505 Create buttons with finger size.
6507 * examples/hildon-dialog-example.c (main): Use HildonDialog
6508 methods to add buttons.
6510 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6512 * src/hildon-entry.c: Updated HildonButton documentation.
6514 2008-09-08 Alberto Garcia <agarcia@igalia.com>
6516 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
6517 button value label with (FALSE, FALSE) to prevent NB#88126 from
6520 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6522 * examples/hildon-pannable-area-example.c,
6523 (main): Removed examples panning a vbox inside a pannable
6524 area. Check bug NB#87965
6526 2008-09-08 Alejandro G. Castro <alex@igalia.com>
6528 Patch contributed by Kris Rietveld (kris@imendio.com)
6530 * src/hildon-pannable-area.c,
6531 (hildon_pannable_area_get_topmost): replaced the get_geometry with
6532 get_size and get_position, this saves an X server roundtrip.
6534 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6536 * doc/hildon-docs.sgml
6538 * examples/Makefile.am
6539 * examples/hildon-entry-example.c
6541 * src/hildon-entry.c
6542 * src/hildon-entry.h
6544 New HildonEntry widget, with example.
6546 2008-09-05 Alberto Garcia <agarcia@igalia.com>
6548 * src/hildon-button.c (hildon_button_construct_child): Pack the
6549 image with expand == fill == FALSE. This is a workaround for a bug
6552 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
6554 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
6555 labels for the text column, to make it more look more dynamic.
6557 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6559 * src/hildon-time-selector.c
6560 Define gettext auxiliar macro N_
6561 (_create_minutes_model)
6562 (_create_hours_model)
6563 (_create_ampm_model): use of strftime in order to fill the model
6564 * src/hildon-date-selector.c
6565 (hildon_date_selector_finalize):
6566 (_locales_init): remove the logic related to get the name of the months
6567 using nl_langinfo, as it is not required anymore
6569 (_create_year_model)
6570 (_create_month_model)
6571 (_update_day_model): use of strftime in order to fill the model properly
6574 2008-09-04 Alberto Garcia <agarcia@igalia.com>
6576 * src/hildon-button.h
6577 * src/hildon-button.c (hildon_button_get_image): New method to
6580 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
6582 * src/hildon-touch-selector.c:
6583 (hildon_touch_selector_remove_column): Remove from the correct parent
6584 and also remove the list element and free it.
6587 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
6589 * src/hildon-time-selector.c
6590 (_create_hours_model): change the range on 12h ampm format in order to use
6591 a 12-11 range instead of previous 01-12 range
6592 (hildon_time_selector_set_time): change the way to select the current time
6593 on 12h ampm format, due the change on the range
6594 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
6597 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
6599 * src/hildon-touch-selector.c
6600 (hildon_date_touch_selector_get_selected): fix the selection mode check,
6601 in order to allow use this function on multiple row selection mode if
6602 the column is different that the first one
6605 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
6607 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
6608 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
6610 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6612 * src/hildon-date-selector.h: clean some comments, now on the .c
6613 * src/hildon-date-selector.c
6614 (hildon_date_selector_select_month): first implementation
6615 (hildon_date_selector_select_day): added documentation, reimplemented
6616 using hildon_date_selector_select_current_date to avoid repeat code
6619 2008-09-02 Alejandro G. Castro <alex@igalia.com>
6621 Reviewed interaction logic based on device experiences, refactored
6624 * src/hildon-pannable-area.c,
6625 (hildon_pannable_area_class_init): Updated default vmax speed.
6626 (hildon_pannable_area_calculate_velocity): Added this function, it
6627 avoids duplicate valocity calculation. Adjusted calculation to
6628 avoid problems with zero dist events.
6630 (hildon_pannable_area_motion_notify_cb): Now we use the
6631 calculate_velocity function.
6633 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6635 * src/hildon-date-selector.c
6636 (hildon_date_selector_select_current_date): fix the day range check
6637 as it failed using the last day of the current month
6640 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
6642 * src/hildon-touch-selector.c
6643 (hildon_touch_selector_get_num_columns): added a parameter validation
6646 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6648 * examples/Makefile.am
6649 * examples/hildon-edit-toolbar-example.c: Example of the
6650 HildonEditToolbar widget.
6652 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6654 * configure.ac: postrelease version bump.
6656 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6660 * configure.ac: prerelease version bump.
6661 * debian/changelog: update.
6663 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6665 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
6666 renderer to display stock icons in the touch list. Also, set the sizes
6667 to the recommended in the style guide.
6669 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6670 * src/hildon-touch-selector.h
6671 (hildon_touch_selector_set_active_iter): renamed, now is
6672 hildon_touch_selector_select_iter
6673 (hildon_touch_selector_get_active_iter): renamed, now is
6674 hildon_touch_selector_get_selected
6675 (hildon_touch_selector_unselect_iter): added
6676 * src/hildon-touch-selector.c
6677 Update after API modification (methods renamed)
6678 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
6679 order to avoid problems selecting multiple elements on the column
6680 (hildon_touch_selector_unselect_iter): added the implementation
6681 * src/hildon-time-selector.c
6682 * src/hildon-date-selector.c
6683 * src/hildon-touch-selector-entry.c
6684 Update methods calls after hildon-touch-selector.h API modification (methods
6687 2008-08-29 Alberto Garcia <agarcia@igalia.com>
6689 * src/hildon-stackable-window.c
6690 (hildon_stackable_window_finalize): Call the parent class's finalize.
6692 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6694 * examples/hildon-touch-selector-example.c: (create_selector): Use
6695 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
6698 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
6700 * examples/hildon-touch-selector-example.c: (create_selector): Do not
6701 set a cell background color, to respect theming.
6703 2008-08-28 Alberto Garcia <agarcia@igalia.com>
6705 * doc/hildon-docs.sgml
6708 * src/hildon-edit-toolbar.c
6709 * src/hildon-edit-toolbar.h
6710 * src/hildon.h: New HildonEditToolbar widget.
6712 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
6714 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
6717 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6718 * src/hildon-touch-selector.c
6719 (_create_new_column): use g_object_set instead of two g_object_set_property
6721 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
6722 * src/hildon-touch-selector.c
6723 (_create_new_column): use of hildon_gtk_tree_view_new to create
6724 the treeview, instead of use directly g_object_new
6725 (_create_new_column): update the property name "vindicator-mode" for the
6726 new one "vscrollbar-policy"
6727 * examples/hildon-date-button-example.c
6728 * examples/hildon-picker-button-multicolumn-example.c
6729 * examples/hildon-touch-selector-entry-example.c
6730 * examples/hildon-touch-selector-example.c
6731 * examples/hildon-time-button-example.c
6732 * examples/hildon-picker-button-example.c
6733 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
6734 to all the treeviews inside a pannable area.
6736 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6738 * src/hildon-button.h
6739 * src/hildon-button.c (hildon_button_init)
6740 (hildon_button_set_arrangement, hildon_button_set_alignment)
6741 (hildon_button_set_title_alignment)
6742 (hildon_button_set_value_alignment)
6743 (hildon_button_set_image_alignment)
6744 (hildon_button_construct_child): New methods to set the alignment
6745 of the individual components of the button (title, value,
6746 image). Also, new method to alter the xscale and yscale properties
6747 of the GtkAlignment inside the button, so more complex layouts can
6750 2008-08-27 Alberto Garcia <agarcia@igalia.com>
6752 * src/hildon-button.c (hildon_button_style_set)
6753 (hildon_button_class_init, hildon_button_set_arrangement)
6754 (hildon_button_construct_child): Apply style properties
6755 correctly. Use the 'image-spacing' style property too.
6757 2008-08-26 Alberto Garcia <agarcia@igalia.com>
6759 * src/hildon-app-menu.c (hildon_app_menu_style_set)
6760 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
6763 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6765 * src/hildon-pannable-area.c,
6766 (hildon_pannable_area_size_request): Fixed problem with
6767 pannable-area size_request.
6769 2008-08-26 Alejandro G. Castro <alex@igalia.com>
6771 Added management for the grab-focus to a child widget, like a
6772 range, we need to fade out the scrollbar when releasing.
6774 * src/hildon-pannable-area.c,
6775 (hildon_pannable_area_init): Connected the grab-focus signal to
6777 (hildon_pannable_area_grab_notify): Added this function in order
6778 to manage the situation when the grab-focus ends. We have to
6779 fade-out the scrollbar.
6781 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6783 * src/hildon-app-menu.c: Minor documentation update.
6785 2008-08-25 Alberto Garcia <agarcia@igalia.com>
6787 * src/hildon-app-menu.c
6788 * examples/hildon-app-menu-example.c (create_menu): Update
6789 examples and documentation to explain how to connect callbacks.
6791 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
6793 * examples/hildon-button-example.c
6794 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
6795 hildon_stackable_window_new instead of gtk_window_new
6797 2008-08-22 Alejandro G. Castro <alex@igalia.com>
6799 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
6800 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
6801 (hildon_pannable_area_set_property),
6802 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
6803 (hildon_pannable_area_unrealize),
6804 (hildon_pannable_area_size_request),
6805 (hildon_pannable_area_size_allocate),
6806 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
6807 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
6808 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
6809 (hildon_pannable_area_initial_effect),
6810 (hildon_pannable_area_redraw),
6811 (hildon_pannable_area_scroll_indicator_fade),
6812 (hildon_pannable_area_expose_event),
6813 (hildon_pannable_area_get_topmost), (synth_crossing),
6814 (hildon_pannable_area_button_press_cb),
6815 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
6816 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
6817 (hildon_pannable_area_motion_notify_cb),
6818 (hildon_pannable_area_button_release_cb),
6819 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
6820 (hildon_pannable_area_remove),
6821 (hildon_pannable_calculate_vel_factor): Widget refactorization,
6822 chage the code layout to a more GtkWidget like. Review the use of
6825 2008-08-21 Alejandro G. Castro <alex@igalia.com>
6827 * examples/hildon-pannable-area-example-4.c,
6828 (main): Modified the name of the hindicator_mode to
6831 * src/hildon-pannable-area.c,
6832 (hildon_pannable_area_class_init),
6833 (hildon_pannable_area_motion_notify_cb),
6834 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
6835 we have reduced the amount of signals and managed reviewed its
6836 rationale. Changed the default decelerate value.
6838 (hildon_pannable_area_add),
6839 (hildon_pannable_area_redraw): Refactored functions.
6841 (hildon_pannable_area_init),
6842 (hildon_pannable_area_get_property),
6843 (hildon_pannable_area_set_property):
6844 (hildon_pannable_draw_vscroll),
6845 (hildon_pannable_draw_hscroll),
6846 (hildon_pannable_area_initial_effect),
6847 (hildon_pannable_area_expose_event),
6848 (hildon_pannable_area_scroll),
6849 (hildon_pannable_area_button_press_cb),
6850 (hildon_pannable_area_realize): Replaced the names hindicator_mode
6851 and vindicator_mode with hscrollbar_policy and
6852 vscrollbar_policy. Replaced hscroll and vscroll with
6853 hscroll_visible and vscroll_visible.
6855 (hildon_pannable_area_refresh): Refactor the function, remove
6856 variables and check the calls to this function, added resize
6857 conditions in case the children change their layout.
6859 (hildon_pannable_area_size_request): Added more detailed
6860 size_request calculation.
6863 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
6865 * src/hildon-color-chooser.c
6866 (init_borders): use the correct gtk_border_free instead of g_free, to
6867 avoid a crash when this widget is used (ie: the three color selection
6870 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6872 * src/hildon-check-button.c,
6873 (hildon_check_button_set_active): Fixed problem when setting the
6874 active value, the widget was not redrawn.
6876 2008-08-20 Alejandro G. Castro <alex@igalia.com>
6878 * src/hildon-pannable-area.c,
6879 (hildon_pannable_area_refresh),
6880 (hildon_pannable_area_scroll),
6881 (hildon_pannable_area_motion_notify_cb): Small code style change.
6883 (hildon_pannable_area_class_init): Default initial_hint set to
6884 FALSE, it is not in the specs.
6886 (hildon_pannable_area_initial_effect),
6887 (hildon_pannable_area_expose_event),
6888 (hildon_pannable_area_map),
6889 (hildon_pannable_area_init): Moved the launching point of the
6890 initial effect, it was in map but the sizes where not correct in
6891 that method so we do not know if we have the reproduce it. Now it
6892 is placed in the expose_event method and uses a variable to
6893 reproduce it just once.
6895 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6897 * src/hildon-pannable-area.c,
6898 (hildon_pannable_draw_vscroll),
6899 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
6900 position allowed for the scrollbars.
6902 (hildon_pannable_area_size_allocate): Small style change.
6904 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6906 * src/hildon-pannable-area.c,
6907 (hildon_pannable_area_scroll_indicator_fade),
6908 (hildon_pannable_area_button_press_cb),
6909 (hildon_pannable_area_button_release_cb),
6910 (hildon_pannable_area_scroll_cb),
6911 (hildon_pannable_area_expose_event),
6912 (hildon_pannable_area_init): Added the define parameter
6913 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
6914 and refactor the fade variable.
6916 2008-08-19 Alejandro G. Castro <alex@igalia.com>
6918 * src/hildon-pannable-area.c,
6919 (hildon_pannable_area_redraw),
6920 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
6921 lines, we were reimplemeting the redraw code.
6923 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6925 * src/hildon-pannable-area.c,
6926 (hildon_pannable_area_scroll_cb),
6927 (hildon_pannable_area_realize),
6928 (hildon_pannable_area_class_init): Added scroll_event management
6929 for pannable area, now we can scroll the usual desktop method.
6931 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
6932 initialization of the parameters should depend on idle_id.
6934 (hildon_pannable_area_init),
6935 (hildon_pannable_area_map): Small code style modifications
6937 2008-08-18 Alejandro G. Castro <alex@igalia.com>
6939 * src/hildon-pannable-area.c
6940 (hildon_pannable_area_button_press_cb),
6941 (hildon_pannable_area_motion_notify_cb),
6942 (hildon_pannable_area_button_release_cb),
6943 (hildon_pannable_area_size_allocate),
6944 (hildon_pannable_area_scroll_to): Improved the timeouts
6945 management, we avoid creating them each time.
6947 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6949 * src/hildon-pannable-area.c:
6950 (hildon_pannable_area_refresh),
6951 (hildon_pannable_area_motion_notify_cb),
6952 (hildon_pannable_area_class_init):
6953 * src/hildon-pannable-area.h:
6954 * src/hildon-touch-selector.c
6955 (_create_new_column):
6956 * examples/hildon-pannable-area-example-4.c:
6957 (horizontal_movement),
6958 (vertical_movement),
6960 Replaced the names of enums in the HildonPannableArea:
6961 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
6962 HILDON_MOVEMENT_MODE_*
6963 - HILDON_PANNABLE_AREA_MOV_* ->
6965 - Removed HildonPannableAreaIndicatorMode, now we
6968 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6970 * examples/hildon-pannable-area-touch-grid-example.c
6971 * examples/hildon-pannable-area-touch-list-example.c: Fix
6972 compilation warnings.
6974 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6976 * src/hildon-gtk.c (hildon_gtk_button_new)
6977 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
6978 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
6979 images overriding the value of the "gtk-button-images" setting.
6981 2008-08-14 Alberto Garcia <agarcia@igalia.com>
6983 * src/hildon-check-button.c (hildon_check_button_new):
6984 Instead of using a custom container, display the label and the
6985 checkbox using the standard GtkButton API.
6987 * examples/hildon-check-button-example.c (main): Don't use
6988 hildon_check_button_set_label() anymore
6990 * src/hildon-check-button.h
6991 * src/hildon-check-button.c
6992 (hildon_check_button_set_label, hildon_check_button_get_label):
6993 Set as deprecated, now we're using gtk_button_{get,set}_label()
6995 2008-08-14 Alejandro G. Castro <alex@igalia.com>
6997 * src/hildon-pannable-area.c,
6998 (hildon_pannable_area_get_topmost): Fixed bug with click in the
6999 GtkTreeview first line we detected it after the inclusion of the
7000 GtkWindowImpl in gtk+. We now check if the window is visible, not
7001 just if the pointer is over the window.
7002 (hildon_pannable_axis_scroll),
7003 (hildon_pannable_area_expose_event): Small style changes.
7005 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7007 * src/hildon-button.c: Update documentation.
7009 2008-08-13 Alberto Garcia <agarcia@igalia.com>
7011 * examples/hildon-button-example.c: Add a switch to show images in
7014 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7016 * doc/hildon-docs.sgml: Some docs reorganization.
7018 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7020 * examples/hildon-pannable-area-touch-list-example.c
7022 * examples/hildon-pannable-area-touch-grid-example.c
7023 (create_icon_view): Use gtk_{tree,icon}_view_new() and
7024 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
7025 Fix memory leak when setting the tree model.
7027 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7031 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
7033 * doc/hildon.types: Remove duplicated hildon_window_get_type
7034 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
7035 documentation comment.
7037 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7039 * doc/Makefile.am: Complete list of private headers.
7041 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7043 * doc/hildon-docs.sgml
7044 * src/hildon-app-menu.c
7045 * src/hildon-bread-crumb.c
7046 * src/hildon-button.c
7048 * src/hildon-program.c
7049 * src/hildon-stackable-window.c
7050 * src/hildon-window.c: Lots of documentation updates.
7052 2008-08-12 Alberto Garcia <agarcia@igalia.com>
7054 * debian/control: Depend on Gtk 2:2.12.9-0osso3
7056 * configure.ac: Require Gtk+ 2.12.9 at least
7058 2008-08-12 Alejandro G. Castro <alex@igalia.com>
7060 * src/hildon-pannable-area.c
7061 (hildon_pannable_area_scroll_indicator_fade),
7062 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
7063 to protect the return of this timeout callbacks, avoiding deadlocks.
7065 2008-08-12 Christian Dywan <christian@imendio.com>
7068 * src/hildon-*.h: Ensure a consistent include order,
7069 include <gtk/gtk.h> instead of particular files and
7070 only include the topmost header in the gtk stack. See NB #39857
7072 2008-08-12 Christian Dywan <christian@imendio.com>
7074 * src/hildon-picker-dialog.c
7075 * src/hildon-touch-selector.c: Fix warnings about unused and
7076 uninitialized variables.
7078 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7080 * examples/Makefile.am
7081 * examples/hildon-check-button-example.c: Example of the hildon
7084 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7086 * src/hildon-window.h
7087 * src/hildon-window.c (hildon_window_class_init)
7088 (hildon_window_unset_program): Don't make
7089 hildon_window_unset_program a virtual function anymore.
7091 * src/hildon-stackable-window.c: Update documentation
7093 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7096 * doc/hildon-docs.sgml
7097 * doc/visual_index.xml
7098 * src/hildon-defines.c
7100 * src/hildon-helper.c
7101 * src/hildon-range-editor.c: Lots of documentation fixes.
7103 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7105 * examples/hildon-picker-button-multicolumn-example.c
7106 (create_touch_selector): Fix compilation warning.
7108 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7110 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
7111 (hildon_pannable_area_button_release_cb)
7112 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
7114 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7116 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
7119 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7121 * src/hildon-bread-crumb-trail.h
7122 * src/hildon-date-editor.c
7123 * src/hildon-date-selector.c
7124 * src/hildon-pannable-area.c
7125 * src/hildon-picker-dialog.c
7126 * src/hildon-time-selector.c
7127 * src/hildon-touch-selector-entry.c
7128 * src/hildon-touch-selector.c
7129 * src/hildon-touch-selector.h: Misc documentation fixes
7131 2008-08-11 Alberto Garcia <agarcia@igalia.com>
7133 * examples/hildon-date-editor-example.c (main): Updated date
7136 * examples/hildon-note-example.c (on_confirmation_clicked):
7137 Updated confirmation note example.
7139 * src/hildon-date-editor.c
7140 * src/hildon-note.c: Updated sample programs in documentation.
7143 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7145 * src/hildon-date-button.h:
7146 * src/hildon-picker-button.h:
7147 * src/hildon-time-button.c:
7148 * src/hildon-time-button.h:
7150 Some declarations changes to allow gtk-doc to document the widgets
7153 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7155 * src/hildon-date-button.c: Document the widget.
7156 * src/hildon-time-button.c: Document the widget.
7158 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
7160 * src/hildon-picker-button.c: Document the widget.
7161 * src/hildon-touch-selector-entry.c: Document the widget.
7163 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7165 * doc/hildon-docs.sgml
7168 * src/hildon-check-button.h
7169 * src/hildon-check-button.c: New functions to create the Hildon
7173 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
7175 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7177 * src/hildon-button.h
7178 * src/hildon-button.c
7179 (hildon_button_add_title_size_group)
7180 (hildon_button_add_value_size_group)
7181 (hildon_button_add_image_size_group)
7182 (hildon_button_add_size_groups): New functions to set size groups
7183 for the button labels and image.
7184 (hildon_button_new_full): Removed
7186 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
7188 * src/hildon-time-selector.c
7189 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
7190 in order to avoid a crash if gconf is not available
7192 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7194 * src/hildon-button.c (hildon_button_set_arrangement)
7195 (hildon_button_construct_child): Don't construct the button child
7196 before setting the arrangement.
7198 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7200 * src/hildon-program-private.h
7201 * src/hildon-program.c
7202 * src/hildon-program.h
7203 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
7204 (hildon_program_peek_window_stack)
7205 (hildon_program_pop_window_stack)
7206 (hildon_program_go_to_root_window): HildonProgram now has a
7207 separate list for stackable windows. Functions are provided to
7208 manage that list with a stack-like API.
7210 * src/hildon-stackable-window.c: Stackable window management is
7211 now much simpler with the new HildonProgram API. Windows no
7212 longer need to be manually added to the program, they're
7213 automatically pushed to the top of the stack when shown.
7215 * examples/hildon-stackable-window-example.c: Updated example to
7216 reflect the API changes.
7218 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7220 * src/hildon-touch-selector.c: Comment out unimplemented
7221 hildon_touch_selector_insert_column() to avoid a compile warning.
7223 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
7225 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7226 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
7227 (hildon_touch_selector_set_column_selection_mode),
7228 (_hildon_touch_selector_set_model),
7229 (hildon_touch_selector_set_model):
7231 Complete review of HildonTouchSelector documentation.
7233 2008-08-08 Alberto Garcia <agarcia@igalia.com>
7235 * doc/hildon-docs.sgml
7239 * src/hildon-gtk.c: Convenience functions for standard Gtk
7240 widgets, used to easily perform frequent operations.
7242 * src/hildon-button-helpers.h
7243 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
7245 * src/hildon-helper.h
7246 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
7247 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
7249 * src/hildon-button.h
7250 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
7252 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7254 * src/hildon-button.c (hildon_button_init)
7255 (hildon_button_set_arrangement, hildon_button_construct_child):
7256 Pack the image and the labels inside the same GtkAlignment so
7257 gtk_button_set_alignment() can be used
7259 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7261 * src/hildon-button.h
7262 * src/hildon-button.c
7263 (hildon_button_init, hildon_button_set_image)
7264 (hildon_button_set_image_position)
7265 (hildon_button_construct_child): New functions to add an image to
7268 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7270 * src/hildon-date-button.c
7271 * src/hildon-picker-button.c
7272 * src/hildon-time-button.c
7273 * src/hildon-button.c:
7274 (hildon_button_class_init): "size-flags" renamed to "size"
7275 (hildon_button_set_title): Hide the title label if set to NULL.
7277 2008-08-07 Alberto Garcia <agarcia@igalia.com>
7279 HildonButtonFlags split into HildonButtonArrangement (to set the
7280 button layout) and HildonSizeType (which can be used for any
7283 * src/hildon-button.h
7284 * src/hildon-button.c
7285 (hildon_button_class_init)
7286 (hildon_button_set_arrangement)
7287 (hildon_button_set_property): New "size-flags"
7288 property. "arrangement-flags" renamed to "arrangement".
7289 (hildon_button_new, hildon_button_new_with_text)
7290 (hildon_button_new_full): Constructors updated to reflect type changes.
7292 * src/hildon-helper.h
7293 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
7294 to set the size of a widget.
7298 * src/hildon-button-helpers.c
7299 * src/hildon-button-helpers.h: New hildon-button-helpers module.
7301 * src/hildon-date-button.c
7302 * src/hildon-date-button.h
7303 * src/hildon-picker-button.c
7304 * src/hildon-picker-button.h
7305 * src/hildon-time-button.c
7306 * src/hildon-time-button.h: Updated widgets to reflect
7307 HildonButton API changes.
7309 * examples/hildon-button-example.c
7310 * examples/hildon-date-button-example.c
7311 * examples/hildon-picker-button-example.c
7312 * examples/hildon-picker-button-multicolumn-example.c
7313 * examples/hildon-time-button-example.c
7314 * examples/hildon-touch-selector-entry-example.c
7315 * examples/hildon-touch-selector-example.c: Updated examples to
7316 reflect HildonButton API changes.
7318 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7320 * doc/hildon-docs.sgml:
7322 * examples/Makefile.am:
7323 * examples/hildon-touch-selector-entry-example.c:
7325 * src/hildon-touch-selector-entry.c:
7326 * src/hildon-touch-selector-entry.h:
7329 Moved HildonTouchSelectorEntry from sandbox. Added its
7330 documentation and examples.
7332 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7334 * src/hildon-touch-selector.h:
7335 * examples/hildon-picker-button-multicolumn-example.c:
7336 (hildon_touch_selector_append_text_column): Add a gboolean
7337 parameter to determine if text must be centered in the column.
7339 * src/hildon-date-selector.c: (hildon_date_selector_init):
7340 * src/hildon-time-selector.c: (hildon_time_selector_init):
7341 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
7342 (create_touch_selector): Update widgets and example to reflect
7345 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
7347 * src/hildon-touch-selector.c:
7348 (hildon_touch_selector_set_active_iter): Set also the cursor in
7351 2008-08-06 Alberto Garcia <agarcia@igalia.com>
7353 * doc/hildon-docs.sgml
7356 * src/hildon-toggle-button.c
7357 * src/hildon-toggle-button.h
7358 * src/hildon.h: Removed HildonToggleButton widget, a derived
7359 class is not necessary for this.
7361 2008-08-06 Alejandro G. Castro <alex@igalia.com>
7363 * src/hildon-pannable-area.c,
7364 (hildon_pannable_area_realize),
7365 (hildon_pannable_area_size_allocate): Code refactoring, add tests
7368 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
7370 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
7371 "done" button the default widget for the dialog.
7373 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7375 * src/hildon-touch-selector.c:
7376 (hildon_touch_selector_class_init),
7377 (hildon_touch_selector_get_property),
7378 (_hildon_touch_selector_set_model),
7379 (_hildon_touch_selector_has_multiple_selection),
7380 (hildon_touch_selector_has_multiple_selection):
7381 Add a "has-multiple-selection" property with a virtual
7382 has_multiple_selection() method to allow derived classes to
7383 override the default value for it. See the method and property
7384 documentation for details.
7386 * src/hildon-touch-selector.h: Add the new API.
7388 * src/hildon-picker-dialog.c: (requires_done_button): Call
7389 hildon_touch_selector_has_multiple_selection() instead of
7390 determining the need for a button itself.
7392 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7394 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7395 (_hildon_touch_selector_set_model),
7396 (hildon_touch_selector_set_model): Move working code to
7397 _hildon_touch_selector_set_mode(). Call the class method instead.
7399 * src/hildon-touch-selector.h: Add (*set_model) to
7400 HildonTouchSelectorClass.
7402 Make hildon_touch_selector_set_model() a virtual method, so that
7403 derived classes can extend it and do fancy stuff with the model.
7405 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
7407 * configure.ac: Set back the tarname in AC_INIT to hildon.
7409 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
7413 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
7414 instead of libesd (NB#86876). Volume handling is still an open issue.
7416 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
7419 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7421 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
7422 (hildon_touch_selector_append_column): Make the widget a GtkVBox
7423 derived class to ease placement of an entry widget in
7424 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
7425 end, where the selector columns are packed now.
7427 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
7429 * src/hildon-picker-button.c: Removed the simple _text() API.
7430 * src/hildon-picker-button.h: Likewise.
7432 * src/hildon-touch-selector.h:
7433 * src/hildon-touch-selector.c:
7434 (hildon_touch_selector_new_text),
7435 (hildon_touch_selector_append_text),
7436 (hildon_touch_selector_prepend_text),
7437 (hildon_touch_selector_insert_text):
7439 Moved the simple _text() API from HildonPickerButton to
7440 HildonTouchPicker, to provide better escalability and not to tie
7441 that API to HildonPickerButton.
7443 * examples/hildon-picker-button-example.c: (main): Example updated.
7445 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7447 * src/hildon-button.c: Updated documentation.
7449 * examples/hildon-button-example.c: Add the posibility to create
7450 the buttons using horizontal layout for title and value.
7452 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7454 * src/hildon-app-menu-private.h
7455 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
7456 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
7457 GtkSizeGroup for the filters, use the 'homogeneous' property of
7460 2008-07-31 Alberto Garcia <agarcia@igalia.com>
7462 * examples/hildon-button-example.c: Updated example.
7464 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
7466 * doc/hildon-docs.sgml:
7469 Update documentation.
7471 * examples/Makefile.am: Update renamed examples.
7473 * examples/hildon-picker-button-multicolumn-example.c:
7474 (create_touch_selector), (main): Update after the rename.
7476 * examples/hildon-touch-picker-example.c: Removed.
7477 * examples/hildon-touch-selector-example.c: (value_changed),
7478 (create_selector), (get_visible_content), (main): Renamed from
7479 hildon-touch-picker-example.c
7481 * src/Makefile.am: Updated renamed files.
7483 * src/hildon-date-button.c: (hildon_date_button_init),
7484 (hildon_date_button_get_date), (hildon_date_button_set_date):
7485 * src/hildon-date-selector.c: (hildon_date_selector_init),
7486 (_custom_print_func), (_update_day_model),
7487 (_manage_selector_change_cb),
7488 (hildon_date_selector_select_current_date),
7489 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
7490 * src/hildon-date-selector.h:
7491 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
7492 (hildon_picker_button_set_property),
7493 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
7494 (hildon_picker_button_init), (hildon_picker_button_new_text),
7495 (hildon_picker_button_append_text),
7496 (hildon_picker_button_prepend_text),
7497 (hildon_picker_button_insert_text),
7498 (hildon_picker_button_set_selector),
7499 (hildon_picker_button_get_selector):
7500 * src/hildon-picker-button.h:
7501 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
7502 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
7503 (_update_title_on_selector_changed_cb), (requires_done_button),
7504 (_hildon_picker_dialog_set_selector),
7505 (hildon_picker_dialog_set_selector),
7506 (hildon_picker_dialog_get_selector):
7507 * src/hildon-picker-dialog.h:
7508 * src/hildon-time-button.c: (hildon_time_button_init),
7509 (hildon_time_button_get_time), (hildon_time_button_set_time):
7510 * src/hildon-time-selector.c: (hildon_time_selector_init),
7511 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
7512 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
7513 * src/hildon-time-selector.h:
7516 Massive code updates after the rename.
7518 * src/hildon-touch-picker.c: Removed.
7519 * src/hildon-touch-picker.h: Removed.
7521 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
7522 (hildon_touch_selector_init), (hildon_touch_selector_map),
7523 (hildon_touch_selector_remove), (_default_print_func),
7524 (_selection_changed_cb), (_create_new_column),
7525 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
7526 (hildon_touch_selector_append_text_column),
7527 (hildon_touch_selector_remove_column),
7528 (hildon_touch_selector_set_column_attributes),
7529 (hildon_touch_selector_insert_column),
7530 (hildon_touch_selector_get_num_columns),
7531 (hildon_touch_selector_get_column_selection_mode),
7532 (hildon_touch_selector_set_column_selection_mode),
7533 (hildon_touch_selector_set_print_func),
7534 (hildon_touch_selector_get_print_func),
7535 (hildon_touch_selector_get_active_iter),
7536 (hildon_touch_selector_set_active_iter),
7537 (hildon_touch_selector_get_selected_rows),
7538 (hildon_touch_selector_get_model),
7539 (hildon_touch_selector_set_model),
7540 (hildon_touch_selector_get_current_text),
7541 (_hildon_touch_selector_center_on_selected_items):
7542 * src/hildon-touch-selector.h: Renamed from
7543 hildon-touch-picker.[ch]
7545 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
7546 references, code examples, and related documentation.
7548 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7550 * doc/hildon-docs.sgml
7553 * src/hildon-toggle-button.c
7554 * src/hildon-toggle-button.h
7555 * src/hildon.h: New HildonToggleButton widget.
7557 2008-07-30 Alberto Garcia <agarcia@igalia.com>
7559 * src/hildon-button.c: Add API documentation.
7560 (hildon_button_set_size_groups): Check input parameters
7562 2008-07-30 Alejandro G. Castro <alex@igalia.com>
7564 * src/hildon-pannable-area.c
7565 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
7566 effect after reaching the movement thredshold. This way we start
7567 using the distance after passing the thredshold.
7569 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7571 * src/hildon-button.c: (hildon_button_set_property): Use the
7572 appropriate g_value_get_flags() method.
7574 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7576 * doc/hildon-docs.sgml:
7579 Add the touch pickers, picker dialogs, and picker button widgets
7580 to the documentation.
7582 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7584 * src/hildon-button.c: (hildon_button_set_property),
7585 (hildon_button_class_init): Make "arrangement-flags" a proper
7586 G_TYPE_FLAGS derived property.
7588 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7590 * examples/Makefile.am: Add below examples.
7591 * examples/hildon-date-button-example.c:
7592 * examples/hildon-picker-button-example.c:
7593 * examples/hildon-picker-button-multicolumn-example.c:
7594 * examples/hildon-time-button-example.c:
7595 * examples/hildon-touch-picker-example.c:
7597 Add examples for the recently added touch pickers,
7598 picker dialogs, and picker button widgets.
7600 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7602 * src/hildon-button.c: Add some API documentation
7604 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7606 * src/hildon-button.h
7607 * src/hildon-button.c
7609 (hildon_button_new_with_text): New constructor to create a button
7610 with no text at all.
7611 (hildon_button_init, hildon_button_set_arrangement)
7612 (hildon_button_set_title, hildon_button_set_value)
7613 (hildon_button_set_text)
7614 (hildon_button_construct_child): Hide the value when it's not used
7615 so the rest of the text is properly aligned.
7616 Allow creating buttons with arbitrary widgets inside (not just
7617 title/value labels).
7619 * examples/hildon-button-example.c (vertical_buttons_window)
7620 (horizontal_buttons_window): Update example to use new API.
7622 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7624 * src/Makefile.am: Added HildonTimeButton.
7625 * src/hildon-time-button.c: Added missing LGPL header.
7626 * src/hildon-time-button.h: Added missing LGPL header.
7627 * src/hildon.h: Add hildon-time-button.h
7629 Copied HildonTimeButton from sandbox to trunk. Future work on this
7630 widget must take place in trunk.
7632 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7634 * src/Makefile.am: Added HildonDateButton.
7635 * src/hildon-date-button.c: Update includes.
7636 * src/hildon.h: Add hildon-date-button.h
7638 Copied HildonDateButton from sandbox to trunk. Future work on this
7639 widget must take place in trunk.
7641 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7643 * src/Makefile.am: Added HildonPickerButton.
7644 * src/hildon-picker-button.h: Update includes.
7645 * src/hildon.h: Add hildon-picker-button.h
7647 Copied HildonPickerButton from sandbox to trunk. Future work on
7648 this widget must take place in trunk.
7650 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7652 * src/Makefile.am: Added HildonPickerDialog.
7653 * src/hildon-picker-dialog.c: Update includes.
7654 * src/hildon.h: Add hildon-picker-dialog.h
7656 Copied HildonPickerDialog from sandbox to trunk. Future work
7657 on this widget must take place in trunk.
7659 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7661 * src/Makefile.am: Added HildonTimeSelector.
7662 * src/hildon.h: Add hildon-time-selector.h
7664 Copied HildonTimeSelector widget from sandbox to trunk. Future
7665 work on this widget must happen in trunk.
7667 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7669 * src/Makefile.am: Added HildonDateSelector.
7670 * src/hildon.h: Add hildon-date-selector.h
7672 Copied HildonDateSelector widget from sandbox to trunk. Future
7673 work on this widget must happen in trunk.
7675 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7677 * src/Makefile.am: Added HildonTouchPicker.
7678 * src/hildon-touch-picker.c: Update includes.
7679 * src/hildon.h: Add hildon-touch-picker.h
7681 Copied HildonTouchPicker widget from sandbox to trunk. Future work
7682 on this widget must happen in trunk.
7684 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
7686 * src/hildon-pannable-area.c:
7687 (hildon_pannable_area_motion_notify_cb): Fix a typo.
7689 2008-07-29 Alberto Garcia <agarcia@igalia.com>
7691 * examples/hildon-app-menu-example.c (main): Let the window
7694 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7696 * src/hildon-pannable-area.c
7697 (hildon_pannable_area_class_init): Set the min value of the
7698 overshoot properties to zero, which points out that not
7699 overshooting allowed.
7701 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7703 Modified the procedure to get the widget at a point inside the
7704 pannable area when using the movement type signals. Now the user
7705 has to call a function to get the child, that way we just
7706 calculate the child in case the user really want to use it and not
7709 * src/hildon-marshalers.list: Modified the marshallers, now we do
7710 not have the widget as a parameter.
7712 * src/hildon-pannable-area.c
7713 (hildon_pannable_area_motion_notify_cb),
7714 (hildon_pannable_area_class_init),
7715 (hildon_pannable_get_child_widget_at): Removed the widget
7716 parameter from the signal callback. We have also refactored the
7717 emission of the signals.
7719 * src/hildon-pannable-area.h: Added a new method to the API to
7720 calculate a widget at a point inside the pannable area,
7721 hildon_pannable_get_child_widget_at.
7723 * examples/hildon-pannable-area-example-4.c
7724 (horizontal_movement): Modified the example to use the new API,
7725 added condition to control which widget is under the event. This
7726 way we can avoid scrolling laterally over other widgets.
7728 2008-07-29 Alejandro G. Castro <alex@igalia.com>
7730 * src/hildon-pannable-area.c
7731 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
7732 modes, we stop getting the pointer events due to returning the
7733 callback without properly calling the get pointer again. Fixed
7734 also an error using the hscroll and vscroll.
7736 2008-07-28 Alberto Garcia <agarcia@igalia.com>
7738 * src/hildon-app-menu-private.h
7739 * src/hildon-app-menu.c (hildon_app_menu_button_press)
7740 (hildon_app_menu_button_release, hildon_app_menu_init)
7741 (hildon_app_menu_class_init): Don't hide the menu on button
7742 release if the user didn't press outside first.
7744 * src/hildon-window.h
7745 * src/hildon-window.c (hildon_window_toggle_menu)
7746 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
7747 hildon_window_toggle_menu a virtual function for the stackable
7748 window to override it.
7750 * src/hildon-stackable-window.h
7751 * src/hildon-stackable-window-private.h
7752 * src/hildon-stackable-window.c
7753 (hildon_stackable_window_realize)
7754 (hildon_stackable_window_finalize)
7755 (hildon_stackable_window_class_init)
7756 (hildon_stackable_window_init)
7757 (hildon_stackable_window_set_main_menu): New function to set the
7758 app menu of a HildonStackableWindow.
7760 * examples/hildon-app-menu-example.c: Remove the button to show
7761 the app menu, now it'll be shown when clicking on the title bar
7764 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7766 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
7767 set the widget name if the arrangement flags do not specify
7770 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
7772 * src/hildon-button.c: (hildon_button_set_property),
7773 (hildon_button_class_init), (hildon_button_new_full),
7774 (hildon_button_set_arrangement): Added "arrangement-flags"
7777 Make the HildonButtonFlags a construction-only property, to allow
7778 subclasses to set them properly.
7780 2008-07-21 Tim Janik <timj@imendio.com>
7782 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
7783 insertion position after backspace, so additional digits are appended,
7786 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7788 * src/hildon-pannable-area.c,
7789 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
7790 TODO list, it was complete and removed the g_debug and g_print
7793 2008-07-17 Alejandro G. Castro <alex@igalia.com>
7795 Added the movement modes to the hildon-pannable-area, with this
7796 modes the developers can control in which directions the widget
7797 can scroll. They can also connect to signals in order to do
7798 something when that happens, allowing applications scroll. There
7799 is an example uploaded showing how to use it.
7801 * examples/Makefile.am:
7802 * examples/hildon-pannable-area-example-4.c: Added this example of
7803 an application using the modes.
7805 * src/hildon-marshalers.list: Added a new marshaller for the new
7808 * src/hildon-pannable-area.h: Added new enumerations and flags in
7809 order to control the movement modes and the new signals to warn
7810 about the movements in the area.
7812 * src/hildon-pannable-area.c:
7813 (hildon_pannable_axis_scroll),
7814 (hildon_pannable_area_scroll),
7815 (hildon_pannable_area_motion_notify_cb),
7816 (hildon_pannable_area_get_property),
7817 (hildon_pannable_area_set_property),
7818 (hildon_pannable_area_map),
7819 (hildon_pannable_area_class_init),
7820 (hildon_pannable_area_init),
7821 (hildon_pannable_area_jump_to): Added the modes to control the
7822 movement in the widget. We have added properties to control it,
7823 signals to warn about the movements and refactored some code.
7825 2008-07-15 Alejandro G. Castro <alex@igalia.com>
7827 Changes required in order to allow vfast_factor set to zero to
7830 * src/hildon-pannable-area.c:
7831 (hildon_pannable_area_button_press_cb): Changed the condition, it
7832 is required for not allowing click when vfast_factor is zero.
7833 (hildon_pannable_area_timeout): Initialized velocity variables
7834 when we stop moving, it was less than 1 but not zero and we need
7835 to check zero in some situations.
7836 (hildon_pannable_area_class_init): Changed the default value of
7837 the speed factor, now the button_press is just sent in case the
7838 speed is 2 per cent of the max speed.
7839 (hildon_pannable_area_init): Initialization with 0.
7841 2008-07-04 Alejandro G. Castro <alex@igalia.com>
7843 * src/hildon-pannable-area.c,
7844 (hildon_pannable_area_get_topmost): replaced
7845 gdk_window_get_children with gdk_window_peek_children, this way we
7846 do not have to free the list because it is not a copy.
7848 (hildon_pannable_axis_scroll),
7849 (hildon_pannable_area_scroll),
7850 (hildon_pannable_area_timeout),
7851 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
7852 two parameters that were only used inside the
7853 hildon_pannable_area_scroll function.
7855 * examples/hildon-pannable-area-example.c,
7856 (get_sawtooth_label): Fixed small memory leak.
7858 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7860 More checks for the case where the overshoot is bigger than the
7863 * src/hildon-pannable-area.c:
7864 (hildon_pannable_draw_vscroll),
7865 (hildon_pannable_draw_hscroll): with this new calculation we avoid
7866 to draw the slider of the scrollbar under the other scrollbar.
7867 (hildon_pannable_area_expose_event): added new checks to control
7868 the drawing of the overshooting area rectangle, in case it is too
7869 big for the area of the widget.
7870 (hildon_pannable_area_size_allocate): add more checks to avoid
7871 setting a position to the child widget outside the area.
7873 2008-07-03 Alejandro G. Castro <alex@igalia.com>
7875 * src/hildon-pannable-area.c
7876 (hildon_pannable_area_size_allocate): Added conditions to control
7877 when overshooting is bigger than the allocated space for the
7878 children, this avoids negative allocations.
7880 2008-07-02 Alberto Garcia <agarcia@igalia.com>
7882 * doc/hildon-docs.sgml
7884 * examples/Makefile.am
7885 * examples/hildon-button-example.c
7887 * src/hildon-button.c
7888 * src/hildon-button.h
7889 * src/hildon.h: Initial version of the new HildonButton widget,
7892 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
7894 * src/hildon-pannable-area.c:
7895 (hildon_pannable_area_button_press_cb),
7896 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
7897 (hildon_pannable_area_motion_notify_cb),
7898 (hildon_pannable_area_button_release_cb),
7899 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
7900 (hildon_pannable_area_jump_to_child):
7902 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
7904 2008-07-01 Alberto Garcia <agarcia@igalia.com>
7906 * examples/Makefile.am
7907 * examples/hildon-pannable-area-touch-grid-example.c
7908 * examples/hildon-pannable-area-touch-list-example.c: Examples of
7909 the Hildon Touch List and Hildon Touch Grid using the
7910 HildonPannableArea widget.
7912 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7914 * src/hildon-pannable-area.c,
7915 (hildon_pannable_area_button_press_cb),
7916 (hildon_pannable_area_refresh),
7917 (hildon_pannable_area_scroll),
7918 (hildon_pannable_area_motion_notify_cb),
7919 (hildon_pannable_area_button_release_cb),
7920 (hildon_pannable_area_expose_event),
7921 (hildon_pannable_area_add),
7922 (hildon_pannable_area_remove),
7923 (hildon_pannable_area_realize),
7924 (hildon_pannable_area_size_allocate),
7925 (hildon_pannable_area_class_init),
7926 (hildon_pannable_area_init),
7927 (hildon_pannable_area_scroll_to_child),
7928 (hildon_pannable_area_jump_to_child): Fixed the problem of
7929 removing the child from the GtkBin, we have rearranged the widget
7930 hierarchy, now there is no GtkAlignment which was not doing
7931 anything interesting but breaking some of the assumptions of
7932 GtkContainer. Now developers if they want to add a GtkAlignment
7933 they could, but it is not inside the area.
7935 We had to review the whole allocation/expose process, now it is
7936 improved and we save at least three signals which would be saving
7937 some time when rendering the widget. The allocation of the
7938 scrollbars is now made in the allocate method as usual.
7940 We have also added some conditions in order to control when there
7941 is no child of the pannable area. Maybe we will need more work
7944 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7946 * src/hildon-pannable-area.c,
7947 (hildon_pannable_area_dispose): Released the fade-out timeout when
7948 disposing the widget.
7950 2008-06-27 Alejandro G. Castro <alex@igalia.com>
7952 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
7953 zero, we are going to use that property in order to deactivate the
7955 (hildon_pannable_axis_scroll),
7956 (hildon_pannable_area_size_allocate): Added conditions to control
7957 when overshoot_max is zero. Moved the gtk_adjustment_set_value
7958 call, now it is called in all situations and we can remove calls
7959 in the allocate method.
7960 (hildon_pannable_area_map): Control the situation when
7961 overshoot_max is zero, we do not need the timeout.
7962 (hildon_pannable_area_class_init): Added documentation in order to
7963 point out that setting zero to overshoot_max means deactivate
7966 NOTE: removed trailing whitespaces from my previous comments of
7969 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7971 * src/hildon-pannable-area.c
7972 (hildon_pannable_area_get_property),
7973 (hildon_pannable_area_set_property),
7974 (hildon_pannable_area_map),
7975 (hildon_pannable_area_class_init),
7976 (hildon_pannable_area_init): Add a boolean "initial-hint" property
7977 to cause the widget give a hint about its panning abilities upon
7980 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
7982 * src/hildon-pannable-area.c: Several documentation improvements.
7984 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7986 * src/hildon-program.c
7987 * src/hildon-stackable-window.c: Update documentation.
7989 2008-06-26 Alberto Garcia <agarcia@igalia.com>
7991 * src/hildon-stackable-window.c (get_previous_window_if_last):
7992 Renamed get_last_window()
7993 (hildon_stackable_window_map, hildon_stackable_window_unmap)
7994 (hildon_stackable_window_unset_program):
7996 (get_previous_window_if_last):
7997 Detect if the window hasn't been added to a HildonProgram.
7999 2008-06-26 Alejandro G. Castro <alex@igalia.com>
8001 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
8003 * src/hildon-pannable-area.c
8004 (hildon_pannable_area_button_press_cb),
8005 (hildon_pannable_axis_scroll),
8006 (hildon_pannable_area_scroll),
8007 (hildon_pannable_area_timeout),
8008 (hildon_pannable_calculate_vel_factor),
8009 (hildon_pannable_area_get_property),
8010 (hildon_pannable_area_set_property),
8011 (hildon_pannable_area_class_init),
8012 (hildon_pannable_area_init),
8013 (hildon_pannable_area_scroll_to),
8014 (hildon_pannable_area_jump_to),
8015 (hildon_pannable_area_scroll_to_child),
8016 (hildon_pannable_area_jump_to_child):
8017 * src/hildon-pannable-area.h: Added the new API functions:
8018 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
8019 hildon_pannable_area_scroll_to_child,
8020 hildon_pannable_area_jump_to_child
8023 * examples/Makefile.am
8024 * examples/hildon-pannable-area-example-2.c
8025 * examples/hildon-pannable-area-example-3.c: Added these two new
8026 examples in order to test and show how the new APIs work.
8028 2008-06-25 Alberto Garcia <agarcia@igalia.com>
8030 * examples/hildon-stackable-window-example.c (new_window):
8031 * src/Makefile.am (noinst_HEADERS):
8032 * src/hildon-program.c (hildon_program_go_to_root_window):
8033 * src/hildon-program.h:
8034 * src/hildon-stackable-window-private.h:
8035 * src/hildon-stackable-window.c:
8036 * src/hildon-stackable-window.h:
8037 Create hildon-stackable-window-private.h
8038 Move hildon_stackable_window_go_to_root_window() to HildonProgram
8040 * examples/hildon-app-menu-example.c (create_menu):
8041 * examples/hildon-hvolumebar-insensitive-example.c (main):
8042 * examples/hildon-hvolumebar-timer-example.c (on_idle):
8043 * examples/hildon-toolbar-seekbar-example.c (main):
8044 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
8045 * src/hildon-banner.c (hildon_banner_set_property):
8046 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
8047 Fix compilation warnings
8049 * src/hildon-window.c:
8052 2008-06-24 Alberto Garcia <agarcia@igalia.com>
8054 * src/hildon-stackable-window.c
8055 (hildon_stackable_window_unset_program):
8056 Calculate correctly whether to show the previous window if the
8057 last one is removed from the stack.
8058 (hildon_stackable_window_go_to_root_window):
8059 Send delete events starting from the topmost window.
8060 Stop if one of the windows is not destroyed.
8062 (hildon_stackable_window_delete_event)
8063 (hildon_stackable_window_class_init):
8064 Ignore the delete event if the window is not the topmost one.
8066 2008-06-24 Alejandro G. Castro <alex@igalia.com>
8068 * src/hildon-pannable-area.c
8069 (hildon_pannable_area_expose_event): Fixed a problem when
8070 selecting the background color of the scrollbars.
8072 2008-06-23 Alberto Garcia <agarcia@igalia.com>
8074 * examples/hildon-stackable-window-example.c
8075 * src/hildon-stackable-window.c
8076 * src/hildon-stackable-window.h
8077 hildon_stackable_window_go_home() renamed to
8078 hildon_stackable_window_go_to_root_window()
8079 Send delete events to windows rather than closing them with
8080 gtk_widget_destroy()
8082 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8084 * src/hildon-pannable-area.c
8085 (hildon_pannable_area_button_release_cb): Fix overshooting in
8088 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8090 * src/hildon-pannable-area.c
8091 (hildon_pannable_area_init): Initially show the scroll indicators.
8092 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
8094 Add initial effect showing the widget is pannable.
8096 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8098 * src/hildon-pannable-area.c
8099 (hildon_pannable_area_class_init)
8100 (hildon_pannable_area_set_property)
8101 (hildon_pannable_area_get_property)
8102 (hildon_pannable_area_button_press_cb):
8103 New 'velocity_fast_factor' property to decide which velocity is
8106 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
8108 * src/hildon-pannable-area.c
8109 (hildon_pannable_draw_hscroll)
8110 (hildon_pannable_draw_vscroll):
8111 Use float variables to calculate the size of the scrollbars to
8112 avoid error propagation and resizing during scrolling.
8114 2008-06-19 Alberto Garcia <agarcia@igalia.com>
8116 * src/hildon-pannable-area.c
8117 (hildon_pannable_draw_vscroll)
8118 (hildon_pannable_draw_hscroll):
8119 Define a minimum size for the scroll bars
8121 * src/hildon-stackable-window.c
8122 (hildon_stackable_window_go_home): Fix compilation warning
8123 (get_last_window): Minor optimizations
8124 (hildon_stackable_window_class_init): Fix initialization of
8127 2008-06-18 Alberto Garcia <agarcia@igalia.com>
8129 * src/hildon-stackable-window.c: Fixed typos in doc
8131 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
8133 * src/hildon-pannable-area.c
8134 (hildon_pannable_area_scroll):
8135 Calculate here whether we need to scroll instead of using the booleans
8136 that tell us whether to /draw/ the scrolling bars.
8138 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
8140 * src/hildon-app-menu.h
8142 * src/hildon-app-menu.c
8143 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
8144 multiple filter groups related code and API. Now we support only
8146 * examples/hildon-app-menu-example.c:
8148 Update to reflect API changes.
8150 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
8152 * src/hildon-stackable-window.c
8153 (hildon_stackable_window_class_init):
8154 Add hildon_stackable_window_realize.
8155 (hildon_stackable_window_realize):
8156 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
8157 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
8158 to apply theming and behavior specific to HildonStackableWindow
8161 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8163 * src/hildon-note.c (hildon_note_button_release):
8164 Close information notes also when tapping on them
8166 2008-06-12 Alejandro G. Castro <alex@igalia.com>
8168 Added BOUNCE_STEPS define to control the overshoot effect. Removed
8169 ELASTICITY, refactor and review, fix some issues with drawing
8172 * src/hildon-pannable-area.c:
8173 (hildon_pannable_area_button_press_cb): removed the conditions to
8174 avoid clicks when overshooting. It is not required
8176 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
8177 define. Refatored and reviewed the code, now we do not need to
8178 manage velocity in motion_notify.
8180 (hildon_pannable_area_motion_notify_cb): We have moved the code
8181 that controls the area_scroll to the axis_scroll function and get
8182 rid of duplicated code.
8184 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
8186 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
8188 (hildon_pannable_draw_vscroll),
8189 (hildon_pannable_draw_hscroll): Fixed the problems with the
8190 scrollbar drawing, now we do not use two surfaces, it is easier
8191 and saves resources.
8193 (hildon_pannable_area_get_property): Style modification.
8195 (hildon_pannable_area_class_init): Changed some default values.
8197 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
8199 * src/hildon-stackable-window.c: Fix some typos in the
8202 2008-06-12 Alberto Garcia <agarcia@igalia.com>
8204 * src/hildon-dialog.c:
8205 Change indentation style
8208 (hildon_note_button_release):
8209 Use root coordinates to check if the release event happened
8212 * src/hildon-app-menu.c
8213 (hildon_app_menu_button_release):
8214 Remove unnecessary check
8216 * examples/hildon-app-menu-example.c
8218 Add cast to fix warning
8220 * src/hildon-app-menu.c
8221 (hildon_app_menu_class_init):
8222 New inner-border style property.
8223 Set all default spacings to 16
8224 (hildon_app_menu_init):
8225 Use vertical-spacing to set the space between filter buttons and
8226 regular menu buttons.
8227 Set the default container border using the inner-border value.
8229 * examples/hildon-app-menu-example.c
8231 Don't set the menu border explicitly, now we have the inner-border
8232 style property for that.
8234 2008-06-11 Alberto Garcia <agarcia@igalia.com>
8236 * src/hildon-app-menu.c (hildon_app_menu_init):
8237 Make the window modal
8239 * src/hildon-note.c (hildon_note_map)
8240 * src/hildon-app-menu.c (hildon_app_menu_map):
8241 Destroy the grab window if we're unable to grab the pointer
8243 * src/hildon-app-menu-private.h
8244 * src/hildon-app-menu.c
8245 (hildon_app_menu_init, hildon_app_menu_finalize)
8246 (hildon_app_menu_map, hildon_app_menu_unmap)
8247 (hildon_app_menu_button_release)
8248 (grab_transfer_window_get):
8249 Bring back the grab window
8250 (hildon_app_menu_realize):
8251 Decorate the window, set WM hint for Matchbox
8253 * src/hildon-note.c (hildon_note_realize):
8254 * src/hildon-banner.c (hildon_banner_realize):
8255 Add WM hints for Matchbox
8257 2008-06-10 Alberto Garcia <agarcia@igalia.com>
8259 * src/hildon-app-menu-private.h
8260 * src/hildon-app-menu.c
8261 (hildon_app_menu_init, hildon_app_menu_finalize)
8262 (hildon_app_menu_map, hildon_app_menu_unmap)
8263 (hildon_app_menu_button_release):
8264 Remove the grab window, it's not needed anymore
8266 * src/hildon-program.c
8267 Fixed typo in documentation
8269 * src/hildon-app-menu.h
8270 * src/hildon-app-menu.c
8271 * examples/hildon-app-menu-example.c
8272 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
8274 2008-06-09 Alberto Garcia <agarcia@igalia.com>
8277 Added new transfer_window and close_if_pressed_outside private
8279 (hildon_note_rebuild):
8280 Don't add a cancel button to the information note. It will be
8281 closed when tapping outside
8282 Remove the comment about the OK button in the documentation
8283 (hildon_note_realize):
8284 Set the notification type hint
8285 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
8286 Grab/ungrab pointer and keyboard if the note has to be closed when
8288 (hildon_note_button_release):
8289 Close the note when tapping outside (if applicable)
8291 * src/hildon-app-menu.c
8292 Grab/ungrab pointer and keyboard on map/unmap
8293 (hildon_app_menu_button_release, hildon_app_menu_class_init):
8294 Close the menu on button release, not button press
8296 * src/hildon-banner.c
8297 (hildon_banner_set_property)
8298 (hildon_banner_check_position):
8299 Make the banner use the full width of the screen
8300 (hildon_banner_show_information)
8301 (hildon_banner_show_information_with_markup):
8302 Don't display an icon by default
8304 2008-06-09 Alejandro G. Castro <alex@igalia.com>
8306 Added fading scrollbars and adapted all the overshooting code to
8307 horizontal scrolling. We have also fixed bugs with overshooting
8308 and current fading implementation.
8310 * src/hildon-pannable-area.c
8311 (hildon_pannable_area_scroll_indicator_fade): Time out function
8312 used to change the transparency of the scrollbars.
8314 (hildon_pannable_area_button_press_cb): Added horizontal overshot
8315 control and fixed a problem with fading, we now remove the fade
8316 timeout before adding a new one.
8318 (hildon_pannable_axis_scroll):
8319 (hildon_pannable_area_scroll):
8320 (hildon_pannable_area_timeout): Added this functions so we can use
8321 the scroll code both for vertical and horizontal.
8323 (hildon_pannable_area_motion_notify_cb):
8324 (hildon_pannable_area_button_release_cb): Added the horizontal
8325 scrolling control, fixed a problem with the overshooting timeout.
8327 (rgb_from_gdkcolor): Added this function, it is used in the cairo
8328 painting of the scrolls.
8330 (hildon_pannable_draw_vscroll):
8331 (hildon_pannable_draw_hscroll):
8332 (hildon_pannable_area_expose_event):
8333 Draw both scrollbars and rectangles in the overshooting area.
8335 (hildon_pannable_area_get_property):
8336 (hildon_pannable_area_set_property):
8337 Modified the overshoot property to overshoot_max
8339 (hildon_pannable_area_map):
8340 Replaced the comments symbols.
8342 (hildon_pannable_area_size_allocate):
8343 (hildon_pannable_area_class_init):
8344 (hildon_pannable_area_init): Added horizontal scroll, fading
8345 effect properties, fixed a problem when overshooting in the bottom
8348 * examples/hildon-pannable-area-example.c:
8349 (get_sawtooth_label): Now we use smaller sawtooths, the effect
8350 looks better in the example.
8352 2008-06-03 Alberto Garcia <agarcia@igalia.com>
8354 * src/hildon-window.c
8355 * src/hildon-window.h
8356 (hildon_window_class_init)
8357 (hildon_window_unset_program)
8358 (hildon_window_unset_program_real):
8359 Make unset_program a virtual function
8361 * src/hildon-stackable-window.c
8362 * src/hildon-stackable-window.h
8363 Added hildon_stackable_window_go_home()
8365 * examples/Makefile.am
8366 * examples/hildon-stackable-window-example.c
8367 HildonStackableWindow example
8369 2008-06-03 Alejandro G. Castro <alex@igalia.com>
8371 * hildon-pannable-area.c: Added the overshoot property and removed
8372 the OVERSHOOT define. Fixed an indent style error.
8373 (hildon_pannable_area_motion_notify_cb):
8374 (hildon_pannable_area_get_property):
8375 (hildon_pannable_area_set_property): Add overshoot property.
8377 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
8380 (hildon_pannable_area_class_init): Installed the new property.
8382 * hildon-pannable-area-example.c: Added a sawtooth function, this
8383 way it is easier to check the movement in the pannable.
8384 (get_sawtooth_label): Added this function.
8385 (main): Now we get the labels from the new get_sawtooth_label
8388 2008-05-26 Alberto Garcia <agarcia@igalia.com>
8390 * src/hildon-app-menu.h
8391 * src/hildon-app-menu.c
8392 Renamed API variables for consistency
8394 (hildon_app_menu_popup): Use also the default window size to
8395 decide where to place the menu
8397 (hildon_app_menu_init, hildon_app_menu_class_init): New
8398 external-border style property
8400 2008-05-26 Michael Natterer <mitch@imendio.com>
8402 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
8403 widget_class->tap_and_hold_setup signal slot doesn't exist any
8404 longer, stop overriding it.
8406 (hildon_time_editor_init): g_signal_connect() to the
8407 tap-and-hold-setup signal instead.
8409 (hildon_time_editor_entry_keypress): add cast to fix warning.
8411 2008-05-23 Alberto Garcia <agarcia@igalia.com>
8413 * doc/hildon-docs.sgml
8415 * examples/Makefile.am
8416 * examples/hildon-app-menu-example.c
8418 * src/hildon-app-menu-private.h
8419 * src/hildon-app-menu.c
8420 * src/hildon-app-menu.h
8422 New HildonAppMenu widget
8424 2008-05-21 Alejandro G. Castro <alex@igalia.com>
8426 Rearranged the inheritance of the pannable area, now it inherits
8427 from GtkBin. This will allow us to control the event_window and
8428 the allocation process of the widget, required for some effects.
8430 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
8431 GtkBin structures. * src/hildon-pannable-area.c: Added the
8432 event_window variable.
8433 (hildon_pannable_area_button_press_cb):
8434 (hildon_pannable_area_button_release_cb):
8435 (hildon_pannable_area_motion_notify_cb):
8436 Changed the signature of the method, now we override the event
8437 callback instead of connecting to the signal.
8439 (hildon_pannable_area_realize):
8440 (hildon_pannable_area_unrealize):
8441 (hildon_pannable_area_map):
8442 (hildon_pannable_area_unmap):
8443 (hildon_pannable_area_size_allocate):
8444 Added functions to control the widget construction. We add a
8445 INPUT_ONLY window and we put it over the widgets inside the
8446 container, this event_window handles the events.
8448 (hildon_pannable_area_class_init):
8449 Replaced the signal connections with overrides of the event
8452 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8454 Bouncing effect added when touching the borders, you can change
8455 the elasticity of the border changing the ELASTICITY define.
8457 * src/hildon-pannable-area.c: Added ELASTICITY define.
8458 (hildon_pannable_area_timeout): Added inverse velocity when
8459 touching the border of the child widget, that causes a bounce.
8461 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8463 Improved performance, we now do not go to the X server in order to
8464 get the list of window children. Apparently the effect is the
8465 same, we have to be careful and check if this breaks something in
8468 * src/hildon-pannable-area.c:
8469 (get_ordered_children): Removed this function.
8470 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
8471 the children windows function with gdk_window_get_children.
8473 2008-05-20 Alejandro G. Castro <alex@igalia.com>
8475 * src/hildon-pannable-area.c:
8476 (hildon_pannable_area_dispose): Fixed a crash when closing the
8477 window and kinetics is activated.
8479 2008-05-19 Alberto Garcia <agarcia@igalia.com>
8481 * src/hildon-pannable-area.h
8482 * src/hildon-pannable-area.c
8483 Changed indentation style to meet the one used in Hildon
8485 2008-05-19 Alejandro G. Castro <alex@igalia.com>
8487 Reviewed the interaction of the AUTO mode, now we use the time
8488 attribute of the events and calculate the velocity in the motion,
8489 doing a gimp like calculation. The velocity is calculated in each
8490 motion event using the last velocity and the current one, the
8491 SMOOTH_FACTOR controls the percentage of the new velocity we use.
8493 * src/hildon-pannable-area.c: Replaced the time based algorithm
8495 (hildon_pannable_area_motion_notify_cb): now we do not launch the
8496 timeout for the AUTO mode when we are still moving the cursor. We
8497 added also the velocity calculation in this function.
8498 (hildon_pannable_area_button_release_cb): launch the timeout in
8499 case we are in AUTO mode. There are still some constants here that
8500 come from the old implementation that should be reviewed and
8503 2008-05-15 Alberto Garcia <agarcia@igalia.com>
8505 * doc/hildon-docs.sgml
8508 * src/hildon-stackable-window.c
8509 * src/hildon-stackable-window.h
8511 New HildonStackableWindow widget
8513 * examples/hildon-dialog-example.c
8514 * examples/hildon-pannable-area-example.c
8517 2008-05-14 Alberto Garcia <agarcia@igalia.com>
8519 * src/hildon-dialog.c
8520 (hildon_dialog_new_with_buttons): New constructor.
8522 * examples/hildon-dialog-example.c
8523 (main): Update the example to use the new
8524 hildon_dialog_new_with_buttons().
8526 * examples/hildon-pannable-area-example.c
8527 (main): Update example.
8529 2008-05-13 Alberto Garcia <agarcia@igalia.com>
8531 * doc/hildon-docs.sgml
8533 Added HildonPannableArea to the documentation.
8535 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
8537 * doc/visual_index.xml
8538 Fix reference to HildonLoginDialog in documentation
8540 * doc/hildon-docs.sgml
8542 * examples/Makefile.am
8543 * examples/hildon-dialog-example.c
8545 * src/hildon-dialog.c
8546 * src/hildon-dialog.h
8548 New HildonDialog widget.
8550 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8552 * src/hildon-pannable-area.c
8553 Merge latest changes (r4318, r4342) from libmokoui trunk
8555 2008-05-09 Alberto Garcia <agarcia@igalia.com>
8557 * examples/Makefile.am
8558 * examples/hildon-pannable-area-example.c
8560 * src/hildon-pannable-area.c
8561 * src/hildon-pannable-area.h
8563 New HildonPannableArea widget.
8565 2008-04-15 18:05:19 <timj@imendio.com>
8567 * src/hildon-banner.c: revert the recent change, that introduced
8568 gtk_window_present() calls. this reopens:
8569 Bug 78481 - [freetest] information banners are hidden under browser menu
8570 But resolves another variant of:
8571 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8573 2008-04-15 13:21:13 <timj@imendio.com>
8575 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
8576 recreated its layout, spotted by Kris. this fixes all remaining
8577 artefacts and stability issues with the banner code. in particular:
8578 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8580 2008-04-14 16:52:59 <timj@imendio.com>
8582 * src/hildon-banner.c: guard force_to_wrap_truncated() against
8583 operating on unrealized widgets, fixes:
8584 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
8586 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
8588 2008-04-09 Kristian Rietveld <kris@imendio.com>
8590 Fixes: NB#77775: Media Player, Save Now playing list, too long name
8591 makes banner disappear.
8592 Fixes: NB#79182: info banner flickering with certain message lengts.
8594 * src/hildon-banner.c (hildon_banner_constructor),
8595 (hildon_banner_init), (hildon_banner_set_text),
8596 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
8597 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
8598 FALSE, reset size requests of label and banner,
8599 (force_to_wrap_truncated): when the text is too wide, always enforce
8600 the maximum possible width instead of recalculating it from the
8601 layout; enforce the maximum banner height of 3 lines,
8602 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
8603 nicer wrapping and no truncated chars if space gets tight.
8605 * src/hildon-banner-private.h: add has_been_wrapped and
8606 has_been_truncated fields.
8608 2008-04-07 Sven Herzberg <sven@imendio.com>
8610 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
8611 local values in hildon_date_editor_size_allocate
8613 * src/hildon-date-editor.c: moved the real allocation code into the
8616 2008-04-07 Sven Herzberg <sven@imendio.com>
8618 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8619 local values in hildon_date_editor_size_allocate
8621 * src/hildon-date-editor.c: merged the two if() branches together
8623 2008-04-07 Sven Herzberg <sven@imendio.com>
8625 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8626 local values in hildon_date_editor_size_allocate
8628 * src/hildon-date-editor.c: changed the arguments of the if()
8631 2008-04-07 Sven Herzberg <sven@imendio.com>
8633 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
8634 local values in hildon_date_editor_size_allocate
8636 * src/hildon-date-editor.c: split the calculation of the allocation
8637 from the real allocation
8639 2008-03-27 Michael Natterer <mitch@imendio.com>
8641 Fixes: NB#81696: The passcode is not overwritten even after
8644 * src/hildon-code-dialog.c
8645 (hildon_code_dialog_button_clicked)
8646 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
8647 because that doesn't overwrite selected text. Instead, emit the
8648 "commit" signal on the entry's im_context so the entry's normal
8649 insert logic is triggered. Set the cursor to the end of the entry
8650 after each insert operation so that we *only* insert in the middle
8651 of the text if something was selected.
8653 2008-03-27 Michael Natterer <mitch@imendio.com>
8655 Enable fixing: NB#79916 and NB#79918: The help topic for Color
8656 selector cannot be opened
8658 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
8659 when the popup color selector is created. Please connect to this
8660 signal in order to set the dialog's help ID.
8662 2008-03-25 Sven Herzberg <sven@imendio.com>
8664 Fixes: MB#1212: Hide info banners (infoprints) on click
8666 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
8667 extracted the close event simulation into an extra function
8668 (hildon_banner_button_press_event): simulate a close event and destroy
8669 the widget if the event wasn't handled
8670 (hildon_banner_class_init): added the button_press_event handler
8671 (hildon_banner_init): added button-press events to the widget
8673 2008-03-25 Sven Herzberg <sven@imendio.com>
8675 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
8676 Patch from: Mohammad Anwari <mdamt@maemo.org>
8678 * src/hildon-banner.c: let the HildonBanners pop up on the left side
8679 instead of the right in RTL mode
8680 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
8681 breadcrumb button list in RTL mode
8682 * src/hildon-caption.c: mirror the appearance of the caption widget in
8684 * src/hildon-date-editor.c: mirror appearance of the date editor in
8686 * src/hildon-time-editor.c: mirror appearance of the time editor in
8688 * src/hildon-window.c: fix the position of the popup in RTL mode
8690 2008-03-25 Sven Herzberg <sven@imendio.com>
8692 Amendment to the fix of NB#22072. Fix compilation.
8694 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
8696 2008-03-19 Sven Herzberg <sven@imendio.com>
8698 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
8701 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
8702 timeout id properly when the timeout will disappear this leaves no
8703 artifacts around in the destroy(); there will only be the timeout
8704 created by hildon_banner_ensure_timeout() and adding a new timeout
8705 will also work if the timeout gets removed because the timeout_handler
8708 2008-03-19 Michael Natterer <mitch@imendio.com>
8710 Fixes: NB#79791: Cannot set focus to Master volume using stylus
8712 * src/hildon-volumebar.c
8713 * src/hildon-vvolumebar.c
8714 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
8715 the widget becomes focussable at all.
8717 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
8718 set the focus to wither the mute button or the volumebar.
8720 Remove own "can-focus" property and instead listen to
8721 notify::can-focus in order to update the widget's state.
8723 Implement GtkWidget::focus() and make sure we can also *leave* the
8724 widget, not only enter it, depending on volumebar orientation and
8725 requested focus direction.
8727 Clean up set_mute() to cooperate nicely with all the above.
8729 2008-03-04 Michael Natterer <mitch@imendio.com>
8731 Fixes: NB#78481: information banners are hidden under browser menu
8733 * src/hildon-banner.c: call gtk_window_present() on the banners so
8734 they are risen if they are already visible.
8736 2008-03-03 Sven Herzberg <sven@imendio.com>
8738 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
8740 * examples/hildon-window-menu-example.c: (main): extended the window
8741 menu example to serve as a testcase for automatically added
8742 accelerator groups, too
8743 * src/hildon-window.c: (hildon_window_add_accel_group),
8744 (hildon_window_set_menu): added patch by Tommi Komulainen
8746 2008-03-03 Sven Herzberg <sven@imendio.com>
8748 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
8750 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
8751 knowledge about the border allocators used within GTK+
8753 2008-02-26 Sven Herzberg <sven@imendio.com>
8755 Fixes: MB#2981: Build with asserts broken
8757 * src/hildon-date-editor.c,
8758 * src/hildon-number-editor.c,
8759 * src/hildon-time-editor.c,
8760 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
8761 the proper GType instance check
8763 2008-02-25 Sven Herzberg <sven@imendio.com>
8765 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
8767 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
8768 * examples/hildon-window-menu-example.c: (main): explicitly show
8770 * src/hildon-window.c:
8771 (hildon_window_set_main_menu): moved most of the code from set_menu()
8772 to this place; skipped the call to gtk_widget_show_all(); also didn't
8773 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
8774 (hildon_window_set_menu): removed most of the code, just keep the
8775 questionable gtk_widget_show_all()
8776 * src/hildon-window.h: added the new function and deprecate the old
8779 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8785 * debian/changelog: Updating.
8787 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
8790 * pkgconfig/Makefile.am:
8791 * pkgconfig/hildon.pc.in:
8794 Do not use PACKAGE_VERSION_MAJOR as the API revision,
8795 use newly created API_MAJOR_VERSION.
8797 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8803 * debian/changelog: Updating.
8805 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
8807 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
8809 Add outer_border style property, we use it but don't define it (!).
8813 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
8815 * examples/hildon-bread-crumb-trail-example.c (main):
8819 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
8821 Fix logic for the bread crumb trail node removal.
8825 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8831 * debian/changelog: Updating.
8833 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8835 Patch by Alejandro to get/set passwords dialogs accesibility.
8837 * hildon-1/src/hildon-get-password-dialog.c:
8838 * hildon-1/src/hildon-set-password-dialog.c:
8839 Set atk_set_name to the passwd entries in order to allow
8840 accessibility by name on this entries.
8842 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8847 * debian/control: Updating gtk dep.
8849 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
8851 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
8852 USE_MAEMO_GTK is enabled.
8854 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
8856 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
8857 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
8859 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8865 * debian/changelog: Updating.
8867 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8869 * examples/Makefile.am:
8870 * examples/hildon-logical-color-example.c:
8871 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
8872 applied + adding a test case. Fixes: NB#71660.
8874 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
8876 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
8877 to be visible, fixes warning on map for windows without toolbars.
8879 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
8881 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
8882 2.11.0, add a check for that besides the MAEMO_GTK check.
8884 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8890 * debian/changelog: Updating.
8892 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8894 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
8895 visibility. Fixes: NB#70842 and MB#615.
8897 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8899 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
8900 set the separator as no-show-all so it doesn't unintentionally appear when
8901 someone does a show_all.
8903 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
8905 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
8906 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
8907 toplevel item. Fixes: NB#62031
8909 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
8911 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
8912 fix the name of the function in the docs.
8914 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8920 * debian/changelog: Updating.
8922 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8924 * examples/hildon-banner-long-example.c: Adding a test-case for long
8927 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
8929 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8931 * src/hildon-color-chooser-dialog.c:
8932 * src/hildon-color-chooser.c:
8933 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
8934 memory leaks in font selector and color selector. Fixes: NB#70499 and
8937 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
8939 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
8941 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8943 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
8944 little bit bigger. Fixes: #NB63694.
8946 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8952 * debian/changelog: Updating.
8954 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8957 * doc/hildon-docs.sgml:
8958 * doc/images/bread-crumb-trail.png:
8959 * doc/images/calendar-popup.png:
8960 * doc/images/caption.png:
8961 * doc/images/code-dialog.png:
8962 * doc/images/color-button.png:
8963 * doc/images/color-chooser-dialog.png:
8964 * doc/images/color-chooser.png:
8965 * doc/images/controlbar.png:
8966 * doc/images/date-editor.png:
8967 * doc/images/font-selection-dialog.png:
8968 * doc/images/get-password-dialog.png:
8969 * doc/images/hvolumebar.png:
8970 * doc/images/login-dialog.png:
8971 * doc/images/note.png:
8972 * doc/images/number-editor.png:
8973 * doc/images/range-editor.png:
8974 * doc/images/seekbar.png:
8975 * doc/images/set-password-dialog.png:
8976 * doc/images/sort-dialog.png:
8977 * doc/images/time-editor.png:
8978 * doc/images/time-picker.png:
8979 * doc/images/vvolumebar.png:
8980 * doc/images/weekday-picker.png: Adding the new generated widget shots.
8981 Adding the bread-crumb-trial and helpers to the documentation.
8983 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8985 * examples/hildon-find-toolbar-example.c:
8986 * src/hildon-find-toolbar.c:
8987 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
8988 actually continue firing the other handlers if connected. Adding a new
8990 hildon_find_toolbar_get_last_index that gets the index of the most
8991 recently added (last) item. Fixes: NB#52301.
8993 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8995 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
8996 behaviour. Fixes: NB#68610.
8998 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9000 * src/hildon-banner.c: Actually reverting the previous change. It somehow
9003 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9005 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
9006 when realizing the banner. Should make the infonbanner effect a bit more
9009 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9011 * src/hildon-volumebar.c:
9012 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
9013 hildon_volumebar_set_range_insensitive_message and
9014 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
9016 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9018 * src/hildon-window.c: Fixing the border freeing on destroy.
9020 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9022 * src/hildon-code-dialog-private.h:
9023 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
9024 kw keyboard support in HildonCodeDialog.
9026 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9032 * debian/changelog: Updating.
9034 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9036 * src/hildon-date-editor.c:
9037 * src/hildon-number-editor.c:
9038 * src/hildon-private.c:
9039 * src/hildon-private.h:
9040 * src/hildon-time-editor.c:
9041 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
9042 handling in subclassed composite widgets. Fixes: NB#66628.
9044 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9046 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
9047 from destroy_ callback as it introduces problems in async dbus signal
9048 handlers. Fixes NB#66673.
9050 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9052 * examples/hildon-hvolumebar-example.c:
9053 * src/hildon-volumebar.c: Improving the focus handling in the
9054 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
9055 set_property accessor so that "mute" property can be actually set. I'm
9056 scared that nobody noticed it's totally broken.
9058 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9060 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
9063 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9065 * src/hildon-calendar.c:
9066 * src/hildon-number-editor.c:
9067 * src/hildon-time-picker.c: Changing the timeout repeat so that it
9068 matches the spec of 6 chars per second. Fixes: NB#60489.
9070 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9072 * src/hildon-helper.c: Really fixing NB#58352. Looks like
9073 gtk_style_lookup_color sometime returns FALSE even though color was
9074 found and values were filled properly. Weird. Removing the warning for the
9077 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9079 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
9080 expand vertically. Adding some extra space to the find toolbar buttons to
9081 make them thumbable. Fixes NB#66060.
9083 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9085 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
9086 popup with "Ok" and "Cancel". Fixes NB#59299.
9088 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9090 * src/hildon-calendar.c: Process all window updates before executing next
9091 timeout. Fixes: NB#54146.
9093 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9099 * debian/changelog: Updating.
9101 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9103 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
9104 the client event and ignore it, since we use the delete event to close
9107 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9109 * src/hildon-helper.c: Remove the bogus warning about color not being
9110 found. Fixes NB#58352.
9112 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9114 * examples/Makefile.am:
9115 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
9116 HildonSeekbar widget inside a toolbar.
9118 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
9120 * src/hildon-banner.c (hildon_banner_init): mark the banners as
9121 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
9122 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
9123 don't want to be closed by non-temporary windows on map.
9125 Also use G_DEFINE_TYPE instead of manually typed code.
9127 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9134 * debian/rules: Updating.
9136 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9138 * examples/Makefile.am:
9139 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
9140 bug NB#61128. Strangely it works.
9142 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9144 * src/hildon-date-editor.c: When the date editor entry has been changed
9145 but the numbers of characters < max, turn off the skip validation flag.
9146 Prevents a situation when we enter first a valid year and later re-write
9147 it with an invalid one. Fixes NB#60154.
9149 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9151 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
9152 code dialog. Fixes NB#64355.
9154 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9156 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
9157 switching the page. Fixes NB#49374.
9159 * examples/Makefile.am:
9160 * examples/hildon-wizard-dialog-example.c: Adding an example for
9161 HildonWizardDialog that shows how to handle manual sensitivity setting on
9164 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9168 * src/hildon-version.h.in:
9169 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
9171 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9173 * src/hildon-volumebar.c: Updating the docs.
9175 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9181 * debian/changelog: Updating.
9183 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9185 * src/hildon-find-toolbar.c:
9186 * src/hildon-find-toolbar.h: Adding a few new functions to control the
9187 selected item: hildon_find_toolbar_set_active,
9188 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
9189 hildon_find_toolbar_get_active_iter . They correspond to respective
9190 GtkComboBox functions.
9192 * examples/Makefile.am:
9193 * examples/hildon-find-toolbar-example.c: Adding the example to test the
9196 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9198 * examples/Makefile.am:
9199 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
9202 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
9203 when font size > 32 and we pack a focusable widget inside. Actually using
9204 the default response would work too, but since we don't show default
9205 response state in any way (no theming) it would not be visible to the
9206 user. Fixes NB#63430.
9208 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9210 * src/hildon-date-editor.c: Adding the missing variable setter in the
9211 set_property handler. Fixes NB#54182.
9213 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9215 * src/hildon-window.h: Changing the long key press time from 1500ms to
9216 800ms as requested in NB#63700. I have a bad feeling about this, let's
9217 see... Fixes NB#63700.
9219 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
9221 * src/hildon-time-picker.c (hildon_time_picker_class_init,
9222 hildon_time_picker_map, hildon_time_picker_realize,
9223 hildon_time_picker_style_set): Split the contents of map to more
9224 appropriate functions; set window decorations on realize and update
9225 arrows' size requisitions on style-set. Avoids unnecessary resizing.
9227 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
9232 * debian/changelog: Updating.
9234 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
9236 * src/Makefile.am: fixed installation of the header files
9238 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9244 * debian/changelog: Updating.
9246 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9248 * configure.ac: Removing some remaining of --enable-xan.
9250 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
9252 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
9253 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
9255 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
9256 2.10.12-osso6 because the move-focus signal needs to be available in
9259 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9261 * examples/Makefile.am:
9262 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
9263 that makes a HildonVolumebar insensitive before mapping it. Seems to work
9264 fine. Prolly NB#61128 is fixed now.
9266 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9268 * src/hildon-volumebar.c:
9269 * src/hildon-volumebar.h: Adding the
9270 hildon_volumebar_set_range_insensitive_message and
9271 hildon_volumebar_set_range_insensitive_messagef functions to set
9272 insensitive message on the slider of the volumebar. Fixes NB#61129.
9274 * examples/Makefile.am:
9275 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
9276 test the new insensitive messsage functionality on HildonVolumebar.
9278 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
9280 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
9283 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
9285 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
9286 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
9287 button on after clearing the trail.
9289 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9291 * src/hildon-code-dialog.c: Removing the separator from the dialog.
9293 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9295 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
9296 by splitting the installed headers in generated and non-generated groups. Use
9297 only the non-generated headers to create the hildon-enum-types.h file.
9299 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
9301 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9303 * src/hildon-window.c: Hide the window before performing the destroy.
9304 Should make the app closing a little tiny bit more snappy.
9306 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
9308 * src/hildon-seekbar.c: add gtkrange.h header
9309 * src/hildon-caption.c: remove unused variable
9311 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
9313 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
9316 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9322 * debian/changelog: Updating.
9324 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
9326 * src/hildon-window.c (hildon_window_window_state_event,
9327 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
9328 escape timeout on focus-out-event rather than notify::is-topmost; the
9329 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
9331 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9333 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
9334 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
9336 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9338 * src/hildon-window: actually, you need to use the macro always, there's
9339 no private pointer in the instance structure. We should have cleaned this up
9340 when we had the chance...
9342 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
9344 * src/hildon-window.c: do not get the private date from HildonWindow before
9345 it passes the g_return_if_fail check. Once it's passed the test, there's no
9346 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
9347 if you are only going to access the data once. Whitespace cleanups.
9349 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
9351 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
9352 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
9354 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9360 * debian/changelog: Updating.
9362 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9364 * src/hildon-window.c: When destroying the window, remove (if exists) the
9365 escape timeout handler. Fixes #NB59276.
9367 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9369 * src/hildon-banner.c: When realizing the widget, set the window
9370 transiency. Setting the transiency in the gobject constructor is not
9371 good, as the widget is not realized at that point. Fixes: #NB56624.
9373 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9375 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
9376 Add padding for future expansions.
9378 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9380 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
9381 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
9382 will fake an activation on the previous to the last item of the trail, so
9383 the effect can be overrided by the developer as usual.
9384 Also change the callback for the back button to do the same thing, so its
9385 effect can be overrided too. Fixes: NB#58982
9387 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9389 * src/hildon-caption.c: Implementing the proper focus grabbing in the
9390 HildonCaption. Fixes NB#52379.
9392 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
9394 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
9395 the internal state of the trail after the user has had the chance of executing
9396 his handler for the signal. Specifically, it may happen that the activated button
9397 is removed and the user still lets the default handler run. This would segfault
9400 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9402 * src/hildon-font-selection-dialog.c: When the font is really big, add the
9403 scrollbar to the preview dialog. Fixes NB#54147.
9405 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9407 * src/hildon-date-editor.c: Changing the default max year to 2037. The
9408 max/min year properties can be altered, so the client can modify it
9409 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
9411 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9413 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
9414 hildonlike by default. Fixing a problem with disappearing arrows when
9415 scrolling through months and years. Fixes NB#54127.
9417 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9419 * examples/hildon-date-editor-example.c: Adding error callback to the date
9422 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9428 * configure.ac: Updating.
9430 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9432 * configure.ac: Adding a special '--enable-xan' configure option that
9433 turns off the -Werror compilation setting. Usefull for development.
9435 * src/hildon-calendar.c:
9436 * src/hildon-number-editor.c:
9437 * src/hildon-time-picker.c: Adding the 5* multiplier to
9440 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
9442 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
9443 instead of g_object_ref + gtk_object_sink.
9445 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9451 * debian/changelog: Updating.
9453 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9455 * src/hildon-color-chooser-dialog.c:
9456 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
9457 straight from Tommi labs.
9459 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9461 * examples/hildon-finger-example.c: Correcting the header file path.
9463 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
9464 the changed signal. Fixes a small memory leak.
9466 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9470 * src/hildon-banner.c: Importing several usefull fixes from the
9471 ubuntu-mobile branch.
9473 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9475 * examples/Makefile.am:
9476 * examples/hildon-finger-example.c: Adding a finger-checking code
9479 * src/hildon-font-selection-dialog.c: Do not allocate the color
9480 structure using the g_new. Fixes NB#54061.
9482 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9484 * src/hildon-helper.c: Correcting tabs in file.
9486 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
9488 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
9489 control the visibility of the children.
9491 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
9493 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9499 * debian/changelog: Updating.
9501 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9503 * src/hildon-bread-crumb-trail.c:
9504 (hildon_bread_crumb_trail_size_allocate):
9506 Make the back button always a square.
9508 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
9510 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
9511 from the .c file as it's a private file.
9513 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9515 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
9516 uses slightly bigger height.
9518 * src/hildon-font-selection-dialog.c: Adding some checks before
9519 freeing memory in the font selection dialog.
9521 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9523 * src/hildon-font-selection-dialog.c: Adding a small check when
9526 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
9527 buttons sensitivity on page switching.
9529 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
9531 * src/hildon-bread-crumb-trail.c: make the add method handle all the
9532 internal details of adding a bread crumb to the trail.
9534 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9540 * debian/changelog: Updating.
9542 * src/hildon-bread-crumb-trail.h:
9543 * src/hildon-bread-crumb.h: Changing the API guard to
9544 HILDON_ENABLE_UNSTABLE_API.
9546 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9554 * src/hildon-helper.h: Updating.
9556 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9564 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9568 * src/hildon-helper.h: Small fix to make the package actually compile.
9570 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9572 * src/hildon-bread-crumb-trail.h:
9573 * src/hildon-bread-crumb.h:
9575 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
9576 to define ENABLE_UNSTABLE_API in the code that includes these headers.
9578 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
9580 * examples/hildon-bread-crumb-trail-example.c:
9582 * src/hildon-bread-crumb-trail.c:
9583 * src/hildon-bread-crumb-trail.h:
9584 * src/hildon-bread-crumb.c:
9585 * src/hildon-bread-crumb.h:
9586 * src/hildon-marshalers.list:
9587 * src/hildon-bread-crumb-widget.c:
9588 * src/hildon-bread-crumb-widget.h:
9590 Slight change in the widget design. The bread crumb trail API is
9591 unchanged, but HildonBreadCrumb is now an interface. A *private*
9592 implementation, hildon-bread-crumb-widget, is provided and used
9593 internally by the trail for the push_text/push_icon functions.
9595 The generic push API is still available, so anyone can implement
9596 and use its own bread crumb widget.
9598 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9600 * debian/rules: Fixing the shlibs.
9602 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9604 * src/hildon-banner.c: Fixing a problem with timed banners having
9605 their parrent destroyed before they are.
9607 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
9609 * src/hildon-bread-crumb.c:
9610 * src/hildon-bread-crumb.h:
9612 Make the get_natural_size function a vfunc.
9614 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9616 * src/hildon-bread-crumb.c:
9617 * src/hildon-bread-crumb-trail.c:
9621 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9628 * debian/changelog: Updating for release.
9630 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9632 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
9633 don't leak the pango layout.
9635 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
9638 * examples/hildon-bread-crumb-trail-example.c:
9642 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9644 * debian/changelog: Removing the bug-fixed entries that were actually
9645 resolved as WONTFIX.
9647 * src/hildon-date-editor.c: Removing a redundant check. Fixes
9650 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9652 * src/hildon-bread-crumb-trail.c:
9653 * src/hildon-bread-crumb-trail.h:
9654 * src/hildon-bread-crumb.c:
9655 * src/hildon-bread-crumb.h:
9659 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
9661 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
9662 until it's passed the type check.
9664 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9666 * examples/hildon-bread-crumb-trail-example.c
9670 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
9672 * examples/Makefile.am
9673 * examples/hildon-bread-crumb-trail-example.c
9675 * src/hildon-bread-crumb-trail.c
9676 * src/hildon-bread-crumb-trail.h
9677 * src/hildon-bread-crumb.c
9678 * src/hildon-bread-crumb.h
9680 New HildonBreadCrumbTrail widget.
9682 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
9684 * src/hildon-range-editor.c (hildon_range_editor_init),
9685 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
9686 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
9687 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
9688 hildon_time_editor_class_init, hildon_time_editor_init),
9689 src/hildon-get-password-dialog.c (invalid_input,
9690 hildon_get_password_set_property, hildon_get_password_get_property,
9691 create_contents, hildon_get_password_dialog_set_max_characters),
9692 src/hildon-set-password-dialog.c (create_contents),
9693 src/hildon-date-editor.c (hildon_date_editor_init),
9694 src/hildon-login-dialog.c (hildon_login_dialog_init),
9695 src/hildon-number-editor.c (hildon_number_editor_init),
9696 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
9697 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
9698 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
9699 configure option and adding the respective checks in the code.
9700 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
9701 hildon_calendar_drag_data_received): fixed some build warnings.
9703 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
9705 * debian/changelog: A 1.0.0 release notes.