1 2009-04-28 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-color-chooser.c (hildon_color_chooser_set_color): Add
6 2009-04-28 Alejandro Pinheiro <apinheiro@igalia.com>
8 * src/hildon-time-selector.h:
9 Added HildonTimeSelectorFormatPolicy
10 * src/hildon-time-selector.c:
11 Added PROP_TIME_FORMAT_POLICY
12 (_check_ampm_format): renamed to check_automatic_ampm_format
13 (update_format_policy), (update_format_dependant_columns): new functions
14 (hildon_time_selector_class_init)
15 (hildon_time_selector_contructor)
16 (hildon_time_selector_init)
17 (hildon_time_selector_get_property)
18 (hildon_time_selector_set_property)
19 (hildon_time_selector_get_time)
20 (hildon_time_selector_set_time)
21 * src/hildon-touch-selector.h: new file
22 * src/hildon-touch-selector.c
23 (hildon_touch_selector_emit_changed)
24 (hildon_touch_selector_block_changed)
25 (hildon_touch_selector_unblock_changed)
26 Added functions to allow to block the emission of the "changed" signal
27 * src/hildon-picker-dialog.c
28 (hildon_picker_dialog_show): call the parent show before the custom code
29 * examples/hildon-time-button-example.c
30 Modified, so now you can configure the time format using the new property
32 Added a new property "time-format-policy" that allow to choose the time
33 format: AM/PM, 24H or AUTOMATIC. AUTOMATIC is the default one. In this
34 case it uses gconf in order to check if the time selector must use
37 Fixes: NB#111606 (HildonTimeSelector should expose API to set/unset am/pm
40 2009-04-28 Alberto Garcia <agarcia@igalia.com>
42 * src/hildon-note.c (hildon_note_init):
43 Label in HildonNote must be left aligned, not centered. This
44 reverts the last commit in HildonNote.
46 Fixes: NB#112933 (text is not left aligned in confirmation dialog
47 is connectivity dialog)
49 2009-04-27 Alberto Garcia <agarcia@igalia.com>
54 * doc/hildon-sections.txt:
55 Added hildon_gtk_window_set_do_not_disturb()
57 2009-04-27 Alberto Garcia <agarcia@igalia.com>
59 * src/hildon-note.c (hildon_note_init): Center label.
61 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
64 2009-04-27 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: Bump version.
70 * debian/changelog: Updates.
72 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
74 * src/hildon-note-private.h: Add button-width to the private data.
75 * src/hildon-note.c (+resize_button),
76 (+hildon_note_orientation_update): methods to repack widgets on orientation
78 (screen_size_changed): Call above method for confirmation notes.
79 (hildon_note_realize): Always connect to the "screen-size" changed signal.
80 (hildon_note_rebuild): Store the original width request from buttons.
82 Fixes: NB#109635 (Confirmation notes do not support portrait)
84 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-note.c (hildon_note_rebuild): Only set the double spacing
87 when it is a progress note.
89 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
91 * src/hildon-note.c (hildon_note_rebuild): Do not use a GtkHBox
92 in the note, since there are no horizontally arranged contents.
94 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
96 * src/hildon-gtk.c (+set_flag): new generic method to
97 set/delay a flag setting in a window.
98 (hildon_gtk_window_set_progress_indicator):
99 (hildon_gtk_window_set_do_not_disturb),
100 (hildon_gtk_window_set_portrait_flags): use set_flag() to
101 avoid code redundance.
103 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
105 Based on a patch by Alberto Garcia (agarcia@igalia.com)
107 * src/hildon-gtk.c (set_clear_window_flag),
108 (do_set_progress_indicator), (do_set_do_not_disturb),
109 (do_set_portrait_flags),
110 (hildon_gtk_window_set_progress_indicator),
111 (hildon_gtk_window_set_do_not_disturb),
112 (hildon_gtk_window_set_portrait_flags):
113 Allow setting dnd-flag, progress indicator, and portrait flags
114 when the window is not realized.
116 2009-04-24 Alejandro G. Castro <alex@igalia.com>
118 * src/hildon-pannable-area.c,
119 * src/hildon-pannable-area.h: Add the hildon deprecated define to
120 the size request policy function and defines.
122 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
124 * doc/hildon-sections.txt: Add the new API.
125 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
126 method to set the portrait flags.
127 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
129 Fixes: NB#112328 (Adding helpers for setting portrait properties)
131 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
133 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
134 to allow using this method with other flags.
135 (hildon_gtk_window_set_progress_indicator): Update accordingly.
136 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
138 2009-04-22 Alberto Garcia <agarcia@igalia.com>
140 * src/hildon-touch-selector.c
141 (hildon_touch_selector_append_text_column):
142 Make the cell renderer use the smallest width possible.
144 Fixes: NB#108470 (Selected items in multiple selection are either
145 having a tick that is cut or not visible at all.)
147 2009-04-22 Alberto Garcia <agarcia@igalia.com>
149 * src/hildon-touch-selector.c
150 (hildon_touch_selector_append_text_column):
153 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
155 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
156 Use g_strdup_printf() instead of a fixed size buffer.
158 2009-04-21 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
161 Close banners when a HildonAppMenu is popped up.
163 Fixes: NB#111027 (Title menu closed immediately if activated when
164 "Invalid e-mail address" banner is shown)
166 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
171 * configure.ac: Bump version.
172 * debian/changelog: Updates.
174 2009-04-20 Alberto Garcia <agarcia@igalia.com>
176 * src/hildon-banner.c (hildon_banner_realize):
177 Mark HildonBanner as supporting portrait mode.
178 Use GDK to set window properties insetad of direct Xlib calls.
180 Fixes: NB#111830 (HildonBanner should be marked as supporting
183 2009-04-20 Alberto Garcia <agarcia@igalia.com>
185 * src/hildon-note.c (hildon_note_rebuild):
186 Hide action area in information notes. Prevents text from being
187 slightly aligned to the left.
189 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
192 2009-04-20 Alberto Garcia <agarcia@igalia.com>
194 Patch by Mox Soini (ext-mox.soini@nokia.com)
196 * src/hildon-banner.c (hildon_banner_create_animation):
197 Use stylus-sized icons in animation banner.
199 Fixes: NB#111206 (stylus sized icon for animation banner)
201 2009-04-20 Alberto Garcia <agarcia@igalia.com>
205 (+hildon_gtk_window_set_do_not_disturb):
206 New API to set the do-not-disturb flag.
208 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
210 2009-04-20 Alberto Garcia <agarcia@igalia.com>
212 * examples/hildon-progress-indicator-example.c: Fix example
214 * src/hildon-gtk.c (set_clear_window_flag)
215 (hildon_gtk_window_set_progress_indicator):
216 Create a generic function for setting flags to a window.
217 Use GDK instead of direct Xlib calls.
219 2009-04-14 Alberto Garcia <agarcia@igalia.com>
221 * src/hildon-button.c (hildon_button_set_arrangement):
222 Due to NB#88126, if one of the labels is too long it will be
223 painted outside the button. The 'value' label is more likely to be
224 the longest one, so we change its packing options in order to
225 truncate it if necessary. As a side effect, the 'title' label will
226 no longer be truncated.
228 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
230 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
235 * configure.ac: Bump version.
236 * debian/changelog: Updates.
238 2009-04-13 Alejandro G. Castro <alex@igalia.com>
240 Deprecation of the hildon_pannable_area_set_size_request_policy
241 API, the only policy properly supported in gtk+ nowadays is the
244 * src/hildon-pannable-area.c,
245 (hildon_pannable_area_size_request): Added a workaround for the
246 size_request to avoid the problems of huge pixmaps in case someone
247 is still using the function.
248 * src/hildon-pannable-area.h: Deprecated the enum with the
251 Fixes: NB#110244 (Problems with the
252 hildon_pannable_area_set_size_request_policy API)
254 2009-04-08 Alejandro G. Castro <alex@igalia.com>
256 * src/hildon-pannable-area.c,
257 (hildon_pannable_area_init),
258 (hildon_pannable_area_size_request),
259 (hildon_pannable_area_style_set),
260 (hildon_pannable_draw_vscroll),
261 (hildon_pannable_draw_hscroll),
262 (hildon_pannable_area_check_scrollbars): Replaced area_width with
263 indicator_width to clarify the use of the attribute.
265 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
270 * configure.ac: Bump version.
271 * debian/changelog: Updates.
273 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
275 * src/hildon-picker-dialog.c
276 * src/hildon-touch-selector.c
277 Reverting the change that tried to avoid the hardcoded height on
278 the picker dialog, as causes problems on the hildon-touch-selector
281 Fixes: NB#110029 (selectors not scrolling to selected value)
283 2009-04-07 Alberto Garcia <agarcia@igalia.com>
285 * src/hildon-touch-selector.c: Fix typos
287 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
289 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
290 Use the event coordinates instead of gdk_window_get_pointer(). Also,
291 request more motions after using it.
293 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
295 * src/hildon-calendar.c (hildon_calendar_expose),
296 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
297 Remove unused variables.
299 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
301 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
304 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
306 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
307 Check the return value of gtk_tree_selection_get_selected()
310 2009-04-06 Alberto Garcia <agarcia@igalia.com>
312 * src/hildon-animation-actor.c
313 * src/hildon-button.c
315 * src/hildon-pannable-area.c
316 * src/hildon-picker-button.c
317 * src/hildon-program.c
318 * src/hildon-remote-texture.c
319 * src/hildon-text-view.c
320 * src/hildon-touch-selector.c
321 * src/hildon-window-stack.c
322 * src/hildon-window.c:
323 Add missing 'Since: 2.2' tags.
325 * doc/hildon-sections.txt:
326 Add some missing symbols.
328 * doc/hildon-docs.sgml:
329 New 'Other' section for HildonAnimationActor and
332 2009-04-06 Alberto Garcia <agarcia@igalia.com>
334 Patch by Iván Gómez (igomez@igalia.com)
338 * doc/hildon-docs.sgml
339 * doc/hildon-sections.txt
343 New chapters on using the Hildon library.
344 Updated the general structure of the reference manual.
345 Other minor documentation fixes.
347 * src/hildon-calendar-popup.c
348 * src/hildon-calendar.c
349 * src/hildon-controlbar.c
350 * src/hildon-date-editor.c
351 * src/hildon-dialog.c
352 * src/hildon-hvolumebar.c
353 * src/hildon-number-editor.c
354 * src/hildon-range-editor.c
355 * src/hildon-sort-dialog.c
356 * src/hildon-time-editor.c
357 * src/hildon-time-picker.c
358 * src/hildon-volumebar-range.c
359 * src/hildon-volumebar.c
360 * src/hildon-vvolumebar.c
361 * src/hildon-weekday-picker.c:
362 Add deprecation notes
364 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
365 Document 'horizontal-movement' and 'vertical-movement' signals.
367 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
372 * configure.ac: Bump version.
373 * debian/changelog: Updates.
375 2009-04-06 Alejandro G. Castro <alex@igalia.com>
377 * src/hildon-pannable-area.c,
378 (hildon_pannable_area_class_init): increased the minimum velocity.
379 (hildon_pannable_area_button_release_cb): Updated the
380 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
381 setup. Review the code to control that last event.
383 Fixes: NB#109790 (Releasing finger in pannable area easily causes
386 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
388 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
390 * src/hildon-get-password-dialog.c
391 (hildon_get_password_set_property),
392 (hildon_get_password_get_property), (create_contents):
393 * src/hildon-login-dialog-private.h:
394 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
395 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
396 (hildon_login_dialog_get_password):
397 * src/hildon-set-password-dialog-private.h:
398 * src/hildon-set-password-dialog.c
399 (hildon_set_password_set_property),
400 (hildon_set_password_get_property), (create_contents),
401 (hildon_set_password_response_change),
402 (hildon_set_password_response_set), (hildon_checkbox_toggled):
404 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
405 instead and look more Fremantle style.
407 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
409 2009-04-03 Alberto Garcia <agarcia@igalia.com>
411 * doc/hildon-sections.txt
412 * src/hildon-window-stack.h
413 * src/hildon-window-stack.c
414 (+hildon_window_stack_get_windows):
415 New API to obtain the list of windows on a stack.
417 2009-04-02 Alberto Garcia <agarcia@igalia.com>
419 * src/hildon-app-menu.c (hildon_app_menu_popup)
420 (hildon_app_menu_class_init, -hildon_app_menu_show):
421 Remove hildon_app_menu_show() and move all its checks to
422 hildon_app_menu_popup()
424 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
426 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
427 (_hildon_picker_dialog_set_selector): removed call to
428 gtk_widget_set_size_request
429 * src/hildon-touch-selector.c
430 (_create_new_column): change the pannable size request policy
432 Avoid to use a hardcoded height for the hildon picker dialog. In order
433 to get that, we needed to change the hildon pannable size request
435 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
437 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
439 * src/hildon-window.c (hildon_window_map): Check for vbox to be
440 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
443 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
445 * debian/control: Depend on osso-system-lock localization package.
446 * src/hildon-code-dialog.c: Obtain the secu_application_title
447 translation from osso-system-lock.
448 * src/hildon-get-password-dialog.c (create_contents): Do not mark
449 for translation the atk related strings, that's not necessary.
450 * src/hildon-set-password-dialog.c (create_contents): Ditto.
451 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
452 cancel button, it is not required.
454 2009-04-02 Alejandro G. Castro <alex@igalia.com>
456 * src/hildon-pannable-area.c,
457 (hildon_pannable_area_class_init): Modified the default value of
458 the overshooting max speed, we have reduced it.
460 2009-04-02 Alberto Garcia <agarcia@igalia.com>
462 * doc/hildon-sections.txt
463 * src/hildon-window-private.h
464 * src/hildon-window.h
465 * src/hildon-window.c (hildon_window_class_init)
466 (hildon_window_init, hildon_window_finalize)
467 (hildon_window_realize, hildon_window_get_property)
468 (hildon_window_set_property, hildon_window_update_markup)
469 (hildon_window_get_markup, hildon_window_set_markup):
470 New "markup" property and hildon_window_{get,set}_markup() methods.
472 * examples/hildon-stackable-window-example.c (new_window):
473 Update example to use hildon_window_set_markup()
475 Fixes: NB#106375 (Need API to retitle a window with a title
478 2009-04-01 Alejandro G. Castro <alex@igalia.com>
480 * src/hildon-pannable-area.c,
481 (hildon_pannable_area_class_init): Changed the default value of
482 the initial_hint to TRUE.
483 (hildon_pannable_area_initial_effect): Changed the initial effect,
484 not the effect is just the fade-out of the scrollbars.
486 Fixes: NB#107775 (No scrollbars can be seen when several items are
487 available in a dialog)
489 2009-04-01 Alberto Garcia <agarcia@igalia.com>
491 * src/hildon-program.c (hildon_program_update_top_most):
494 Fixes: NB#109179 (Memory leak in Hildon program)
496 2009-04-01 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-banner.c (-get_current_app_window):
499 Remove unused function.
501 2009-04-01 Alejandro G. Castro <alex@igalia.com>
503 * src/hildon-pannable-area.c: Modified the documentation of the
504 get adjustments functions to explain the problem of using the
506 (hildon_pannable_area_class_init): Improved the explanation about
509 2009-04-01 Alberto Garcia <agarcia@igalia.com>
511 * src/hildon-app-menu-private.h
512 * src/hildon-app-menu.c
513 (hildon_app_menu_class_init):
514 Bring back the 'external-border' style property
515 (hildon_app_menu_class_init, hildon_app_menu_init)
516 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
517 Set a fixed width-request for the menu, independent of the number
520 Fixes: NB#94957 (Smoothly opened application menu)
522 2009-03-30 Alberto Garcia <agarcia@igalia.com>
524 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
526 * src/hildon-banner.c
527 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
529 Make sure that the banner is correctly placed the first time it's
531 (hildon_banner_check_position, -check_fullscreen_state):
532 Show the banner in the same place no matter if the window is in
533 fullscreen mode or not.
535 Fixes: NB#107386 (Odd stacking behaviour for information banners)
537 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
539 * src/hildon-touch-selector.c (_default_print_func): reorder
540 concatenation for clarity.
542 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
544 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
545 for multicolumn selectors.
547 Fixes: NB#109099 (Memory leak in Hildon touch selector)
549 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
554 * configure.ac: Bump version.
555 * debian/changelog: Updates.
557 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
559 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
562 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
564 * configure.ac: removed libcangerra-gtk dependency
565 * debian/control: removed libcanberra-gtk dependency
566 * src/Makefile.am: removed libcanberra gtk related flags
567 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
568 context, and manage a global canberra context instead
570 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
572 2009-03-26 Alberto Garcia <agarcia@igalia.com>
574 Patch by Daniel Borgmann (danielb@openismus.com)
576 * src/hildon-edit-toolbar.c:
577 Adjust the left padding.
578 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
579 Paint background of the edit toolbar.
581 Fixes: NB#107897 (Patch to make editmodetoolbar background
582 themeable and adjust margin)
584 2009-03-25 Alberto Garcia <agarcia@igalia.com>
586 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
588 * src/hildon-program.c (hildon_program_update_top_most):
589 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
591 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
592 change when the user tasks in/out of an application)
594 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
596 * configure.ac: added libcangerra-gtk dependency
597 * debian/control: added libcanberra-gtk dependency
598 * src/Makefile.am: added libcanberra gtk related flags
599 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
602 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
604 2009-03-25 Alberto Garcia <agarcia@igalia.com>
606 * src/hildon-program.c (hildon_program_remove_window)
607 (hildon_program_add_window): Add checks for the window
608 parameter. Don't decrease the window counter if the window is not
611 2009-03-24 Alejandro G. Castro <alex@igalia.com>
613 * src/hildon-pannable-area.c,
614 (hildon_pannable_area_realize): Fixed position of the event_window
615 in the realize method.
617 2009-03-24 Alberto Garcia <agarcia@igalia.com>
619 * src/hildon-app-menu-private.h
620 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
621 (hildon_app_menu_map, hildon_app_menu_hide_idle)
622 (hildon_app_menu_key_press, hildon_app_menu_init)
623 (hildon_app_menu_finalize):
624 Make sure that all idle functions are removed when the widget is
627 Fixes: NB#107583 (Hildon app menu crashes in various applications)
629 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: Bump version.
635 * debian/changelog: Updates.
637 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
640 (+hildon_entry_show_placeholder),
641 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
642 that replace hildon_entry_update_contents().
643 (hildon_entry_set_text),
644 (hildon_entry_set_placeholder),
645 (hildon_entry_focus_in_event),
646 (hildon_entry_focus_out_event): Determine when it is needed
647 either to show or hide the placeholder and call the above methods.
649 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
650 when the placeholder text is already set)
652 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
654 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
655 simple GdkPixbufAnim using the new icons for the banner.
656 (hildon_banner_show_animation): Use the above mentioned method to
657 create the animation widget.
659 Fixes: NB#103564 (Make hildon animation banner use individual
660 image files as the animation)
662 2009-03-24 Alejandro G. Castro <alex@igalia.com>
664 * src/hildon-pannable-area.c,
665 (hildon_pannable_leave_notify_event): Check if the child is NULL
666 to avoid sending the leave.
668 2009-03-24 Alejandro G. Castro <alex@igalia.com>
670 * src/hildon-pannable-area.c,
671 (hildon_pannable_area_class_init),
672 (hildon_pannable_leave_notify_event): Added a handler of the
673 leave-notify-signal to consider when no motion notify before
676 Fixes: NB#107494 (Items stay selected when clicking and moving
677 away when inside pannable area)
679 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
684 * configure.ac: Bump version.
685 * debian/changelog: Updates.
687 2009-03-19 Alejandro G. Castro <alex@igalia.com>
689 Patch by Alberto Garcia (agarcia@igalia.com)
691 * src/hildon-date-button.c,
692 (hildon_date_button_class_init),
693 (hildon_date_button_init): Removed the construct property handling
694 and created a default selector in the init method.
695 * src/hildon-picker-button.c,
696 (hildon_picker_button_class_init): Removed the construct flag of the
699 2009-03-18 Alberto Garcia <agarcia@igalia.com>
701 * src/hildon-main.c (hildon_init):
702 Don't allow hildon_init() to be called more than once.
704 Fixes: NB#106607 (hildon_init should issue error message upon
707 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
709 * examples/hildon-pannable-area-touch-list-example.c
710 * examples/hildon-pannagle-area-touch-grid-example.c
711 * examples/hildon-edit-toolbar-example.c
712 * examples/hildon-touch-selector-multi-cells-example.c
713 Removed the call to gtk_rc_parse_string, as it is not required since
716 2009-03-17 Alejandro G. Castro <alex@igalia.com>
718 * src/hildon-pannable-area.c,
719 (hildon_pannable_area_class_init): Modified the default panning
720 threshold of the widget to 6px.
722 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
723 than the threshold value ) within the button is not sending the
726 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
728 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
729 for the treeview in the new column. This way, the touch list will never
732 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
733 be selected manually for the HW keys to work)
735 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
737 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
738 comparison instead of using strcmp(). Fixes a compiler warning as well.
740 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
742 * doc/hildon-docs.sgml: Do not set the library version in the
743 document title, use the releaseinfo tag for that purpose instead.
745 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
747 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
748 Do not jump to the first item if the text in the entry is removed.
750 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
755 * configure.ac: Bump version.
756 * debian/changelog: Updates.
758 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
760 * src/hildon-entry.c (hildon_entry_refresh_contents):
761 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
762 Use "ReversedSecondaryTextColor" for the placeholder text.
764 2009-03-12 Alberto Garcia <agarcia@igalia.com>
766 * src/hildon-text-view.c: Fix compilation warning.
768 2009-03-12 Alberto Garcia <agarcia@igalia.com>
770 * src/hildon-button.c (hildon_button_class_init): Don't make
771 "title" and "value" construction properties, to prevent them from
772 overwriting labels set from derived classes.
774 * src/hildon-picker-button.c
775 (hildon_picker_button_set_selector): Allow setting a NULL selector.
776 (hildon_picker_button_class_init): Make touch-selector a
777 construction property.
779 * src/hildon-date-button.c (hildon_date_button_class_init)
780 (+hildon_date_button_constructed): Add a default date selector if
783 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-touch-selector.c: Small documentation fixes.
787 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
789 Based on a patch by Daniel Borgmann (danielb@openismus.com)
791 * src/hildon-entry.c (hildon_entry_refresh_contents),
792 (hildon_entry_get_text), (hildon_entry_init): Do not use the
793 widget name, set the logical color directly instead and a boolean
794 showing_placeholder instead.
795 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
796 use the widget name here either.
798 Fixes: NB#105678 (HildonTextView should use logical colours
799 instead of setting widget name)
801 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
803 Patch by Daniel Elster (danielk@openismus.com)
805 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
806 Add user_data parameter.
807 (hildon_touch_selector_set_print_func_full): New function akin
808 hildon_touch_selector_set_print_func() but with support for user
809 data and a destroy callback.
810 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
811 to clean up the print function user data.
812 (hildon_touch_selector_class_init): Install dispose function.
813 (HildonTouchSelectorPrivate::print_user_data),
814 (HildonTouchSelectorPrivate::print_destroy_func): New private
816 (hildon_touch_selector_init): Initialize new private members.
817 (hildon_touch_selector_get_current_text): Pass along user data
818 to the print function.
819 (_default_print_func): Add dummy user_data to parameter list.
820 * hildon-date-selector.c (_custom_print_func): ditto,
821 * hildon-time-selector.c (_custom_print_func): ditto,
822 * hildon-touch-selector-entry.c
823 (hildon_touch_selector_entry_print_func): ditto.
825 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
827 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
829 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
831 2009-03-12 Alejandro G. Castro <alex@igalia.com>
833 * src/hildon-pannable-area.c,
834 (hildon_pannable_area_init),
835 (hildon_pannable_area_button_press_cb),
836 (hildon_pannable_area_motion_notify_cb): We have added code to
837 handle the leave and enter events when using the motion events.
839 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
841 2009-03-11 Alberto Garcia <agarcia@igalia.com>
843 * src/hildon-date-button.c (hildon_date_button_get_date)
844 (hildon_date_button_set_date): Make sure that the button has a
847 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
849 2009-03-11 Alejandro G. Castro <alex@igalia.com>
851 * src/hildon-pannable-area.c,
852 (hildon_pannable_area_class_init),
853 (hildon_pannable_area_calculate_velocity): Modify the use of the
854 force and adapt the value.
856 2009-03-10 Alberto Garcia <agarcia@igalia.com>
858 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
859 (hildon_app_menu_class_init): Hide the menu if it receives a
860 delete-event, but don't destroy it
862 Fixes: NB#104485 (Not able to address the call when application
863 menu is opened at background)
865 2009-03-10 Alberto Garcia <agarcia@igalia.com>
867 * src/hildon-app-menu.c
868 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
869 Remove the "external-border" style property, let the menu take its
870 natural size (or the one set by the window manager)
871 (hildon_app_menu_repack_items):
872 Don't reshow the menu, avoid flickers.
874 Partially fixes NB#94957 (Smoothly opened application menu)
876 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
881 * configure.ac: Bump version.
882 * debian/changelog: Updates.
884 2009-03-10 Alejandro G. Castro <alex@igalia.com>
886 * src/hildon-pannable-area.c,
887 (hildon_pannable_area_motion_notify_cb): We control that the
888 direction error margin is used just in case the movement is
889 allowed in the other direction.
891 Fixes: NB#105012 (buttons inside a pannable area not getting
892 release event when dragging/releasing)
894 2009-03-10 Alejandro G. Castro <alex@igalia.com>
896 * src/hildon-pannable-area.c,
897 (hildon_pannable_area_class_init),
898 (hildon_pannable_area_get_property),
899 (hildon_pannable_area_set_property),
900 (hildon_pannable_area_initial_effect),
901 (hildon_pannable_axis_scroll),
902 (hildon_pannable_area_button_release_cb): Reviewed the
903 overshooting effect, now it has its own max
904 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
907 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
912 * configure.ac: Bump version.
913 * debian/changelog: Updates.
915 2009-03-09 Alejandro G. Castro <alex@igalia.com>
917 * src/hildon-pannable-area.c,
918 (hildon_pannable_area_class_init): Changed the max speed, now
919 users can launch the widget very fast. Reduced the default force,
920 that way it is easier to control the launch speed.
922 2009-03-09 Alejandro G. Castro <alex@igalia.com>
924 * src/hildon-pannable-area.c,
925 (hildon_pannable_area_button_release_cb): Removed this check
926 because it causes problems when the device is overloaded.
928 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
931 add a current_text field to store the text entered in the
932 touch selector entry.
933 (_clean_current_selection): clean up the current text as well.
934 (_save_current_selection), (_restore_current_selection):
935 Save/restore the text in the entry if the selector is a
936 HildonTouchSelectorEntry.
938 Fixes: NB#102541 (value entered in the touch selector entry is not
939 shown when opened for second time)
941 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
943 * doc/hildon-sections.txt:
944 * src/hildon-touch-selector-entry.c
945 (+hildon_touch_selector_entry_get_entry):
946 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
948 Fixes: NB#104815 (I need accessor to the entry inside
949 HildonTouchSelectorEntry)
951 2009-03-06 Alberto Garcia <agarcia@igalia.com>
953 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
954 (hildon_app_menu_class_init):
955 New "filter-vertical-spacing" style property.
957 2009-03-06 Alberto Garcia <agarcia@igalia.com>
959 * src/hildon-find-toolbar.c
960 (hildon_find_toolbar_emit_close)
961 (hildon_find_toolbar_emit_invalid_input)
962 (hildon_find_toolbar_entry_activate):
963 Use g_signal_emit() instead of g_signal_emit_by_name()
965 2009-03-06 Alberto Garcia <agarcia@igalia.com>
967 Patch by Mox Soini (ext-mox.soini@nokia.com)
969 * tests/TEST-CASES.txt
970 * tests/check-hildon-banner.c
971 * tests/check-hildon-note.c
972 * src/hildon-banner.c
973 * src/hildon-code-dialog.c
974 * src/hildon-date-editor.c (real_set_calendar_icon_state)
975 * src/hildon-time-editor.c
976 * examples/hildon-lookup-example.c (main):
977 Replace obsolete icon names with new ones.
979 * src/hildon-find-toolbar-private.h:
980 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
981 (-hildon_find_toolbar_emit_search):
982 Remove find button and change icon of close button.
984 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
986 2009-03-05 Alberto Garcia <agarcia@igalia.com>
988 * src/hildon-time-button.c (hildon_time_button_new_step):
989 Use the "touch-selector" property to set the selector directly
990 when creating the object.
992 2009-03-05 Alejandro G. Castro <alex@igalia.com>
994 Added a new example application that allows tuning the pannable
995 area and replaced defines with properties in order to simplify the
996 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
997 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
998 PROP_DIRECTION_ERROR_MARGIN.
1000 * examples/hildon-pannable-area-tuning-example.c: New example
1002 * src/hildon-pannable-area.c,
1003 (hildon_pannable_area_class_init),
1004 (hildon_pannable_area_init),
1005 (hildon_pannable_area_get_property),
1006 (hildon_pannable_area_set_property),
1007 (hildon_pannable_area_launch_fade_timeout),
1008 (hildon_pannable_area_adjust_value_changed),
1009 (hildon_pannable_axis_scroll),
1010 (hildon_pannable_area_motion_notify_cb),
1011 (hildon_pannable_area_scroll_cb),
1012 (hildon_pannable_area_button_release_cb): We have converted some
1013 of the defines that control the widget to properties to simplify
1016 2009-03-05 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-app-menu.c (hildon_app_menu_map)
1019 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
1020 so it's closed if a new window appears.
1022 Fixes: NB#104485 (Not able to address the call when application
1023 menu is opened at background)
1025 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1027 * src/hildon-color-button.c (hildon_color_button_get_property):Add
1028 missing 'break' statement in in 'case' construct to avoid
1031 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1033 * src/hildon-touch-selector-entry.c
1034 (hildon_touch_selector_entry_get_property),
1035 (hildon_touch_selector_entry_set_property): Add missing 'break'
1036 statements in in 'case' constructs to avoid incorrect warnings.
1038 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1040 * src/hildon-time-editor.c
1041 (hildon_time_editor_get_time_separators): Do not crash if
1042 the first label is NULL.
1044 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
1046 * src/hildon-date-selector.c (_month_days): Check for month to be
1047 strictly less than 12, since otherwise we may overrun the array.
1049 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1051 * src/hildon-date-button.c (+hildon_date_button_new_full)
1052 (hildon_date_button_new, hildon_date_button_new_with_year_range)
1053 (hildon_date_button_init): Set the date selector using a
1054 construction property, to make it happen after HildonButton's
1055 "value" property is set.
1057 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
1058 current date by default)
1060 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1062 * doc/hildon-sections.txt
1063 * src/hildon-program.c
1064 * src/hildon-stackable-window.c
1065 * src/hildon-window.c:
1066 Documentation updates
1068 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-window-stack.c (hildon_window_stack_get_default)
1071 (hildon_window_stack_new, +hildon_window_stack_set_property)
1072 (+hildon_window_stack_get_property)
1073 (hildon_window_stack_class_init)
1074 (+hildon_window_stack_set_window_group)
1075 (+hildon_window_stack_get_window_group):
1076 Make the window group a construction property.
1078 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1080 * doc/hildon-sections.txt
1081 * src/hildon-stackable-window-private.h
1082 * src/hildon-stackable-window.h
1083 * src/hildon-stackable-window.c
1084 (-hildon_stackable_window_set_app_menu)
1085 (-hildon_stackable_window_get_app_menu)
1086 (-hildon_stackable_window_toggle_menu)
1087 (-hildon_stackable_window_finalize)
1088 (hildon_stackable_window_class_init)
1089 (hildon_stackable_window_init)
1090 * src/hildon-window-private.h
1091 * src/hildon-window.h
1092 * src/hildon-window.c (hildon_window_init)
1093 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
1094 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
1095 (hildon_window_get_main_menu, hildon_window_set_main_menu)
1096 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
1097 Moved all HildonAppMenu code to HildonWindow. The menu does not
1098 require a HildonStackableWindow anymore.
1100 * src/hildon-app-menu.c
1101 * src/hildon-program.c
1102 * examples/hildon-app-menu-example.c (main):
1103 Update examples and documentation to reflect HildonAppMenu
1106 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-remote-texture.c
1109 * src/hildon-animation-actor.c:
1110 Don't include unused private headers.
1112 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1114 * src/hildon-program-private.h
1115 * src/hildon-program.c
1116 (hildon_program_set_common_menu)
1117 (hildon_program_get_common_menu)
1118 (hildon_program_set_common_app_menu)
1119 (hildon_program_get_common_app_menu):
1120 Change common menu pointers from GtkWidget* to GtkMenu* and
1121 HildonAppMenu* to avoid unnecessary casts.
1123 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1125 * src/hildon-window.c (hildon_window_set_main_menu):
1126 Removed incorrect 'Since:' tag
1128 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1130 * src/hildon-pannable-area.c,
1131 (hildon_pannable_area_calculate_velocity): We use now the
1132 RATIO_TOLERANCE here to check the distance, fixed typo in the
1134 (hildon_pannable_area_motion_notify_cb): We have to set the type
1135 and time even if we are not sending the motion.
1137 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1139 * doc/hildon-sections.txt
1140 * src/hildon-app-menu.h
1141 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1142 (+hildon_app_menu_get_filters): New methods to get the contents of
1145 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1148 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1150 * src/hildon-app-menu.c (hildon_app_menu_popup):
1153 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1155 * src/hildon-window.h
1156 * src/hildon-window.c (+hildon_window_get_main_menu)
1157 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1158 and deprecated hildon_window_get_menu().
1160 * src/hildon-stackable-window.h
1161 * src/hildon-stackable-window.c
1162 (+hildon_stackable_window_set_app_menu)
1163 (+hildon_stackable_window_get_app_menu)
1164 (hildon_stackable_window_set_main_menu): Created
1165 hildon_stackable_window_{get,set}_app_menu() and deprecated
1166 hildon_stackable_window_set_main_menu().
1168 * doc/hildon-sections.txt
1169 * examples/hildon-app-menu-example.c (main)
1170 * src/hildon-app-menu.c
1171 * src/hildon-program.c:
1172 Updated examples and documentation.
1174 Fixes: NB#103758 (No way to obtain a menu from a
1175 HildonStackableWindow)
1177 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1182 * configure.ac: Bump version.
1183 * debian/changelog: Updates.
1185 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1187 * examples/hildon-remote-texture-example.c: Include
1188 hildon-remote-texture.h explicitely.
1189 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1190 applications not defining _XOPEN_SOURCE which don't require this header.
1192 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1194 * doc/hildon-sections.txt
1195 * src/hildon-app-menu.h
1196 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1197 New function to pop up a HildonAppMenu
1199 * src/hildon-stackable-window.c
1200 (hildon_stackable_window_toggle_menu):
1201 Use hildon_app_menu_popup() to show the menu.
1203 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1205 * src/hildon-app-menu.c (hildon_app_menu_show)
1206 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1207 menu if there's another window between it and its parent window.
1209 Fixes: NB#100468 (Application menu window is launched even when a
1210 new secondary-window/dialog is pending to be shown/realized)
1212 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1214 * src/hildon-window-stack.c (hildon_window_stack_push)
1215 (hildon_window_stack_pop_and_push):
1216 Don't forget to push/pop the first window.
1217 Reverse the window list before calling _push_list()
1219 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1221 * src/hildon-picker-button.h
1222 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1223 Remove "value_changed" slot to avoid ABI breakage
1225 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1227 * src/hildon-pannable-area.c,
1228 (hildon_pannable_area_realize),
1229 (hildon_pannable_area_unrealize),
1230 (hildon_pannable_draw_vscroll),
1231 (hildon_pannable_draw_hscroll): Changed the method to handle the
1232 GC used to draw the transparent scrollbar, this way we avoid
1233 creating the GC all the time when drawing the scrollbars.
1235 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1237 * src/hildon-pannable-area.c,
1238 (hildon_pannable_area_init),
1239 (hildon_pannable_area_remove): Removed some unnecessary casts.
1240 (hildon_pannable_area_dispose): Disconnected some signals before
1241 releasing the adjustments.
1243 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1245 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1246 Make sure that all widgets contained in the toolbar are shown.
1248 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1250 * doc/hildon-sections.txt
1251 * src/hildon-picker-button.h
1252 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1253 (_selection_changed, hildon_picker_button_on_dialog_response)
1254 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1255 New hildon_picker_button_value_changed() method.
1258 * src/hildon-picker-button-private.h
1259 * src/hildon-picker-button.c (hildon_picker_button_init)
1260 (+hildon_picker_button_disable_value_changed): Add protected
1261 function for disabling the "value-changed" signal.
1263 * src/hildon-date-button.c (hildon_date_button_set_date):
1264 Don't emit "value-changed" for each one of the three columns.
1266 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1267 before actual change of values)
1269 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1271 * src/hildon-pannable-area.c,
1272 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1273 for the treeview overshooting.
1275 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1277 * src/hildon-banner.c (+hildon_banner_bind_style):
1278 Renamed from hildon_banner_bind_label_style(), now naming the
1279 banner itself as well.
1280 (hildon_banner_show_information),
1281 (hildon_banner_show_information_with_markup),
1282 (hildon_banner_show_animation), (hildon_banner_show_progress):
1283 Name the widgets and labels, based on their type.
1285 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1288 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1290 * src/hildon-note.c (hildon_note_set_property): call
1291 hildon_note_rename() on HildonNote:note-type set.
1292 (hildon_note_rename): Name the note and its label, based on the
1293 HildonNote:note-type property.
1295 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1298 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1300 * src/hildon-pannable-area.c,
1301 (hildon_pannable_area_class_init),
1302 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1303 panning parameters, increased SPS and deceleration factor. Added
1304 also a margin to control fake directions.
1306 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1308 Patch by Sven Herzberg (sven@imendio.com)
1310 * configure.ac: Add missing AM_PROG_CC_C_0
1311 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1313 See NB#101420 (Update unit tests and fix make check)
1315 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1317 This patch was applied before but reverted because it caused
1318 problems, we have changed the main condition and tested the
1319 regressions we detected before and they work ok. We have done a
1320 complete review of the topmost algorithm in order to get a more
1323 * src/hildon-pannable-area.c,
1324 (hildon_pannable_area_get_topmost): Added a new parameter to
1325 filter the the windows that do not include those events.
1326 (hildon_pannable_area_button_press_cb),
1327 (hildon_pannable_area_button_release_cb),
1328 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1329 topmost function, we have added the new parameter.
1331 Fixes: NB#97458 (Pannable area prevents propagation of button
1334 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1336 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1337 if all columns in the selector have an item selected.
1338 (_on_dialog_response): Stop "response" signal emission if there is
1339 any selector column without selected items.
1341 Fixes: NB#101889 (Picker dialog should not close when nothing is
1342 selected in multiple selection list)
1344 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1346 * src/hildon-font-selection-dialog.c
1347 (hildon_font_selection_dialog_class_init),
1348 (hildon_font_selection_dialog_init): Remove the preview
1349 button and dialog, since previewing with default theming is likely
1350 to be overcomplicated. The :preview property has now no effect.
1351 Update documentation blurbs to inform about this.
1353 Fixes: NB#92297 (Preview content is not clearly visible for
1354 default colour text)
1356 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1358 Reviewed the geometry that handles the children size and
1359 scrollbar, now it tries a size and reviews the results depending
1360 on the scrollbars visibility.
1362 * src/hildon-pannable-area.c,
1363 (hildon_pannable_area_realize): Fixed a typo.
1364 (hildon_pannable_area_child_allocate_calculate): Added this
1365 function to calculate the child allocation.
1366 (hildon_pannable_area_size_allocate): Reviewed the allocation
1368 (hildon_pannable_area_check_scrollbars),
1369 (hildon_pannable_area_refresh): Refactored refresh function, this
1370 way we can call the code handling the scrollbars without causing a
1371 size_request, it is interesting in the allocate.
1372 (hildon_pannable_area_init): Replace the callbacks of the
1373 value_changed and changed signals to propertly deal with the
1375 (hildon_pannable_area_grab_notify),
1376 (hildon_pannable_area_initial_effect),
1377 (hildon_pannable_area_launch_fade_timeout),
1378 (hildon_pannable_area_adjust_changed),
1379 (hildon_pannable_area_adjust_value_changed),
1380 (hildon_pannable_area_redraw),
1381 (hildon_pannable_area_button_press_cb),
1382 (hildon_pannable_area_button_release_cb),
1383 (hildon_pannable_area_scroll_cb),
1384 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1385 code and use the new functions adjust_changed and
1386 adjust_value_changed.
1388 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1389 Contact editor dialog)
1391 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1396 * configure.ac: Bump version.
1397 * debian/changelog: Updates.
1399 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1401 * src/hildon-pannable-area.c,
1402 (hildon_pannable_area_get_topmost),
1403 (hildon_pannable_area_button_press_cb),
1404 (hildon_pannable_area_button_release_cb),
1405 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1406 topmost function adding the event mask. We have to try a
1407 differente approach because it is still causing problems (NB#9745,
1410 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1412 * src/hildon-banner.c:
1413 Update the maximum width of timed banners.
1414 (force_to_wrap_truncated): Enforce the maximum text width if the
1417 Fixes: NB#102413 (The text margins (wrapping) in information
1418 banner should be HILDON_MARGIN_TRIPLE)
1420 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1422 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1424 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1425 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1426 bound when calculating the scroll indicator position.
1428 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1429 treat ->lower correctly)
1431 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1433 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1434 expose event handling, since it is not necessary to draw the focus
1437 Fixes: NB#102467 (Do not show highlight on the text in
1440 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1442 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1443 full height of the toolbar for the button and the label.
1445 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1448 padding before the label and after the button.
1450 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1452 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1454 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1455 Add a GtkVSeparator between the button and the back arrow.
1456 Let the button have automatic size.
1457 Set a name to the widget for theming handling.
1459 Fixes: NB#101793 (Make edit toolbar the same height as window
1460 title bar (use title area theming))
1462 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-helper.c (attach_new_color_element): Fix memory
1467 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1469 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1471 * examples/hildon-button-example.c (common_buttons_window): Don't
1474 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1477 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1479 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-gtk.c: Check that the window is realized.
1483 Fixes: NB#102225 (Crash setting the progress indicator to a non
1486 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1488 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1489 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1490 instead of modifying the one in the widget style.
1492 Fixes: NB#101043 (Second row of all the command button are
1493 displayed in transparent mode.)
1495 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1497 * src/hildon-date-button.c
1498 * src/hildon-time-button.c: Add gettext macros
1500 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1502 * src/hildon-date-button.c (hildon_date_button_new):
1503 * src/hildon-time-button.c (hildon_time_button_new_step):
1504 Use new logical strings to set the button default title.
1506 Fixes: NB#99915 (Date and Time options are not localised in Date
1509 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1511 * src/hildon-pannable-area.c
1512 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1513 the PANNING_THRESHOLD.
1515 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1517 * src/hildon-pannable-area.c,
1518 (hildon_pannable_area_class_init): Increased the maximum speed.
1519 (hildon_pannable_area_get_property),
1520 (hildon_pannable_area_set_property),
1521 (hildon_pannable_area_timeout): Added a new low friction mode, it
1522 allows the user avoid friction when launching the widget fast
1523 enough. It is interesting to traverse long lists.
1525 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1527 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1528 (+hildon_stackable_window_delete_event): Ignore delete events if
1529 the window is not the topmost one.
1531 Fixes: NB#101698 (Back button long press and delete-event handling)
1533 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1535 * src/hildon-pannable-area.c,
1536 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1537 gtk-dnd-drag-threshold, it was too big. We have defined our own
1538 dnd define and set a smaller value: PANNIG_THRESHOLD.
1540 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1542 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1543 user-defined icons, use always the default one.
1545 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1547 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1549 This patch was applied before but reverted because it caused
1550 problems, we have changed the main condition and tested the
1551 regressions we detected before and they work ok.
1553 * src/hildon-pannable-area.c,
1554 (hildon_pannable_area_get_topmost): Added a new parameter to
1555 filter the the windows that do not include those events. Added
1556 also a condition when finding the window to filter windows that do
1557 not ask for those events.
1558 (hildon_pannable_area_button_press_cb),
1559 (hildon_pannable_area_button_release_cb),
1560 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1561 topmost function, we have added the new parameter.
1563 Fixes: NB#97458 (Pannable area prevents propagation of button
1566 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1568 * tests/check-hildon-color-button.c (START_TEST): do not leak
1571 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1573 * src/hildon-font-selection-dialog.c
1574 (hildon_font_selection_dialog_get_preview_text): Return NULL
1575 instead of FALSE on the g_return_val_if_fail().
1577 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1579 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1580 * src/hildon-date-selector.c
1581 (hildon_date_selector_select_current_date):
1582 Do not compare unsigned integers to be greater than or equal 0,
1583 because it's always TRUE.
1585 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1587 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1588 (hildon_date_selector_constructor): Do not select the current
1589 date until we are handle the "changed" signal, to avoid having bogus
1590 elements in the days model.
1592 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1594 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1595 for num_days, since _month_days() can return a negative value.
1597 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1599 * src/hildon-caption.c (hildon_caption_size_allocate):
1600 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1601 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1603 Initialize allocation variables to 0, to avoid eventually using
1604 unitialized variables.
1606 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/hildon-bread-crumb-trail.c
1609 (hildon_bread_crumb_trail_size_allocate):
1610 * src/hildon-calendar.c (hildon_calendar_set_background):
1611 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1612 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1613 * src/hildon-seekbar.c (hildon_seekbar_init):
1614 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1615 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1616 * src/hildon-touch-selector-entry.c
1617 (hildon_touch_selector_get_text_from_model):
1618 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1619 * src/hildon-window.c (hildon_window_finalize):
1621 Remove many unused variables.
1623 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1625 * src/hildon-seekbar.c: (hildon_seekbar_init),
1626 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1628 Remove unnecessary g_assert() calls.
1630 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1632 * src/hildon-caption.c: (hildon_caption_expose),
1633 (hildon_caption_set_property), (hildon_caption_init),
1634 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1635 (hildon_caption_size_request), (hildon_caption_size_allocate),
1636 (hildon_caption_forall), (hildon_caption_set_separator),
1637 (hildon_caption_activate), (hildon_caption_set_child_expand),
1638 (hildon_caption_set_label_text),
1639 (hildon_caption_get_label_alignment):
1641 Remove unnecessary g_assert() calls.
1643 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1645 * src/hildon-banner.c
1646 (hildon_banner_map, hildon_banner_init): Make banner temporary
1647 before mapping it to avoid closing other temporary windows, but
1648 make it non-temporary afterwards to avoid being closed by other
1649 non-temporary windows.
1650 (-hildon_banner_client_event, hildon_banner_init):
1651 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1653 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1656 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1658 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1661 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1663 * src/hildon-remote-texture.c
1664 * src/hildon-remote-texture.h
1665 * src/hildon-remote-texture-private.h
1666 * examples/hildon-remote-texture-example.c:
1667 Updates/fixes to remote-texture and its example.
1669 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1671 Patch by Mox Soini (ext-mox.soini@nokia.com)
1673 * src/hildon-code-dialog.c: Update logical id.
1674 * src/hildon-set-password-dialog.c: Update logical id.
1676 Fixes: NB#100646 (Logical strings is shown for ok in set
1677 password,Password needed dialogs)
1679 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1682 * src/hildon-remote-texture.c
1683 * src/hildon-remote-texture.h
1684 * src/hildon-remote-texture-private.h
1686 Added remote texture widget (for Clutter shared memory textures)
1688 * examples/hildon-remote-texture-example.c
1689 * examples/Makefile.am
1690 Added example file for remote texture usage
1692 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1694 * configure.ac: post release version bump.
1695 * debian/changelog: version bump.
1697 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1702 * configure.ac: Bump version.
1703 * debian/changelog: Updates.
1705 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-date-selector.c (hildon_date_selector_init)
1708 (hildon_date_selector_constructor): Don't connect to the "changed"
1709 signal until the selector is completely constructed.
1711 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1713 * src/hildon-touch-selector.c: (_create_new_column),
1714 (hildon_touch_selector_append_column),
1715 (hildon_touch_selector_set_column_selection_mode),
1716 (hildon_touch_selector_set_active),
1717 (hildon_touch_selector_select_iter):
1718 Emit the HildonTouchSelector::changed signal every time selection
1719 is changed in any of the methods above. This behavior was already
1720 documented but not fully functional.
1722 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1723 selection is programmatically changed)
1725 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1727 * doc/hildon-sections.txt: Remove obsolete icon
1728 sizes from here as well.
1730 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1732 * examples/hildon-stackable-window-example.c (add_window): Remove
1735 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1737 * src/hildon-app-menu.c
1738 (hildon_app_menu_show): Check whether the parent window of a menu
1739 is topmost before popping it up.
1741 Fixes: NB#100468 (Application menu window is launched even when a
1742 new secondary-window/dialog is pending to be shown/realized.)
1744 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1746 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1749 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1751 Patch by Mox Soini (ext-mox.soini@nokia.com)
1753 * src/hildon-banner.c: (hildon_banner_show_animation):
1754 use stylus size instead of obsolete note size.
1755 * src/hildon-defines.h: Update icon sizes.
1757 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-touch-selector-entry.c:
1760 (hildon_touch_selector_entry_init): Disable unsupported
1762 (hildon_touch_selector_entry_get_text_column): Emit a warning
1763 if an unsupported input modes is used and explicitile state
1764 these modes in the documentation.
1766 Fixes: NB#99802 (Hildon touch selector entry not working properly
1767 for some of the input modes)
1769 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1771 * src/hildon-pannable-area.c,
1772 (hildon_pannable_area_init): Added the changed signal handlers of
1775 Fixes: NB#100320 (HildonPannableArea does not listen to
1776 GtkAdjustment "change" signals)
1778 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1780 * doc/hildon-sections.txt
1781 * src/hildon-window-private.h
1782 * src/hildon-window.h
1783 * src/hildon-window.c (hildon_window_init)
1784 (hildon_window_realize, hildon_window_unrealize)
1785 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1786 (hildon_window_size_request, hildon_window_size_allocate)
1787 (hildon_window_forall, hildon_window_show_all)
1788 (hildon_window_destroy, +paint_edit_toolbar)
1789 (+hildon_window_set_edit_toolbar):
1790 New hildon_window_set_edit_toolbar() method, to add a
1791 HildonEditToolbar to a window without having to pack it manually.
1793 Reorganize hildon_window_size_allocate()
1795 * src/hildon-edit-toolbar.c: Update documentation.
1797 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1798 example to use the new API.
1800 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1802 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1805 Remove from stack before calling parent's hide.
1807 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1809 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1810 window is removed from the middle of the stack, update the
1811 transiency of the previous one.
1813 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1816 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1819 block/unblock the signal handler if it's not actually being used.
1820 Fixes some critical warnings.
1822 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1824 Based on a patch by Iván Gómez (igomez@igalia.com)
1826 * src/hildon-banner.c
1830 * src/hildon-pannable-area.c
1831 * src/hildon-picker-dialog.c
1832 * src/hildon-wizard-dialog.h
1833 * src/hildon-wizard-dialog.c: Documentation updates.
1835 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1836 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1838 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1840 * configure.ac: post release version bump.
1841 * debian/changelog: version bump.
1843 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1848 * configure.ac: Bump version.
1849 * debian/changelog: Updates.
1851 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1853 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1854 a stock icon nor change the relief of the back arrow.
1856 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1857 graphics from theme)
1859 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1861 * src/hildon-button.c (hildon_button_set_alignment): Use
1862 priv->alignment if the button has no child yet.
1864 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-button.c: (hildon_button_init): Set the
1867 button style during initialization to give it the proper
1870 Fixes: NB#99713 (HildonButton value label color is wrong)
1872 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-touch-selector.c: Document
1875 hildon_touch_selector_center_on_selected()
1877 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1879 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1880 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1881 all menu items, but not the menu itself.
1882 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1883 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1884 items after adding them to the menu so keyboard accelerators work.
1885 (hildon_app_menu_show): Don't show the menu if it contains items
1886 but none of them are visible.
1888 * examples/hildon-app-menu-example.c (create_menu): Use
1889 gtk_widget_show_all() to show all menu items.
1891 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1893 * src/hildon-picker-dialog.c:
1894 (-_update_title_on_selector_changed_cb),
1895 (-_dialog_update_title): Removed.
1896 (_select_on_selector_changed_cb), (_on_dialog_response),
1897 (on_selector_columns_changed): Do not update the dialog title.
1898 (setup_interaction_mode): Do not connect to
1899 HildonTouchSelector::changed signal if there's a "done" button, as
1900 the dialog title doesn't need to be updated.
1902 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1905 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1907 Patch by Kristian Rietveld (kris@imendio.com)
1909 * src/hildon-touch-selector.c: (_create_new_column): Use new
1910 GtkTreeView::hildon-row-tapped signal to react to user interactions
1911 instead of ::changed.
1913 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1914 with some dynamic tree model)
1916 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1919 (+screen_size_changed, +label_size_request)
1920 (hildon_note_class_init): Make the Hildon information note have a
1921 minimum height, and make its text hvae a maximum width.
1923 Fixes: NB#98614 (Hildon information note (background) should have
1924 minimum height and maximum text width)
1926 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1928 * src/hildon-banner.h
1929 * src/hildon-banner.c (hildon_banner_show_information)
1930 (hildon_banner_show_informationf)
1931 (hildon_banner_show_information_with_markup): Update documentation
1932 to reflect that the icon_name parameter is not used anymore.
1933 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1934 Remove all code from these functions and mark them as deprecated.
1935 (hildon_banner_show_progress): Mark as deprecated.
1937 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1939 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1941 * src/hildon-pannable-area.c,
1942 (hildon_pannable_area_class_init),
1943 (tranparency_color),
1944 (hildon_pannable_draw_vscroll),
1945 (hildon_pannable_draw_hscroll),
1946 (hildon_pannable_area_expose_event): Added a new way to render the
1947 scrollbars of the pannable area avoiding using cairo at all. This
1948 way we improve the performance of the pannable area rendering. The
1949 cairo rendering procedure is still in the code, we can control
1950 which one to use changing the value of the define
1951 USE_CAIRO_SCROLLBARS.
1953 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1955 * configure.ac: post release version bump.
1956 * debian/changelog: version bump.
1958 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1963 * configure.ac: Bump version.
1964 * debian/changelog: Updates.
1966 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1968 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1969 banners instead of destroying them when they receive a button
1972 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1974 Reverted commit 34028, it was causing regressions, probably the
1975 topmost condition is not correct, we have to check it in more
1976 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1977 propagation of button press events)
1979 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1982 that the selection is not empty before attempting to retrieve the
1983 current ampm selection.
1985 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-picker-button.c:
1988 (hildon_picker_button_on_dialog_response): Directly update the
1989 button contents when required instead of calling _selection_changed.
1991 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1993 * src/hildon-program.c (hildon_program_update_top_most): Update
1994 'is-topmost' property also when wm_hints is not set.
1996 Fixes: NB#98383 (is-topmost signal is not emitted when task
1997 switcher is clicked.)
1999 2009-01-23 Alejandro G. Castro <alex@igalia.com>
2001 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
2005 * src/hildon-animation-actor.c,
2006 * src/hildon-animation-actor.h: Added the animation actor class,
2007 this widget represents an animation actor for WM-assisted
2008 animation effects in the Hildon framework.
2010 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2012 * src/hildon-window-stack-private.h
2013 * src/hildon-window-stack.c
2014 * src/hildon-stackable-window.c (hildon_stackable_window_show):
2015 Avoid calling gtk_widget_show() again indirectly from
2016 hildon_stackable_window_show()
2018 2009-01-23 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
2023 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2025 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
2026 (hildon_time_selector_init): Move the construction of the hours and
2027 ampm columns to the constructor to preserve the order the columns
2030 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2032 * src/hildon-picker-dialog.c:
2033 (hildon_picker_dialog_class_init): Connect a realize method.
2034 (+hildon_picker_dialog_realize): Setup the interaction mode here
2036 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
2037 yet, do it during the realize instead.
2038 (_on_dialog_response):
2039 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
2040 if the widget is not realized, to avoid the dialog response before it
2043 Avoid premature responses in the HildonPickerDialog that can cause it
2044 to be hidden before it's even shown.
2046 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
2048 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
2049 (on_selector_columns_changed), (requires_done_button),
2050 (+prepare_action_area), (setup_interaction_mode),
2051 (_hildon_picker_dialog_set_selector):
2053 Split the interaction mode setup into preparation of the
2054 action area (prepare_action_area()) and the connection of
2055 the signals in setup_interaction_mode() and update the code to
2058 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2060 * src/hildon-pannable-area.c,
2061 (hildon_pannable_area_class_init): Reduced the amount of scrolls
2062 per second to 15, we will check if this is ok regarding
2065 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2067 * src/hildon-pannable-area.c,
2068 (hildon_pannable_axis_scroll): Avoid resize if we already have
2069 reached overshoot_max.
2071 2009-01-22 Alejandro G. Castro <alex@igalia.com>
2073 * src/hildon-pannable-area.c,
2074 (hildon_pannable_area_init),
2075 (hildon_pannable_area_realize),
2076 (hildon_pannable_area_size_allocate),
2077 (hildon_pannable_area_map),
2078 (hildon_pannable_area_unmap),
2079 (hildon_pannable_draw_vscroll),
2080 (hildon_pannable_draw_hscroll),
2081 (hildon_pannable_area_expose_event),
2082 (hildon_pannable_area_refresh): Added a new GdkWindow to the
2083 pannable are to avoid the expose events go to the window and
2084 redraw the window. We save this way that part of the stack and the
2085 paint_boxes. We had to change the positions of the elements when
2088 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2091 * src/hildon-color-chooser-dialog.c:
2092 (hildon_color_chooser_dialog_init):
2093 * src/hildon-font-selection-dialog.c:
2094 (hildon_font_selection_dialog_init),
2095 (hildon_font_selection_dialog_show_preview):
2096 * src/hildon-get-password-dialog.c:
2097 * src/hildon-login-dialog.c:
2098 * src/hildon-set-password-dialog.c:
2099 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
2100 * src/hildon-time-picker.c: (hildon_time_picker_init):
2102 Remove obsolete logical string IDs and update to the appropriate ones.
2104 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2106 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2109 that happens if the window hasn't been realized yet.
2111 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2112 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2114 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2117 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2120 Fixes: NB#98537 (Device hangs in account settings dialog)
2122 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2124 * configure.ac: post release version bump.
2125 * debian/changelog: version bump
2127 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2132 * configure.ac: Bump version.
2133 * debian/changelog: Updates.
2135 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2137 Added a new function to the HildonTimeButton widget that allows to
2138 change the step of the minutes in the selector associated with the
2139 button: hildon_time_button_new_step
2141 * src/hildon-time-button.c,
2142 (hildon_time_button_init),
2143 (hildon_time_button_new),
2144 (hildon_time_button_new_step):
2145 * src/hildon-time-button.h: Added the new function and refactored
2147 * examples/hildon-time-button-example.c,
2148 (main): We have replaced the function without parameters with the
2149 function with the steps set to 5
2151 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2153 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2155 * src/hildon-time-selector.c,
2156 (hildon_time_selector_class_init),
2157 (hildon_time_selector_constructor),
2158 (hildon_time_selector_get_property),
2159 (hildon_time_selector_set_property),
2160 (_create_minutes_model),
2161 (hildon_time_selector_new_step),
2162 (hildon_time_selector_set_time),
2163 * src/hildon-time-selector.h: Added a new property to the
2164 HildonTimeSelector (minutes-step), we use that property to control
2165 the steps between the minutes in the list of the selector. We have
2166 added a new function to the API to create a widget changing the
2167 step: hildon_time_selector_new_step.
2169 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2171 * src/hildon-time-selector.c,
2172 (hildon_time_selector_class_init),
2173 (hildon_time_selector_constructor),
2174 (hildon_time_selector_init): Overrided the construct function when
2175 creating the time selector object. We have moved the minutes model
2176 handling code from the init to the new construction function:
2177 hildon_time_selector_constructor.
2179 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2181 * examples/hildon-date-button-example.c: (main): Use the new
2182 hildon_date_button_new_with_year_range() method in the example.
2183 * src/hildon-date-button.c:
2184 (+hildon_date_button_new_with_year_range): New public method
2185 to conveniently create a HildonDateButton with a custom year range
2186 in its HildonDateSelector.
2187 * src/hildon-date-button.h: Add the new public method definition.
2189 Fixes: NB#97908 (Not possible to change the year range in
2190 HildonDateSelector/HildonDateButton)
2192 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2194 * src/hildon-date-selector.c:
2195 (+hildon_date_selector_set_property),
2196 (+hildon_date_selector_get_property),
2197 (hildon_date_selector_class_init): Install new properties "min-year"
2198 and "max-year" to define boundaries for the year column.
2199 (_create_year_model): Use the boundary properties to populate the model.
2200 (+hildon_date_selector_new_with_year_range): New public method to
2201 create a HildonDateSelector with a user defined year range.
2202 (hildon_date_selector_select_current_date): Use the new boundaries to
2203 calculate the iterator of current year.
2204 * src/hildon-date-selector.h: Add the new public method definition.
2206 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2209 Install a constructor method.
2210 (+hildon_date_selector_construct_ui): construct the widget.
2211 (+hildon_date_selector_constructor): new constructor.
2212 (+hildon_date_selector_init): move out widget construction code to
2213 the new constructor.
2215 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2218 that there's actually a month or year selected before obtaining them.
2219 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2220 of the HildonTouchSelector::changed signal, as it was emitted on every
2221 single item selection.
2223 Fix some warnings and possible crashers due to the selection restoring.
2225 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2227 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2228 the signal handlers only after creating the dialog instead of on every
2231 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-button.c (hildon_button_init)
2234 * src/hildon-check-button.c (hildon_check_button_init)
2235 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2236 focus when clicked by default.
2238 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2243 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2245 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2246 Alejandro G. Castro (alex@igalia.com)
2248 * src/hildon-picker-dialog.c:
2249 (hildon_picker_dialog_class_init): install new "center-on-show"
2251 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2252 (hildon_picker_dialog_set_property): add setter code for the new
2254 (hildon_picker_dialog_get_property): add getter code for the new
2256 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2257 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2260 Fixes: NB#92849 (Selected item is not always visible when
2261 HildonTouchSelector is shown)
2263 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2265 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2266 Alejandro G. Castro (alex@igalia.com)
2268 * src/hildon-touch-selector.c:
2269 (_create_new_column): Do not connect to the "realize" signal of the
2271 (hildon_touch_selector_append_column): center on the selected items
2272 when a new column is appended.
2273 (hildon_touch_selector_select_iter): Factor out the code to select a
2274 column to hildon_touch_selector_scroll_to().
2275 (+search_nearest_element): Method to retrieve the nearest selected
2276 element to the visible area of the pannable area in a column.
2277 (+on_realize_cb): scroll to the initially selected item.
2278 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2279 the pannable area is realized, otherwise delay this until it is.
2280 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2281 selected items of a given column.
2282 (+hildon_touch_selector_center_on_selected): Public method to center
2283 all columns on the nearest selected item.
2284 * src/hildon-touch-selector.h: Add definition for
2285 hildon_touch_selector_center_on_selected().
2287 Implement public API to ensure visibility of all selected items in
2288 a HildonTouchSelector.
2290 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2292 Fixed a problem in the fading when calling the scroll_to API, and
2293 improve scrollbar fading handling.
2295 * src/hildon-pannable-area.c,
2296 (hildon_pannable_area_grab_notify): avoid the timeout when the
2298 (hildon_pannable_area_button_press_cb),
2299 (hildon_pannable_area_motion_notify_cb): Code style changes.
2300 (hildon_pannable_area_button_release_cb): Review the conditions
2301 when releasing the mouse button to avoid unrequired fading
2303 (hildon_pannable_area_scroll_to): Do not calculate and set the
2304 velocity if the scroll is not required.
2306 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2309 Don't check whether the new selector is NULL: it cannot be.
2310 Hold a reference to the selector while doing the replacement.
2312 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2314 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2315 unnecessary size_request in a removed widget.
2317 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2319 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2320 an unnecessary reference tracking that was leaking.
2322 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2324 Added delayed motion notify event handling, this way we can
2325 discard redrawing if more than 25 events arrive per second.
2327 * src/hildon-pannable-area.c,
2328 (hildon_pannable_area_init): Initialized the new private atributes
2329 controlling this timeout
2330 (hildon_pannable_area_dispose): Remove the timeout that controls
2331 the motion notify events.
2332 (hildon_pannable_area_scroll): Added a condition to control the
2333 use of the acceleration.
2334 (hildon_pannable_area_motion_event_scroll_timeout),
2335 (hildon_pannable_area_motion_event_scroll): Added this two
2336 functions, they handle the motion notify events inside the
2338 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2339 to the scroll method with the new function.
2340 (hildon_pannable_area_button_release_cb): We have to remove the
2341 timeout handler and move to the last position if the last motion
2342 events were not handled.
2344 Fixes: NB#97028 (Pannable area updates on every motion event)
2346 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2348 * src/hildon-pannable-area.c,
2349 (hildon_pannable_area_get_topmost): Added a new parameter to
2350 filter the the windows that do not include those events. Added
2351 also a condition when finding the window to filter windows that do
2352 not ask for those events.
2353 (hildon_pannable_area_button_press_cb),
2354 (hildon_pannable_area_button_release_cb),
2355 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2356 topmost function, we have added the new parameter.
2358 Fixes: NB#97458 (Pannable area prevents propagation of button
2361 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2363 * src/hildon-pannable-area.c,
2364 (hildon_pannable_area_initial_effect): Added controls before
2365 launching the timeout and the idle functions.
2366 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2367 of the method, in some situations it can return with TRUE and 0 in
2369 (hildon_pannable_area_button_press_cb): We do not need to set
2370 DELAY for fading out here.
2372 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2374 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2376 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2377 post-cleaning if the selection is not NULL.
2379 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2382 all items before restoring the selection.
2384 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-touch-selector.c:
2387 (+hildon_touch_selector_unselect_all):
2388 * src/hildon-touch-selector.h: New API to unselect all items in a
2389 column of the touch selector.
2391 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2393 * src/hildon-pannable-area.c,
2394 (hildon_pannable_area_redraw): Added a call to the refresh
2395 function inside the redraw because apparently in some cases the
2396 change in the adjustment does not imply a size allocate.
2398 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2399 despite the view not being scrollable)
2401 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2404 leak. Check for NULL before attempting to set the window title.
2406 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2408 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2409 whether to show or not the 'Done' button each time the dialog is
2410 shown, as it depends on the HildonTouchSelector selection mode.
2412 Fixes: NB#96226 (In multiple selection mode Done button is shown
2413 sometimes in listpicker)
2415 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2418 for the number of columns in the HildonTouchSelector more than once.
2420 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-touch-selector.c: Minor documentation fixes.
2424 * src/hildon-picker-dialog.c (+_dialog_update_title)
2425 (_select_on_selector_changed_cb)
2426 (_update_title_on_selector_changed_cb)
2427 (on_selector_columns_changed): Update dialog title when there's no
2428 'Done' button and also when the number of columns in the selector
2432 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2433 (+_selection_changed, hildon_picker_button_on_dialog_response)
2434 (hildon_picker_button_selector_selection_changed)
2435 (+hildon_picker_button_selector_columns_changed)
2436 (hildon_picker_button_set_selector): Update button value and emit
2437 'value-changed' when the number of columns in the selector
2441 Fixes: NB#96225 (Dialog titles are not shown according to the
2442 values selected in the list picker)
2444 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2447 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2448 New "arrow-width" and "arrow-height" style properties to set the
2449 size of the arrow button.
2450 Set name of arrow button ("hildon-edit-toolbar-arrow").
2452 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2453 graphics from theme)
2455 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-picker-button.c:
2458 (hildon_picker_button_selector_selection_changed): Use
2459 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2460 the dialog is present.
2462 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2463 the selection is accepted in the dialog)
2465 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-color-chooser.h
2468 * src/hildon-color-chooser-dialog.h:
2469 Added G_BEGIN_DECLS and G_END_DECLS
2471 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2473 (_clean_current_selection): plug a leak in the list.
2475 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2477 * src/hildon-picker-dialog.c:
2478 (+free_path_list): Method to free a GList of GtkTreePaths.
2479 (_clean_current_selection), (_save_current_selection),
2480 (_restore_current_selection): Save the current selection in
2481 as a list of lists, to support multiple selection properly.
2483 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2485 patch by Claudio Saavedra (csaavedra@igalia.com)
2487 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2488 Store the press position.
2489 (+hildon_text_view_button_release_event): If the release position is
2490 close enough to the press position, move the cursor here. Otherwise,
2492 (hildon_text_view_class_init): Override GtkTextView press, release, and
2493 motion event handlers, disabling this way text selection through
2494 pointer interaction, and allowing the container widget to handle the
2497 Fixes: NB#95828 (HildonTextView functionality)
2499 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2501 Based on a patch by Iván Gómez (igomez@igalia.com)
2503 * src/hildon-button.[ch]
2504 * src/hildon-calendar.c
2505 * src/hildon-check-button.c
2506 * src/hildon-date-editor.c
2507 * src/hildon-date-selector.c
2508 * src/hildon-picker-button.c
2509 * src/hildon-time-editor.c
2510 * src/hildon-time-selector.c
2511 * src/hildon-touch-selector.[ch]:
2512 Documentation updates
2514 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2516 * src/hildon-pannable-area.c,
2517 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2518 threshold, it was required due to X events handling.
2520 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2522 * src/hildon-pannable-area.c,
2523 (hildon_pannable_area_grab_notify),
2524 (hildon_pannable_area_initial_effect),
2525 (hildon_pannable_area_button_press_cb),
2526 (hildon_pannable_area_button_release_cb),
2527 (hildon_pannable_area_scroll_cb),
2528 (hildon_pannable_area_scroll_to): Review the timeout management of
2529 the scrollbar, the frecuency was incorrectly set.
2531 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2533 * src/hildon-picker-button.c:
2534 (+hildon_picker_button_on_dialog_response),
2535 (hildon_picker_button_clicked): Present the dialog instead of
2536 running it with gtk_dialog_run().
2538 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2541 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2543 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2544 (hildon_app_menu_finalize): When a window is hidden it doesn't
2545 emit notify::is-topmost, so make sure than the menu also
2546 disappears in that case.
2547 (parent_window_topmost_notify): Renamed from parent_window_hidden
2549 Fixes: NB#94460 (stackable window's menu is not closed when its
2552 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2554 * src/hildon-touch-selector-entry.c:
2555 (+hildon_touch_selector_entry_set_input_mode),
2556 (+hildon_touch_selector_entry_get_input_mode):
2557 * src/hildon-touch-selector-entry.h: New methods to access the input
2558 mode in the selector's entry.
2560 Fixes: NB#93410 (API required for setting IM mode in
2561 HildonTouchSelectorEntry)
2563 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2565 * configure.ac: post release version bump.
2566 * debian/changelog: version bump
2568 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2573 * configure.ac: Bump version.
2574 * debian/changelog: Updates.
2576 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2578 * src/hildon-touch-selector.c:
2579 (_hildon_touch_selector_has_multiple_selection): No need
2580 to initialize the variables here.
2582 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-note-private.h
2585 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2586 (hildon_note_finalize, hildon_note_rebuild): Close information
2587 notes when they receive a button press.
2589 Fixes: NB#89890 (Information notes does not get disappeared after
2592 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2594 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2595 mark from the wizard title, as it's not really necessary. Also,
2596 do not display the page title if not set.
2598 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2600 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2601 (parent_window_hidden): Use the window's "is-topmost" property to
2602 detect when to hide the menu.
2604 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2607 (hildon_app_menu_finalize): If the parent window of the menu is
2608 hidden, hide the menu too.
2610 Fixes: NB#94460 (stackable window's menu is not closed when its
2613 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2616 * debian/libhildon1-examples.install
2618 * examples/Makefile.am:
2619 Use dh_install to install all examples.
2620 Use DEB_SRCDIR instead of defining SOURCE_DIR
2622 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2624 * configure.ac: post release version bump.
2625 * debian/changelog: version bump
2627 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2632 * configure.ac: bump version
2633 * debian/changelog: updates
2634 * debian/control: bump gtk+ dependency
2636 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2638 patch by Christian Dywan (christian@imendio.com)
2640 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2641 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2643 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-check-button.c (hildon_check_button_init)
2646 (hildon_check_button_class_init, hildon_check_button_style_set)
2647 (hildon_check_button_apply_style):
2648 New "checkbox-size" style property.
2650 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2651 larger / configurable size)
2653 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2655 * configure.ac: post release version bump.
2656 * debian/changelog: version bump
2658 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2663 * configure.ac: bump version
2664 * debian/changelog: updates
2666 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2668 * doc/hildon-sections.txt
2669 * src/hildon-pannable-area.c
2670 * src/hildon-program.c
2671 * src/hildon-time-editor.c
2672 * src/hildon-touch-selector-entry.c:
2674 More documentation updates.
2676 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2678 * doc/hildon-sections.txt
2679 * src/hildon-caption.c
2680 * src/hildon-code-dialog.c
2681 * src/hildon-color-button.c
2682 * src/hildon-controlbar.c
2683 * src/hildon-date-editor.c
2684 * src/hildon-date-selector.c
2685 * src/hildon-edit-toolbar.c
2686 * src/hildon-find-toolbar.c
2687 * src/hildon-font-selection-dialog.c
2689 * src/hildon-program.c
2690 * src/hildon-range-editor.c
2691 * src/hildon-seekbar.c
2692 * src/hildon-time-editor.c
2693 * src/hildon-time-selector.c
2694 * src/hildon-volumebar-range.c
2695 * src/hildon-volumebar.c
2696 * src/hildon-vvolumebar.c
2697 * src/hildon-weekday-picker.c
2698 * src/hildon-window.c
2699 * src/hildon-wizard-dialog.c:
2701 Lots of documentation fixes.
2703 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2705 Patch contributed by Iván Gómez (igomez@igalia.com)
2707 * src/hildon-check-button.c:
2708 * src/hildon-date-button.c:
2709 * src/hildon-date-selector.c:
2710 * src/hildon-dialog.c:
2711 * src/hildon-edit-toolbar.c:
2712 * src/hildon-entry.c:
2713 * src/hildon-picker-button.c:
2714 * src/hildon-program.c:
2715 * src/hildon-text-view.c:
2716 * src/hildon-time-button.c:
2717 * src/hildon-touch-selector-entry.c:
2718 * src/hildon-window-stack.c:
2720 Add more "since" tags to the new API.
2722 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2724 * doc/hildon-sections.txt: Add below method.
2725 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2726 version for the hildonized scale.
2727 * src/hildon-gtk.h: Add the definition.
2729 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2731 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2733 * doc/hildon-sections.txt: Add missing entries for new methods.
2735 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2737 Added API to pannable are in order to get its adjustments. We
2738 added two properties to manage the values we had in the private
2741 * src/hildon-pannable-area.c:
2742 (hildon_pannable_area_class_init): Added hadjustment and
2743 vadjustment properties in order to expose horizontal and vertical
2745 (hildon_pannable_area_get_property),
2746 (hildon_pannable_area_set_property): Added code to handle the new
2748 (hildon_pannable_area_get_hadjustment),
2749 (hildon_pannable_area_get_vadjustment): API functions to get the
2751 * src/hildon-pannable-area.h:
2752 (hildon_pannable_area_get_hadjustment),
2753 (hildon_pannable_area_get_vadjustment): API functions to get the
2756 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2758 Fixed some leaks, after valgrinding.
2760 * src/hildon-touch-selector.c:
2761 (_default_print_func): Fixed a leak.
2762 (hildon_touch_selector_append_column): Fixed a leak.
2763 * src/hildon-date-button.c:
2764 (hildon_date_button_init): Fixed a leak.
2765 * src/hildon-date-selector.c
2766 (hildon_date_selector_finalize): Fixed a leak.
2768 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2770 Based on a patch by Christian Dywan (christian@imendio.com)
2772 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2774 * src/hildon-gtk.h: Add definition.
2776 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2778 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/hildon-picker-button.c: (hildon_picker_button_init),
2781 (hildon_picker_button_new): Set the HildonButton::style property
2782 in the init method, to propagate the value to the derived classes.
2784 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2786 * src/hildon-button.c: (hildon_button_class_init): Do not make
2787 the "style" property a construct property.
2789 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-wizard-dialog.h
2792 * src/hildon-wizard-dialog.c
2793 (hildon_wizard_dialog_set_forward_page_func)
2794 * src/hildon-pannable-area.h
2795 * src/hildon-pannable-area.c
2796 (hildon_pannable_area_set_size_request_policy):
2797 Documentation fixes.
2799 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2801 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2803 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2805 * doc/hildon-sections.txt: Added sections file.
2807 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/*.[ch]: Updates.
2812 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2814 * examples/hildon-progress-indicator-example.c: new file
2815 * examples/Makefile.am: include the new example program
2817 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2821 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2823 * configure.ac: post release version bump
2824 * debian/changelog: version bump
2826 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2831 * configure.ac: bump version
2832 * debian/changelog: updates
2833 * debian/control: bump gtk+ dependency
2835 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2837 * src/hildon-dialog.c: Mark as deprecated.
2838 * src/hildon-dialog.h: Mark as deprecated.
2839 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2840 from HildonDialog and still work, even if
2841 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2842 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2844 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2845 maemo changes) instead)
2847 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2849 * src/hildon-pannable_area.h:
2850 * src/hildon-pannable_area.c:
2851 (hildon_pannable_area_class_init),
2852 (hildon_pannable_area_set_property),
2853 (hildon_pannable_area_get_property),
2854 (hildon_pannable_area_size_request),
2855 (hildon_pannable_area_get_size_request_policy),
2856 (hildon_pannable_area_set_size_request_policy): Added new API
2857 allowing applications to control the request policy. Now they can
2858 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2859 children allocation (HILDON_MOVEMENT_CHILDREN).
2861 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2865 (hildon_gtk_tree_view_set_ui_mode)
2866 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2867 mode of treeviews and iconviews.
2869 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2871 * src/hildon-touch-selector-entry.c:
2872 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2873 of a GtkEntry to get proper theming.
2875 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2876 widget, not GtkEntry)
2878 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2880 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2881 no HildonWizardDialogPageFunc.
2883 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2885 Patch contributed by Iván Gómez (igomez@igalia.com)
2887 * src/hildon-app-menu.c:
2888 * src/hildon-button.c:
2889 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2890 * src/hildon-stackable-window.c:
2891 * src/hildon-time-selector.c:
2892 * src/hildon-touch-selector.c:
2893 * src/hildon-window.c:
2895 Add more "since" tags to the new API in hildon 2.2.
2897 2008-12-05 Tim Janik <timj@imendio.com>
2899 Patch contributed by Christian Dywan (christian@imendio.com)
2901 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2902 HildonSizeType, which are supplied by Gtk+ now.
2904 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2906 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2907 (with maemo changes) instead)
2909 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2911 Patch contributed by Iván Gómez (igomez@igalia.com)
2913 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2916 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2918 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2919 (some_page_func), (main): Update the example to use a
2920 HildonWizardDialogPageFunc function.
2922 * src/hildon-wizard-dialog-private.h: Add private data for
2923 the HildonWizardDialogPageFunc function usage.
2925 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2926 (destroy), (hildon_wizard_dialog_init), (response),
2927 (hildon_wizard_dialog_set_forward_page_func):
2928 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2929 that applications can use to stop a HildonWizardDialog to jump to
2932 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2935 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-program.h
2938 * src/hildon-program-private.h
2939 * src/hildon-program.c (hildon_program_init)
2940 (hildon_program_set_common_app_menu)
2941 (hildon_program_get_common_app_menu):
2942 New API for setting a common HildonAppMenu for all
2943 HildonStackableWindows registered with the HildonProgram.
2945 * src/hildon-stackable-window.c
2946 (hildon_stackable_window_toggle_menu):
2947 Use the common HildonAppMenu if a window doesn't have a specific
2950 * src/hildon-app-menu-private.h
2951 * src/hildon-app-menu.c
2952 (hildon_app_menu_get_parent_window):
2953 Function to obtain the window a HildonAppMenu is attached to.
2954 (hildon_app_menu_set_parent_window):
2955 Hide the menu if the parent window is set to NULL.
2957 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2960 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2961 search widget to popup.
2963 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2965 * configure.ac: post release version bump
2966 * debian/changelog: version bump
2968 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2973 * configure.ac: bump version
2974 * debian/changelog: updates
2976 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2978 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2980 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2981 (hildon_window_stack_window_realized)
2982 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2983 Set the leader GdkWindow when a window is stacked and realized,
2984 unset it when it's unstacked.
2985 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2987 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2989 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2991 * src/hildon-stackable-window.h
2992 * src/hildon-window-stack.h:
2993 Protect definition of HildonWindowStack using the preprocessor.
2995 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2998 Fix warning if all menu items are hidden.
3000 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
3002 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3004 * src/hildon-controlbar.c:
3005 * src/hildon-hvolumebar.c:
3006 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
3007 Multiple scale size defines updates.
3009 Fixes: NB#94322 (Scale Updates)
3011 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3013 * examples/hildon-app-menu-example.c (create_menu)
3014 Show items after adding them to the menu, as in the future the
3015 menu will no longer call gtk_widget_show() on the added items.
3017 * src/hildon-app-menu.c:
3018 Update example as explained above.
3020 2008-12-02 Alberto Garcia <agarcia@igalia.com>
3022 * src/hildon-app-menu.c
3023 (hildon_app_menu_insert, hildon_app_menu_add_filter):
3024 Make sure that all menu items have finger height.
3026 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
3028 * src/hildon-picker-dialog.c:
3029 (_on_dialog_response), (_save_current_selection),
3030 (_restore_current_selection), (_clean_current_selection),
3031 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
3032 Defined new functions in order to save the current internal selector
3033 selection previous open the dialog, in case that the use cancel the
3034 interaction, so the widget restores the previous selection.
3036 Fixes: NB#92032 (In calendar application, date values in 'new event'
3039 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
3041 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-button.c: Add a reference to the button examples in
3044 hildon-button-example.c
3046 * examples/hildon-button-example.c: Added examples of the most
3047 common button layouts.
3049 2008-11-28 Alberto Garcia <agarcia@igalia.com>
3051 * src/hildon-app-menu.c (hildon_app_menu_show)
3052 (hildon_app_menu_class_init): Don't show the menu if it's empty.
3054 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
3056 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3058 * src/hildon-picker-dialog.c:
3059 (hildon_picker_dialog_init): Initialize the signal id for
3060 HildonTouchSelector::columns-changed.
3061 (+on_selector_columns_changed): Set up the interaction mode everytime a
3062 column is added or removed from the HildonTouchSelector.
3063 (_hildon_picker_dialog_set_selector): Connect to
3064 HildonTouchSelector::columns-changed and keep track of it.
3066 Make sure to update the interaction mode of the dialog everytime a
3067 column is added or removed in the HildonTouchSelector.
3069 Fixes: NB#93228 (Done button is not shown always in listpicker)
3071 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
3074 a new ::columns-changed signal.
3075 (hildon_touch_selector_append_column): Emit ::columns-changed.
3076 (hildon_touch_selector_remove_column): Emit ::columns-changed.
3078 Add a ::columns-changed signal, emitted when the number of columns in a
3079 HildonTouchSelector changes.
3081 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
3084 (_hildon_picker_dialog_set_selector): Factor out the code
3085 to set up the dialog interaction mode.
3087 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
3090 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
3091 to signal_changed_id.
3093 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3095 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3098 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
3100 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
3101 Updated the logical ids related to ampm format, as now it is required to
3102 show it correctly localized even on languages with no default
3103 abbreviations for am or pm
3104 (_check_am_pm_format): check correctly the 24h format gconf property
3106 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3108 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3110 * src/hildon-button.c: Documentation updates.
3112 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3114 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3115 * src/hildon-caption.c: (hildon_caption_class_init):
3116 * src/hildon-color-button.c: (hildon_color_button_class_init):
3117 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3118 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3119 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3120 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3122 Remove deprecated GTK+ marshalers and replace them with the ones
3123 provided by GLib, for those available, add a marshaler for
3124 BOOLEAN:VOID, which is not available in GLib, and use it.
3126 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3128 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3129 the text from the previous column if there is no
3130 HildonTouchSelectorColumn::text-property set.
3132 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-button.h
3135 * src/hildon-button.c (hildon_button_set_property)
3136 (hildon_button_get_property, hildon_button_class_init)
3137 (hildon_button_set_style, hildon_button_get_style):
3138 New "style" property to change the visual appearance of the
3141 * src/hildon-picker-button.c (hildon_picker_button_new):
3142 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3144 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3145 HildonButton look like PickerButton)
3147 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3149 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3150 column while building the default string.
3152 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3154 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3155 scroll indicator by default.
3157 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3159 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3161 * src/hildon-main.c: Fix the documentation for hildon_init()
3163 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3165 * doc/hildon-docs.sgml
3169 * src/hildon-window-stack-private.h
3170 * src/hildon-window-stack.h
3171 * src/hildon-window-stack.c:
3172 New HildonWindowStack object, that adds support for multiple
3173 stacks of windows per process.
3175 * src/hildon-stackable-window-private.h
3176 * src/hildon-stackable-window.h
3177 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3178 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3179 (hildon_stackable_window_show, hildon_stackable_window_hide)
3180 (hildon_stackable_window_class_init)
3181 (hildon_stackable_window_init):
3182 Use HildonWindowStack for stack management.
3184 * src/hildon-program.c (hildon_program_pop_window_stack)
3185 (hildon_program_peek_window_stack)
3186 (hildon_program_go_to_root_window):
3187 Add a fallback implementation to the deprecated functions using
3190 * examples/hildon-stackable-window-example.c:
3191 Use the new HildonWindowStack API.
3193 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3195 * src/hildon-stackable-window-private.h
3196 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3197 (hildon_stackable_window_hide, hildon_stackable_window_init):
3198 Remove all window stack management.
3200 * src/hildon-program-private.h
3201 * src/hildon-program.h
3202 * src/hildon-program.c (hildon_program_init)
3203 (hildon_program_pop_window_stack)
3204 (hildon_program_peek_window_stack)
3205 (hildon_program_go_to_root_window):
3206 Remove all window stack management and mark functions as
3209 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3211 * src/hildon-app-menu.c (hildon_app_menu_realize):
3212 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3214 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3216 * configure.ac: post release version bump
3217 * debian/changelog: version bump
3219 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3224 * configure.ac: bump version
3225 * debian/changelog: updates
3227 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3229 Based on initial code by Christian Dywan (christian@imendio.com)
3231 * doc/hildon-docs.sgml: Add section for hildon-main.
3232 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3233 * src/Makefile.am: Add new hildon-main.[ch]
3234 * src/hildon-defines.h: Update the icon sizes.
3235 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3236 new library initialization files and register icon sizes.
3237 * src/hildon-main.h: New declarations.
3238 * src/hildon.h: Include hildon-main.h
3240 Add new initialization functions to the library. These methods
3241 will register the hildon specific icon sizes and can be used in the
3242 future for other hildon specific bits.
3244 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3246 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3248 * src/hildon-window.c: (hildon_window_realize),
3249 (hildon_window_notify), (-hildon_window_update_title): Do not set
3250 the application name in the window title.
3252 Fixes: NB#89754 (Applications shouldn't display their names in the
3255 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3257 * src/hildon-note-private.h:
3258 * src/hildon-note.c: (hildon_note_set_property),
3259 (hildon_note_get_property), (hildon_note_class_init),
3260 (hildon_note_init), (hildon_note_finalize),
3261 (hildon_note_new_confirmation_with_icon_name),
3262 (hildon_note_new_information_with_icon_name):
3264 No need to mark as deprecated the actual code. Revert
3265 to avoid missing symbols in widgets using deprecated API.
3267 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3269 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3271 * src/hildon-volumebar.h
3272 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3273 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3275 * src/hildon-helper.h
3276 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3277 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3279 * examples/Makefile.am:
3280 Deprecate hildon-insensitive-example
3282 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3284 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3286 * examples/hildon-pannable-area-buttons-scroll-example.c:
3287 Make all buttons finger height
3289 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3291 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3293 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3294 update the day model only if it is really required, and to avoid the
3295 full-reconstruction aproach. Now it only add or remove the required days.
3297 The purpose of this is avoid superfluous HildonTouchSelector::changed
3300 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3301 with strange parameters)
3303 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3305 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3307 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3308 the WINDOW_TYPE property.
3310 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3312 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3315 Fix dependency to allow parallel compilation with make -jX
3317 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3320 color frame and some minor tweaks to make it more consistent with
3323 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3324 highlighted but not visible)
3326 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3328 * examples/Makefile.am: Fixed typo in the Makefile.am.
3330 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3332 Reviewed the use of MAEMO_GTK define, now we add the define in the
3333 compilation line, and we also add it to the pc file.
3335 * configure.ac: Added MAEMO_GTK define to the compilation command
3336 and removed it from the config.h.
3338 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3339 do not have to take care about this define if the library was
3343 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3345 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3347 * examples/Makefile.am,
3348 * examples/hildon-pannable-area-buttons-scroll-example.c,
3349 * examples/hildon-pannable-area-gesture-signals-example.c,
3350 * examples/hildon-pannable-area-scroll-jump-example.c,
3351 * examples/hildon-pannable-area-tree-view-example.c:
3352 Renamed the pannable area examples, now they have more meaningful
3355 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3357 * src/hildon-touch-selector.c:
3358 (hildon_touch_selector_set_column_selection_mode): Used of
3359 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3360 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3361 to avoid re-seting the same selection mode.
3363 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3364 breaks HildonPickerDialog)
3366 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3368 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3369 conditional in the Makefile.am
3371 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3373 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3374 Remove unused methods.
3376 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-button.c (hildon_button_init):
3379 Make button images center-aligned by default
3381 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3384 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3385 activated, we have to think about how to deal with both defines
3386 MAEMO_GTK and MAEMO_CHANGES.
3388 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3390 * examples/hildon-app-menu-example.c (create_menu): Make all
3391 buttons finger size.
3393 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3395 Fixed the compilation without maemo gtk adding ifdefs with
3396 MAEMO_GTK define to the code, we have to check this version more
3399 * examples/Makefile.am: Added control to avoid some examples that
3400 just make sense with maemo gtk.
3403 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3404 hildon modes with the define.
3406 * examples/hildon-edit-toolbar-example.c,
3407 (create_icon_view): Create the icon view without hildon-gtk
3408 helpers if we are not using maemo gtk.
3410 * src/hildon-touch-selector.c,
3411 (_create_new_column): Create the treeview without hildon-gtk
3412 helpers if we are not using maemo gtk.
3414 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3416 * src/hildon-pnnable-area.c,
3417 (hildon_pannable_area_dispose),
3418 (hildon_pannable_area_button_press_cb),
3419 (hildon_pannable_area_child_mapped),
3420 (hildon_pannable_area_add),
3421 (hildon_pannable_area_remove): Added code to control the position
3422 of the event_window when adding and removing children from the
3423 pannable. We have to raise the event window when the child is
3426 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3427 selection mode using custom widget inside pannable)
3429 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3431 * configure.ac: post release version bump
3432 * debian/changelog: version bump
3434 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3439 * configure.ac: bump version
3440 * debian/changelog: updates
3442 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3444 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3445 search mode, in order to avoid lose the focus on the treeview when
3446 a hw key (like enter) is pressed.
3448 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3449 in HildonDateSelector dialog)
3451 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3453 * debian/rules: Added --enable-maintainer-mode
3454 * Makefile.am: Added ACLOCAL_AMFLAGS
3456 This allows to properly regenerate the Makefiles if you modify the
3457 configure.ac or any Makefile.am.
3459 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3461 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3462 properties, not needed at all.
3464 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3466 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3468 * src/hildon-note.c: (hildon_note_set_property),
3469 (hildon_note_get_property), (hildon_note_class_init),
3470 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3471 (hildon_note_new_confirmation_add_buttons): Remove icons.
3472 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3473 (hildon_note_new_information_with_icon_name): Deprecate.
3474 (hildon_note_new_confirmation): Act directly, without calling
3475 the deprecated constructor.
3476 (hildon_note_new_information): Act directly, without calling
3477 the deprecated constructor.
3478 * src/hildon-note.h: Mark deprecate methods as such.
3479 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3480 not run tests on the deprecated methods if built with deprecation
3483 Fixes: NB#91688 (Never show icons in information notes/confirmation
3486 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3488 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3489 (hildon_app_menu_key_press): Remove leftover usage of the
3490 private structure in HildonAppMenu struct.
3491 * src/hildon-app-menu.h: Remove leftover private structure
3492 from the HildonAppMenu struct.
3494 Fixes a crasher when using the HildonAppMenu.
3496 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3498 * src/hildon-picker-dialog.c: Use appropriate logical id
3499 for the default "Done" text.
3501 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3503 * configure.ac: post release version bump
3504 * debian/changelog: version bump
3506 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3508 Modified the way to scroll to the current selection just when the touch
3509 selector is shown on the screen, avoiding a g_idle. Added too a property
3510 to configure this behaviour. See hildon_pannable_area_jump_to_child
3511 documentation for more information.
3513 * src/hildon-touch-selector.c
3514 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3515 Added 'initial-scroll' property
3516 (hildon_touch_selector_set_property): Added
3517 (hildon_touch_selector_map): Removed as not required anymore
3518 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3519 only a concrete column, instead of iterate along all the columns
3521 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3526 * configure.ac: bump version
3527 * debian/changelog: updates
3529 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3531 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3532 compilation time warnings.
3534 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3536 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3537 the default value for HildonPannableArea::mov-mode to
3538 HILDON_PANNABLE_AREA_MODE_VERT.
3540 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3542 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3544 Reverting following commit:
3546 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3548 * src/hildon-app-menu-private.h
3549 * src/hildon-app-menu.[ch]
3550 * src/hildon-button.[ch]
3551 * src/hildon-check-button.[ch]
3552 * src/hildon-entry.[ch]
3553 * src/hildon-pannable-area.[ch]
3554 * src/hildon-text-view.[ch]:
3555 Added private field to the object's structure.
3557 because it causes an ABI breakage. We will need to introduce these
3558 changes later at some point. See NB#91636 for an extensive
3559 explanation and status.
3561 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3563 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3565 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3566 remove special cases that are no longer necessary.
3568 Fixes: NB#91016 (Change toolbar sizes, simplification)
3570 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3572 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3573 is shown in the cancel note.
3575 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3577 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3578 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3579 (hildon_seekbar_init): Remove steppers, remove expose event.
3580 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3582 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3584 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3586 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3587 label font to "SmallSystemFont" for vertically arranged buttons.
3589 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3592 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-check-button.c
3595 (hildon_check_button_set_active, hildon_check_button_clicked):
3596 Don't access private parts directly, use getters instead.
3598 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3600 * src/hildon-check-button.c (hildon_check_button_new):
3601 Align the contents of the check button to the left.
3603 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3605 * src/hildon-pannable-area.c,
3606 (hildon_pannable_area_scroll_to),
3607 (hildon_pannable_area_jump_to),
3608 (hildon_pannable_area_scroll_to_child),
3609 (hildon_pannable_area_jump_to_child): Replace the mapped
3610 precondition of these functions with the realized, it is the
3611 correct state of the widget in this case. Changed the
3612 documentation according to this modification.
3614 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3616 Added a new EXTRA_CFLAGS option to add the deprecated define to
3617 the compilation command. This way we can avoid using the define in
3618 the documentation compilation.
3620 * configure.ac: Defined EXTRA_CFLAGS.
3622 * examples/Makefile.am:
3624 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3626 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3628 * src/hildon-picker-dialog.c:
3629 Defined a utility macro with the desired touch selector height
3630 Removed currently unused separator, and title_label variables from
3632 (hildon_picker_dialog_init): Removed code related to the creation
3633 of unused private variables title_label and separator.
3634 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3635 to ensure correct visualization of the touch selector inside the dialog.
3636 * src/hildon-touch-selector.c
3637 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3638 ensure a concrete height of the widget.
3640 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3643 * tests/Makefile.am:
3645 Remove spurious whitespaces.
3647 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3649 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3650 compilation warning after the cancel button removal.
3652 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3654 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3656 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3657 Makefile.am, that way we can choose not to compile some examples
3658 and tests of the deprecated widgets.
3660 * examples/Makefile.am: Divided the sources in deprecated and
3663 * src/Makefile.am: Added undef statement of the deprecated
3664 symbol to the enums file generation process.
3666 * src/hildon-color-chooser-dialog.c
3667 * src/hildon-color-chooser-dialog.h
3668 * src/hildon-color-button.c
3669 * src/hildon-color-button.h
3670 * src/hildon-color-chooser.c
3671 * src/hildon-color-chooser.h
3672 * src/hildon-controlbar.c
3673 * src/hildon-controlbar.h
3674 * src/hildon-date-editor.c
3675 * src/hildon-date-editor.h
3676 * src/hildon-hvolumebar.c
3677 * src/hildon-hvolumebar.h
3678 * src/hildon-private.c
3679 * src/hildon-private.h
3680 * src/hildon-range-editor.c
3681 * src/hildon-range-editor.h
3682 * src/hildon-seekbar.c
3683 * src/hildon-seekbar.h
3684 * src/hildon-time-editor.c
3685 * src/hildon-time-editor.h
3686 * src/hildon-time-picker.c
3687 * src/hildon-time-picker.h
3688 * src/hildon-volumebar.c
3689 * src/hildon-volumebar.h
3690 * src/hildon-vvolumebar.c
3691 * src/hildon-vvolumebar.h
3692 * src/hildon-bread-crumb-trail.h
3693 * src/hildon-bread-crumb-trail.c
3694 * src/hildon-calendar-popup.c
3695 * src/hildon-calendar-popup.h
3696 * src/hildon-weekday-picker.c:
3697 * src/hildon-weekday-picker.h:
3698 * src/hildon-bread-crumb-widget.c:
3699 * src/hildon-bread-crumb-widget.h:
3700 * src/hildon-bread-crumb.c:
3701 * src/hildon-bread-crumb.h:
3702 * src/hildon-calendar.c:
3703 * src/hildon-calendar.h:
3704 * src/hildon-caption.c:
3705 * src/hildon-code-dialog.c:
3706 * src/hildon-code-dialog.h:
3707 * src/hildon-font-selection-dialog.c:
3708 * src/hildon-font-selection-dialog.h:
3709 * src/hildon-get-password-dialog.c:
3710 * src/hildon-get-password-dialog.h:
3711 * src/hildon-login-dialog.c:
3712 * src/hildon-login-dialog.h:
3713 * src/hildon-number-editor.c:
3714 * src/hildon-number-editor.h:
3715 * src/hildon-set-password-dialog.c:
3716 * src/hildon-set-password-dialog.h:
3717 * src/hildon-sort-dialog.c:
3718 * src/hildon-sort-dialog.h: This is the list of deprecated
3721 * src/hildon-touch-selector.c:
3722 * src/hildon-window.c: Added undef statement to avoid compilation
3725 * tests/Makefile.am: Divided the sources in deprecated and
3728 * tests/check_test.c,
3729 (configure_tests): Marked the deprecated code that was adding
3730 suites with deprecated tests.
3732 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3734 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3736 * src/hildon-touch-selector.c: (_default_print_func): Do not
3737 duplicate a string returned by gtk_tree_model_get(), it is already
3740 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3743 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3745 * src/hildon-pannable-area.c
3746 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3747 method, it had problems when adding a widget with viewport the
3748 second time. Now checks if it already has a viewport and uses it.
3750 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3753 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3755 * src/hildon-pannable-area.c,
3756 (hildon_pannable_area_scroll_to),
3757 (hildon_pannable_area_jump_to),
3758 (hildon_pannable_area_scroll_to_child),
3759 (hildon_pannable_area_jump_to_child): Added a precondition to the
3760 scroll and jump to functions: the widget must be mapped before we
3761 can safely call these functions. We have also added documentation
3762 to the functions to explain how to use them in this situation.
3765 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3767 Reviewed the threading handling of the pannable widget, we have
3768 used the gdk_threads_add_timeout function instead of the usual
3769 glib handlers. This avoids some problems with the threads.
3771 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3772 (hildon_pannable_area_initial_effect),
3773 (hildon_pannable_area_scroll_indicator_fade),
3774 (hildon_pannable_area_button_press_cb),
3775 (hildon_pannable_area_timeout),
3776 (hildon_pannable_area_motion_notify_cb),
3777 (hildon_pannable_area_button_release_cb),
3778 (hildon_pannable_area_scroll_cb),
3779 (hildon_pannable_area_scroll_to): Removed the
3780 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3781 gdk_threads_add_timeout.
3783 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3785 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3790 * configure.ac: bump version
3791 * debian/changelog: updates
3793 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3795 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3796 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3797 * src/hildon-color-chooser-dialog.c:
3798 (hildon_color_chooser_dialog_init):
3799 * src/hildon-font-selection-dialog.c:
3800 (hildon_font_selection_dialog_init):
3801 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3803 Remove all cancel/close-like dialogs, as these are not going to be
3806 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3808 * src/hildon-note.c: (hildon_note_rebuild),
3809 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3812 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3814 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3816 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3817 sure all buttons are shown, even the Cancel/Close-like ones.
3819 Fixes: NB#90861 (Custom Confirmation dialogs should be
3820 protected from cancel button removal)
3822 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3824 * debian/control: Change libhildon1-examples dependency from libhildon1
3826 * debian/libhildon1-examples.install
3828 * Makefile.am: Modified the final install directory for the examples on
3829 package libhildon1-examples
3830 * Makefile.static: Update clean target in order to remove all the binary
3833 Changes suggested by Claudio after review new libhildon1-examples package
3835 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3837 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3838 * src/hildon-touch-selector.c: Ditto.
3840 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3842 * debian/control: Added new package libhildon1-examples, in order to pack
3843 the current hildon examples as documentation
3844 * debian/rules: Not to compress .c files, modify some includes on the
3845 examples (as normally are compiled locally, but when installed it will
3846 require to include the installed libhildon1 library), and rename
3848 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3849 install all the example files on the new example package
3850 * examples/Makefile.static: Added static makefile that can be used to
3851 compile the examples, once installed the new example package
3852 * examples: Most of the examples were modified in order to grant that
3853 all use only '#include "hildon.h"', in order to be easy to prepare
3854 it on the example package
3856 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3859 * debian/libhildon1-dev.install
3860 * debian/libhildon1-doc.install:
3861 Move all gtk-doc files to a separate libhildon1-doc package.
3863 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3865 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3869 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3871 * debian/rules: Fixed a error in order to avoid unnecessary calls
3872 to autogen.sh on package building
3874 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3876 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3878 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3883 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3885 * src/hildon-picker-button.c
3886 (hildon_picker_button_finalize):
3887 Free priv->done_button_text
3889 * src/hildon-time-button.c
3890 (hildon_time_button_set_time)
3891 * src/hildon-picker-button.c
3892 (hildon_picker_button_clicked)
3893 (hildon_picker_button_selector_selection_changed)
3894 (hildon_picker_button_set_selector)
3895 * src/hildon-date-button.c
3896 (hildon_date_button_set_date):
3897 Free strings returned by hildon_touch_selector_get_current_text()
3899 * src/hildon-button.c (hildon_button_construct_child):
3900 Fix leaks in priv->image and priv->label_box
3902 Fixes: NB#90535 (Memory leak in picker button)
3904 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3906 * src/hildon-button.c: (hildon_button_get_property): Do not access
3907 private elements directly, use getters instead.
3909 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3911 * src/hildon-app-menu-private.h
3912 * src/hildon-app-menu.c
3913 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3914 Store the menu's parent window.
3916 * src/hildon-stackable-window.c
3917 (hildon_stackable_window_toggle_menu)
3918 (hildon_stackable_window_finalize):
3919 Set the menu's parent window when the menu is shown, unset it when
3922 * src/hildon-app-menu.c
3923 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3924 (hildon_app_menu_class_init):
3925 Send unhandled keyboard accelerators to the parent window.
3927 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3929 * src/hildon-stackable-window.c
3930 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3932 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3934 * configure.ac: post release version bump
3936 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3939 * configure.ac: Bump version
3940 * debian/changelog: Updates
3941 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3944 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3946 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3949 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3950 GtkMenu with Hildon style.
3952 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3954 * src/hildon-picker-button.c:
3955 (hildon_picker_button_set_done_button_text): Set the dialog's
3956 done button text here as well.
3958 Fixes: NB#90232 (Picker button does not set the label on done button
3959 for the second time)
3961 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3966 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3968 * src/hildon-app-menu.c (hildon_app_menu_insert)
3969 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3970 the HildonAppMenu to be activatable using keyboard accelerators
3971 when the menu is not being shown.
3973 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3975 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-stackable-window.c
3978 (hildon_stackable_window_show):
3979 Don't hide old windows automatically when new windows are shown:
3980 this is now a task for the window manager.
3981 (hildon_stackable_window_class_init)
3982 (hildon_stackable_window_hide):
3983 Remove windows from the stack everytime they're hidden.
3984 (hildon_stackable_window_realize):
3985 Don't change the _NET_WM_WINDOW_TYPE property. Use
3986 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3987 it as a stackable window.
3989 * src/hildon-program.c
3990 (hildon_program_pop_window_stack):
3991 Just hide the window to remove it from the stack.
3992 (hildon_program_go_to_root_window):
3993 Don't call gtk_widget_show(), this is now a task for the window
3996 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3998 2008-10-15 Alberto Garcia <agarcia@igalia.com>
4000 * src/hildon-button.c
4001 (hildon_button_construct_child):
4002 Don't pack anything in the button until text or image are
4003 set. This allows adding a custom child after creating the button
4004 with hildon_button_new().
4005 (hildon_button_finalize, hildon_button_class_init)
4006 (hildon_button_init, hildon_button_set_arrangement): Destroy the
4007 alignment and the label box even when they're not packed in the
4010 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
4012 * src/hildon-touch-selector.h:
4013 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
4014 currently the type definition was using GTK_TYPE_VBOX
4015 * src/hildon-touch-selector.c:
4016 Added some implementation notes in order to clarify that any other widget
4017 added without the column related API will not be included on the
4018 selection logic, and how the widget is freed, as some people ask about
4020 (hildon_touch_selector_remove): Reimplemented in order to free properly
4021 the column related data when you remove the private hbox.
4022 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
4023 to get a proper HildonTouchSelectorColumn documentation
4025 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-touch-selector-entry.c:
4028 (hildon_touch_selector_entry_print_func): Return NULL if there is no
4029 text in the GtkEntry and there is no item selected. Fixes a
4032 2008-10-13 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-app-menu-private.h
4035 * src/hildon-app-menu.[ch]
4036 * src/hildon-button.[ch]
4037 * src/hildon-check-button.[ch]
4038 * src/hildon-entry.[ch]
4039 * src/hildon-pannable-area.[ch]
4040 * src/hildon-text-view.[ch]:
4041 Added private field to the object's structure.
4043 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
4045 * configure.ac: post-release version bump
4047 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4051 * configure.ac: pre-release version bump
4053 * debian/changelog: updates.
4055 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
4058 Disconnect the handler for HildonTouchSelector::changed.
4060 (hildon_picker_button_selector_selection_changed): Update the button
4061 value if the selection change was not triggered by the
4064 (hildon_picker_button_set_selector): connect to
4065 HildonTouchSelector::changed.
4067 Fixes: NB#89650 (Picker button is not updated, when selection in
4068 selector has changed)
4070 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
4072 * src/hildon-picker-dialog.c
4073 (hildon_picker_dialog_realize): Removed as not required
4074 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
4075 * src/hildon-picker-button.c
4076 (_current_selector_empty): New function, checks if the selector is empty
4077 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
4078 if the current selector is empty, in order to avoid to show the dialog
4079 close the dialog in this case (and shows a g_warning).
4081 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
4083 2008-10-09 Alejandro G. Castro <alex@igalia.com>
4085 * src/hildon-pannable-area.c,
4086 (hildon_pannable_area_scroll): Added clause to stop movement when
4087 the child of pannable is smaller than one page.
4088 (hildon_pannable_area_scroll_to): Added conditions to avoid
4089 starting the scrolling movement if the child is smaller than one
4090 page, the complete child is in the screen, we do not have to move.
4092 Fixes: NB#89632 (Picker button selection doesn't change on first click)
4094 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4096 * src/hildon-app-menu.c: Removed the 'columns' property, as now
4097 this is managed automatically by the widget when the size of the
4100 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4102 * src/hildon-picker-button.c
4103 (hildon_picker_button_set_done_button_text): Make a copy of the
4104 text, and free the previous value.
4106 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-touch-selector-entry.c:
4109 (hildon_touch_selector_entry_print_func): Return the selected row's
4110 text if the entry is empty.
4112 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4115 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4119 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-check-button.h
4123 * src/hildon-check-button.c
4124 * examples/hildon-check-button-example.c:
4125 HildonCheckButton is now a new widget. 'toggled' signal added.
4127 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4129 * src/hildon-program-private.h
4130 * src/hildon-program.c (hildon_program_init)
4131 (hildon_program_finalize): Removed unused variables group_leader
4132 and name from HildonProgramPrivate.
4134 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4136 * src/hildon-check-button.c (hildon_check_button_set_active)
4137 (hildon_check_button_get_active, hildon_check_button_new): Use
4138 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4140 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4142 * src/hildon-touch-selector.h
4143 (hildon_touch_selector_set_column_attributes): added deprecation
4144 guard HILDON_DISABLE_DEPRECATED
4145 * src/hildon-time-selector.c
4146 (hildon_time_selector_set_time)
4147 (hildon_time_selector_get_time): Fixed a typo on documentation
4148 * src/hildon-touch-selector.c: update HildonTouchSelector and
4149 HildonTouchSelectorColumn documentation
4150 * src/hildon-touch-selector-entry.c: update "text-column" property
4152 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4153 to be added to the general documentation.
4155 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4157 * examples/hildon-pannable-area-example-4.c,
4159 * examples/hildon-pannable-area-example.c,
4160 (main): Modified the code in order to use the container add, with
4161 viewport treeviews could have problems if they are really big.
4163 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4165 * src/hildon-weekday-picker.c,
4166 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4167 the agreement regarding deprecation in the library.
4169 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4171 * examples/hildon-picker-button-multicolumn-example.c:
4172 (main): Use custom "done" button text.
4174 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4175 (hildon_picker_button_set_property),
4176 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4177 (hildon_picker_button_init),
4178 (+hildon_picker_button_get_done_button_text),
4179 (+hildon_picker_button_set_done_button_text): New methods to customize
4180 the "done" button label in the launched HildonPickerDialog. Also,
4183 * src/hildon-picker-button.h: add the public API.
4185 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4187 * src/hildon-date-selector.h:
4188 * src/hildon-picker-dialog.h:
4189 * src/hildon-time-selector.h:
4190 * src/hildon-touch-selector-column.h:
4191 * src/hildon-touch-selector.h:
4193 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4194 declarations. Fixes gtk-doc warnings.
4196 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4198 * src/hildon-picker-dialog.h
4199 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4200 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4202 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4203 long text is set as label for done button)
4205 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4207 * src/hildon-dialog.c (hildon_dialog_add_button):
4208 Set fixed width to all buttons in the HildonDialog.
4210 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4212 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4214 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4215 Set widget name using class name plus "-finger" or "-thumb".
4217 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4220 'clicked' when the state of the button is manually changed.
4222 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-app-menu.c (hildon_app_menu_realize)
4225 (hildon_app_menu_unrealize, hildon_app_menu_init)
4226 (hildon_app_menu_class_init, item_visibility_changed):
4227 Change the menu layout when the size of the screen changes.
4228 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4229 Show warning only when changing the number of colums using the
4232 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4234 * debian/compat: Set to 5
4235 * debian/control: Update dependencies.
4236 * debian/libhildon1-dbg.install: Remove.
4237 * debian/libhildon1-dev.install: Update according to cdbs paths.
4238 * debian/libhildon1.install: Update according to cdbs paths.
4239 * debian/rules: Switch to cdbs.
4241 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4243 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4244 'item' variable renamed to 'filter'
4246 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4248 * src/hildon-app-menu.c (hildon_app_menu_insert)
4249 (hildon_app_menu_add_filter, remove_item_from_list)
4250 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4251 Don't leak hidden items when the menu is destroyed.
4253 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4255 * src/hildon-app-menu.c (hildon_app_menu_insert)
4256 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4257 (hildon_app_menu_set_columns, item_visibility_changed)
4258 (filter_visibility_changed, hildon_app_menu_repack_filters)
4259 (hildon_app_menu_repack_items):
4260 Repack items and filters separately.
4262 Don't repack all items, change only the ones that are needed to
4265 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4267 * src/Makefile.am: added hildon-touch-selector-column.h
4269 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4271 * src/hildon-touch-selector.c: added the property "text-column" to the
4272 class HildonTouchSelectorColumn, and related get/set functions
4273 (_default_printf_func): updated to use "text-column" property
4274 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4275 "text-column" in his documentation, as this is now included on
4276 HildonTouchSelectorColumn. The get/set_property can still be used,
4277 working as a wrapper to the concrete column "text-column" property
4278 (_text_column_modified): callback added in order to handle the signal
4279 "notify::text-column" of the concrete HildonTouchSelectorColumn
4280 (hildon_touch_selector_entry_get_text_column)
4281 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4282 modified in order to use the HildonTouchSelectorColumn "text-column"
4284 * src/hildon-time-selector.c:
4285 * src/hildon-date-selector.c:
4286 * examples/hildon-touch-selector-example.c
4287 * examples/hildon-touch-selector-multi-cells-example.c
4288 * examples/hildon-picker-button-multicolumn-example.c
4289 Set the right value to "text-column" property on the creation of a new
4290 column using hildon_touch_selector_append_column()
4292 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4294 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4296 * src/hildon-app-menu.c
4297 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4298 updating the layout of the menu, don't create all widgets again,
4299 just repack the items in their new places.
4301 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4303 * src/hildon-time-selector.c
4304 (hildon_time_selector_get_time)
4305 (hildon_time_selector_set_time)
4306 Added documentation of these public methods
4308 * src/hildon-date-button.h
4309 * src/hildon-touch-selector-column.h
4310 * src/hildon-time-button.h
4311 * src/hildon-picker-dialog.h
4312 * src/hildon-time-selector.h
4313 * src/hildon-picker-button.h
4314 * src/hildon-touch-selector.h
4315 * src/hildon-time-picker.h
4316 * src/hildon-date-selector.h
4317 * src/hildon-touch-selector-entry.h
4318 Modified in order to use hildon-widgets code style
4320 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4322 Added deprecated support to the compilation process using
4323 HILDON_DISABLE_DEPRECATED
4325 * configure.ac: Added the --disable-deprecated to the configure
4328 * src/hildon-weekday-picker.c:
4329 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4330 to use the deprecated support. We will update the other deprecated
4331 widgets status in a new patch.
4333 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4335 * configure.ac: Fixed typo with fatal warnings support, the
4336 variable name was not correct
4338 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-app-menu.c
4341 * src/hildon-program.c: Update documentation.
4343 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4345 * configure.ac: Post-release version bump.
4347 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4352 * configure.ac: Pre-release version bump.
4353 * debian/changelog: Updates.
4355 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4357 * NEWS: Update news for previous releases.
4359 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4361 * examples/hildon-touch-selector-multi-cells-example.c:
4362 (create_selector): Update the example to use
4363 hildon_touch_selector_append_column() with a NULL renderer and set
4364 the renderers later.
4365 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4366 passed a NULL renderer. This is documented behavior now.
4368 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4369 This must be used if the developer wants full control on the layout of
4370 the renderers to be added to the column.
4372 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4374 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/hildon-touch-selector.c: Documentation fixes.
4378 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4380 * src/hildon-wizard-dialog-private.h: Remove image and box.
4381 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4382 (hildon_wizard_dialog_set_property), (response): Completely remove
4383 image/icon support, and the containers required for the layout.
4385 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4387 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4389 * src/hildon-app-menu.c: Updated documentation.
4391 * src/hildon-stackable-window.c
4392 (hildon_stackable_window_set_main_menu): Unref the old menu after
4393 ref'ing the new one.
4395 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4397 * src/hildon-stackable-window.c
4398 (hildon_stackable_window_set_main_menu): Unref the previous menu
4399 instead of destroying it.
4401 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4402 floating reference and set has_user_ref_count to FALSE to make
4403 HildonAppMenu act like a normal ref-counted widget and not a
4406 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4409 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4411 * src/hildon-touch-selector-column.h: new file
4412 * src/hildon-touch-selector.h
4413 * src/hildon-touch-selector.c
4414 Implemented GtkCellLayout interface, in order to allow to configure
4415 the cell layout on each individual selector column
4416 (hildon_touch_selector_set_column_attributes): marked as deprecated
4417 * examples/hildon-touch-selector-multi-cells-example.c
4418 Example of how to use the GtkCellLayout interface on the selector
4420 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4422 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4424 * src/hildon-app-menu.h
4425 * src/hildon-app-menu.c
4426 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4427 (hildon_app_menu_append, hildon_app_menu_prepend):
4428 New methods to prepend, insert and move items in the menu.
4430 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4432 * src/hildon-wizard-dialog.c:
4434 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4436 (create_title): Update logical IDs and related code.
4437 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4439 * src/hildon-wizard-dialog.h: Note that
4440 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4441 point, as it is not used anymore.
4443 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4445 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4447 * src/hildon-note.c:
4448 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4449 shown. Do not display an icon in confirmation notes nor information
4451 (hildon_note_set_button_text): Update logical ID for cancel button.
4453 Fixes: NB#88850 (Update HildonNote button strings + signals)
4455 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4457 * src/hildon-stackable-window.c
4458 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4460 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-app-menu-private.h
4463 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4464 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4465 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4466 temporary property 'columns' to change the number of columns.
4468 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4470 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4472 * examples/hildon-note-example.c: (on_information_clicked),
4473 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4474 debugging information.
4475 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4477 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4478 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4479 in order to close: this will be handled by the WM from now on.
4481 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4483 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4485 * src/hildon-app-menu-private.h
4486 * src/hildon-app-menu.c
4487 (hildon_app_menu_append, hildon_app_menu_add_filter)
4488 (button_visibility_changed, hildon_app_menu_apply_style)
4489 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4490 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4491 layout everytime a button (item or filter) is shown or hidden.
4493 * src/hildon-stackable-window.c
4494 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4497 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4499 * src/hildon-touch-selector.c:
4500 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4501 that the treeview inside the touch selector is in fremantle hildon mode
4502 * examples/hildon-date-button-example.c
4503 * examples/hildon-picker-button-multicolumn-example.c
4504 * examples/hildon-touch-selector-entry-example.c
4505 * examples/hildon-touch-selector-example.c
4506 * examples/hildon-time-button-example.c
4507 * examples/hildon-picker-button-example.c:
4508 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4510 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4512 * examples/hildon-text-view-example.c: (main): Remove the
4513 gtkrc bits, now handled by the theme.
4515 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4517 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4520 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4522 * po/Makefile.am: Install properly the mo files.
4523 * po/en_GB.po: Update translation, to ease testing purposes.
4525 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4527 * examples/hildon-picker-button-example.c: (main): Select an item
4528 in the selector before setting it to the button.
4530 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4532 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4533 Update button's value if the selector has an item active.
4535 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4536 'value' with the selector)
4538 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4540 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4541 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4542 (hildon_picker_button_class_init): Plug the finalize method.
4543 (hildon_picker_button_set_selector): If there's a previously set
4544 selector, unref'it before setting a new one.
4546 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4547 HildonTouchSelector)
4549 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-touch-selector-entry.c:
4552 (hildon_touch_selector_entry_changed): Check if there is no text
4553 selected before setting the entry text.
4556 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4558 * src/hildon-touch-selector.h
4559 * src/hildon-touch-selector.c
4560 (hildon_touch_selector_get_active)
4561 (hildon_touch_selector_set_active): New methods to set/get the
4562 index of the selected item.
4564 * src/hildon-picker-button.h
4565 * src/hildon-picker-button.c
4566 (hildon_picker_button_get_active)
4567 (hildon_picker_button_set_active): New methods to set/get the
4568 index of the selected item.
4570 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4572 * configure.ac: post-release version bump.
4574 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4578 * configure.ac: Pre-release version bump.
4579 * debian/changelog: Updates.
4580 * debian/control: Add myself as maintainer and depend on l10n
4583 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4585 * src/hildon-window.c
4586 (hildon_window_set_main_menu)
4587 * src/hildon-stackable-window.c
4588 (hildon_stackable_window_set_main_menu):
4589 Updated documentation.
4591 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4593 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4594 Don't free selector->priv manually.
4597 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4600 (hildon_gtk_window_set_progress_indicator):
4601 * src/hildon-gtk.h: Added the new API
4602 hildon_gtk_window_set_progress_indicator, it changes the state of
4603 the window progress hint.
4605 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4607 * src/hildon-button.c
4608 * src/hildon-stackable-window.c: Minor documentation updates.
4610 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4612 * src/hildon-stackable-window.c: Updated documentation.
4614 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4616 * src/hildon-defines.h: Update margins definitions
4617 to the Fremantle sizes.
4620 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4622 * src/hildon-touch-selector.c,
4623 (_hildon_touch_selector_set_model): Cleaning the code after
4624 review, removed g_print and #if 0 from the code.
4626 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4628 * src/hildon-edit-toolbar.c: Update documentation.
4630 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4632 * src/hildon-check-button.h
4633 * src/hildon-check-button.c
4634 (hildon_check_button_set_label, hildon_check_button_get_label)
4635 * examples/hildon-check-button-example.c
4636 (button_clicked_cb):
4637 Removed deprecated methods.
4639 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-text-view.c:
4642 Add sample code to the documentation.
4644 * src/hildon-entry.h
4645 * src/hildon-text-view.h:
4646 Minor cosmetic changes.
4648 * src/hildon-entry.c:
4649 Add sample code to the documentation.
4650 (hildon_entry_init, hildon_entry_refresh_contents):
4651 Don't allow NULL values in the placeholder.
4653 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4655 * doc/hildon-docs.sgml
4657 * examples/Makefile.am
4658 * examples/hildon-text-view-example.c
4660 * src/hildon-text-view.c
4661 * src/hildon-text-view.h
4663 New HildonTextView widget, with example.
4665 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4667 * po/POTFILES.in: Add missing files with translatable strings.
4668 Partially fixes NB#88287.
4670 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4672 * examples/hildon-pannable-area-example-2.c: (main): No need to
4673 set the cellrenderer height inside hildon touch lists, the theme does
4676 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4678 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4679 they are integrated in the theme.
4681 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4683 * examples/hildon-entry-example.c: Update the example adding
4684 widgets to modify the text and the placeholder of the HildonEntry.
4686 * src/hildon-entry.c: Show the placeholder everytime the widget
4687 is empty and loses the focus.
4689 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4691 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4693 * src/hildon-pannable-area.c,
4694 (hildon_pannable_area_size_request): Fixed bug in height
4695 requisition, avoid increasing size and add border twice.
4697 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4699 * configure.ac: postrelease version bump.
4701 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4705 * configure.ac: Prerelease version bump.
4706 * debian/changelog: update.
4707 * debian/rules: make -dbg package contain useful debugging symbols.
4709 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-dialog.h
4712 * src/hildon-dialog.c
4713 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4714 New methods to add buttons with finger size.
4715 (hildon_dialog_new_with_buttons):
4716 Create buttons with finger size.
4718 * examples/hildon-dialog-example.c (main): Use HildonDialog
4719 methods to add buttons.
4721 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4723 * src/hildon-entry.c: Updated HildonButton documentation.
4725 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4727 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4728 button value label with (FALSE, FALSE) to prevent NB#88126 from
4731 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4733 * examples/hildon-pannable-area-example.c,
4734 (main): Removed examples panning a vbox inside a pannable
4735 area. Check bug NB#87965
4737 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4739 Patch contributed by Kris Rietveld (kris@imendio.com)
4741 * src/hildon-pannable-area.c,
4742 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4743 get_size and get_position, this saves an X server roundtrip.
4745 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4747 * doc/hildon-docs.sgml
4749 * examples/Makefile.am
4750 * examples/hildon-entry-example.c
4752 * src/hildon-entry.c
4753 * src/hildon-entry.h
4755 New HildonEntry widget, with example.
4757 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4759 * src/hildon-button.c (hildon_button_construct_child): Pack the
4760 image with expand == fill == FALSE. This is a workaround for a bug
4763 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4765 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4766 labels for the text column, to make it more look more dynamic.
4768 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4770 * src/hildon-time-selector.c
4771 Define gettext auxiliar macro N_
4772 (_create_minutes_model)
4773 (_create_hours_model)
4774 (_create_ampm_model): use of strftime in order to fill the model
4775 * src/hildon-date-selector.c
4776 (hildon_date_selector_finalize):
4777 (_locales_init): remove the logic related to get the name of the months
4778 using nl_langinfo, as it is not required anymore
4780 (_create_year_model)
4781 (_create_month_model)
4782 (_update_day_model): use of strftime in order to fill the model properly
4785 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4787 * src/hildon-button.h
4788 * src/hildon-button.c (hildon_button_get_image): New method to
4791 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4793 * src/hildon-touch-selector.c:
4794 (hildon_touch_selector_remove_column): Remove from the correct parent
4795 and also remove the list element and free it.
4798 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4800 * src/hildon-time-selector.c
4801 (_create_hours_model): change the range on 12h ampm format in order to use
4802 a 12-11 range instead of previous 01-12 range
4803 (hildon_time_selector_set_time): change the way to select the current time
4804 on 12h ampm format, due the change on the range
4805 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4808 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4810 * src/hildon-touch-selector.c
4811 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4812 in order to allow use this function on multiple row selection mode if
4813 the column is different that the first one
4816 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4819 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4821 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4823 * src/hildon-date-selector.h: clean some comments, now on the .c
4824 * src/hildon-date-selector.c
4825 (hildon_date_selector_select_month): first implementation
4826 (hildon_date_selector_select_day): added documentation, reimplemented
4827 using hildon_date_selector_select_current_date to avoid repeat code
4830 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4832 Reviewed interaction logic based on device experiences, refactored
4835 * src/hildon-pannable-area.c,
4836 (hildon_pannable_area_class_init): Updated default vmax speed.
4837 (hildon_pannable_area_calculate_velocity): Added this function, it
4838 avoids duplicate valocity calculation. Adjusted calculation to
4839 avoid problems with zero dist events.
4841 (hildon_pannable_area_motion_notify_cb): Now we use the
4842 calculate_velocity function.
4844 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4846 * src/hildon-date-selector.c
4847 (hildon_date_selector_select_current_date): fix the day range check
4848 as it failed using the last day of the current month
4851 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4853 * src/hildon-touch-selector.c
4854 (hildon_touch_selector_get_num_columns): added a parameter validation
4857 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4859 * examples/Makefile.am
4860 * examples/hildon-edit-toolbar-example.c: Example of the
4861 HildonEditToolbar widget.
4863 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4865 * configure.ac: postrelease version bump.
4867 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4871 * configure.ac: prerelease version bump.
4872 * debian/changelog: update.
4874 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4876 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4877 renderer to display stock icons in the touch list. Also, set the sizes
4878 to the recommended in the style guide.
4880 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4881 * src/hildon-touch-selector.h
4882 (hildon_touch_selector_set_active_iter): renamed, now is
4883 hildon_touch_selector_select_iter
4884 (hildon_touch_selector_get_active_iter): renamed, now is
4885 hildon_touch_selector_get_selected
4886 (hildon_touch_selector_unselect_iter): added
4887 * src/hildon-touch-selector.c
4888 Update after API modification (methods renamed)
4889 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4890 order to avoid problems selecting multiple elements on the column
4891 (hildon_touch_selector_unselect_iter): added the implementation
4892 * src/hildon-time-selector.c
4893 * src/hildon-date-selector.c
4894 * src/hildon-touch-selector-entry.c
4895 Update methods calls after hildon-touch-selector.h API modification (methods
4898 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4900 * src/hildon-stackable-window.c
4901 (hildon_stackable_window_finalize): Call the parent class's finalize.
4903 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4905 * examples/hildon-touch-selector-example.c: (create_selector): Use
4906 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4909 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4911 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4912 set a cell background color, to respect theming.
4914 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4916 * doc/hildon-docs.sgml
4919 * src/hildon-edit-toolbar.c
4920 * src/hildon-edit-toolbar.h
4921 * src/hildon.h: New HildonEditToolbar widget.
4923 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4925 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4928 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4929 * src/hildon-touch-selector.c
4930 (_create_new_column): use g_object_set instead of two g_object_set_property
4932 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4933 * src/hildon-touch-selector.c
4934 (_create_new_column): use of hildon_gtk_tree_view_new to create
4935 the treeview, instead of use directly g_object_new
4936 (_create_new_column): update the property name "vindicator-mode" for the
4937 new one "vscrollbar-policy"
4938 * examples/hildon-date-button-example.c
4939 * examples/hildon-picker-button-multicolumn-example.c
4940 * examples/hildon-touch-selector-entry-example.c
4941 * examples/hildon-touch-selector-example.c
4942 * examples/hildon-time-button-example.c
4943 * examples/hildon-picker-button-example.c
4944 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4945 to all the treeviews inside a pannable area.
4947 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4949 * src/hildon-button.h
4950 * src/hildon-button.c (hildon_button_init)
4951 (hildon_button_set_arrangement, hildon_button_set_alignment)
4952 (hildon_button_set_title_alignment)
4953 (hildon_button_set_value_alignment)
4954 (hildon_button_set_image_alignment)
4955 (hildon_button_construct_child): New methods to set the alignment
4956 of the individual components of the button (title, value,
4957 image). Also, new method to alter the xscale and yscale properties
4958 of the GtkAlignment inside the button, so more complex layouts can
4961 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4963 * src/hildon-button.c (hildon_button_style_set)
4964 (hildon_button_class_init, hildon_button_set_arrangement)
4965 (hildon_button_construct_child): Apply style properties
4966 correctly. Use the 'image-spacing' style property too.
4968 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4970 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4971 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4974 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4976 * src/hildon-pannable-area.c,
4977 (hildon_pannable_area_size_request): Fixed problem with
4978 pannable-area size_request.
4980 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4982 Added management for the grab-focus to a child widget, like a
4983 range, we need to fade out the scrollbar when releasing.
4985 * src/hildon-pannable-area.c,
4986 (hildon_pannable_area_init): Connected the grab-focus signal to
4988 (hildon_pannable_area_grab_notify): Added this function in order
4989 to manage the situation when the grab-focus ends. We have to
4990 fade-out the scrollbar.
4992 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4994 * src/hildon-app-menu.c: Minor documentation update.
4996 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-app-menu.c
4999 * examples/hildon-app-menu-example.c (create_menu): Update
5000 examples and documentation to explain how to connect callbacks.
5002 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
5004 * examples/hildon-button-example.c
5005 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
5006 hildon_stackable_window_new instead of gtk_window_new
5008 2008-08-22 Alejandro G. Castro <alex@igalia.com>
5010 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
5011 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
5012 (hildon_pannable_area_set_property),
5013 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
5014 (hildon_pannable_area_unrealize),
5015 (hildon_pannable_area_size_request),
5016 (hildon_pannable_area_size_allocate),
5017 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
5018 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
5019 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
5020 (hildon_pannable_area_initial_effect),
5021 (hildon_pannable_area_redraw),
5022 (hildon_pannable_area_scroll_indicator_fade),
5023 (hildon_pannable_area_expose_event),
5024 (hildon_pannable_area_get_topmost), (synth_crossing),
5025 (hildon_pannable_area_button_press_cb),
5026 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
5027 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
5028 (hildon_pannable_area_motion_notify_cb),
5029 (hildon_pannable_area_button_release_cb),
5030 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
5031 (hildon_pannable_area_remove),
5032 (hildon_pannable_calculate_vel_factor): Widget refactorization,
5033 chage the code layout to a more GtkWidget like. Review the use of
5036 2008-08-21 Alejandro G. Castro <alex@igalia.com>
5038 * examples/hildon-pannable-area-example-4.c,
5039 (main): Modified the name of the hindicator_mode to
5042 * src/hildon-pannable-area.c,
5043 (hildon_pannable_area_class_init),
5044 (hildon_pannable_area_motion_notify_cb),
5045 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
5046 we have reduced the amount of signals and managed reviewed its
5047 rationale. Changed the default decelerate value.
5049 (hildon_pannable_area_add),
5050 (hildon_pannable_area_redraw): Refactored functions.
5052 (hildon_pannable_area_init),
5053 (hildon_pannable_area_get_property),
5054 (hildon_pannable_area_set_property):
5055 (hildon_pannable_draw_vscroll),
5056 (hildon_pannable_draw_hscroll),
5057 (hildon_pannable_area_initial_effect),
5058 (hildon_pannable_area_expose_event),
5059 (hildon_pannable_area_scroll),
5060 (hildon_pannable_area_button_press_cb),
5061 (hildon_pannable_area_realize): Replaced the names hindicator_mode
5062 and vindicator_mode with hscrollbar_policy and
5063 vscrollbar_policy. Replaced hscroll and vscroll with
5064 hscroll_visible and vscroll_visible.
5066 (hildon_pannable_area_refresh): Refactor the function, remove
5067 variables and check the calls to this function, added resize
5068 conditions in case the children change their layout.
5070 (hildon_pannable_area_size_request): Added more detailed
5071 size_request calculation.
5074 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
5076 * src/hildon-color-chooser.c
5077 (init_borders): use the correct gtk_border_free instead of g_free, to
5078 avoid a crash when this widget is used (ie: the three color selection
5081 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5083 * src/hildon-check-button.c,
5084 (hildon_check_button_set_active): Fixed problem when setting the
5085 active value, the widget was not redrawn.
5087 2008-08-20 Alejandro G. Castro <alex@igalia.com>
5089 * src/hildon-pannable-area.c,
5090 (hildon_pannable_area_refresh),
5091 (hildon_pannable_area_scroll),
5092 (hildon_pannable_area_motion_notify_cb): Small code style change.
5094 (hildon_pannable_area_class_init): Default initial_hint set to
5095 FALSE, it is not in the specs.
5097 (hildon_pannable_area_initial_effect),
5098 (hildon_pannable_area_expose_event),
5099 (hildon_pannable_area_map),
5100 (hildon_pannable_area_init): Moved the launching point of the
5101 initial effect, it was in map but the sizes where not correct in
5102 that method so we do not know if we have the reproduce it. Now it
5103 is placed in the expose_event method and uses a variable to
5104 reproduce it just once.
5106 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5108 * src/hildon-pannable-area.c,
5109 (hildon_pannable_draw_vscroll),
5110 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5111 position allowed for the scrollbars.
5113 (hildon_pannable_area_size_allocate): Small style change.
5115 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5117 * src/hildon-pannable-area.c,
5118 (hildon_pannable_area_scroll_indicator_fade),
5119 (hildon_pannable_area_button_press_cb),
5120 (hildon_pannable_area_button_release_cb),
5121 (hildon_pannable_area_scroll_cb),
5122 (hildon_pannable_area_expose_event),
5123 (hildon_pannable_area_init): Added the define parameter
5124 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5125 and refactor the fade variable.
5127 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5129 * src/hildon-pannable-area.c,
5130 (hildon_pannable_area_redraw),
5131 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5132 lines, we were reimplemeting the redraw code.
5134 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5136 * src/hildon-pannable-area.c,
5137 (hildon_pannable_area_scroll_cb),
5138 (hildon_pannable_area_realize),
5139 (hildon_pannable_area_class_init): Added scroll_event management
5140 for pannable area, now we can scroll the usual desktop method.
5142 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5143 initialization of the parameters should depend on idle_id.
5145 (hildon_pannable_area_init),
5146 (hildon_pannable_area_map): Small code style modifications
5148 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5150 * src/hildon-pannable-area.c
5151 (hildon_pannable_area_button_press_cb),
5152 (hildon_pannable_area_motion_notify_cb),
5153 (hildon_pannable_area_button_release_cb),
5154 (hildon_pannable_area_size_allocate),
5155 (hildon_pannable_area_scroll_to): Improved the timeouts
5156 management, we avoid creating them each time.
5158 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5160 * src/hildon-pannable-area.c:
5161 (hildon_pannable_area_refresh),
5162 (hildon_pannable_area_motion_notify_cb),
5163 (hildon_pannable_area_class_init):
5164 * src/hildon-pannable-area.h:
5165 * src/hildon-touch-selector.c
5166 (_create_new_column):
5167 * examples/hildon-pannable-area-example-4.c:
5168 (horizontal_movement),
5169 (vertical_movement),
5171 Replaced the names of enums in the HildonPannableArea:
5172 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5173 HILDON_MOVEMENT_MODE_*
5174 - HILDON_PANNABLE_AREA_MOV_* ->
5176 - Removed HildonPannableAreaIndicatorMode, now we
5179 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5181 * examples/hildon-pannable-area-touch-grid-example.c
5182 * examples/hildon-pannable-area-touch-list-example.c: Fix
5183 compilation warnings.
5185 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5187 * src/hildon-gtk.c (hildon_gtk_button_new)
5188 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5189 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5190 images overriding the value of the "gtk-button-images" setting.
5192 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5194 * src/hildon-check-button.c (hildon_check_button_new):
5195 Instead of using a custom container, display the label and the
5196 checkbox using the standard GtkButton API.
5198 * examples/hildon-check-button-example.c (main): Don't use
5199 hildon_check_button_set_label() anymore
5201 * src/hildon-check-button.h
5202 * src/hildon-check-button.c
5203 (hildon_check_button_set_label, hildon_check_button_get_label):
5204 Set as deprecated, now we're using gtk_button_{get,set}_label()
5206 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5208 * src/hildon-pannable-area.c,
5209 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5210 GtkTreeview first line we detected it after the inclusion of the
5211 GtkWindowImpl in gtk+. We now check if the window is visible, not
5212 just if the pointer is over the window.
5213 (hildon_pannable_axis_scroll),
5214 (hildon_pannable_area_expose_event): Small style changes.
5216 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5218 * src/hildon-button.c: Update documentation.
5220 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5222 * examples/hildon-button-example.c: Add a switch to show images in
5225 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5227 * doc/hildon-docs.sgml: Some docs reorganization.
5229 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5231 * examples/hildon-pannable-area-touch-list-example.c
5233 * examples/hildon-pannable-area-touch-grid-example.c
5234 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5235 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5236 Fix memory leak when setting the tree model.
5238 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5242 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5244 * doc/hildon.types: Remove duplicated hildon_window_get_type
5245 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5246 documentation comment.
5248 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5250 * doc/Makefile.am: Complete list of private headers.
5252 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5254 * doc/hildon-docs.sgml
5255 * src/hildon-app-menu.c
5256 * src/hildon-bread-crumb.c
5257 * src/hildon-button.c
5259 * src/hildon-program.c
5260 * src/hildon-stackable-window.c
5261 * src/hildon-window.c: Lots of documentation updates.
5263 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5265 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5267 * configure.ac: Require Gtk+ 2.12.9 at least
5269 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5271 * src/hildon-pannable-area.c
5272 (hildon_pannable_area_scroll_indicator_fade),
5273 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5274 to protect the return of this timeout callbacks, avoiding deadlocks.
5276 2008-08-12 Christian Dywan <christian@imendio.com>
5279 * src/hildon-*.h: Ensure a consistent include order,
5280 include <gtk/gtk.h> instead of particular files and
5281 only include the topmost header in the gtk stack. See NB #39857
5283 2008-08-12 Christian Dywan <christian@imendio.com>
5285 * src/hildon-picker-dialog.c
5286 * src/hildon-touch-selector.c: Fix warnings about unused and
5287 uninitialized variables.
5289 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5291 * examples/Makefile.am
5292 * examples/hildon-check-button-example.c: Example of the hildon
5295 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5297 * src/hildon-window.h
5298 * src/hildon-window.c (hildon_window_class_init)
5299 (hildon_window_unset_program): Don't make
5300 hildon_window_unset_program a virtual function anymore.
5302 * src/hildon-stackable-window.c: Update documentation
5304 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5307 * doc/hildon-docs.sgml
5308 * doc/visual_index.xml
5309 * src/hildon-defines.c
5311 * src/hildon-helper.c
5312 * src/hildon-range-editor.c: Lots of documentation fixes.
5314 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5316 * examples/hildon-picker-button-multicolumn-example.c
5317 (create_touch_selector): Fix compilation warning.
5319 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5321 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5322 (hildon_pannable_area_button_release_cb)
5323 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5325 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5327 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5330 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5332 * src/hildon-bread-crumb-trail.h
5333 * src/hildon-date-editor.c
5334 * src/hildon-date-selector.c
5335 * src/hildon-pannable-area.c
5336 * src/hildon-picker-dialog.c
5337 * src/hildon-time-selector.c
5338 * src/hildon-touch-selector-entry.c
5339 * src/hildon-touch-selector.c
5340 * src/hildon-touch-selector.h: Misc documentation fixes
5342 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5344 * examples/hildon-date-editor-example.c (main): Updated date
5347 * examples/hildon-note-example.c (on_confirmation_clicked):
5348 Updated confirmation note example.
5350 * src/hildon-date-editor.c
5351 * src/hildon-note.c: Updated sample programs in documentation.
5354 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5356 * src/hildon-date-button.h:
5357 * src/hildon-picker-button.h:
5358 * src/hildon-time-button.c:
5359 * src/hildon-time-button.h:
5361 Some declarations changes to allow gtk-doc to document the widgets
5364 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5366 * src/hildon-date-button.c: Document the widget.
5367 * src/hildon-time-button.c: Document the widget.
5369 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5371 * src/hildon-picker-button.c: Document the widget.
5372 * src/hildon-touch-selector-entry.c: Document the widget.
5374 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5376 * doc/hildon-docs.sgml
5379 * src/hildon-check-button.h
5380 * src/hildon-check-button.c: New functions to create the Hildon
5384 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5386 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5388 * src/hildon-button.h
5389 * src/hildon-button.c
5390 (hildon_button_add_title_size_group)
5391 (hildon_button_add_value_size_group)
5392 (hildon_button_add_image_size_group)
5393 (hildon_button_add_size_groups): New functions to set size groups
5394 for the button labels and image.
5395 (hildon_button_new_full): Removed
5397 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5399 * src/hildon-time-selector.c
5400 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5401 in order to avoid a crash if gconf is not available
5403 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5405 * src/hildon-button.c (hildon_button_set_arrangement)
5406 (hildon_button_construct_child): Don't construct the button child
5407 before setting the arrangement.
5409 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5411 * src/hildon-program-private.h
5412 * src/hildon-program.c
5413 * src/hildon-program.h
5414 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5415 (hildon_program_peek_window_stack)
5416 (hildon_program_pop_window_stack)
5417 (hildon_program_go_to_root_window): HildonProgram now has a
5418 separate list for stackable windows. Functions are provided to
5419 manage that list with a stack-like API.
5421 * src/hildon-stackable-window.c: Stackable window management is
5422 now much simpler with the new HildonProgram API. Windows no
5423 longer need to be manually added to the program, they're
5424 automatically pushed to the top of the stack when shown.
5426 * examples/hildon-stackable-window-example.c: Updated example to
5427 reflect the API changes.
5429 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5431 * src/hildon-touch-selector.c: Comment out unimplemented
5432 hildon_touch_selector_insert_column() to avoid a compile warning.
5434 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5436 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5437 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5438 (hildon_touch_selector_set_column_selection_mode),
5439 (_hildon_touch_selector_set_model),
5440 (hildon_touch_selector_set_model):
5442 Complete review of HildonTouchSelector documentation.
5444 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5446 * doc/hildon-docs.sgml
5450 * src/hildon-gtk.c: Convenience functions for standard Gtk
5451 widgets, used to easily perform frequent operations.
5453 * src/hildon-button-helpers.h
5454 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5456 * src/hildon-helper.h
5457 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5458 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5460 * src/hildon-button.h
5461 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5463 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5465 * src/hildon-button.c (hildon_button_init)
5466 (hildon_button_set_arrangement, hildon_button_construct_child):
5467 Pack the image and the labels inside the same GtkAlignment so
5468 gtk_button_set_alignment() can be used
5470 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5472 * src/hildon-button.h
5473 * src/hildon-button.c
5474 (hildon_button_init, hildon_button_set_image)
5475 (hildon_button_set_image_position)
5476 (hildon_button_construct_child): New functions to add an image to
5479 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5481 * src/hildon-date-button.c
5482 * src/hildon-picker-button.c
5483 * src/hildon-time-button.c
5484 * src/hildon-button.c:
5485 (hildon_button_class_init): "size-flags" renamed to "size"
5486 (hildon_button_set_title): Hide the title label if set to NULL.
5488 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5490 HildonButtonFlags split into HildonButtonArrangement (to set the
5491 button layout) and HildonSizeType (which can be used for any
5494 * src/hildon-button.h
5495 * src/hildon-button.c
5496 (hildon_button_class_init)
5497 (hildon_button_set_arrangement)
5498 (hildon_button_set_property): New "size-flags"
5499 property. "arrangement-flags" renamed to "arrangement".
5500 (hildon_button_new, hildon_button_new_with_text)
5501 (hildon_button_new_full): Constructors updated to reflect type changes.
5503 * src/hildon-helper.h
5504 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5505 to set the size of a widget.
5509 * src/hildon-button-helpers.c
5510 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5512 * src/hildon-date-button.c
5513 * src/hildon-date-button.h
5514 * src/hildon-picker-button.c
5515 * src/hildon-picker-button.h
5516 * src/hildon-time-button.c
5517 * src/hildon-time-button.h: Updated widgets to reflect
5518 HildonButton API changes.
5520 * examples/hildon-button-example.c
5521 * examples/hildon-date-button-example.c
5522 * examples/hildon-picker-button-example.c
5523 * examples/hildon-picker-button-multicolumn-example.c
5524 * examples/hildon-time-button-example.c
5525 * examples/hildon-touch-selector-entry-example.c
5526 * examples/hildon-touch-selector-example.c: Updated examples to
5527 reflect HildonButton API changes.
5529 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5531 * doc/hildon-docs.sgml:
5533 * examples/Makefile.am:
5534 * examples/hildon-touch-selector-entry-example.c:
5536 * src/hildon-touch-selector-entry.c:
5537 * src/hildon-touch-selector-entry.h:
5540 Moved HildonTouchSelectorEntry from sandbox. Added its
5541 documentation and examples.
5543 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5545 * src/hildon-touch-selector.h:
5546 * examples/hildon-picker-button-multicolumn-example.c:
5547 (hildon_touch_selector_append_text_column): Add a gboolean
5548 parameter to determine if text must be centered in the column.
5550 * src/hildon-date-selector.c: (hildon_date_selector_init):
5551 * src/hildon-time-selector.c: (hildon_time_selector_init):
5552 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5553 (create_touch_selector): Update widgets and example to reflect
5556 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5558 * src/hildon-touch-selector.c:
5559 (hildon_touch_selector_set_active_iter): Set also the cursor in
5562 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5564 * doc/hildon-docs.sgml
5567 * src/hildon-toggle-button.c
5568 * src/hildon-toggle-button.h
5569 * src/hildon.h: Removed HildonToggleButton widget, a derived
5570 class is not necessary for this.
5572 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5574 * src/hildon-pannable-area.c,
5575 (hildon_pannable_area_realize),
5576 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5579 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5581 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5582 "done" button the default widget for the dialog.
5584 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5586 * src/hildon-touch-selector.c:
5587 (hildon_touch_selector_class_init),
5588 (hildon_touch_selector_get_property),
5589 (_hildon_touch_selector_set_model),
5590 (_hildon_touch_selector_has_multiple_selection),
5591 (hildon_touch_selector_has_multiple_selection):
5592 Add a "has-multiple-selection" property with a virtual
5593 has_multiple_selection() method to allow derived classes to
5594 override the default value for it. See the method and property
5595 documentation for details.
5597 * src/hildon-touch-selector.h: Add the new API.
5599 * src/hildon-picker-dialog.c: (requires_done_button): Call
5600 hildon_touch_selector_has_multiple_selection() instead of
5601 determining the need for a button itself.
5603 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5605 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5606 (_hildon_touch_selector_set_model),
5607 (hildon_touch_selector_set_model): Move working code to
5608 _hildon_touch_selector_set_mode(). Call the class method instead.
5610 * src/hildon-touch-selector.h: Add (*set_model) to
5611 HildonTouchSelectorClass.
5613 Make hildon_touch_selector_set_model() a virtual method, so that
5614 derived classes can extend it and do fancy stuff with the model.
5616 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5618 * configure.ac: Set back the tarname in AC_INIT to hildon.
5620 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5624 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5625 instead of libesd (NB#86876). Volume handling is still an open issue.
5627 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5630 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5632 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5633 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5634 derived class to ease placement of an entry widget in
5635 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5636 end, where the selector columns are packed now.
5638 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5640 * src/hildon-picker-button.c: Removed the simple _text() API.
5641 * src/hildon-picker-button.h: Likewise.
5643 * src/hildon-touch-selector.h:
5644 * src/hildon-touch-selector.c:
5645 (hildon_touch_selector_new_text),
5646 (hildon_touch_selector_append_text),
5647 (hildon_touch_selector_prepend_text),
5648 (hildon_touch_selector_insert_text):
5650 Moved the simple _text() API from HildonPickerButton to
5651 HildonTouchPicker, to provide better escalability and not to tie
5652 that API to HildonPickerButton.
5654 * examples/hildon-picker-button-example.c: (main): Example updated.
5656 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5658 * src/hildon-button.c: Updated documentation.
5660 * examples/hildon-button-example.c: Add the posibility to create
5661 the buttons using horizontal layout for title and value.
5663 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5665 * src/hildon-app-menu-private.h
5666 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5667 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5668 GtkSizeGroup for the filters, use the 'homogeneous' property of
5671 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5673 * examples/hildon-button-example.c: Updated example.
5675 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5677 * doc/hildon-docs.sgml:
5680 Update documentation.
5682 * examples/Makefile.am: Update renamed examples.
5684 * examples/hildon-picker-button-multicolumn-example.c:
5685 (create_touch_selector), (main): Update after the rename.
5687 * examples/hildon-touch-picker-example.c: Removed.
5688 * examples/hildon-touch-selector-example.c: (value_changed),
5689 (create_selector), (get_visible_content), (main): Renamed from
5690 hildon-touch-picker-example.c
5692 * src/Makefile.am: Updated renamed files.
5694 * src/hildon-date-button.c: (hildon_date_button_init),
5695 (hildon_date_button_get_date), (hildon_date_button_set_date):
5696 * src/hildon-date-selector.c: (hildon_date_selector_init),
5697 (_custom_print_func), (_update_day_model),
5698 (_manage_selector_change_cb),
5699 (hildon_date_selector_select_current_date),
5700 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5701 * src/hildon-date-selector.h:
5702 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5703 (hildon_picker_button_set_property),
5704 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5705 (hildon_picker_button_init), (hildon_picker_button_new_text),
5706 (hildon_picker_button_append_text),
5707 (hildon_picker_button_prepend_text),
5708 (hildon_picker_button_insert_text),
5709 (hildon_picker_button_set_selector),
5710 (hildon_picker_button_get_selector):
5711 * src/hildon-picker-button.h:
5712 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5713 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5714 (_update_title_on_selector_changed_cb), (requires_done_button),
5715 (_hildon_picker_dialog_set_selector),
5716 (hildon_picker_dialog_set_selector),
5717 (hildon_picker_dialog_get_selector):
5718 * src/hildon-picker-dialog.h:
5719 * src/hildon-time-button.c: (hildon_time_button_init),
5720 (hildon_time_button_get_time), (hildon_time_button_set_time):
5721 * src/hildon-time-selector.c: (hildon_time_selector_init),
5722 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5723 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5724 * src/hildon-time-selector.h:
5727 Massive code updates after the rename.
5729 * src/hildon-touch-picker.c: Removed.
5730 * src/hildon-touch-picker.h: Removed.
5732 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5733 (hildon_touch_selector_init), (hildon_touch_selector_map),
5734 (hildon_touch_selector_remove), (_default_print_func),
5735 (_selection_changed_cb), (_create_new_column),
5736 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5737 (hildon_touch_selector_append_text_column),
5738 (hildon_touch_selector_remove_column),
5739 (hildon_touch_selector_set_column_attributes),
5740 (hildon_touch_selector_insert_column),
5741 (hildon_touch_selector_get_num_columns),
5742 (hildon_touch_selector_get_column_selection_mode),
5743 (hildon_touch_selector_set_column_selection_mode),
5744 (hildon_touch_selector_set_print_func),
5745 (hildon_touch_selector_get_print_func),
5746 (hildon_touch_selector_get_active_iter),
5747 (hildon_touch_selector_set_active_iter),
5748 (hildon_touch_selector_get_selected_rows),
5749 (hildon_touch_selector_get_model),
5750 (hildon_touch_selector_set_model),
5751 (hildon_touch_selector_get_current_text),
5752 (_hildon_touch_selector_center_on_selected_items):
5753 * src/hildon-touch-selector.h: Renamed from
5754 hildon-touch-picker.[ch]
5756 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5757 references, code examples, and related documentation.
5759 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5761 * doc/hildon-docs.sgml
5764 * src/hildon-toggle-button.c
5765 * src/hildon-toggle-button.h
5766 * src/hildon.h: New HildonToggleButton widget.
5768 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5770 * src/hildon-button.c: Add API documentation.
5771 (hildon_button_set_size_groups): Check input parameters
5773 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5775 * src/hildon-pannable-area.c
5776 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5777 effect after reaching the movement thredshold. This way we start
5778 using the distance after passing the thredshold.
5780 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5782 * src/hildon-button.c: (hildon_button_set_property): Use the
5783 appropriate g_value_get_flags() method.
5785 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5787 * doc/hildon-docs.sgml:
5790 Add the touch pickers, picker dialogs, and picker button widgets
5791 to the documentation.
5793 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5795 * src/hildon-button.c: (hildon_button_set_property),
5796 (hildon_button_class_init): Make "arrangement-flags" a proper
5797 G_TYPE_FLAGS derived property.
5799 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5801 * examples/Makefile.am: Add below examples.
5802 * examples/hildon-date-button-example.c:
5803 * examples/hildon-picker-button-example.c:
5804 * examples/hildon-picker-button-multicolumn-example.c:
5805 * examples/hildon-time-button-example.c:
5806 * examples/hildon-touch-picker-example.c:
5808 Add examples for the recently added touch pickers,
5809 picker dialogs, and picker button widgets.
5811 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5813 * src/hildon-button.c: Add some API documentation
5815 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5817 * src/hildon-button.h
5818 * src/hildon-button.c
5820 (hildon_button_new_with_text): New constructor to create a button
5821 with no text at all.
5822 (hildon_button_init, hildon_button_set_arrangement)
5823 (hildon_button_set_title, hildon_button_set_value)
5824 (hildon_button_set_text)
5825 (hildon_button_construct_child): Hide the value when it's not used
5826 so the rest of the text is properly aligned.
5827 Allow creating buttons with arbitrary widgets inside (not just
5828 title/value labels).
5830 * examples/hildon-button-example.c (vertical_buttons_window)
5831 (horizontal_buttons_window): Update example to use new API.
5833 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5835 * src/Makefile.am: Added HildonTimeButton.
5836 * src/hildon-time-button.c: Added missing LGPL header.
5837 * src/hildon-time-button.h: Added missing LGPL header.
5838 * src/hildon.h: Add hildon-time-button.h
5840 Copied HildonTimeButton from sandbox to trunk. Future work on this
5841 widget must take place in trunk.
5843 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5845 * src/Makefile.am: Added HildonDateButton.
5846 * src/hildon-date-button.c: Update includes.
5847 * src/hildon.h: Add hildon-date-button.h
5849 Copied HildonDateButton from sandbox to trunk. Future work on this
5850 widget must take place in trunk.
5852 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5854 * src/Makefile.am: Added HildonPickerButton.
5855 * src/hildon-picker-button.h: Update includes.
5856 * src/hildon.h: Add hildon-picker-button.h
5858 Copied HildonPickerButton from sandbox to trunk. Future work on
5859 this widget must take place in trunk.
5861 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5863 * src/Makefile.am: Added HildonPickerDialog.
5864 * src/hildon-picker-dialog.c: Update includes.
5865 * src/hildon.h: Add hildon-picker-dialog.h
5867 Copied HildonPickerDialog from sandbox to trunk. Future work
5868 on this widget must take place in trunk.
5870 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5872 * src/Makefile.am: Added HildonTimeSelector.
5873 * src/hildon.h: Add hildon-time-selector.h
5875 Copied HildonTimeSelector widget from sandbox to trunk. Future
5876 work on this widget must happen in trunk.
5878 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5880 * src/Makefile.am: Added HildonDateSelector.
5881 * src/hildon.h: Add hildon-date-selector.h
5883 Copied HildonDateSelector widget from sandbox to trunk. Future
5884 work on this widget must happen in trunk.
5886 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5888 * src/Makefile.am: Added HildonTouchPicker.
5889 * src/hildon-touch-picker.c: Update includes.
5890 * src/hildon.h: Add hildon-touch-picker.h
5892 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5893 on this widget must happen in trunk.
5895 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5897 * src/hildon-pannable-area.c:
5898 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5900 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5902 * examples/hildon-app-menu-example.c (main): Let the window
5905 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5907 * src/hildon-pannable-area.c
5908 (hildon_pannable_area_class_init): Set the min value of the
5909 overshoot properties to zero, which points out that not
5910 overshooting allowed.
5912 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5914 Modified the procedure to get the widget at a point inside the
5915 pannable area when using the movement type signals. Now the user
5916 has to call a function to get the child, that way we just
5917 calculate the child in case the user really want to use it and not
5920 * src/hildon-marshalers.list: Modified the marshallers, now we do
5921 not have the widget as a parameter.
5923 * src/hildon-pannable-area.c
5924 (hildon_pannable_area_motion_notify_cb),
5925 (hildon_pannable_area_class_init),
5926 (hildon_pannable_get_child_widget_at): Removed the widget
5927 parameter from the signal callback. We have also refactored the
5928 emission of the signals.
5930 * src/hildon-pannable-area.h: Added a new method to the API to
5931 calculate a widget at a point inside the pannable area,
5932 hildon_pannable_get_child_widget_at.
5934 * examples/hildon-pannable-area-example-4.c
5935 (horizontal_movement): Modified the example to use the new API,
5936 added condition to control which widget is under the event. This
5937 way we can avoid scrolling laterally over other widgets.
5939 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5941 * src/hildon-pannable-area.c
5942 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5943 modes, we stop getting the pointer events due to returning the
5944 callback without properly calling the get pointer again. Fixed
5945 also an error using the hscroll and vscroll.
5947 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5949 * src/hildon-app-menu-private.h
5950 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5951 (hildon_app_menu_button_release, hildon_app_menu_init)
5952 (hildon_app_menu_class_init): Don't hide the menu on button
5953 release if the user didn't press outside first.
5955 * src/hildon-window.h
5956 * src/hildon-window.c (hildon_window_toggle_menu)
5957 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5958 hildon_window_toggle_menu a virtual function for the stackable
5959 window to override it.
5961 * src/hildon-stackable-window.h
5962 * src/hildon-stackable-window-private.h
5963 * src/hildon-stackable-window.c
5964 (hildon_stackable_window_realize)
5965 (hildon_stackable_window_finalize)
5966 (hildon_stackable_window_class_init)
5967 (hildon_stackable_window_init)
5968 (hildon_stackable_window_set_main_menu): New function to set the
5969 app menu of a HildonStackableWindow.
5971 * examples/hildon-app-menu-example.c: Remove the button to show
5972 the app menu, now it'll be shown when clicking on the title bar
5975 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5977 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5978 set the widget name if the arrangement flags do not specify
5981 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5983 * src/hildon-button.c: (hildon_button_set_property),
5984 (hildon_button_class_init), (hildon_button_new_full),
5985 (hildon_button_set_arrangement): Added "arrangement-flags"
5988 Make the HildonButtonFlags a construction-only property, to allow
5989 subclasses to set them properly.
5991 2008-07-21 Tim Janik <timj@imendio.com>
5993 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5994 insertion position after backspace, so additional digits are appended,
5997 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5999 * src/hildon-pannable-area.c,
6000 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
6001 TODO list, it was complete and removed the g_debug and g_print
6004 2008-07-17 Alejandro G. Castro <alex@igalia.com>
6006 Added the movement modes to the hildon-pannable-area, with this
6007 modes the developers can control in which directions the widget
6008 can scroll. They can also connect to signals in order to do
6009 something when that happens, allowing applications scroll. There
6010 is an example uploaded showing how to use it.
6012 * examples/Makefile.am:
6013 * examples/hildon-pannable-area-example-4.c: Added this example of
6014 an application using the modes.
6016 * src/hildon-marshalers.list: Added a new marshaller for the new
6019 * src/hildon-pannable-area.h: Added new enumerations and flags in
6020 order to control the movement modes and the new signals to warn
6021 about the movements in the area.
6023 * src/hildon-pannable-area.c:
6024 (hildon_pannable_axis_scroll),
6025 (hildon_pannable_area_scroll),
6026 (hildon_pannable_area_motion_notify_cb),
6027 (hildon_pannable_area_get_property),
6028 (hildon_pannable_area_set_property),
6029 (hildon_pannable_area_map),
6030 (hildon_pannable_area_class_init),
6031 (hildon_pannable_area_init),
6032 (hildon_pannable_area_jump_to): Added the modes to control the
6033 movement in the widget. We have added properties to control it,
6034 signals to warn about the movements and refactored some code.
6036 2008-07-15 Alejandro G. Castro <alex@igalia.com>
6038 Changes required in order to allow vfast_factor set to zero to
6041 * src/hildon-pannable-area.c:
6042 (hildon_pannable_area_button_press_cb): Changed the condition, it
6043 is required for not allowing click when vfast_factor is zero.
6044 (hildon_pannable_area_timeout): Initialized velocity variables
6045 when we stop moving, it was less than 1 but not zero and we need
6046 to check zero in some situations.
6047 (hildon_pannable_area_class_init): Changed the default value of
6048 the speed factor, now the button_press is just sent in case the
6049 speed is 2 per cent of the max speed.
6050 (hildon_pannable_area_init): Initialization with 0.
6052 2008-07-04 Alejandro G. Castro <alex@igalia.com>
6054 * src/hildon-pannable-area.c,
6055 (hildon_pannable_area_get_topmost): replaced
6056 gdk_window_get_children with gdk_window_peek_children, this way we
6057 do not have to free the list because it is not a copy.
6059 (hildon_pannable_axis_scroll),
6060 (hildon_pannable_area_scroll),
6061 (hildon_pannable_area_timeout),
6062 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
6063 two parameters that were only used inside the
6064 hildon_pannable_area_scroll function.
6066 * examples/hildon-pannable-area-example.c,
6067 (get_sawtooth_label): Fixed small memory leak.
6069 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6071 More checks for the case where the overshoot is bigger than the
6074 * src/hildon-pannable-area.c:
6075 (hildon_pannable_draw_vscroll),
6076 (hildon_pannable_draw_hscroll): with this new calculation we avoid
6077 to draw the slider of the scrollbar under the other scrollbar.
6078 (hildon_pannable_area_expose_event): added new checks to control
6079 the drawing of the overshooting area rectangle, in case it is too
6080 big for the area of the widget.
6081 (hildon_pannable_area_size_allocate): add more checks to avoid
6082 setting a position to the child widget outside the area.
6084 2008-07-03 Alejandro G. Castro <alex@igalia.com>
6086 * src/hildon-pannable-area.c
6087 (hildon_pannable_area_size_allocate): Added conditions to control
6088 when overshooting is bigger than the allocated space for the
6089 children, this avoids negative allocations.
6091 2008-07-02 Alberto Garcia <agarcia@igalia.com>
6093 * doc/hildon-docs.sgml
6095 * examples/Makefile.am
6096 * examples/hildon-button-example.c
6098 * src/hildon-button.c
6099 * src/hildon-button.h
6100 * src/hildon.h: Initial version of the new HildonButton widget,
6103 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6105 * src/hildon-pannable-area.c:
6106 (hildon_pannable_area_button_press_cb),
6107 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6108 (hildon_pannable_area_motion_notify_cb),
6109 (hildon_pannable_area_button_release_cb),
6110 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6111 (hildon_pannable_area_jump_to_child):
6113 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6115 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6117 * examples/Makefile.am
6118 * examples/hildon-pannable-area-touch-grid-example.c
6119 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6120 the Hildon Touch List and Hildon Touch Grid using the
6121 HildonPannableArea widget.
6123 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6125 * src/hildon-pannable-area.c,
6126 (hildon_pannable_area_button_press_cb),
6127 (hildon_pannable_area_refresh),
6128 (hildon_pannable_area_scroll),
6129 (hildon_pannable_area_motion_notify_cb),
6130 (hildon_pannable_area_button_release_cb),
6131 (hildon_pannable_area_expose_event),
6132 (hildon_pannable_area_add),
6133 (hildon_pannable_area_remove),
6134 (hildon_pannable_area_realize),
6135 (hildon_pannable_area_size_allocate),
6136 (hildon_pannable_area_class_init),
6137 (hildon_pannable_area_init),
6138 (hildon_pannable_area_scroll_to_child),
6139 (hildon_pannable_area_jump_to_child): Fixed the problem of
6140 removing the child from the GtkBin, we have rearranged the widget
6141 hierarchy, now there is no GtkAlignment which was not doing
6142 anything interesting but breaking some of the assumptions of
6143 GtkContainer. Now developers if they want to add a GtkAlignment
6144 they could, but it is not inside the area.
6146 We had to review the whole allocation/expose process, now it is
6147 improved and we save at least three signals which would be saving
6148 some time when rendering the widget. The allocation of the
6149 scrollbars is now made in the allocate method as usual.
6151 We have also added some conditions in order to control when there
6152 is no child of the pannable area. Maybe we will need more work
6155 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6157 * src/hildon-pannable-area.c,
6158 (hildon_pannable_area_dispose): Released the fade-out timeout when
6159 disposing the widget.
6161 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6163 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6164 zero, we are going to use that property in order to deactivate the
6166 (hildon_pannable_axis_scroll),
6167 (hildon_pannable_area_size_allocate): Added conditions to control
6168 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6169 call, now it is called in all situations and we can remove calls
6170 in the allocate method.
6171 (hildon_pannable_area_map): Control the situation when
6172 overshoot_max is zero, we do not need the timeout.
6173 (hildon_pannable_area_class_init): Added documentation in order to
6174 point out that setting zero to overshoot_max means deactivate
6177 NOTE: removed trailing whitespaces from my previous comments of
6180 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/hildon-pannable-area.c
6183 (hildon_pannable_area_get_property),
6184 (hildon_pannable_area_set_property),
6185 (hildon_pannable_area_map),
6186 (hildon_pannable_area_class_init),
6187 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6188 to cause the widget give a hint about its panning abilities upon
6191 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6193 * src/hildon-pannable-area.c: Several documentation improvements.
6195 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6197 * src/hildon-program.c
6198 * src/hildon-stackable-window.c: Update documentation.
6200 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6202 * src/hildon-stackable-window.c (get_previous_window_if_last):
6203 Renamed get_last_window()
6204 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6205 (hildon_stackable_window_unset_program):
6207 (get_previous_window_if_last):
6208 Detect if the window hasn't been added to a HildonProgram.
6210 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6212 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6214 * src/hildon-pannable-area.c
6215 (hildon_pannable_area_button_press_cb),
6216 (hildon_pannable_axis_scroll),
6217 (hildon_pannable_area_scroll),
6218 (hildon_pannable_area_timeout),
6219 (hildon_pannable_calculate_vel_factor),
6220 (hildon_pannable_area_get_property),
6221 (hildon_pannable_area_set_property),
6222 (hildon_pannable_area_class_init),
6223 (hildon_pannable_area_init),
6224 (hildon_pannable_area_scroll_to),
6225 (hildon_pannable_area_jump_to),
6226 (hildon_pannable_area_scroll_to_child),
6227 (hildon_pannable_area_jump_to_child):
6228 * src/hildon-pannable-area.h: Added the new API functions:
6229 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6230 hildon_pannable_area_scroll_to_child,
6231 hildon_pannable_area_jump_to_child
6234 * examples/Makefile.am
6235 * examples/hildon-pannable-area-example-2.c
6236 * examples/hildon-pannable-area-example-3.c: Added these two new
6237 examples in order to test and show how the new APIs work.
6239 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6241 * examples/hildon-stackable-window-example.c (new_window):
6242 * src/Makefile.am (noinst_HEADERS):
6243 * src/hildon-program.c (hildon_program_go_to_root_window):
6244 * src/hildon-program.h:
6245 * src/hildon-stackable-window-private.h:
6246 * src/hildon-stackable-window.c:
6247 * src/hildon-stackable-window.h:
6248 Create hildon-stackable-window-private.h
6249 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6251 * examples/hildon-app-menu-example.c (create_menu):
6252 * examples/hildon-hvolumebar-insensitive-example.c (main):
6253 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6254 * examples/hildon-toolbar-seekbar-example.c (main):
6255 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6256 * src/hildon-banner.c (hildon_banner_set_property):
6257 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6258 Fix compilation warnings
6260 * src/hildon-window.c:
6263 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6265 * src/hildon-stackable-window.c
6266 (hildon_stackable_window_unset_program):
6267 Calculate correctly whether to show the previous window if the
6268 last one is removed from the stack.
6269 (hildon_stackable_window_go_to_root_window):
6270 Send delete events starting from the topmost window.
6271 Stop if one of the windows is not destroyed.
6273 (hildon_stackable_window_delete_event)
6274 (hildon_stackable_window_class_init):
6275 Ignore the delete event if the window is not the topmost one.
6277 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6279 * src/hildon-pannable-area.c
6280 (hildon_pannable_area_expose_event): Fixed a problem when
6281 selecting the background color of the scrollbars.
6283 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6285 * examples/hildon-stackable-window-example.c
6286 * src/hildon-stackable-window.c
6287 * src/hildon-stackable-window.h
6288 hildon_stackable_window_go_home() renamed to
6289 hildon_stackable_window_go_to_root_window()
6290 Send delete events to windows rather than closing them with
6291 gtk_widget_destroy()
6293 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6295 * src/hildon-pannable-area.c
6296 (hildon_pannable_area_button_release_cb): Fix overshooting in
6299 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6301 * src/hildon-pannable-area.c
6302 (hildon_pannable_area_init): Initially show the scroll indicators.
6303 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6305 Add initial effect showing the widget is pannable.
6307 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6309 * src/hildon-pannable-area.c
6310 (hildon_pannable_area_class_init)
6311 (hildon_pannable_area_set_property)
6312 (hildon_pannable_area_get_property)
6313 (hildon_pannable_area_button_press_cb):
6314 New 'velocity_fast_factor' property to decide which velocity is
6317 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6319 * src/hildon-pannable-area.c
6320 (hildon_pannable_draw_hscroll)
6321 (hildon_pannable_draw_vscroll):
6322 Use float variables to calculate the size of the scrollbars to
6323 avoid error propagation and resizing during scrolling.
6325 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6327 * src/hildon-pannable-area.c
6328 (hildon_pannable_draw_vscroll)
6329 (hildon_pannable_draw_hscroll):
6330 Define a minimum size for the scroll bars
6332 * src/hildon-stackable-window.c
6333 (hildon_stackable_window_go_home): Fix compilation warning
6334 (get_last_window): Minor optimizations
6335 (hildon_stackable_window_class_init): Fix initialization of
6338 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6340 * src/hildon-stackable-window.c: Fixed typos in doc
6342 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6344 * src/hildon-pannable-area.c
6345 (hildon_pannable_area_scroll):
6346 Calculate here whether we need to scroll instead of using the booleans
6347 that tell us whether to /draw/ the scrolling bars.
6349 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6351 * src/hildon-app-menu.h
6353 * src/hildon-app-menu.c
6354 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6355 multiple filter groups related code and API. Now we support only
6357 * examples/hildon-app-menu-example.c:
6359 Update to reflect API changes.
6361 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6363 * src/hildon-stackable-window.c
6364 (hildon_stackable_window_class_init):
6365 Add hildon_stackable_window_realize.
6366 (hildon_stackable_window_realize):
6367 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6368 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6369 to apply theming and behavior specific to HildonStackableWindow
6372 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6374 * src/hildon-note.c (hildon_note_button_release):
6375 Close information notes also when tapping on them
6377 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6379 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6380 ELASTICITY, refactor and review, fix some issues with drawing
6383 * src/hildon-pannable-area.c:
6384 (hildon_pannable_area_button_press_cb): removed the conditions to
6385 avoid clicks when overshooting. It is not required
6387 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6388 define. Refatored and reviewed the code, now we do not need to
6389 manage velocity in motion_notify.
6391 (hildon_pannable_area_motion_notify_cb): We have moved the code
6392 that controls the area_scroll to the axis_scroll function and get
6393 rid of duplicated code.
6395 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6397 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6399 (hildon_pannable_draw_vscroll),
6400 (hildon_pannable_draw_hscroll): Fixed the problems with the
6401 scrollbar drawing, now we do not use two surfaces, it is easier
6402 and saves resources.
6404 (hildon_pannable_area_get_property): Style modification.
6406 (hildon_pannable_area_class_init): Changed some default values.
6408 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6410 * src/hildon-stackable-window.c: Fix some typos in the
6413 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6415 * src/hildon-dialog.c:
6416 Change indentation style
6419 (hildon_note_button_release):
6420 Use root coordinates to check if the release event happened
6423 * src/hildon-app-menu.c
6424 (hildon_app_menu_button_release):
6425 Remove unnecessary check
6427 * examples/hildon-app-menu-example.c
6429 Add cast to fix warning
6431 * src/hildon-app-menu.c
6432 (hildon_app_menu_class_init):
6433 New inner-border style property.
6434 Set all default spacings to 16
6435 (hildon_app_menu_init):
6436 Use vertical-spacing to set the space between filter buttons and
6437 regular menu buttons.
6438 Set the default container border using the inner-border value.
6440 * examples/hildon-app-menu-example.c
6442 Don't set the menu border explicitly, now we have the inner-border
6443 style property for that.
6445 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6447 * src/hildon-app-menu.c (hildon_app_menu_init):
6448 Make the window modal
6450 * src/hildon-note.c (hildon_note_map)
6451 * src/hildon-app-menu.c (hildon_app_menu_map):
6452 Destroy the grab window if we're unable to grab the pointer
6454 * src/hildon-app-menu-private.h
6455 * src/hildon-app-menu.c
6456 (hildon_app_menu_init, hildon_app_menu_finalize)
6457 (hildon_app_menu_map, hildon_app_menu_unmap)
6458 (hildon_app_menu_button_release)
6459 (grab_transfer_window_get):
6460 Bring back the grab window
6461 (hildon_app_menu_realize):
6462 Decorate the window, set WM hint for Matchbox
6464 * src/hildon-note.c (hildon_note_realize):
6465 * src/hildon-banner.c (hildon_banner_realize):
6466 Add WM hints for Matchbox
6468 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6470 * src/hildon-app-menu-private.h
6471 * src/hildon-app-menu.c
6472 (hildon_app_menu_init, hildon_app_menu_finalize)
6473 (hildon_app_menu_map, hildon_app_menu_unmap)
6474 (hildon_app_menu_button_release):
6475 Remove the grab window, it's not needed anymore
6477 * src/hildon-program.c
6478 Fixed typo in documentation
6480 * src/hildon-app-menu.h
6481 * src/hildon-app-menu.c
6482 * examples/hildon-app-menu-example.c
6483 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6485 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6488 Added new transfer_window and close_if_pressed_outside private
6490 (hildon_note_rebuild):
6491 Don't add a cancel button to the information note. It will be
6492 closed when tapping outside
6493 Remove the comment about the OK button in the documentation
6494 (hildon_note_realize):
6495 Set the notification type hint
6496 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6497 Grab/ungrab pointer and keyboard if the note has to be closed when
6499 (hildon_note_button_release):
6500 Close the note when tapping outside (if applicable)
6502 * src/hildon-app-menu.c
6503 Grab/ungrab pointer and keyboard on map/unmap
6504 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6505 Close the menu on button release, not button press
6507 * src/hildon-banner.c
6508 (hildon_banner_set_property)
6509 (hildon_banner_check_position):
6510 Make the banner use the full width of the screen
6511 (hildon_banner_show_information)
6512 (hildon_banner_show_information_with_markup):
6513 Don't display an icon by default
6515 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6517 Added fading scrollbars and adapted all the overshooting code to
6518 horizontal scrolling. We have also fixed bugs with overshooting
6519 and current fading implementation.
6521 * src/hildon-pannable-area.c
6522 (hildon_pannable_area_scroll_indicator_fade): Time out function
6523 used to change the transparency of the scrollbars.
6525 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6526 control and fixed a problem with fading, we now remove the fade
6527 timeout before adding a new one.
6529 (hildon_pannable_axis_scroll):
6530 (hildon_pannable_area_scroll):
6531 (hildon_pannable_area_timeout): Added this functions so we can use
6532 the scroll code both for vertical and horizontal.
6534 (hildon_pannable_area_motion_notify_cb):
6535 (hildon_pannable_area_button_release_cb): Added the horizontal
6536 scrolling control, fixed a problem with the overshooting timeout.
6538 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6539 painting of the scrolls.
6541 (hildon_pannable_draw_vscroll):
6542 (hildon_pannable_draw_hscroll):
6543 (hildon_pannable_area_expose_event):
6544 Draw both scrollbars and rectangles in the overshooting area.
6546 (hildon_pannable_area_get_property):
6547 (hildon_pannable_area_set_property):
6548 Modified the overshoot property to overshoot_max
6550 (hildon_pannable_area_map):
6551 Replaced the comments symbols.
6553 (hildon_pannable_area_size_allocate):
6554 (hildon_pannable_area_class_init):
6555 (hildon_pannable_area_init): Added horizontal scroll, fading
6556 effect properties, fixed a problem when overshooting in the bottom
6559 * examples/hildon-pannable-area-example.c:
6560 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6561 looks better in the example.
6563 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6565 * src/hildon-window.c
6566 * src/hildon-window.h
6567 (hildon_window_class_init)
6568 (hildon_window_unset_program)
6569 (hildon_window_unset_program_real):
6570 Make unset_program a virtual function
6572 * src/hildon-stackable-window.c
6573 * src/hildon-stackable-window.h
6574 Added hildon_stackable_window_go_home()
6576 * examples/Makefile.am
6577 * examples/hildon-stackable-window-example.c
6578 HildonStackableWindow example
6580 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6582 * hildon-pannable-area.c: Added the overshoot property and removed
6583 the OVERSHOOT define. Fixed an indent style error.
6584 (hildon_pannable_area_motion_notify_cb):
6585 (hildon_pannable_area_get_property):
6586 (hildon_pannable_area_set_property): Add overshoot property.
6588 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6591 (hildon_pannable_area_class_init): Installed the new property.
6593 * hildon-pannable-area-example.c: Added a sawtooth function, this
6594 way it is easier to check the movement in the pannable.
6595 (get_sawtooth_label): Added this function.
6596 (main): Now we get the labels from the new get_sawtooth_label
6599 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6601 * src/hildon-app-menu.h
6602 * src/hildon-app-menu.c
6603 Renamed API variables for consistency
6605 (hildon_app_menu_popup): Use also the default window size to
6606 decide where to place the menu
6608 (hildon_app_menu_init, hildon_app_menu_class_init): New
6609 external-border style property
6611 2008-05-26 Michael Natterer <mitch@imendio.com>
6613 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6614 widget_class->tap_and_hold_setup signal slot doesn't exist any
6615 longer, stop overriding it.
6617 (hildon_time_editor_init): g_signal_connect() to the
6618 tap-and-hold-setup signal instead.
6620 (hildon_time_editor_entry_keypress): add cast to fix warning.
6622 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6624 * doc/hildon-docs.sgml
6626 * examples/Makefile.am
6627 * examples/hildon-app-menu-example.c
6629 * src/hildon-app-menu-private.h
6630 * src/hildon-app-menu.c
6631 * src/hildon-app-menu.h
6633 New HildonAppMenu widget
6635 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6637 Rearranged the inheritance of the pannable area, now it inherits
6638 from GtkBin. This will allow us to control the event_window and
6639 the allocation process of the widget, required for some effects.
6641 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6642 GtkBin structures. * src/hildon-pannable-area.c: Added the
6643 event_window variable.
6644 (hildon_pannable_area_button_press_cb):
6645 (hildon_pannable_area_button_release_cb):
6646 (hildon_pannable_area_motion_notify_cb):
6647 Changed the signature of the method, now we override the event
6648 callback instead of connecting to the signal.
6650 (hildon_pannable_area_realize):
6651 (hildon_pannable_area_unrealize):
6652 (hildon_pannable_area_map):
6653 (hildon_pannable_area_unmap):
6654 (hildon_pannable_area_size_allocate):
6655 Added functions to control the widget construction. We add a
6656 INPUT_ONLY window and we put it over the widgets inside the
6657 container, this event_window handles the events.
6659 (hildon_pannable_area_class_init):
6660 Replaced the signal connections with overrides of the event
6663 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6665 Bouncing effect added when touching the borders, you can change
6666 the elasticity of the border changing the ELASTICITY define.
6668 * src/hildon-pannable-area.c: Added ELASTICITY define.
6669 (hildon_pannable_area_timeout): Added inverse velocity when
6670 touching the border of the child widget, that causes a bounce.
6672 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6674 Improved performance, we now do not go to the X server in order to
6675 get the list of window children. Apparently the effect is the
6676 same, we have to be careful and check if this breaks something in
6679 * src/hildon-pannable-area.c:
6680 (get_ordered_children): Removed this function.
6681 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6682 the children windows function with gdk_window_get_children.
6684 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6686 * src/hildon-pannable-area.c:
6687 (hildon_pannable_area_dispose): Fixed a crash when closing the
6688 window and kinetics is activated.
6690 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6692 * src/hildon-pannable-area.h
6693 * src/hildon-pannable-area.c
6694 Changed indentation style to meet the one used in Hildon
6696 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6698 Reviewed the interaction of the AUTO mode, now we use the time
6699 attribute of the events and calculate the velocity in the motion,
6700 doing a gimp like calculation. The velocity is calculated in each
6701 motion event using the last velocity and the current one, the
6702 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6704 * src/hildon-pannable-area.c: Replaced the time based algorithm
6706 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6707 timeout for the AUTO mode when we are still moving the cursor. We
6708 added also the velocity calculation in this function.
6709 (hildon_pannable_area_button_release_cb): launch the timeout in
6710 case we are in AUTO mode. There are still some constants here that
6711 come from the old implementation that should be reviewed and
6714 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6716 * doc/hildon-docs.sgml
6719 * src/hildon-stackable-window.c
6720 * src/hildon-stackable-window.h
6722 New HildonStackableWindow widget
6724 * examples/hildon-dialog-example.c
6725 * examples/hildon-pannable-area-example.c
6728 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6730 * src/hildon-dialog.c
6731 (hildon_dialog_new_with_buttons): New constructor.
6733 * examples/hildon-dialog-example.c
6734 (main): Update the example to use the new
6735 hildon_dialog_new_with_buttons().
6737 * examples/hildon-pannable-area-example.c
6738 (main): Update example.
6740 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6742 * doc/hildon-docs.sgml
6744 Added HildonPannableArea to the documentation.
6746 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6748 * doc/visual_index.xml
6749 Fix reference to HildonLoginDialog in documentation
6751 * doc/hildon-docs.sgml
6753 * examples/Makefile.am
6754 * examples/hildon-dialog-example.c
6756 * src/hildon-dialog.c
6757 * src/hildon-dialog.h
6759 New HildonDialog widget.
6761 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6763 * src/hildon-pannable-area.c
6764 Merge latest changes (r4318, r4342) from libmokoui trunk
6766 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6768 * examples/Makefile.am
6769 * examples/hildon-pannable-area-example.c
6771 * src/hildon-pannable-area.c
6772 * src/hildon-pannable-area.h
6774 New HildonPannableArea widget.
6776 2008-04-15 18:05:19 <timj@imendio.com>
6778 * src/hildon-banner.c: revert the recent change, that introduced
6779 gtk_window_present() calls. this reopens:
6780 Bug 78481 - [freetest] information banners are hidden under browser menu
6781 But resolves another variant of:
6782 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6784 2008-04-15 13:21:13 <timj@imendio.com>
6786 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6787 recreated its layout, spotted by Kris. this fixes all remaining
6788 artefacts and stability issues with the banner code. in particular:
6789 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6791 2008-04-14 16:52:59 <timj@imendio.com>
6793 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6794 operating on unrealized widgets, fixes:
6795 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6797 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6799 2008-04-09 Kristian Rietveld <kris@imendio.com>
6801 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6802 makes banner disappear.
6803 Fixes: NB#79182: info banner flickering with certain message lengts.
6805 * src/hildon-banner.c (hildon_banner_constructor),
6806 (hildon_banner_init), (hildon_banner_set_text),
6807 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6808 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6809 FALSE, reset size requests of label and banner,
6810 (force_to_wrap_truncated): when the text is too wide, always enforce
6811 the maximum possible width instead of recalculating it from the
6812 layout; enforce the maximum banner height of 3 lines,
6813 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6814 nicer wrapping and no truncated chars if space gets tight.
6816 * src/hildon-banner-private.h: add has_been_wrapped and
6817 has_been_truncated fields.
6819 2008-04-07 Sven Herzberg <sven@imendio.com>
6821 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6822 local values in hildon_date_editor_size_allocate
6824 * src/hildon-date-editor.c: moved the real allocation code into the
6827 2008-04-07 Sven Herzberg <sven@imendio.com>
6829 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6830 local values in hildon_date_editor_size_allocate
6832 * src/hildon-date-editor.c: merged the two if() branches together
6834 2008-04-07 Sven Herzberg <sven@imendio.com>
6836 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6837 local values in hildon_date_editor_size_allocate
6839 * src/hildon-date-editor.c: changed the arguments of the if()
6842 2008-04-07 Sven Herzberg <sven@imendio.com>
6844 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6845 local values in hildon_date_editor_size_allocate
6847 * src/hildon-date-editor.c: split the calculation of the allocation
6848 from the real allocation
6850 2008-03-27 Michael Natterer <mitch@imendio.com>
6852 Fixes: NB#81696: The passcode is not overwritten even after
6855 * src/hildon-code-dialog.c
6856 (hildon_code_dialog_button_clicked)
6857 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6858 because that doesn't overwrite selected text. Instead, emit the
6859 "commit" signal on the entry's im_context so the entry's normal
6860 insert logic is triggered. Set the cursor to the end of the entry
6861 after each insert operation so that we *only* insert in the middle
6862 of the text if something was selected.
6864 2008-03-27 Michael Natterer <mitch@imendio.com>
6866 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6867 selector cannot be opened
6869 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6870 when the popup color selector is created. Please connect to this
6871 signal in order to set the dialog's help ID.
6873 2008-03-25 Sven Herzberg <sven@imendio.com>
6875 Fixes: MB#1212: Hide info banners (infoprints) on click
6877 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6878 extracted the close event simulation into an extra function
6879 (hildon_banner_button_press_event): simulate a close event and destroy
6880 the widget if the event wasn't handled
6881 (hildon_banner_class_init): added the button_press_event handler
6882 (hildon_banner_init): added button-press events to the widget
6884 2008-03-25 Sven Herzberg <sven@imendio.com>
6886 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6887 Patch from: Mohammad Anwari <mdamt@maemo.org>
6889 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6890 instead of the right in RTL mode
6891 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6892 breadcrumb button list in RTL mode
6893 * src/hildon-caption.c: mirror the appearance of the caption widget in
6895 * src/hildon-date-editor.c: mirror appearance of the date editor in
6897 * src/hildon-time-editor.c: mirror appearance of the time editor in
6899 * src/hildon-window.c: fix the position of the popup in RTL mode
6901 2008-03-25 Sven Herzberg <sven@imendio.com>
6903 Amendment to the fix of NB#22072. Fix compilation.
6905 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6907 2008-03-19 Sven Herzberg <sven@imendio.com>
6909 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6912 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6913 timeout id properly when the timeout will disappear this leaves no
6914 artifacts around in the destroy(); there will only be the timeout
6915 created by hildon_banner_ensure_timeout() and adding a new timeout
6916 will also work if the timeout gets removed because the timeout_handler
6919 2008-03-19 Michael Natterer <mitch@imendio.com>
6921 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6923 * src/hildon-volumebar.c
6924 * src/hildon-vvolumebar.c
6925 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6926 the widget becomes focussable at all.
6928 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6929 set the focus to wither the mute button or the volumebar.
6931 Remove own "can-focus" property and instead listen to
6932 notify::can-focus in order to update the widget's state.
6934 Implement GtkWidget::focus() and make sure we can also *leave* the
6935 widget, not only enter it, depending on volumebar orientation and
6936 requested focus direction.
6938 Clean up set_mute() to cooperate nicely with all the above.
6940 2008-03-04 Michael Natterer <mitch@imendio.com>
6942 Fixes: NB#78481: information banners are hidden under browser menu
6944 * src/hildon-banner.c: call gtk_window_present() on the banners so
6945 they are risen if they are already visible.
6947 2008-03-03 Sven Herzberg <sven@imendio.com>
6949 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6951 * examples/hildon-window-menu-example.c: (main): extended the window
6952 menu example to serve as a testcase for automatically added
6953 accelerator groups, too
6954 * src/hildon-window.c: (hildon_window_add_accel_group),
6955 (hildon_window_set_menu): added patch by Tommi Komulainen
6957 2008-03-03 Sven Herzberg <sven@imendio.com>
6959 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6961 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6962 knowledge about the border allocators used within GTK+
6964 2008-02-26 Sven Herzberg <sven@imendio.com>
6966 Fixes: MB#2981: Build with asserts broken
6968 * src/hildon-date-editor.c,
6969 * src/hildon-number-editor.c,
6970 * src/hildon-time-editor.c,
6971 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6972 the proper GType instance check
6974 2008-02-25 Sven Herzberg <sven@imendio.com>
6976 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6978 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6979 * examples/hildon-window-menu-example.c: (main): explicitly show
6981 * src/hildon-window.c:
6982 (hildon_window_set_main_menu): moved most of the code from set_menu()
6983 to this place; skipped the call to gtk_widget_show_all(); also didn't
6984 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6985 (hildon_window_set_menu): removed most of the code, just keep the
6986 questionable gtk_widget_show_all()
6987 * src/hildon-window.h: added the new function and deprecate the old
6990 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6996 * debian/changelog: Updating.
6998 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
7001 * pkgconfig/Makefile.am:
7002 * pkgconfig/hildon.pc.in:
7005 Do not use PACKAGE_VERSION_MAJOR as the API revision,
7006 use newly created API_MAJOR_VERSION.
7008 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7014 * debian/changelog: Updating.
7016 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
7018 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
7020 Add outer_border style property, we use it but don't define it (!).
7024 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
7026 * examples/hildon-bread-crumb-trail-example.c (main):
7030 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
7032 Fix logic for the bread crumb trail node removal.
7036 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7042 * debian/changelog: Updating.
7044 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7046 Patch by Alejandro to get/set passwords dialogs accesibility.
7048 * hildon-1/src/hildon-get-password-dialog.c:
7049 * hildon-1/src/hildon-set-password-dialog.c:
7050 Set atk_set_name to the passwd entries in order to allow
7051 accessibility by name on this entries.
7053 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7058 * debian/control: Updating gtk dep.
7060 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
7062 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
7063 USE_MAEMO_GTK is enabled.
7065 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
7067 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
7068 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
7070 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7076 * debian/changelog: Updating.
7078 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7080 * examples/Makefile.am:
7081 * examples/hildon-logical-color-example.c:
7082 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
7083 applied + adding a test case. Fixes: NB#71660.
7085 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
7087 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
7088 to be visible, fixes warning on map for windows without toolbars.
7090 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
7092 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
7093 2.11.0, add a check for that besides the MAEMO_GTK check.
7095 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7101 * debian/changelog: Updating.
7103 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7105 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7106 visibility. Fixes: NB#70842 and MB#615.
7108 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7110 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7111 set the separator as no-show-all so it doesn't unintentionally appear when
7112 someone does a show_all.
7114 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7116 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7117 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7118 toplevel item. Fixes: NB#62031
7120 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7122 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7123 fix the name of the function in the docs.
7125 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7131 * debian/changelog: Updating.
7133 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7135 * examples/hildon-banner-long-example.c: Adding a test-case for long
7138 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7140 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7142 * src/hildon-color-chooser-dialog.c:
7143 * src/hildon-color-chooser.c:
7144 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7145 memory leaks in font selector and color selector. Fixes: NB#70499 and
7148 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7150 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7152 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7154 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7155 little bit bigger. Fixes: #NB63694.
7157 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7163 * debian/changelog: Updating.
7165 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7168 * doc/hildon-docs.sgml:
7169 * doc/images/bread-crumb-trail.png:
7170 * doc/images/calendar-popup.png:
7171 * doc/images/caption.png:
7172 * doc/images/code-dialog.png:
7173 * doc/images/color-button.png:
7174 * doc/images/color-chooser-dialog.png:
7175 * doc/images/color-chooser.png:
7176 * doc/images/controlbar.png:
7177 * doc/images/date-editor.png:
7178 * doc/images/font-selection-dialog.png:
7179 * doc/images/get-password-dialog.png:
7180 * doc/images/hvolumebar.png:
7181 * doc/images/login-dialog.png:
7182 * doc/images/note.png:
7183 * doc/images/number-editor.png:
7184 * doc/images/range-editor.png:
7185 * doc/images/seekbar.png:
7186 * doc/images/set-password-dialog.png:
7187 * doc/images/sort-dialog.png:
7188 * doc/images/time-editor.png:
7189 * doc/images/time-picker.png:
7190 * doc/images/vvolumebar.png:
7191 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7192 Adding the bread-crumb-trial and helpers to the documentation.
7194 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7196 * examples/hildon-find-toolbar-example.c:
7197 * src/hildon-find-toolbar.c:
7198 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7199 actually continue firing the other handlers if connected. Adding a new
7201 hildon_find_toolbar_get_last_index that gets the index of the most
7202 recently added (last) item. Fixes: NB#52301.
7204 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7206 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7207 behaviour. Fixes: NB#68610.
7209 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7211 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7214 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7216 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7217 when realizing the banner. Should make the infonbanner effect a bit more
7220 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7222 * src/hildon-volumebar.c:
7223 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7224 hildon_volumebar_set_range_insensitive_message and
7225 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7227 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7229 * src/hildon-window.c: Fixing the border freeing on destroy.
7231 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7233 * src/hildon-code-dialog-private.h:
7234 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7235 kw keyboard support in HildonCodeDialog.
7237 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7243 * debian/changelog: Updating.
7245 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7247 * src/hildon-date-editor.c:
7248 * src/hildon-number-editor.c:
7249 * src/hildon-private.c:
7250 * src/hildon-private.h:
7251 * src/hildon-time-editor.c:
7252 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7253 handling in subclassed composite widgets. Fixes: NB#66628.
7255 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7257 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7258 from destroy_ callback as it introduces problems in async dbus signal
7259 handlers. Fixes NB#66673.
7261 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * examples/hildon-hvolumebar-example.c:
7264 * src/hildon-volumebar.c: Improving the focus handling in the
7265 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7266 set_property accessor so that "mute" property can be actually set. I'm
7267 scared that nobody noticed it's totally broken.
7269 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7271 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7274 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7276 * src/hildon-calendar.c:
7277 * src/hildon-number-editor.c:
7278 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7279 matches the spec of 6 chars per second. Fixes: NB#60489.
7281 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7283 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7284 gtk_style_lookup_color sometime returns FALSE even though color was
7285 found and values were filled properly. Weird. Removing the warning for the
7288 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7290 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7291 expand vertically. Adding some extra space to the find toolbar buttons to
7292 make them thumbable. Fixes NB#66060.
7294 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7296 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7297 popup with "Ok" and "Cancel". Fixes NB#59299.
7299 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7301 * src/hildon-calendar.c: Process all window updates before executing next
7302 timeout. Fixes: NB#54146.
7304 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7310 * debian/changelog: Updating.
7312 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7314 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7315 the client event and ignore it, since we use the delete event to close
7318 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7320 * src/hildon-helper.c: Remove the bogus warning about color not being
7321 found. Fixes NB#58352.
7323 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7325 * examples/Makefile.am:
7326 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7327 HildonSeekbar widget inside a toolbar.
7329 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7331 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7332 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7333 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7334 don't want to be closed by non-temporary windows on map.
7336 Also use G_DEFINE_TYPE instead of manually typed code.
7338 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7345 * debian/rules: Updating.
7347 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7349 * examples/Makefile.am:
7350 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7351 bug NB#61128. Strangely it works.
7353 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7355 * src/hildon-date-editor.c: When the date editor entry has been changed
7356 but the numbers of characters < max, turn off the skip validation flag.
7357 Prevents a situation when we enter first a valid year and later re-write
7358 it with an invalid one. Fixes NB#60154.
7360 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7362 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7363 code dialog. Fixes NB#64355.
7365 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7367 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7368 switching the page. Fixes NB#49374.
7370 * examples/Makefile.am:
7371 * examples/hildon-wizard-dialog-example.c: Adding an example for
7372 HildonWizardDialog that shows how to handle manual sensitivity setting on
7375 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7379 * src/hildon-version.h.in:
7380 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7382 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7384 * src/hildon-volumebar.c: Updating the docs.
7386 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7392 * debian/changelog: Updating.
7394 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7396 * src/hildon-find-toolbar.c:
7397 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7398 selected item: hildon_find_toolbar_set_active,
7399 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7400 hildon_find_toolbar_get_active_iter . They correspond to respective
7401 GtkComboBox functions.
7403 * examples/Makefile.am:
7404 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7407 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7409 * examples/Makefile.am:
7410 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7413 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7414 when font size > 32 and we pack a focusable widget inside. Actually using
7415 the default response would work too, but since we don't show default
7416 response state in any way (no theming) it would not be visible to the
7417 user. Fixes NB#63430.
7419 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7421 * src/hildon-date-editor.c: Adding the missing variable setter in the
7422 set_property handler. Fixes NB#54182.
7424 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7426 * src/hildon-window.h: Changing the long key press time from 1500ms to
7427 800ms as requested in NB#63700. I have a bad feeling about this, let's
7428 see... Fixes NB#63700.
7430 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7432 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7433 hildon_time_picker_map, hildon_time_picker_realize,
7434 hildon_time_picker_style_set): Split the contents of map to more
7435 appropriate functions; set window decorations on realize and update
7436 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7438 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7443 * debian/changelog: Updating.
7445 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7447 * src/Makefile.am: fixed installation of the header files
7449 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7455 * debian/changelog: Updating.
7457 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * configure.ac: Removing some remaining of --enable-xan.
7461 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7463 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7464 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7466 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7467 2.10.12-osso6 because the move-focus signal needs to be available in
7470 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7472 * examples/Makefile.am:
7473 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7474 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7475 fine. Prolly NB#61128 is fixed now.
7477 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * src/hildon-volumebar.c:
7480 * src/hildon-volumebar.h: Adding the
7481 hildon_volumebar_set_range_insensitive_message and
7482 hildon_volumebar_set_range_insensitive_messagef functions to set
7483 insensitive message on the slider of the volumebar. Fixes NB#61129.
7485 * examples/Makefile.am:
7486 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7487 test the new insensitive messsage functionality on HildonVolumebar.
7489 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7491 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7494 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7496 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7497 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7498 button on after clearing the trail.
7500 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7502 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7504 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7506 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7507 by splitting the installed headers in generated and non-generated groups. Use
7508 only the non-generated headers to create the hildon-enum-types.h file.
7510 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7512 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7514 * src/hildon-window.c: Hide the window before performing the destroy.
7515 Should make the app closing a little tiny bit more snappy.
7517 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7519 * src/hildon-seekbar.c: add gtkrange.h header
7520 * src/hildon-caption.c: remove unused variable
7522 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7524 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7527 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7533 * debian/changelog: Updating.
7535 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7537 * src/hildon-window.c (hildon_window_window_state_event,
7538 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7539 escape timeout on focus-out-event rather than notify::is-topmost; the
7540 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7542 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7545 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7547 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7549 * src/hildon-window: actually, you need to use the macro always, there's
7550 no private pointer in the instance structure. We should have cleaned this up
7551 when we had the chance...
7553 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7555 * src/hildon-window.c: do not get the private date from HildonWindow before
7556 it passes the g_return_if_fail check. Once it's passed the test, there's no
7557 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7558 if you are only going to access the data once. Whitespace cleanups.
7560 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7562 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7563 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7565 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7571 * debian/changelog: Updating.
7573 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7575 * src/hildon-window.c: When destroying the window, remove (if exists) the
7576 escape timeout handler. Fixes #NB59276.
7578 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7580 * src/hildon-banner.c: When realizing the widget, set the window
7581 transiency. Setting the transiency in the gobject constructor is not
7582 good, as the widget is not realized at that point. Fixes: #NB56624.
7584 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7586 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7587 Add padding for future expansions.
7589 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7591 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7592 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7593 will fake an activation on the previous to the last item of the trail, so
7594 the effect can be overrided by the developer as usual.
7595 Also change the callback for the back button to do the same thing, so its
7596 effect can be overrided too. Fixes: NB#58982
7598 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7600 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7601 HildonCaption. Fixes NB#52379.
7603 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7605 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7606 the internal state of the trail after the user has had the chance of executing
7607 his handler for the signal. Specifically, it may happen that the activated button
7608 is removed and the user still lets the default handler run. This would segfault
7611 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7614 scrollbar to the preview dialog. Fixes NB#54147.
7616 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7618 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7619 max/min year properties can be altered, so the client can modify it
7620 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7622 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7625 hildonlike by default. Fixing a problem with disappearing arrows when
7626 scrolling through months and years. Fixes NB#54127.
7628 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * examples/hildon-date-editor-example.c: Adding error callback to the date
7633 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7639 * configure.ac: Updating.
7641 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7643 * configure.ac: Adding a special '--enable-xan' configure option that
7644 turns off the -Werror compilation setting. Usefull for development.
7646 * src/hildon-calendar.c:
7647 * src/hildon-number-editor.c:
7648 * src/hildon-time-picker.c: Adding the 5* multiplier to
7651 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7653 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7654 instead of g_object_ref + gtk_object_sink.
7656 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7662 * debian/changelog: Updating.
7664 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7666 * src/hildon-color-chooser-dialog.c:
7667 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7668 straight from Tommi labs.
7670 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7672 * examples/hildon-finger-example.c: Correcting the header file path.
7674 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7675 the changed signal. Fixes a small memory leak.
7677 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7681 * src/hildon-banner.c: Importing several usefull fixes from the
7682 ubuntu-mobile branch.
7684 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7686 * examples/Makefile.am:
7687 * examples/hildon-finger-example.c: Adding a finger-checking code
7690 * src/hildon-font-selection-dialog.c: Do not allocate the color
7691 structure using the g_new. Fixes NB#54061.
7693 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7695 * src/hildon-helper.c: Correcting tabs in file.
7697 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7699 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7700 control the visibility of the children.
7702 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7704 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7710 * debian/changelog: Updating.
7712 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7714 * src/hildon-bread-crumb-trail.c:
7715 (hildon_bread_crumb_trail_size_allocate):
7717 Make the back button always a square.
7719 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7721 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7722 from the .c file as it's a private file.
7724 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7726 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7727 uses slightly bigger height.
7729 * src/hildon-font-selection-dialog.c: Adding some checks before
7730 freeing memory in the font selection dialog.
7732 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7734 * src/hildon-font-selection-dialog.c: Adding a small check when
7737 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7738 buttons sensitivity on page switching.
7740 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7742 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7743 internal details of adding a bread crumb to the trail.
7745 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7751 * debian/changelog: Updating.
7753 * src/hildon-bread-crumb-trail.h:
7754 * src/hildon-bread-crumb.h: Changing the API guard to
7755 HILDON_ENABLE_UNSTABLE_API.
7757 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7765 * src/hildon-helper.h: Updating.
7767 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7775 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7779 * src/hildon-helper.h: Small fix to make the package actually compile.
7781 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7783 * src/hildon-bread-crumb-trail.h:
7784 * src/hildon-bread-crumb.h:
7786 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7787 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7789 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7791 * examples/hildon-bread-crumb-trail-example.c:
7793 * src/hildon-bread-crumb-trail.c:
7794 * src/hildon-bread-crumb-trail.h:
7795 * src/hildon-bread-crumb.c:
7796 * src/hildon-bread-crumb.h:
7797 * src/hildon-marshalers.list:
7798 * src/hildon-bread-crumb-widget.c:
7799 * src/hildon-bread-crumb-widget.h:
7801 Slight change in the widget design. The bread crumb trail API is
7802 unchanged, but HildonBreadCrumb is now an interface. A *private*
7803 implementation, hildon-bread-crumb-widget, is provided and used
7804 internally by the trail for the push_text/push_icon functions.
7806 The generic push API is still available, so anyone can implement
7807 and use its own bread crumb widget.
7809 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7811 * debian/rules: Fixing the shlibs.
7813 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7815 * src/hildon-banner.c: Fixing a problem with timed banners having
7816 their parrent destroyed before they are.
7818 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7820 * src/hildon-bread-crumb.c:
7821 * src/hildon-bread-crumb.h:
7823 Make the get_natural_size function a vfunc.
7825 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7827 * src/hildon-bread-crumb.c:
7828 * src/hildon-bread-crumb-trail.c:
7832 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7839 * debian/changelog: Updating for release.
7841 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7843 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7844 don't leak the pango layout.
7846 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7849 * examples/hildon-bread-crumb-trail-example.c:
7853 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7855 * debian/changelog: Removing the bug-fixed entries that were actually
7856 resolved as WONTFIX.
7858 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7861 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7863 * src/hildon-bread-crumb-trail.c:
7864 * src/hildon-bread-crumb-trail.h:
7865 * src/hildon-bread-crumb.c:
7866 * src/hildon-bread-crumb.h:
7870 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7872 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7873 until it's passed the type check.
7875 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7877 * examples/hildon-bread-crumb-trail-example.c
7881 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7883 * examples/Makefile.am
7884 * examples/hildon-bread-crumb-trail-example.c
7886 * src/hildon-bread-crumb-trail.c
7887 * src/hildon-bread-crumb-trail.h
7888 * src/hildon-bread-crumb.c
7889 * src/hildon-bread-crumb.h
7891 New HildonBreadCrumbTrail widget.
7893 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7895 * src/hildon-range-editor.c (hildon_range_editor_init),
7896 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7897 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7898 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7899 hildon_time_editor_class_init, hildon_time_editor_init),
7900 src/hildon-get-password-dialog.c (invalid_input,
7901 hildon_get_password_set_property, hildon_get_password_get_property,
7902 create_contents, hildon_get_password_dialog_set_max_characters),
7903 src/hildon-set-password-dialog.c (create_contents),
7904 src/hildon-date-editor.c (hildon_date_editor_init),
7905 src/hildon-login-dialog.c (hildon_login_dialog_init),
7906 src/hildon-number-editor.c (hildon_number_editor_init),
7907 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7908 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7909 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7910 configure option and adding the respective checks in the code.
7911 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7912 hildon_calendar_drag_data_received): fixed some build warnings.
7914 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7916 * debian/changelog: A 1.0.0 release notes.