1 2009-04-24 Claudio Saavedra <csaavedra@igalia.com>
3 Based on a patch by Alberto Garcia (agarcia@igalia.com)
5 * src/hildon-gtk.c (set_clear_window_flag),
6 (do_set_progress_indicator), (do_set_do_not_disturb),
7 (do_set_portrait_flags),
8 (hildon_gtk_window_set_progress_indicator),
9 (hildon_gtk_window_set_do_not_disturb),
10 (hildon_gtk_window_set_portrait_flags):
11 Allow setting dnd-flag, progress indicator, and portrait flags
12 when the window is not realized.
14 2009-04-24 Alejandro G. Castro <alex@igalia.com>
16 * src/hildon-pannable-area.c,
17 * src/hildon-pannable-area.h: Add the hildon deprecated define to
18 the size request policy function and defines.
20 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
22 * doc/hildon-sections.txt: Add the new API.
23 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
24 method to set the portrait flags.
25 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
27 Fixes: NB#112328 (Adding helpers for setting portrait properties)
29 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
31 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
32 to allow using this method with other flags.
33 (hildon_gtk_window_set_progress_indicator): Update accordingly.
34 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
36 2009-04-22 Alberto Garcia <agarcia@igalia.com>
38 * src/hildon-touch-selector.c
39 (hildon_touch_selector_append_text_column):
40 Make the cell renderer use the smallest width possible.
42 Fixes: NB#108470 (Selected items in multiple selection are either
43 having a tick that is cut or not visible at all.)
45 2009-04-22 Alberto Garcia <agarcia@igalia.com>
47 * src/hildon-touch-selector.c
48 (hildon_touch_selector_append_text_column):
51 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
53 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
54 Use g_strdup_printf() instead of a fixed size buffer.
56 2009-04-21 Alberto Garcia <agarcia@igalia.com>
58 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
59 Close banners when a HildonAppMenu is popped up.
61 Fixes: NB#111027 (Title menu closed immediately if activated when
62 "Invalid e-mail address" banner is shown)
64 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
69 * configure.ac: Bump version.
70 * debian/changelog: Updates.
72 2009-04-20 Alberto Garcia <agarcia@igalia.com>
74 * src/hildon-banner.c (hildon_banner_realize):
75 Mark HildonBanner as supporting portrait mode.
76 Use GDK to set window properties insetad of direct Xlib calls.
78 Fixes: NB#111830 (HildonBanner should be marked as supporting
81 2009-04-20 Alberto Garcia <agarcia@igalia.com>
83 * src/hildon-note.c (hildon_note_rebuild):
84 Hide action area in information notes. Prevents text from being
85 slightly aligned to the left.
87 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
90 2009-04-20 Alberto Garcia <agarcia@igalia.com>
92 Patch by Mox Soini (ext-mox.soini@nokia.com)
94 * src/hildon-banner.c (hildon_banner_create_animation):
95 Use stylus-sized icons in animation banner.
97 Fixes: NB#111206 (stylus sized icon for animation banner)
99 2009-04-20 Alberto Garcia <agarcia@igalia.com>
103 (+hildon_gtk_window_set_do_not_disturb):
104 New API to set the do-not-disturb flag.
106 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
108 2009-04-20 Alberto Garcia <agarcia@igalia.com>
110 * examples/hildon-progress-indicator-example.c: Fix example
112 * src/hildon-gtk.c (set_clear_window_flag)
113 (hildon_gtk_window_set_progress_indicator):
114 Create a generic function for setting flags to a window.
115 Use GDK instead of direct Xlib calls.
117 2009-04-14 Alberto Garcia <agarcia@igalia.com>
119 * src/hildon-button.c (hildon_button_set_arrangement):
120 Due to NB#88126, if one of the labels is too long it will be
121 painted outside the button. The 'value' label is more likely to be
122 the longest one, so we change its packing options in order to
123 truncate it if necessary. As a side effect, the 'title' label will
124 no longer be truncated.
126 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
128 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
133 * configure.ac: Bump version.
134 * debian/changelog: Updates.
136 2009-04-13 Alejandro G. Castro <alex@igalia.com>
138 Deprecation of the hildon_pannable_area_set_size_request_policy
139 API, the only policy properly supported in gtk+ nowadays is the
142 * src/hildon-pannable-area.c,
143 (hildon_pannable_area_size_request): Added a workaround for the
144 size_request to avoid the problems of huge pixmaps in case someone
145 is still using the function.
146 * src/hildon-pannable-area.h: Deprecated the enum with the
149 Fixes: NB#110244 (Problems with the
150 hildon_pannable_area_set_size_request_policy API)
152 2009-04-08 Alejandro G. Castro <alex@igalia.com>
154 * src/hildon-pannable-area.c,
155 (hildon_pannable_area_init),
156 (hildon_pannable_area_size_request),
157 (hildon_pannable_area_style_set),
158 (hildon_pannable_draw_vscroll),
159 (hildon_pannable_draw_hscroll),
160 (hildon_pannable_area_check_scrollbars): Replaced area_width with
161 indicator_width to clarify the use of the attribute.
163 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
168 * configure.ac: Bump version.
169 * debian/changelog: Updates.
171 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
173 * src/hildon-picker-dialog.c
174 * src/hildon-touch-selector.c
175 Reverting the change that tried to avoid the hardcoded height on
176 the picker dialog, as causes problems on the hildon-touch-selector
179 Fixes: NB#110029 (selectors not scrolling to selected value)
181 2009-04-07 Alberto Garcia <agarcia@igalia.com>
183 * src/hildon-touch-selector.c: Fix typos
185 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
187 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
188 Use the event coordinates instead of gdk_window_get_pointer(). Also,
189 request more motions after using it.
191 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
193 * src/hildon-calendar.c (hildon_calendar_expose),
194 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
195 Remove unused variables.
197 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
199 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
202 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
204 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
205 Check the return value of gtk_tree_selection_get_selected()
208 2009-04-06 Alberto Garcia <agarcia@igalia.com>
210 * src/hildon-animation-actor.c
211 * src/hildon-button.c
213 * src/hildon-pannable-area.c
214 * src/hildon-picker-button.c
215 * src/hildon-program.c
216 * src/hildon-remote-texture.c
217 * src/hildon-text-view.c
218 * src/hildon-touch-selector.c
219 * src/hildon-window-stack.c
220 * src/hildon-window.c:
221 Add missing 'Since: 2.2' tags.
223 * doc/hildon-sections.txt:
224 Add some missing symbols.
226 * doc/hildon-docs.sgml:
227 New 'Other' section for HildonAnimationActor and
230 2009-04-06 Alberto Garcia <agarcia@igalia.com>
232 Patch by Iván Gómez (igomez@igalia.com)
236 * doc/hildon-docs.sgml
237 * doc/hildon-sections.txt
241 New chapters on using the Hildon library.
242 Updated the general structure of the reference manual.
243 Other minor documentation fixes.
245 * src/hildon-calendar-popup.c
246 * src/hildon-calendar.c
247 * src/hildon-controlbar.c
248 * src/hildon-date-editor.c
249 * src/hildon-dialog.c
250 * src/hildon-hvolumebar.c
251 * src/hildon-number-editor.c
252 * src/hildon-range-editor.c
253 * src/hildon-sort-dialog.c
254 * src/hildon-time-editor.c
255 * src/hildon-time-picker.c
256 * src/hildon-volumebar-range.c
257 * src/hildon-volumebar.c
258 * src/hildon-vvolumebar.c
259 * src/hildon-weekday-picker.c:
260 Add deprecation notes
262 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
263 Document 'horizontal-movement' and 'vertical-movement' signals.
265 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
270 * configure.ac: Bump version.
271 * debian/changelog: Updates.
273 2009-04-06 Alejandro G. Castro <alex@igalia.com>
275 * src/hildon-pannable-area.c,
276 (hildon_pannable_area_class_init): increased the minimum velocity.
277 (hildon_pannable_area_button_release_cb): Updated the
278 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
279 setup. Review the code to control that last event.
281 Fixes: NB#109790 (Releasing finger in pannable area easily causes
284 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
286 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
288 * src/hildon-get-password-dialog.c
289 (hildon_get_password_set_property),
290 (hildon_get_password_get_property), (create_contents):
291 * src/hildon-login-dialog-private.h:
292 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
293 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
294 (hildon_login_dialog_get_password):
295 * src/hildon-set-password-dialog-private.h:
296 * src/hildon-set-password-dialog.c
297 (hildon_set_password_set_property),
298 (hildon_set_password_get_property), (create_contents),
299 (hildon_set_password_response_change),
300 (hildon_set_password_response_set), (hildon_checkbox_toggled):
302 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
303 instead and look more Fremantle style.
305 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
307 2009-04-03 Alberto Garcia <agarcia@igalia.com>
309 * doc/hildon-sections.txt
310 * src/hildon-window-stack.h
311 * src/hildon-window-stack.c
312 (+hildon_window_stack_get_windows):
313 New API to obtain the list of windows on a stack.
315 2009-04-02 Alberto Garcia <agarcia@igalia.com>
317 * src/hildon-app-menu.c (hildon_app_menu_popup)
318 (hildon_app_menu_class_init, -hildon_app_menu_show):
319 Remove hildon_app_menu_show() and move all its checks to
320 hildon_app_menu_popup()
322 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
324 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
325 (_hildon_picker_dialog_set_selector): removed call to
326 gtk_widget_set_size_request
327 * src/hildon-touch-selector.c
328 (_create_new_column): change the pannable size request policy
330 Avoid to use a hardcoded height for the hildon picker dialog. In order
331 to get that, we needed to change the hildon pannable size request
333 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
335 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
337 * src/hildon-window.c (hildon_window_map): Check for vbox to be
338 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
341 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
343 * debian/control: Depend on osso-system-lock localization package.
344 * src/hildon-code-dialog.c: Obtain the secu_application_title
345 translation from osso-system-lock.
346 * src/hildon-get-password-dialog.c (create_contents): Do not mark
347 for translation the atk related strings, that's not necessary.
348 * src/hildon-set-password-dialog.c (create_contents): Ditto.
349 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
350 cancel button, it is not required.
352 2009-04-02 Alejandro G. Castro <alex@igalia.com>
354 * src/hildon-pannable-area.c,
355 (hildon_pannable_area_class_init): Modified the default value of
356 the overshooting max speed, we have reduced it.
358 2009-04-02 Alberto Garcia <agarcia@igalia.com>
360 * doc/hildon-sections.txt
361 * src/hildon-window-private.h
362 * src/hildon-window.h
363 * src/hildon-window.c (hildon_window_class_init)
364 (hildon_window_init, hildon_window_finalize)
365 (hildon_window_realize, hildon_window_get_property)
366 (hildon_window_set_property, hildon_window_update_markup)
367 (hildon_window_get_markup, hildon_window_set_markup):
368 New "markup" property and hildon_window_{get,set}_markup() methods.
370 * examples/hildon-stackable-window-example.c (new_window):
371 Update example to use hildon_window_set_markup()
373 Fixes: NB#106375 (Need API to retitle a window with a title
376 2009-04-01 Alejandro G. Castro <alex@igalia.com>
378 * src/hildon-pannable-area.c,
379 (hildon_pannable_area_class_init): Changed the default value of
380 the initial_hint to TRUE.
381 (hildon_pannable_area_initial_effect): Changed the initial effect,
382 not the effect is just the fade-out of the scrollbars.
384 Fixes: NB#107775 (No scrollbars can be seen when several items are
385 available in a dialog)
387 2009-04-01 Alberto Garcia <agarcia@igalia.com>
389 * src/hildon-program.c (hildon_program_update_top_most):
392 Fixes: NB#109179 (Memory leak in Hildon program)
394 2009-04-01 Alberto Garcia <agarcia@igalia.com>
396 * src/hildon-banner.c (-get_current_app_window):
397 Remove unused function.
399 2009-04-01 Alejandro G. Castro <alex@igalia.com>
401 * src/hildon-pannable-area.c: Modified the documentation of the
402 get adjustments functions to explain the problem of using the
404 (hildon_pannable_area_class_init): Improved the explanation about
407 2009-04-01 Alberto Garcia <agarcia@igalia.com>
409 * src/hildon-app-menu-private.h
410 * src/hildon-app-menu.c
411 (hildon_app_menu_class_init):
412 Bring back the 'external-border' style property
413 (hildon_app_menu_class_init, hildon_app_menu_init)
414 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
415 Set a fixed width-request for the menu, independent of the number
418 Fixes: NB#94957 (Smoothly opened application menu)
420 2009-03-30 Alberto Garcia <agarcia@igalia.com>
422 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
424 * src/hildon-banner.c
425 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
427 Make sure that the banner is correctly placed the first time it's
429 (hildon_banner_check_position, -check_fullscreen_state):
430 Show the banner in the same place no matter if the window is in
431 fullscreen mode or not.
433 Fixes: NB#107386 (Odd stacking behaviour for information banners)
435 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
437 * src/hildon-touch-selector.c (_default_print_func): reorder
438 concatenation for clarity.
440 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
442 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
443 for multicolumn selectors.
445 Fixes: NB#109099 (Memory leak in Hildon touch selector)
447 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
452 * configure.ac: Bump version.
453 * debian/changelog: Updates.
455 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
457 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
460 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
462 * configure.ac: removed libcangerra-gtk dependency
463 * debian/control: removed libcanberra-gtk dependency
464 * src/Makefile.am: removed libcanberra gtk related flags
465 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
466 context, and manage a global canberra context instead
468 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
470 2009-03-26 Alberto Garcia <agarcia@igalia.com>
472 Patch by Daniel Borgmann (danielb@openismus.com)
474 * src/hildon-edit-toolbar.c:
475 Adjust the left padding.
476 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
477 Paint background of the edit toolbar.
479 Fixes: NB#107897 (Patch to make editmodetoolbar background
480 themeable and adjust margin)
482 2009-03-25 Alberto Garcia <agarcia@igalia.com>
484 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
486 * src/hildon-program.c (hildon_program_update_top_most):
487 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
489 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
490 change when the user tasks in/out of an application)
492 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
494 * configure.ac: added libcangerra-gtk dependency
495 * debian/control: added libcanberra-gtk dependency
496 * src/Makefile.am: added libcanberra gtk related flags
497 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
500 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
502 2009-03-25 Alberto Garcia <agarcia@igalia.com>
504 * src/hildon-program.c (hildon_program_remove_window)
505 (hildon_program_add_window): Add checks for the window
506 parameter. Don't decrease the window counter if the window is not
509 2009-03-24 Alejandro G. Castro <alex@igalia.com>
511 * src/hildon-pannable-area.c,
512 (hildon_pannable_area_realize): Fixed position of the event_window
513 in the realize method.
515 2009-03-24 Alberto Garcia <agarcia@igalia.com>
517 * src/hildon-app-menu-private.h
518 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
519 (hildon_app_menu_map, hildon_app_menu_hide_idle)
520 (hildon_app_menu_key_press, hildon_app_menu_init)
521 (hildon_app_menu_finalize):
522 Make sure that all idle functions are removed when the widget is
525 Fixes: NB#107583 (Hildon app menu crashes in various applications)
527 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
532 * configure.ac: Bump version.
533 * debian/changelog: Updates.
535 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
538 (+hildon_entry_show_placeholder),
539 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
540 that replace hildon_entry_update_contents().
541 (hildon_entry_set_text),
542 (hildon_entry_set_placeholder),
543 (hildon_entry_focus_in_event),
544 (hildon_entry_focus_out_event): Determine when it is needed
545 either to show or hide the placeholder and call the above methods.
547 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
548 when the placeholder text is already set)
550 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
553 simple GdkPixbufAnim using the new icons for the banner.
554 (hildon_banner_show_animation): Use the above mentioned method to
555 create the animation widget.
557 Fixes: NB#103564 (Make hildon animation banner use individual
558 image files as the animation)
560 2009-03-24 Alejandro G. Castro <alex@igalia.com>
562 * src/hildon-pannable-area.c,
563 (hildon_pannable_leave_notify_event): Check if the child is NULL
564 to avoid sending the leave.
566 2009-03-24 Alejandro G. Castro <alex@igalia.com>
568 * src/hildon-pannable-area.c,
569 (hildon_pannable_area_class_init),
570 (hildon_pannable_leave_notify_event): Added a handler of the
571 leave-notify-signal to consider when no motion notify before
574 Fixes: NB#107494 (Items stay selected when clicking and moving
575 away when inside pannable area)
577 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
582 * configure.ac: Bump version.
583 * debian/changelog: Updates.
585 2009-03-19 Alejandro G. Castro <alex@igalia.com>
587 Patch by Alberto Garcia (agarcia@igalia.com)
589 * src/hildon-date-button.c,
590 (hildon_date_button_class_init),
591 (hildon_date_button_init): Removed the construct property handling
592 and created a default selector in the init method.
593 * src/hildon-picker-button.c,
594 (hildon_picker_button_class_init): Removed the construct flag of the
597 2009-03-18 Alberto Garcia <agarcia@igalia.com>
599 * src/hildon-main.c (hildon_init):
600 Don't allow hildon_init() to be called more than once.
602 Fixes: NB#106607 (hildon_init should issue error message upon
605 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
607 * examples/hildon-pannable-area-touch-list-example.c
608 * examples/hildon-pannagle-area-touch-grid-example.c
609 * examples/hildon-edit-toolbar-example.c
610 * examples/hildon-touch-selector-multi-cells-example.c
611 Removed the call to gtk_rc_parse_string, as it is not required since
614 2009-03-17 Alejandro G. Castro <alex@igalia.com>
616 * src/hildon-pannable-area.c,
617 (hildon_pannable_area_class_init): Modified the default panning
618 threshold of the widget to 6px.
620 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
621 than the threshold value ) within the button is not sending the
624 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
627 for the treeview in the new column. This way, the touch list will never
630 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
631 be selected manually for the HW keys to work)
633 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
636 comparison instead of using strcmp(). Fixes a compiler warning as well.
638 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
640 * doc/hildon-docs.sgml: Do not set the library version in the
641 document title, use the releaseinfo tag for that purpose instead.
643 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
645 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
646 Do not jump to the first item if the text in the entry is removed.
648 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
653 * configure.ac: Bump version.
654 * debian/changelog: Updates.
656 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
658 * src/hildon-entry.c (hildon_entry_refresh_contents):
659 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
660 Use "ReversedSecondaryTextColor" for the placeholder text.
662 2009-03-12 Alberto Garcia <agarcia@igalia.com>
664 * src/hildon-text-view.c: Fix compilation warning.
666 2009-03-12 Alberto Garcia <agarcia@igalia.com>
668 * src/hildon-button.c (hildon_button_class_init): Don't make
669 "title" and "value" construction properties, to prevent them from
670 overwriting labels set from derived classes.
672 * src/hildon-picker-button.c
673 (hildon_picker_button_set_selector): Allow setting a NULL selector.
674 (hildon_picker_button_class_init): Make touch-selector a
675 construction property.
677 * src/hildon-date-button.c (hildon_date_button_class_init)
678 (+hildon_date_button_constructed): Add a default date selector if
681 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
683 * src/hildon-touch-selector.c: Small documentation fixes.
685 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
687 Based on a patch by Daniel Borgmann (danielb@openismus.com)
689 * src/hildon-entry.c (hildon_entry_refresh_contents),
690 (hildon_entry_get_text), (hildon_entry_init): Do not use the
691 widget name, set the logical color directly instead and a boolean
692 showing_placeholder instead.
693 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
694 use the widget name here either.
696 Fixes: NB#105678 (HildonTextView should use logical colours
697 instead of setting widget name)
699 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
701 Patch by Daniel Elster (danielk@openismus.com)
703 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
704 Add user_data parameter.
705 (hildon_touch_selector_set_print_func_full): New function akin
706 hildon_touch_selector_set_print_func() but with support for user
707 data and a destroy callback.
708 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
709 to clean up the print function user data.
710 (hildon_touch_selector_class_init): Install dispose function.
711 (HildonTouchSelectorPrivate::print_user_data),
712 (HildonTouchSelectorPrivate::print_destroy_func): New private
714 (hildon_touch_selector_init): Initialize new private members.
715 (hildon_touch_selector_get_current_text): Pass along user data
716 to the print function.
717 (_default_print_func): Add dummy user_data to parameter list.
718 * hildon-date-selector.c (_custom_print_func): ditto,
719 * hildon-time-selector.c (_custom_print_func): ditto,
720 * hildon-touch-selector-entry.c
721 (hildon_touch_selector_entry_print_func): ditto.
723 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
725 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
727 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
729 2009-03-12 Alejandro G. Castro <alex@igalia.com>
731 * src/hildon-pannable-area.c,
732 (hildon_pannable_area_init),
733 (hildon_pannable_area_button_press_cb),
734 (hildon_pannable_area_motion_notify_cb): We have added code to
735 handle the leave and enter events when using the motion events.
737 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
739 2009-03-11 Alberto Garcia <agarcia@igalia.com>
741 * src/hildon-date-button.c (hildon_date_button_get_date)
742 (hildon_date_button_set_date): Make sure that the button has a
745 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
747 2009-03-11 Alejandro G. Castro <alex@igalia.com>
749 * src/hildon-pannable-area.c,
750 (hildon_pannable_area_class_init),
751 (hildon_pannable_area_calculate_velocity): Modify the use of the
752 force and adapt the value.
754 2009-03-10 Alberto Garcia <agarcia@igalia.com>
756 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
757 (hildon_app_menu_class_init): Hide the menu if it receives a
758 delete-event, but don't destroy it
760 Fixes: NB#104485 (Not able to address the call when application
761 menu is opened at background)
763 2009-03-10 Alberto Garcia <agarcia@igalia.com>
765 * src/hildon-app-menu.c
766 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
767 Remove the "external-border" style property, let the menu take its
768 natural size (or the one set by the window manager)
769 (hildon_app_menu_repack_items):
770 Don't reshow the menu, avoid flickers.
772 Partially fixes NB#94957 (Smoothly opened application menu)
774 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
779 * configure.ac: Bump version.
780 * debian/changelog: Updates.
782 2009-03-10 Alejandro G. Castro <alex@igalia.com>
784 * src/hildon-pannable-area.c,
785 (hildon_pannable_area_motion_notify_cb): We control that the
786 direction error margin is used just in case the movement is
787 allowed in the other direction.
789 Fixes: NB#105012 (buttons inside a pannable area not getting
790 release event when dragging/releasing)
792 2009-03-10 Alejandro G. Castro <alex@igalia.com>
794 * src/hildon-pannable-area.c,
795 (hildon_pannable_area_class_init),
796 (hildon_pannable_area_get_property),
797 (hildon_pannable_area_set_property),
798 (hildon_pannable_area_initial_effect),
799 (hildon_pannable_axis_scroll),
800 (hildon_pannable_area_button_release_cb): Reviewed the
801 overshooting effect, now it has its own max
802 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
805 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
810 * configure.ac: Bump version.
811 * debian/changelog: Updates.
813 2009-03-09 Alejandro G. Castro <alex@igalia.com>
815 * src/hildon-pannable-area.c,
816 (hildon_pannable_area_class_init): Changed the max speed, now
817 users can launch the widget very fast. Reduced the default force,
818 that way it is easier to control the launch speed.
820 2009-03-09 Alejandro G. Castro <alex@igalia.com>
822 * src/hildon-pannable-area.c,
823 (hildon_pannable_area_button_release_cb): Removed this check
824 because it causes problems when the device is overloaded.
826 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
828 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
829 add a current_text field to store the text entered in the
830 touch selector entry.
831 (_clean_current_selection): clean up the current text as well.
832 (_save_current_selection), (_restore_current_selection):
833 Save/restore the text in the entry if the selector is a
834 HildonTouchSelectorEntry.
836 Fixes: NB#102541 (value entered in the touch selector entry is not
837 shown when opened for second time)
839 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
841 * doc/hildon-sections.txt:
842 * src/hildon-touch-selector-entry.c
843 (+hildon_touch_selector_entry_get_entry):
844 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
846 Fixes: NB#104815 (I need accessor to the entry inside
847 HildonTouchSelectorEntry)
849 2009-03-06 Alberto Garcia <agarcia@igalia.com>
851 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
852 (hildon_app_menu_class_init):
853 New "filter-vertical-spacing" style property.
855 2009-03-06 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-find-toolbar.c
858 (hildon_find_toolbar_emit_close)
859 (hildon_find_toolbar_emit_invalid_input)
860 (hildon_find_toolbar_entry_activate):
861 Use g_signal_emit() instead of g_signal_emit_by_name()
863 2009-03-06 Alberto Garcia <agarcia@igalia.com>
865 Patch by Mox Soini (ext-mox.soini@nokia.com)
867 * tests/TEST-CASES.txt
868 * tests/check-hildon-banner.c
869 * tests/check-hildon-note.c
870 * src/hildon-banner.c
871 * src/hildon-code-dialog.c
872 * src/hildon-date-editor.c (real_set_calendar_icon_state)
873 * src/hildon-time-editor.c
874 * examples/hildon-lookup-example.c (main):
875 Replace obsolete icon names with new ones.
877 * src/hildon-find-toolbar-private.h:
878 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
879 (-hildon_find_toolbar_emit_search):
880 Remove find button and change icon of close button.
882 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
884 2009-03-05 Alberto Garcia <agarcia@igalia.com>
886 * src/hildon-time-button.c (hildon_time_button_new_step):
887 Use the "touch-selector" property to set the selector directly
888 when creating the object.
890 2009-03-05 Alejandro G. Castro <alex@igalia.com>
892 Added a new example application that allows tuning the pannable
893 area and replaced defines with properties in order to simplify the
894 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
895 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
896 PROP_DIRECTION_ERROR_MARGIN.
898 * examples/hildon-pannable-area-tuning-example.c: New example
900 * src/hildon-pannable-area.c,
901 (hildon_pannable_area_class_init),
902 (hildon_pannable_area_init),
903 (hildon_pannable_area_get_property),
904 (hildon_pannable_area_set_property),
905 (hildon_pannable_area_launch_fade_timeout),
906 (hildon_pannable_area_adjust_value_changed),
907 (hildon_pannable_axis_scroll),
908 (hildon_pannable_area_motion_notify_cb),
909 (hildon_pannable_area_scroll_cb),
910 (hildon_pannable_area_button_release_cb): We have converted some
911 of the defines that control the widget to properties to simplify
914 2009-03-05 Alberto Garcia <agarcia@igalia.com>
916 * src/hildon-app-menu.c (hildon_app_menu_map)
917 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
918 so it's closed if a new window appears.
920 Fixes: NB#104485 (Not able to address the call when application
921 menu is opened at background)
923 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-color-button.c (hildon_color_button_get_property):Add
926 missing 'break' statement in in 'case' construct to avoid
929 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
931 * src/hildon-touch-selector-entry.c
932 (hildon_touch_selector_entry_get_property),
933 (hildon_touch_selector_entry_set_property): Add missing 'break'
934 statements in in 'case' constructs to avoid incorrect warnings.
936 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
938 * src/hildon-time-editor.c
939 (hildon_time_editor_get_time_separators): Do not crash if
940 the first label is NULL.
942 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
944 * src/hildon-date-selector.c (_month_days): Check for month to be
945 strictly less than 12, since otherwise we may overrun the array.
947 2009-03-04 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-date-button.c (+hildon_date_button_new_full)
950 (hildon_date_button_new, hildon_date_button_new_with_year_range)
951 (hildon_date_button_init): Set the date selector using a
952 construction property, to make it happen after HildonButton's
953 "value" property is set.
955 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
956 current date by default)
958 2009-03-04 Alberto Garcia <agarcia@igalia.com>
960 * doc/hildon-sections.txt
961 * src/hildon-program.c
962 * src/hildon-stackable-window.c
963 * src/hildon-window.c:
964 Documentation updates
966 2009-03-04 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-window-stack.c (hildon_window_stack_get_default)
969 (hildon_window_stack_new, +hildon_window_stack_set_property)
970 (+hildon_window_stack_get_property)
971 (hildon_window_stack_class_init)
972 (+hildon_window_stack_set_window_group)
973 (+hildon_window_stack_get_window_group):
974 Make the window group a construction property.
976 2009-03-04 Alberto Garcia <agarcia@igalia.com>
978 * doc/hildon-sections.txt
979 * src/hildon-stackable-window-private.h
980 * src/hildon-stackable-window.h
981 * src/hildon-stackable-window.c
982 (-hildon_stackable_window_set_app_menu)
983 (-hildon_stackable_window_get_app_menu)
984 (-hildon_stackable_window_toggle_menu)
985 (-hildon_stackable_window_finalize)
986 (hildon_stackable_window_class_init)
987 (hildon_stackable_window_init)
988 * src/hildon-window-private.h
989 * src/hildon-window.h
990 * src/hildon-window.c (hildon_window_init)
991 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
992 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
993 (hildon_window_get_main_menu, hildon_window_set_main_menu)
994 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
995 Moved all HildonAppMenu code to HildonWindow. The menu does not
996 require a HildonStackableWindow anymore.
998 * src/hildon-app-menu.c
999 * src/hildon-program.c
1000 * examples/hildon-app-menu-example.c (main):
1001 Update examples and documentation to reflect HildonAppMenu
1004 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1006 * src/hildon-remote-texture.c
1007 * src/hildon-animation-actor.c:
1008 Don't include unused private headers.
1010 2009-03-04 Alberto Garcia <agarcia@igalia.com>
1012 * src/hildon-program-private.h
1013 * src/hildon-program.c
1014 (hildon_program_set_common_menu)
1015 (hildon_program_get_common_menu)
1016 (hildon_program_set_common_app_menu)
1017 (hildon_program_get_common_app_menu):
1018 Change common menu pointers from GtkWidget* to GtkMenu* and
1019 HildonAppMenu* to avoid unnecessary casts.
1021 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1023 * src/hildon-window.c (hildon_window_set_main_menu):
1024 Removed incorrect 'Since:' tag
1026 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1028 * src/hildon-pannable-area.c,
1029 (hildon_pannable_area_calculate_velocity): We use now the
1030 RATIO_TOLERANCE here to check the distance, fixed typo in the
1032 (hildon_pannable_area_motion_notify_cb): We have to set the type
1033 and time even if we are not sending the motion.
1035 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1037 * doc/hildon-sections.txt
1038 * src/hildon-app-menu.h
1039 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1040 (+hildon_app_menu_get_filters): New methods to get the contents of
1043 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1046 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-app-menu.c (hildon_app_menu_popup):
1051 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1053 * src/hildon-window.h
1054 * src/hildon-window.c (+hildon_window_get_main_menu)
1055 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1056 and deprecated hildon_window_get_menu().
1058 * src/hildon-stackable-window.h
1059 * src/hildon-stackable-window.c
1060 (+hildon_stackable_window_set_app_menu)
1061 (+hildon_stackable_window_get_app_menu)
1062 (hildon_stackable_window_set_main_menu): Created
1063 hildon_stackable_window_{get,set}_app_menu() and deprecated
1064 hildon_stackable_window_set_main_menu().
1066 * doc/hildon-sections.txt
1067 * examples/hildon-app-menu-example.c (main)
1068 * src/hildon-app-menu.c
1069 * src/hildon-program.c:
1070 Updated examples and documentation.
1072 Fixes: NB#103758 (No way to obtain a menu from a
1073 HildonStackableWindow)
1075 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1080 * configure.ac: Bump version.
1081 * debian/changelog: Updates.
1083 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1085 * examples/hildon-remote-texture-example.c: Include
1086 hildon-remote-texture.h explicitely.
1087 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1088 applications not defining _XOPEN_SOURCE which don't require this header.
1090 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1092 * doc/hildon-sections.txt
1093 * src/hildon-app-menu.h
1094 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1095 New function to pop up a HildonAppMenu
1097 * src/hildon-stackable-window.c
1098 (hildon_stackable_window_toggle_menu):
1099 Use hildon_app_menu_popup() to show the menu.
1101 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1103 * src/hildon-app-menu.c (hildon_app_menu_show)
1104 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1105 menu if there's another window between it and its parent window.
1107 Fixes: NB#100468 (Application menu window is launched even when a
1108 new secondary-window/dialog is pending to be shown/realized)
1110 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-window-stack.c (hildon_window_stack_push)
1113 (hildon_window_stack_pop_and_push):
1114 Don't forget to push/pop the first window.
1115 Reverse the window list before calling _push_list()
1117 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1119 * src/hildon-picker-button.h
1120 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1121 Remove "value_changed" slot to avoid ABI breakage
1123 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1125 * src/hildon-pannable-area.c,
1126 (hildon_pannable_area_realize),
1127 (hildon_pannable_area_unrealize),
1128 (hildon_pannable_draw_vscroll),
1129 (hildon_pannable_draw_hscroll): Changed the method to handle the
1130 GC used to draw the transparent scrollbar, this way we avoid
1131 creating the GC all the time when drawing the scrollbars.
1133 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1135 * src/hildon-pannable-area.c,
1136 (hildon_pannable_area_init),
1137 (hildon_pannable_area_remove): Removed some unnecessary casts.
1138 (hildon_pannable_area_dispose): Disconnected some signals before
1139 releasing the adjustments.
1141 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1143 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1144 Make sure that all widgets contained in the toolbar are shown.
1146 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1148 * doc/hildon-sections.txt
1149 * src/hildon-picker-button.h
1150 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1151 (_selection_changed, hildon_picker_button_on_dialog_response)
1152 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1153 New hildon_picker_button_value_changed() method.
1156 * src/hildon-picker-button-private.h
1157 * src/hildon-picker-button.c (hildon_picker_button_init)
1158 (+hildon_picker_button_disable_value_changed): Add protected
1159 function for disabling the "value-changed" signal.
1161 * src/hildon-date-button.c (hildon_date_button_set_date):
1162 Don't emit "value-changed" for each one of the three columns.
1164 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1165 before actual change of values)
1167 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1169 * src/hildon-pannable-area.c,
1170 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1171 for the treeview overshooting.
1173 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1175 * src/hildon-banner.c (+hildon_banner_bind_style):
1176 Renamed from hildon_banner_bind_label_style(), now naming the
1177 banner itself as well.
1178 (hildon_banner_show_information),
1179 (hildon_banner_show_information_with_markup),
1180 (hildon_banner_show_animation), (hildon_banner_show_progress):
1181 Name the widgets and labels, based on their type.
1183 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1186 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1188 * src/hildon-note.c (hildon_note_set_property): call
1189 hildon_note_rename() on HildonNote:note-type set.
1190 (hildon_note_rename): Name the note and its label, based on the
1191 HildonNote:note-type property.
1193 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1196 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1198 * src/hildon-pannable-area.c,
1199 (hildon_pannable_area_class_init),
1200 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1201 panning parameters, increased SPS and deceleration factor. Added
1202 also a margin to control fake directions.
1204 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1206 Patch by Sven Herzberg (sven@imendio.com)
1208 * configure.ac: Add missing AM_PROG_CC_C_0
1209 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1211 See NB#101420 (Update unit tests and fix make check)
1213 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1215 This patch was applied before but reverted because it caused
1216 problems, we have changed the main condition and tested the
1217 regressions we detected before and they work ok. We have done a
1218 complete review of the topmost algorithm in order to get a more
1221 * src/hildon-pannable-area.c,
1222 (hildon_pannable_area_get_topmost): Added a new parameter to
1223 filter the the windows that do not include those events.
1224 (hildon_pannable_area_button_press_cb),
1225 (hildon_pannable_area_button_release_cb),
1226 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1227 topmost function, we have added the new parameter.
1229 Fixes: NB#97458 (Pannable area prevents propagation of button
1232 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1235 if all columns in the selector have an item selected.
1236 (_on_dialog_response): Stop "response" signal emission if there is
1237 any selector column without selected items.
1239 Fixes: NB#101889 (Picker dialog should not close when nothing is
1240 selected in multiple selection list)
1242 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1244 * src/hildon-font-selection-dialog.c
1245 (hildon_font_selection_dialog_class_init),
1246 (hildon_font_selection_dialog_init): Remove the preview
1247 button and dialog, since previewing with default theming is likely
1248 to be overcomplicated. The :preview property has now no effect.
1249 Update documentation blurbs to inform about this.
1251 Fixes: NB#92297 (Preview content is not clearly visible for
1252 default colour text)
1254 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1256 Reviewed the geometry that handles the children size and
1257 scrollbar, now it tries a size and reviews the results depending
1258 on the scrollbars visibility.
1260 * src/hildon-pannable-area.c,
1261 (hildon_pannable_area_realize): Fixed a typo.
1262 (hildon_pannable_area_child_allocate_calculate): Added this
1263 function to calculate the child allocation.
1264 (hildon_pannable_area_size_allocate): Reviewed the allocation
1266 (hildon_pannable_area_check_scrollbars),
1267 (hildon_pannable_area_refresh): Refactored refresh function, this
1268 way we can call the code handling the scrollbars without causing a
1269 size_request, it is interesting in the allocate.
1270 (hildon_pannable_area_init): Replace the callbacks of the
1271 value_changed and changed signals to propertly deal with the
1273 (hildon_pannable_area_grab_notify),
1274 (hildon_pannable_area_initial_effect),
1275 (hildon_pannable_area_launch_fade_timeout),
1276 (hildon_pannable_area_adjust_changed),
1277 (hildon_pannable_area_adjust_value_changed),
1278 (hildon_pannable_area_redraw),
1279 (hildon_pannable_area_button_press_cb),
1280 (hildon_pannable_area_button_release_cb),
1281 (hildon_pannable_area_scroll_cb),
1282 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1283 code and use the new functions adjust_changed and
1284 adjust_value_changed.
1286 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1287 Contact editor dialog)
1289 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1294 * configure.ac: Bump version.
1295 * debian/changelog: Updates.
1297 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1299 * src/hildon-pannable-area.c,
1300 (hildon_pannable_area_get_topmost),
1301 (hildon_pannable_area_button_press_cb),
1302 (hildon_pannable_area_button_release_cb),
1303 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1304 topmost function adding the event mask. We have to try a
1305 differente approach because it is still causing problems (NB#9745,
1308 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-banner.c:
1311 Update the maximum width of timed banners.
1312 (force_to_wrap_truncated): Enforce the maximum text width if the
1315 Fixes: NB#102413 (The text margins (wrapping) in information
1316 banner should be HILDON_MARGIN_TRIPLE)
1318 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1320 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1322 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1323 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1324 bound when calculating the scroll indicator position.
1326 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1327 treat ->lower correctly)
1329 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1331 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1332 expose event handling, since it is not necessary to draw the focus
1335 Fixes: NB#102467 (Do not show highlight on the text in
1338 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1340 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1341 full height of the toolbar for the button and the label.
1343 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1345 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1346 padding before the label and after the button.
1348 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1350 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1352 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1353 Add a GtkVSeparator between the button and the back arrow.
1354 Let the button have automatic size.
1355 Set a name to the widget for theming handling.
1357 Fixes: NB#101793 (Make edit toolbar the same height as window
1358 title bar (use title area theming))
1360 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-helper.c (attach_new_color_element): Fix memory
1365 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1367 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1369 * examples/hildon-button-example.c (common_buttons_window): Don't
1372 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1375 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1377 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1379 * src/hildon-gtk.c: Check that the window is realized.
1381 Fixes: NB#102225 (Crash setting the progress indicator to a non
1384 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1387 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1388 instead of modifying the one in the widget style.
1390 Fixes: NB#101043 (Second row of all the command button are
1391 displayed in transparent mode.)
1393 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1395 * src/hildon-date-button.c
1396 * src/hildon-time-button.c: Add gettext macros
1398 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1400 * src/hildon-date-button.c (hildon_date_button_new):
1401 * src/hildon-time-button.c (hildon_time_button_new_step):
1402 Use new logical strings to set the button default title.
1404 Fixes: NB#99915 (Date and Time options are not localised in Date
1407 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1409 * src/hildon-pannable-area.c
1410 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1411 the PANNING_THRESHOLD.
1413 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1415 * src/hildon-pannable-area.c,
1416 (hildon_pannable_area_class_init): Increased the maximum speed.
1417 (hildon_pannable_area_get_property),
1418 (hildon_pannable_area_set_property),
1419 (hildon_pannable_area_timeout): Added a new low friction mode, it
1420 allows the user avoid friction when launching the widget fast
1421 enough. It is interesting to traverse long lists.
1423 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1425 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1426 (+hildon_stackable_window_delete_event): Ignore delete events if
1427 the window is not the topmost one.
1429 Fixes: NB#101698 (Back button long press and delete-event handling)
1431 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1433 * src/hildon-pannable-area.c,
1434 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1435 gtk-dnd-drag-threshold, it was too big. We have defined our own
1436 dnd define and set a smaller value: PANNIG_THRESHOLD.
1438 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1440 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1441 user-defined icons, use always the default one.
1443 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1445 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1447 This patch was applied before but reverted because it caused
1448 problems, we have changed the main condition and tested the
1449 regressions we detected before and they work ok.
1451 * src/hildon-pannable-area.c,
1452 (hildon_pannable_area_get_topmost): Added a new parameter to
1453 filter the the windows that do not include those events. Added
1454 also a condition when finding the window to filter windows that do
1455 not ask for those events.
1456 (hildon_pannable_area_button_press_cb),
1457 (hildon_pannable_area_button_release_cb),
1458 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1459 topmost function, we have added the new parameter.
1461 Fixes: NB#97458 (Pannable area prevents propagation of button
1464 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1466 * tests/check-hildon-color-button.c (START_TEST): do not leak
1469 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/hildon-font-selection-dialog.c
1472 (hildon_font_selection_dialog_get_preview_text): Return NULL
1473 instead of FALSE on the g_return_val_if_fail().
1475 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1477 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1478 * src/hildon-date-selector.c
1479 (hildon_date_selector_select_current_date):
1480 Do not compare unsigned integers to be greater than or equal 0,
1481 because it's always TRUE.
1483 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1485 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1486 (hildon_date_selector_constructor): Do not select the current
1487 date until we are handle the "changed" signal, to avoid having bogus
1488 elements in the days model.
1490 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1493 for num_days, since _month_days() can return a negative value.
1495 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1497 * src/hildon-caption.c (hildon_caption_size_allocate):
1498 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1499 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1501 Initialize allocation variables to 0, to avoid eventually using
1502 unitialized variables.
1504 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1506 * src/hildon-bread-crumb-trail.c
1507 (hildon_bread_crumb_trail_size_allocate):
1508 * src/hildon-calendar.c (hildon_calendar_set_background):
1509 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1510 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1511 * src/hildon-seekbar.c (hildon_seekbar_init):
1512 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1513 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1514 * src/hildon-touch-selector-entry.c
1515 (hildon_touch_selector_get_text_from_model):
1516 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1517 * src/hildon-window.c (hildon_window_finalize):
1519 Remove many unused variables.
1521 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-seekbar.c: (hildon_seekbar_init),
1524 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1526 Remove unnecessary g_assert() calls.
1528 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1530 * src/hildon-caption.c: (hildon_caption_expose),
1531 (hildon_caption_set_property), (hildon_caption_init),
1532 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1533 (hildon_caption_size_request), (hildon_caption_size_allocate),
1534 (hildon_caption_forall), (hildon_caption_set_separator),
1535 (hildon_caption_activate), (hildon_caption_set_child_expand),
1536 (hildon_caption_set_label_text),
1537 (hildon_caption_get_label_alignment):
1539 Remove unnecessary g_assert() calls.
1541 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1543 * src/hildon-banner.c
1544 (hildon_banner_map, hildon_banner_init): Make banner temporary
1545 before mapping it to avoid closing other temporary windows, but
1546 make it non-temporary afterwards to avoid being closed by other
1547 non-temporary windows.
1548 (-hildon_banner_client_event, hildon_banner_init):
1549 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1551 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1554 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1556 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1559 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1561 * src/hildon-remote-texture.c
1562 * src/hildon-remote-texture.h
1563 * src/hildon-remote-texture-private.h
1564 * examples/hildon-remote-texture-example.c:
1565 Updates/fixes to remote-texture and its example.
1567 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1569 Patch by Mox Soini (ext-mox.soini@nokia.com)
1571 * src/hildon-code-dialog.c: Update logical id.
1572 * src/hildon-set-password-dialog.c: Update logical id.
1574 Fixes: NB#100646 (Logical strings is shown for ok in set
1575 password,Password needed dialogs)
1577 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1580 * src/hildon-remote-texture.c
1581 * src/hildon-remote-texture.h
1582 * src/hildon-remote-texture-private.h
1584 Added remote texture widget (for Clutter shared memory textures)
1586 * examples/hildon-remote-texture-example.c
1587 * examples/Makefile.am
1588 Added example file for remote texture usage
1590 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1592 * configure.ac: post release version bump.
1593 * debian/changelog: version bump.
1595 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1600 * configure.ac: Bump version.
1601 * debian/changelog: Updates.
1603 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1605 * src/hildon-date-selector.c (hildon_date_selector_init)
1606 (hildon_date_selector_constructor): Don't connect to the "changed"
1607 signal until the selector is completely constructed.
1609 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1611 * src/hildon-touch-selector.c: (_create_new_column),
1612 (hildon_touch_selector_append_column),
1613 (hildon_touch_selector_set_column_selection_mode),
1614 (hildon_touch_selector_set_active),
1615 (hildon_touch_selector_select_iter):
1616 Emit the HildonTouchSelector::changed signal every time selection
1617 is changed in any of the methods above. This behavior was already
1618 documented but not fully functional.
1620 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1621 selection is programmatically changed)
1623 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1625 * doc/hildon-sections.txt: Remove obsolete icon
1626 sizes from here as well.
1628 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1630 * examples/hildon-stackable-window-example.c (add_window): Remove
1633 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1635 * src/hildon-app-menu.c
1636 (hildon_app_menu_show): Check whether the parent window of a menu
1637 is topmost before popping it up.
1639 Fixes: NB#100468 (Application menu window is launched even when a
1640 new secondary-window/dialog is pending to be shown/realized.)
1642 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1644 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1647 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1649 Patch by Mox Soini (ext-mox.soini@nokia.com)
1651 * src/hildon-banner.c: (hildon_banner_show_animation):
1652 use stylus size instead of obsolete note size.
1653 * src/hildon-defines.h: Update icon sizes.
1655 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/hildon-touch-selector-entry.c:
1658 (hildon_touch_selector_entry_init): Disable unsupported
1660 (hildon_touch_selector_entry_get_text_column): Emit a warning
1661 if an unsupported input modes is used and explicitile state
1662 these modes in the documentation.
1664 Fixes: NB#99802 (Hildon touch selector entry not working properly
1665 for some of the input modes)
1667 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1669 * src/hildon-pannable-area.c,
1670 (hildon_pannable_area_init): Added the changed signal handlers of
1673 Fixes: NB#100320 (HildonPannableArea does not listen to
1674 GtkAdjustment "change" signals)
1676 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1678 * doc/hildon-sections.txt
1679 * src/hildon-window-private.h
1680 * src/hildon-window.h
1681 * src/hildon-window.c (hildon_window_init)
1682 (hildon_window_realize, hildon_window_unrealize)
1683 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1684 (hildon_window_size_request, hildon_window_size_allocate)
1685 (hildon_window_forall, hildon_window_show_all)
1686 (hildon_window_destroy, +paint_edit_toolbar)
1687 (+hildon_window_set_edit_toolbar):
1688 New hildon_window_set_edit_toolbar() method, to add a
1689 HildonEditToolbar to a window without having to pack it manually.
1691 Reorganize hildon_window_size_allocate()
1693 * src/hildon-edit-toolbar.c: Update documentation.
1695 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1696 example to use the new API.
1698 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1700 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1702 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1703 Remove from stack before calling parent's hide.
1705 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1707 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1708 window is removed from the middle of the stack, update the
1709 transiency of the previous one.
1711 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1714 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1716 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1717 block/unblock the signal handler if it's not actually being used.
1718 Fixes some critical warnings.
1720 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1722 Based on a patch by Iván Gómez (igomez@igalia.com)
1724 * src/hildon-banner.c
1728 * src/hildon-pannable-area.c
1729 * src/hildon-picker-dialog.c
1730 * src/hildon-wizard-dialog.h
1731 * src/hildon-wizard-dialog.c: Documentation updates.
1733 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1734 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1736 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1738 * configure.ac: post release version bump.
1739 * debian/changelog: version bump.
1741 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1746 * configure.ac: Bump version.
1747 * debian/changelog: Updates.
1749 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1751 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1752 a stock icon nor change the relief of the back arrow.
1754 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1755 graphics from theme)
1757 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1759 * src/hildon-button.c (hildon_button_set_alignment): Use
1760 priv->alignment if the button has no child yet.
1762 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1764 * src/hildon-button.c: (hildon_button_init): Set the
1765 button style during initialization to give it the proper
1768 Fixes: NB#99713 (HildonButton value label color is wrong)
1770 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-touch-selector.c: Document
1773 hildon_touch_selector_center_on_selected()
1775 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1777 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1778 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1779 all menu items, but not the menu itself.
1780 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1781 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1782 items after adding them to the menu so keyboard accelerators work.
1783 (hildon_app_menu_show): Don't show the menu if it contains items
1784 but none of them are visible.
1786 * examples/hildon-app-menu-example.c (create_menu): Use
1787 gtk_widget_show_all() to show all menu items.
1789 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1791 * src/hildon-picker-dialog.c:
1792 (-_update_title_on_selector_changed_cb),
1793 (-_dialog_update_title): Removed.
1794 (_select_on_selector_changed_cb), (_on_dialog_response),
1795 (on_selector_columns_changed): Do not update the dialog title.
1796 (setup_interaction_mode): Do not connect to
1797 HildonTouchSelector::changed signal if there's a "done" button, as
1798 the dialog title doesn't need to be updated.
1800 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1803 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1805 Patch by Kristian Rietveld (kris@imendio.com)
1807 * src/hildon-touch-selector.c: (_create_new_column): Use new
1808 GtkTreeView::hildon-row-tapped signal to react to user interactions
1809 instead of ::changed.
1811 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1812 with some dynamic tree model)
1814 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1816 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1817 (+screen_size_changed, +label_size_request)
1818 (hildon_note_class_init): Make the Hildon information note have a
1819 minimum height, and make its text hvae a maximum width.
1821 Fixes: NB#98614 (Hildon information note (background) should have
1822 minimum height and maximum text width)
1824 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1826 * src/hildon-banner.h
1827 * src/hildon-banner.c (hildon_banner_show_information)
1828 (hildon_banner_show_informationf)
1829 (hildon_banner_show_information_with_markup): Update documentation
1830 to reflect that the icon_name parameter is not used anymore.
1831 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1832 Remove all code from these functions and mark them as deprecated.
1833 (hildon_banner_show_progress): Mark as deprecated.
1835 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1837 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1839 * src/hildon-pannable-area.c,
1840 (hildon_pannable_area_class_init),
1841 (tranparency_color),
1842 (hildon_pannable_draw_vscroll),
1843 (hildon_pannable_draw_hscroll),
1844 (hildon_pannable_area_expose_event): Added a new way to render the
1845 scrollbars of the pannable area avoiding using cairo at all. This
1846 way we improve the performance of the pannable area rendering. The
1847 cairo rendering procedure is still in the code, we can control
1848 which one to use changing the value of the define
1849 USE_CAIRO_SCROLLBARS.
1851 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1853 * configure.ac: post release version bump.
1854 * debian/changelog: version bump.
1856 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1861 * configure.ac: Bump version.
1862 * debian/changelog: Updates.
1864 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1866 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1867 banners instead of destroying them when they receive a button
1870 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1872 Reverted commit 34028, it was causing regressions, probably the
1873 topmost condition is not correct, we have to check it in more
1874 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1875 propagation of button press events)
1877 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1879 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1880 that the selection is not empty before attempting to retrieve the
1881 current ampm selection.
1883 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1885 * src/hildon-picker-button.c:
1886 (hildon_picker_button_on_dialog_response): Directly update the
1887 button contents when required instead of calling _selection_changed.
1889 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-program.c (hildon_program_update_top_most): Update
1892 'is-topmost' property also when wm_hints is not set.
1894 Fixes: NB#98383 (is-topmost signal is not emitted when task
1895 switcher is clicked.)
1897 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1899 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1903 * src/hildon-animation-actor.c,
1904 * src/hildon-animation-actor.h: Added the animation actor class,
1905 this widget represents an animation actor for WM-assisted
1906 animation effects in the Hildon framework.
1908 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1910 * src/hildon-window-stack-private.h
1911 * src/hildon-window-stack.c
1912 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1913 Avoid calling gtk_widget_show() again indirectly from
1914 hildon_stackable_window_show()
1916 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1918 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1921 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1924 (hildon_time_selector_init): Move the construction of the hours and
1925 ampm columns to the constructor to preserve the order the columns
1928 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-picker-dialog.c:
1931 (hildon_picker_dialog_class_init): Connect a realize method.
1932 (+hildon_picker_dialog_realize): Setup the interaction mode here
1934 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1935 yet, do it during the realize instead.
1936 (_on_dialog_response):
1937 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1938 if the widget is not realized, to avoid the dialog response before it
1941 Avoid premature responses in the HildonPickerDialog that can cause it
1942 to be hidden before it's even shown.
1944 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1946 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1947 (on_selector_columns_changed), (requires_done_button),
1948 (+prepare_action_area), (setup_interaction_mode),
1949 (_hildon_picker_dialog_set_selector):
1951 Split the interaction mode setup into preparation of the
1952 action area (prepare_action_area()) and the connection of
1953 the signals in setup_interaction_mode() and update the code to
1956 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1958 * src/hildon-pannable-area.c,
1959 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1960 per second to 15, we will check if this is ok regarding
1963 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1965 * src/hildon-pannable-area.c,
1966 (hildon_pannable_axis_scroll): Avoid resize if we already have
1967 reached overshoot_max.
1969 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1971 * src/hildon-pannable-area.c,
1972 (hildon_pannable_area_init),
1973 (hildon_pannable_area_realize),
1974 (hildon_pannable_area_size_allocate),
1975 (hildon_pannable_area_map),
1976 (hildon_pannable_area_unmap),
1977 (hildon_pannable_draw_vscroll),
1978 (hildon_pannable_draw_hscroll),
1979 (hildon_pannable_area_expose_event),
1980 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1981 pannable are to avoid the expose events go to the window and
1982 redraw the window. We save this way that part of the stack and the
1983 paint_boxes. We had to change the positions of the elements when
1986 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1989 * src/hildon-color-chooser-dialog.c:
1990 (hildon_color_chooser_dialog_init):
1991 * src/hildon-font-selection-dialog.c:
1992 (hildon_font_selection_dialog_init),
1993 (hildon_font_selection_dialog_show_preview):
1994 * src/hildon-get-password-dialog.c:
1995 * src/hildon-login-dialog.c:
1996 * src/hildon-set-password-dialog.c:
1997 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1998 * src/hildon-time-picker.c: (hildon_time_picker_init):
2000 Remove obsolete logical string IDs and update to the appropriate ones.
2002 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
2004 2009-01-21 Alberto Garcia <agarcia@igalia.com>
2006 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
2007 that happens if the window hasn't been realized yet.
2009 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
2010 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
2012 2009-01-20 Alberto Garcia <agarcia@igalia.com>
2014 * src/hildon-app-menu.c (hildon_app_menu_class_init)
2015 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
2018 Fixes: NB#98537 (Device hangs in account settings dialog)
2020 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2022 * configure.ac: post release version bump.
2023 * debian/changelog: version bump
2025 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2030 * configure.ac: Bump version.
2031 * debian/changelog: Updates.
2033 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2035 Added a new function to the HildonTimeButton widget that allows to
2036 change the step of the minutes in the selector associated with the
2037 button: hildon_time_button_new_step
2039 * src/hildon-time-button.c,
2040 (hildon_time_button_init),
2041 (hildon_time_button_new),
2042 (hildon_time_button_new_step):
2043 * src/hildon-time-button.h: Added the new function and refactored
2045 * examples/hildon-time-button-example.c,
2046 (main): We have replaced the function without parameters with the
2047 function with the steps set to 5
2049 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2051 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2053 * src/hildon-time-selector.c,
2054 (hildon_time_selector_class_init),
2055 (hildon_time_selector_constructor),
2056 (hildon_time_selector_get_property),
2057 (hildon_time_selector_set_property),
2058 (_create_minutes_model),
2059 (hildon_time_selector_new_step),
2060 (hildon_time_selector_set_time),
2061 * src/hildon-time-selector.h: Added a new property to the
2062 HildonTimeSelector (minutes-step), we use that property to control
2063 the steps between the minutes in the list of the selector. We have
2064 added a new function to the API to create a widget changing the
2065 step: hildon_time_selector_new_step.
2067 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2069 * src/hildon-time-selector.c,
2070 (hildon_time_selector_class_init),
2071 (hildon_time_selector_constructor),
2072 (hildon_time_selector_init): Overrided the construct function when
2073 creating the time selector object. We have moved the minutes model
2074 handling code from the init to the new construction function:
2075 hildon_time_selector_constructor.
2077 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2079 * examples/hildon-date-button-example.c: (main): Use the new
2080 hildon_date_button_new_with_year_range() method in the example.
2081 * src/hildon-date-button.c:
2082 (+hildon_date_button_new_with_year_range): New public method
2083 to conveniently create a HildonDateButton with a custom year range
2084 in its HildonDateSelector.
2085 * src/hildon-date-button.h: Add the new public method definition.
2087 Fixes: NB#97908 (Not possible to change the year range in
2088 HildonDateSelector/HildonDateButton)
2090 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2092 * src/hildon-date-selector.c:
2093 (+hildon_date_selector_set_property),
2094 (+hildon_date_selector_get_property),
2095 (hildon_date_selector_class_init): Install new properties "min-year"
2096 and "max-year" to define boundaries for the year column.
2097 (_create_year_model): Use the boundary properties to populate the model.
2098 (+hildon_date_selector_new_with_year_range): New public method to
2099 create a HildonDateSelector with a user defined year range.
2100 (hildon_date_selector_select_current_date): Use the new boundaries to
2101 calculate the iterator of current year.
2102 * src/hildon-date-selector.h: Add the new public method definition.
2104 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2107 Install a constructor method.
2108 (+hildon_date_selector_construct_ui): construct the widget.
2109 (+hildon_date_selector_constructor): new constructor.
2110 (+hildon_date_selector_init): move out widget construction code to
2111 the new constructor.
2113 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2115 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2116 that there's actually a month or year selected before obtaining them.
2117 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2118 of the HildonTouchSelector::changed signal, as it was emitted on every
2119 single item selection.
2121 Fix some warnings and possible crashers due to the selection restoring.
2123 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2125 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2126 the signal handlers only after creating the dialog instead of on every
2129 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-button.c (hildon_button_init)
2132 * src/hildon-check-button.c (hildon_check_button_init)
2133 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2134 focus when clicked by default.
2136 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2141 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2143 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2144 Alejandro G. Castro (alex@igalia.com)
2146 * src/hildon-picker-dialog.c:
2147 (hildon_picker_dialog_class_init): install new "center-on-show"
2149 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2150 (hildon_picker_dialog_set_property): add setter code for the new
2152 (hildon_picker_dialog_get_property): add getter code for the new
2154 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2155 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2158 Fixes: NB#92849 (Selected item is not always visible when
2159 HildonTouchSelector is shown)
2161 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2163 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2164 Alejandro G. Castro (alex@igalia.com)
2166 * src/hildon-touch-selector.c:
2167 (_create_new_column): Do not connect to the "realize" signal of the
2169 (hildon_touch_selector_append_column): center on the selected items
2170 when a new column is appended.
2171 (hildon_touch_selector_select_iter): Factor out the code to select a
2172 column to hildon_touch_selector_scroll_to().
2173 (+search_nearest_element): Method to retrieve the nearest selected
2174 element to the visible area of the pannable area in a column.
2175 (+on_realize_cb): scroll to the initially selected item.
2176 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2177 the pannable area is realized, otherwise delay this until it is.
2178 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2179 selected items of a given column.
2180 (+hildon_touch_selector_center_on_selected): Public method to center
2181 all columns on the nearest selected item.
2182 * src/hildon-touch-selector.h: Add definition for
2183 hildon_touch_selector_center_on_selected().
2185 Implement public API to ensure visibility of all selected items in
2186 a HildonTouchSelector.
2188 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2190 Fixed a problem in the fading when calling the scroll_to API, and
2191 improve scrollbar fading handling.
2193 * src/hildon-pannable-area.c,
2194 (hildon_pannable_area_grab_notify): avoid the timeout when the
2196 (hildon_pannable_area_button_press_cb),
2197 (hildon_pannable_area_motion_notify_cb): Code style changes.
2198 (hildon_pannable_area_button_release_cb): Review the conditions
2199 when releasing the mouse button to avoid unrequired fading
2201 (hildon_pannable_area_scroll_to): Do not calculate and set the
2202 velocity if the scroll is not required.
2204 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2206 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2207 Don't check whether the new selector is NULL: it cannot be.
2208 Hold a reference to the selector while doing the replacement.
2210 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2212 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2213 unnecessary size_request in a removed widget.
2215 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2218 an unnecessary reference tracking that was leaking.
2220 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2222 Added delayed motion notify event handling, this way we can
2223 discard redrawing if more than 25 events arrive per second.
2225 * src/hildon-pannable-area.c,
2226 (hildon_pannable_area_init): Initialized the new private atributes
2227 controlling this timeout
2228 (hildon_pannable_area_dispose): Remove the timeout that controls
2229 the motion notify events.
2230 (hildon_pannable_area_scroll): Added a condition to control the
2231 use of the acceleration.
2232 (hildon_pannable_area_motion_event_scroll_timeout),
2233 (hildon_pannable_area_motion_event_scroll): Added this two
2234 functions, they handle the motion notify events inside the
2236 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2237 to the scroll method with the new function.
2238 (hildon_pannable_area_button_release_cb): We have to remove the
2239 timeout handler and move to the last position if the last motion
2240 events were not handled.
2242 Fixes: NB#97028 (Pannable area updates on every motion event)
2244 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2246 * src/hildon-pannable-area.c,
2247 (hildon_pannable_area_get_topmost): Added a new parameter to
2248 filter the the windows that do not include those events. Added
2249 also a condition when finding the window to filter windows that do
2250 not ask for those events.
2251 (hildon_pannable_area_button_press_cb),
2252 (hildon_pannable_area_button_release_cb),
2253 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2254 topmost function, we have added the new parameter.
2256 Fixes: NB#97458 (Pannable area prevents propagation of button
2259 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2261 * src/hildon-pannable-area.c,
2262 (hildon_pannable_area_initial_effect): Added controls before
2263 launching the timeout and the idle functions.
2264 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2265 of the method, in some situations it can return with TRUE and 0 in
2267 (hildon_pannable_area_button_press_cb): We do not need to set
2268 DELAY for fading out here.
2270 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2272 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2274 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2275 post-cleaning if the selection is not NULL.
2277 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2279 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2280 all items before restoring the selection.
2282 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2284 * src/hildon-touch-selector.c:
2285 (+hildon_touch_selector_unselect_all):
2286 * src/hildon-touch-selector.h: New API to unselect all items in a
2287 column of the touch selector.
2289 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2291 * src/hildon-pannable-area.c,
2292 (hildon_pannable_area_redraw): Added a call to the refresh
2293 function inside the redraw because apparently in some cases the
2294 change in the adjustment does not imply a size allocate.
2296 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2297 despite the view not being scrollable)
2299 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2302 leak. Check for NULL before attempting to set the window title.
2304 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2306 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2307 whether to show or not the 'Done' button each time the dialog is
2308 shown, as it depends on the HildonTouchSelector selection mode.
2310 Fixes: NB#96226 (In multiple selection mode Done button is shown
2311 sometimes in listpicker)
2313 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2316 for the number of columns in the HildonTouchSelector more than once.
2318 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-touch-selector.c: Minor documentation fixes.
2322 * src/hildon-picker-dialog.c (+_dialog_update_title)
2323 (_select_on_selector_changed_cb)
2324 (_update_title_on_selector_changed_cb)
2325 (on_selector_columns_changed): Update dialog title when there's no
2326 'Done' button and also when the number of columns in the selector
2330 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2331 (+_selection_changed, hildon_picker_button_on_dialog_response)
2332 (hildon_picker_button_selector_selection_changed)
2333 (+hildon_picker_button_selector_columns_changed)
2334 (hildon_picker_button_set_selector): Update button value and emit
2335 'value-changed' when the number of columns in the selector
2339 Fixes: NB#96225 (Dialog titles are not shown according to the
2340 values selected in the list picker)
2342 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2344 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2345 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2346 New "arrow-width" and "arrow-height" style properties to set the
2347 size of the arrow button.
2348 Set name of arrow button ("hildon-edit-toolbar-arrow").
2350 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2351 graphics from theme)
2353 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-picker-button.c:
2356 (hildon_picker_button_selector_selection_changed): Use
2357 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2358 the dialog is present.
2360 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2361 the selection is accepted in the dialog)
2363 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-color-chooser.h
2366 * src/hildon-color-chooser-dialog.h:
2367 Added G_BEGIN_DECLS and G_END_DECLS
2369 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2371 (_clean_current_selection): plug a leak in the list.
2373 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2375 * src/hildon-picker-dialog.c:
2376 (+free_path_list): Method to free a GList of GtkTreePaths.
2377 (_clean_current_selection), (_save_current_selection),
2378 (_restore_current_selection): Save the current selection in
2379 as a list of lists, to support multiple selection properly.
2381 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2383 patch by Claudio Saavedra (csaavedra@igalia.com)
2385 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2386 Store the press position.
2387 (+hildon_text_view_button_release_event): If the release position is
2388 close enough to the press position, move the cursor here. Otherwise,
2390 (hildon_text_view_class_init): Override GtkTextView press, release, and
2391 motion event handlers, disabling this way text selection through
2392 pointer interaction, and allowing the container widget to handle the
2395 Fixes: NB#95828 (HildonTextView functionality)
2397 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2399 Based on a patch by Iván Gómez (igomez@igalia.com)
2401 * src/hildon-button.[ch]
2402 * src/hildon-calendar.c
2403 * src/hildon-check-button.c
2404 * src/hildon-date-editor.c
2405 * src/hildon-date-selector.c
2406 * src/hildon-picker-button.c
2407 * src/hildon-time-editor.c
2408 * src/hildon-time-selector.c
2409 * src/hildon-touch-selector.[ch]:
2410 Documentation updates
2412 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2414 * src/hildon-pannable-area.c,
2415 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2416 threshold, it was required due to X events handling.
2418 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2420 * src/hildon-pannable-area.c,
2421 (hildon_pannable_area_grab_notify),
2422 (hildon_pannable_area_initial_effect),
2423 (hildon_pannable_area_button_press_cb),
2424 (hildon_pannable_area_button_release_cb),
2425 (hildon_pannable_area_scroll_cb),
2426 (hildon_pannable_area_scroll_to): Review the timeout management of
2427 the scrollbar, the frecuency was incorrectly set.
2429 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2431 * src/hildon-picker-button.c:
2432 (+hildon_picker_button_on_dialog_response),
2433 (hildon_picker_button_clicked): Present the dialog instead of
2434 running it with gtk_dialog_run().
2436 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2439 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2441 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2442 (hildon_app_menu_finalize): When a window is hidden it doesn't
2443 emit notify::is-topmost, so make sure than the menu also
2444 disappears in that case.
2445 (parent_window_topmost_notify): Renamed from parent_window_hidden
2447 Fixes: NB#94460 (stackable window's menu is not closed when its
2450 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2452 * src/hildon-touch-selector-entry.c:
2453 (+hildon_touch_selector_entry_set_input_mode),
2454 (+hildon_touch_selector_entry_get_input_mode):
2455 * src/hildon-touch-selector-entry.h: New methods to access the input
2456 mode in the selector's entry.
2458 Fixes: NB#93410 (API required for setting IM mode in
2459 HildonTouchSelectorEntry)
2461 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2463 * configure.ac: post release version bump.
2464 * debian/changelog: version bump
2466 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2471 * configure.ac: Bump version.
2472 * debian/changelog: Updates.
2474 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-touch-selector.c:
2477 (_hildon_touch_selector_has_multiple_selection): No need
2478 to initialize the variables here.
2480 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2482 * src/hildon-note-private.h
2483 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2484 (hildon_note_finalize, hildon_note_rebuild): Close information
2485 notes when they receive a button press.
2487 Fixes: NB#89890 (Information notes does not get disappeared after
2490 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2492 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2493 mark from the wizard title, as it's not really necessary. Also,
2494 do not display the page title if not set.
2496 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2498 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2499 (parent_window_hidden): Use the window's "is-topmost" property to
2500 detect when to hide the menu.
2502 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2504 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2505 (hildon_app_menu_finalize): If the parent window of the menu is
2506 hidden, hide the menu too.
2508 Fixes: NB#94460 (stackable window's menu is not closed when its
2511 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2514 * debian/libhildon1-examples.install
2516 * examples/Makefile.am:
2517 Use dh_install to install all examples.
2518 Use DEB_SRCDIR instead of defining SOURCE_DIR
2520 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2522 * configure.ac: post release version bump.
2523 * debian/changelog: version bump
2525 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2530 * configure.ac: bump version
2531 * debian/changelog: updates
2532 * debian/control: bump gtk+ dependency
2534 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2536 patch by Christian Dywan (christian@imendio.com)
2538 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2539 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2541 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2543 * src/hildon-check-button.c (hildon_check_button_init)
2544 (hildon_check_button_class_init, hildon_check_button_style_set)
2545 (hildon_check_button_apply_style):
2546 New "checkbox-size" style property.
2548 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2549 larger / configurable size)
2551 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2553 * configure.ac: post release version bump.
2554 * debian/changelog: version bump
2556 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2561 * configure.ac: bump version
2562 * debian/changelog: updates
2564 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2566 * doc/hildon-sections.txt
2567 * src/hildon-pannable-area.c
2568 * src/hildon-program.c
2569 * src/hildon-time-editor.c
2570 * src/hildon-touch-selector-entry.c:
2572 More documentation updates.
2574 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2576 * doc/hildon-sections.txt
2577 * src/hildon-caption.c
2578 * src/hildon-code-dialog.c
2579 * src/hildon-color-button.c
2580 * src/hildon-controlbar.c
2581 * src/hildon-date-editor.c
2582 * src/hildon-date-selector.c
2583 * src/hildon-edit-toolbar.c
2584 * src/hildon-find-toolbar.c
2585 * src/hildon-font-selection-dialog.c
2587 * src/hildon-program.c
2588 * src/hildon-range-editor.c
2589 * src/hildon-seekbar.c
2590 * src/hildon-time-editor.c
2591 * src/hildon-time-selector.c
2592 * src/hildon-volumebar-range.c
2593 * src/hildon-volumebar.c
2594 * src/hildon-vvolumebar.c
2595 * src/hildon-weekday-picker.c
2596 * src/hildon-window.c
2597 * src/hildon-wizard-dialog.c:
2599 Lots of documentation fixes.
2601 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2603 Patch contributed by Iván Gómez (igomez@igalia.com)
2605 * src/hildon-check-button.c:
2606 * src/hildon-date-button.c:
2607 * src/hildon-date-selector.c:
2608 * src/hildon-dialog.c:
2609 * src/hildon-edit-toolbar.c:
2610 * src/hildon-entry.c:
2611 * src/hildon-picker-button.c:
2612 * src/hildon-program.c:
2613 * src/hildon-text-view.c:
2614 * src/hildon-time-button.c:
2615 * src/hildon-touch-selector-entry.c:
2616 * src/hildon-window-stack.c:
2618 Add more "since" tags to the new API.
2620 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2622 * doc/hildon-sections.txt: Add below method.
2623 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2624 version for the hildonized scale.
2625 * src/hildon-gtk.h: Add the definition.
2627 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2629 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2631 * doc/hildon-sections.txt: Add missing entries for new methods.
2633 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2635 Added API to pannable are in order to get its adjustments. We
2636 added two properties to manage the values we had in the private
2639 * src/hildon-pannable-area.c:
2640 (hildon_pannable_area_class_init): Added hadjustment and
2641 vadjustment properties in order to expose horizontal and vertical
2643 (hildon_pannable_area_get_property),
2644 (hildon_pannable_area_set_property): Added code to handle the new
2646 (hildon_pannable_area_get_hadjustment),
2647 (hildon_pannable_area_get_vadjustment): API functions to get the
2649 * src/hildon-pannable-area.h:
2650 (hildon_pannable_area_get_hadjustment),
2651 (hildon_pannable_area_get_vadjustment): API functions to get the
2654 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2656 Fixed some leaks, after valgrinding.
2658 * src/hildon-touch-selector.c:
2659 (_default_print_func): Fixed a leak.
2660 (hildon_touch_selector_append_column): Fixed a leak.
2661 * src/hildon-date-button.c:
2662 (hildon_date_button_init): Fixed a leak.
2663 * src/hildon-date-selector.c
2664 (hildon_date_selector_finalize): Fixed a leak.
2666 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2668 Based on a patch by Christian Dywan (christian@imendio.com)
2670 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2672 * src/hildon-gtk.h: Add definition.
2674 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2676 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2678 * src/hildon-picker-button.c: (hildon_picker_button_init),
2679 (hildon_picker_button_new): Set the HildonButton::style property
2680 in the init method, to propagate the value to the derived classes.
2682 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-button.c: (hildon_button_class_init): Do not make
2685 the "style" property a construct property.
2687 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2689 * src/hildon-wizard-dialog.h
2690 * src/hildon-wizard-dialog.c
2691 (hildon_wizard_dialog_set_forward_page_func)
2692 * src/hildon-pannable-area.h
2693 * src/hildon-pannable-area.c
2694 (hildon_pannable_area_set_size_request_policy):
2695 Documentation fixes.
2697 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2699 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2701 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2703 * doc/hildon-sections.txt: Added sections file.
2705 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/*.[ch]: Updates.
2710 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2712 * examples/hildon-progress-indicator-example.c: new file
2713 * examples/Makefile.am: include the new example program
2715 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2717 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2719 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2721 * configure.ac: post release version bump
2722 * debian/changelog: version bump
2724 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2729 * configure.ac: bump version
2730 * debian/changelog: updates
2731 * debian/control: bump gtk+ dependency
2733 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2735 * src/hildon-dialog.c: Mark as deprecated.
2736 * src/hildon-dialog.h: Mark as deprecated.
2737 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2738 from HildonDialog and still work, even if
2739 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2740 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2742 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2743 maemo changes) instead)
2745 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2747 * src/hildon-pannable_area.h:
2748 * src/hildon-pannable_area.c:
2749 (hildon_pannable_area_class_init),
2750 (hildon_pannable_area_set_property),
2751 (hildon_pannable_area_get_property),
2752 (hildon_pannable_area_size_request),
2753 (hildon_pannable_area_get_size_request_policy),
2754 (hildon_pannable_area_set_size_request_policy): Added new API
2755 allowing applications to control the request policy. Now they can
2756 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2757 children allocation (HILDON_MOVEMENT_CHILDREN).
2759 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2763 (hildon_gtk_tree_view_set_ui_mode)
2764 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2765 mode of treeviews and iconviews.
2767 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-touch-selector-entry.c:
2770 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2771 of a GtkEntry to get proper theming.
2773 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2774 widget, not GtkEntry)
2776 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2779 no HildonWizardDialogPageFunc.
2781 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2783 Patch contributed by Iván Gómez (igomez@igalia.com)
2785 * src/hildon-app-menu.c:
2786 * src/hildon-button.c:
2787 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2788 * src/hildon-stackable-window.c:
2789 * src/hildon-time-selector.c:
2790 * src/hildon-touch-selector.c:
2791 * src/hildon-window.c:
2793 Add more "since" tags to the new API in hildon 2.2.
2795 2008-12-05 Tim Janik <timj@imendio.com>
2797 Patch contributed by Christian Dywan (christian@imendio.com)
2799 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2800 HildonSizeType, which are supplied by Gtk+ now.
2802 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2804 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2805 (with maemo changes) instead)
2807 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2809 Patch contributed by Iván Gómez (igomez@igalia.com)
2811 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2814 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2816 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2817 (some_page_func), (main): Update the example to use a
2818 HildonWizardDialogPageFunc function.
2820 * src/hildon-wizard-dialog-private.h: Add private data for
2821 the HildonWizardDialogPageFunc function usage.
2823 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2824 (destroy), (hildon_wizard_dialog_init), (response),
2825 (hildon_wizard_dialog_set_forward_page_func):
2826 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2827 that applications can use to stop a HildonWizardDialog to jump to
2830 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2833 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-program.h
2836 * src/hildon-program-private.h
2837 * src/hildon-program.c (hildon_program_init)
2838 (hildon_program_set_common_app_menu)
2839 (hildon_program_get_common_app_menu):
2840 New API for setting a common HildonAppMenu for all
2841 HildonStackableWindows registered with the HildonProgram.
2843 * src/hildon-stackable-window.c
2844 (hildon_stackable_window_toggle_menu):
2845 Use the common HildonAppMenu if a window doesn't have a specific
2848 * src/hildon-app-menu-private.h
2849 * src/hildon-app-menu.c
2850 (hildon_app_menu_get_parent_window):
2851 Function to obtain the window a HildonAppMenu is attached to.
2852 (hildon_app_menu_set_parent_window):
2853 Hide the menu if the parent window is set to NULL.
2855 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2857 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2858 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2859 search widget to popup.
2861 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2863 * configure.ac: post release version bump
2864 * debian/changelog: version bump
2866 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2871 * configure.ac: bump version
2872 * debian/changelog: updates
2874 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2876 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2878 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2879 (hildon_window_stack_window_realized)
2880 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2881 Set the leader GdkWindow when a window is stacked and realized,
2882 unset it when it's unstacked.
2883 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2885 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2887 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-stackable-window.h
2890 * src/hildon-window-stack.h:
2891 Protect definition of HildonWindowStack using the preprocessor.
2893 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2895 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2896 Fix warning if all menu items are hidden.
2898 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2900 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2902 * src/hildon-controlbar.c:
2903 * src/hildon-hvolumebar.c:
2904 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2905 Multiple scale size defines updates.
2907 Fixes: NB#94322 (Scale Updates)
2909 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2911 * examples/hildon-app-menu-example.c (create_menu)
2912 Show items after adding them to the menu, as in the future the
2913 menu will no longer call gtk_widget_show() on the added items.
2915 * src/hildon-app-menu.c:
2916 Update example as explained above.
2918 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-app-menu.c
2921 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2922 Make sure that all menu items have finger height.
2924 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2926 * src/hildon-picker-dialog.c:
2927 (_on_dialog_response), (_save_current_selection),
2928 (_restore_current_selection), (_clean_current_selection),
2929 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2930 Defined new functions in order to save the current internal selector
2931 selection previous open the dialog, in case that the use cancel the
2932 interaction, so the widget restores the previous selection.
2934 Fixes: NB#92032 (In calendar application, date values in 'new event'
2937 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2939 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-button.c: Add a reference to the button examples in
2942 hildon-button-example.c
2944 * examples/hildon-button-example.c: Added examples of the most
2945 common button layouts.
2947 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2949 * src/hildon-app-menu.c (hildon_app_menu_show)
2950 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2952 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2954 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2956 * src/hildon-picker-dialog.c:
2957 (hildon_picker_dialog_init): Initialize the signal id for
2958 HildonTouchSelector::columns-changed.
2959 (+on_selector_columns_changed): Set up the interaction mode everytime a
2960 column is added or removed from the HildonTouchSelector.
2961 (_hildon_picker_dialog_set_selector): Connect to
2962 HildonTouchSelector::columns-changed and keep track of it.
2964 Make sure to update the interaction mode of the dialog everytime a
2965 column is added or removed in the HildonTouchSelector.
2967 Fixes: NB#93228 (Done button is not shown always in listpicker)
2969 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2972 a new ::columns-changed signal.
2973 (hildon_touch_selector_append_column): Emit ::columns-changed.
2974 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2976 Add a ::columns-changed signal, emitted when the number of columns in a
2977 HildonTouchSelector changes.
2979 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2981 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2982 (_hildon_picker_dialog_set_selector): Factor out the code
2983 to set up the dialog interaction mode.
2985 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2988 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2989 to signal_changed_id.
2991 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2996 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2998 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2999 Updated the logical ids related to ampm format, as now it is required to
3000 show it correctly localized even on languages with no default
3001 abbreviations for am or pm
3002 (_check_am_pm_format): check correctly the 24h format gconf property
3004 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
3006 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-button.c: Documentation updates.
3010 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3012 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
3013 * src/hildon-caption.c: (hildon_caption_class_init):
3014 * src/hildon-color-button.c: (hildon_color_button_class_init):
3015 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
3016 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
3017 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
3018 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3020 Remove deprecated GTK+ marshalers and replace them with the ones
3021 provided by GLib, for those available, add a marshaler for
3022 BOOLEAN:VOID, which is not available in GLib, and use it.
3024 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3026 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3027 the text from the previous column if there is no
3028 HildonTouchSelectorColumn::text-property set.
3030 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3032 * src/hildon-button.h
3033 * src/hildon-button.c (hildon_button_set_property)
3034 (hildon_button_get_property, hildon_button_class_init)
3035 (hildon_button_set_style, hildon_button_get_style):
3036 New "style" property to change the visual appearance of the
3039 * src/hildon-picker-button.c (hildon_picker_button_new):
3040 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3042 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3043 HildonButton look like PickerButton)
3045 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3047 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3048 column while building the default string.
3050 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3052 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3053 scroll indicator by default.
3055 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3057 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3059 * src/hildon-main.c: Fix the documentation for hildon_init()
3061 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3063 * doc/hildon-docs.sgml
3067 * src/hildon-window-stack-private.h
3068 * src/hildon-window-stack.h
3069 * src/hildon-window-stack.c:
3070 New HildonWindowStack object, that adds support for multiple
3071 stacks of windows per process.
3073 * src/hildon-stackable-window-private.h
3074 * src/hildon-stackable-window.h
3075 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3076 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3077 (hildon_stackable_window_show, hildon_stackable_window_hide)
3078 (hildon_stackable_window_class_init)
3079 (hildon_stackable_window_init):
3080 Use HildonWindowStack for stack management.
3082 * src/hildon-program.c (hildon_program_pop_window_stack)
3083 (hildon_program_peek_window_stack)
3084 (hildon_program_go_to_root_window):
3085 Add a fallback implementation to the deprecated functions using
3088 * examples/hildon-stackable-window-example.c:
3089 Use the new HildonWindowStack API.
3091 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3093 * src/hildon-stackable-window-private.h
3094 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3095 (hildon_stackable_window_hide, hildon_stackable_window_init):
3096 Remove all window stack management.
3098 * src/hildon-program-private.h
3099 * src/hildon-program.h
3100 * src/hildon-program.c (hildon_program_init)
3101 (hildon_program_pop_window_stack)
3102 (hildon_program_peek_window_stack)
3103 (hildon_program_go_to_root_window):
3104 Remove all window stack management and mark functions as
3107 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3109 * src/hildon-app-menu.c (hildon_app_menu_realize):
3110 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3112 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3114 * configure.ac: post release version bump
3115 * debian/changelog: version bump
3117 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3122 * configure.ac: bump version
3123 * debian/changelog: updates
3125 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3127 Based on initial code by Christian Dywan (christian@imendio.com)
3129 * doc/hildon-docs.sgml: Add section for hildon-main.
3130 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3131 * src/Makefile.am: Add new hildon-main.[ch]
3132 * src/hildon-defines.h: Update the icon sizes.
3133 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3134 new library initialization files and register icon sizes.
3135 * src/hildon-main.h: New declarations.
3136 * src/hildon.h: Include hildon-main.h
3138 Add new initialization functions to the library. These methods
3139 will register the hildon specific icon sizes and can be used in the
3140 future for other hildon specific bits.
3142 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3144 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3146 * src/hildon-window.c: (hildon_window_realize),
3147 (hildon_window_notify), (-hildon_window_update_title): Do not set
3148 the application name in the window title.
3150 Fixes: NB#89754 (Applications shouldn't display their names in the
3153 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3155 * src/hildon-note-private.h:
3156 * src/hildon-note.c: (hildon_note_set_property),
3157 (hildon_note_get_property), (hildon_note_class_init),
3158 (hildon_note_init), (hildon_note_finalize),
3159 (hildon_note_new_confirmation_with_icon_name),
3160 (hildon_note_new_information_with_icon_name):
3162 No need to mark as deprecated the actual code. Revert
3163 to avoid missing symbols in widgets using deprecated API.
3165 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3167 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3169 * src/hildon-volumebar.h
3170 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3171 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3173 * src/hildon-helper.h
3174 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3175 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3177 * examples/Makefile.am:
3178 Deprecate hildon-insensitive-example
3180 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3182 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3184 * examples/hildon-pannable-area-buttons-scroll-example.c:
3185 Make all buttons finger height
3187 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3189 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3191 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3192 update the day model only if it is really required, and to avoid the
3193 full-reconstruction aproach. Now it only add or remove the required days.
3195 The purpose of this is avoid superfluous HildonTouchSelector::changed
3198 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3199 with strange parameters)
3201 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3203 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3205 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3206 the WINDOW_TYPE property.
3208 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3210 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3213 Fix dependency to allow parallel compilation with make -jX
3215 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3217 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3218 color frame and some minor tweaks to make it more consistent with
3221 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3222 highlighted but not visible)
3224 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3226 * examples/Makefile.am: Fixed typo in the Makefile.am.
3228 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3230 Reviewed the use of MAEMO_GTK define, now we add the define in the
3231 compilation line, and we also add it to the pc file.
3233 * configure.ac: Added MAEMO_GTK define to the compilation command
3234 and removed it from the config.h.
3236 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3237 do not have to take care about this define if the library was
3241 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3243 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3245 * examples/Makefile.am,
3246 * examples/hildon-pannable-area-buttons-scroll-example.c,
3247 * examples/hildon-pannable-area-gesture-signals-example.c,
3248 * examples/hildon-pannable-area-scroll-jump-example.c,
3249 * examples/hildon-pannable-area-tree-view-example.c:
3250 Renamed the pannable area examples, now they have more meaningful
3253 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3255 * src/hildon-touch-selector.c:
3256 (hildon_touch_selector_set_column_selection_mode): Used of
3257 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3258 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3259 to avoid re-seting the same selection mode.
3261 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3262 breaks HildonPickerDialog)
3264 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3266 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3267 conditional in the Makefile.am
3269 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3272 Remove unused methods.
3274 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3276 * src/hildon-button.c (hildon_button_init):
3277 Make button images center-aligned by default
3279 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3282 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3283 activated, we have to think about how to deal with both defines
3284 MAEMO_GTK and MAEMO_CHANGES.
3286 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3288 * examples/hildon-app-menu-example.c (create_menu): Make all
3289 buttons finger size.
3291 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3293 Fixed the compilation without maemo gtk adding ifdefs with
3294 MAEMO_GTK define to the code, we have to check this version more
3297 * examples/Makefile.am: Added control to avoid some examples that
3298 just make sense with maemo gtk.
3301 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3302 hildon modes with the define.
3304 * examples/hildon-edit-toolbar-example.c,
3305 (create_icon_view): Create the icon view without hildon-gtk
3306 helpers if we are not using maemo gtk.
3308 * src/hildon-touch-selector.c,
3309 (_create_new_column): Create the treeview without hildon-gtk
3310 helpers if we are not using maemo gtk.
3312 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3314 * src/hildon-pnnable-area.c,
3315 (hildon_pannable_area_dispose),
3316 (hildon_pannable_area_button_press_cb),
3317 (hildon_pannable_area_child_mapped),
3318 (hildon_pannable_area_add),
3319 (hildon_pannable_area_remove): Added code to control the position
3320 of the event_window when adding and removing children from the
3321 pannable. We have to raise the event window when the child is
3324 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3325 selection mode using custom widget inside pannable)
3327 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3329 * configure.ac: post release version bump
3330 * debian/changelog: version bump
3332 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3337 * configure.ac: bump version
3338 * debian/changelog: updates
3340 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3342 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3343 search mode, in order to avoid lose the focus on the treeview when
3344 a hw key (like enter) is pressed.
3346 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3347 in HildonDateSelector dialog)
3349 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3351 * debian/rules: Added --enable-maintainer-mode
3352 * Makefile.am: Added ACLOCAL_AMFLAGS
3354 This allows to properly regenerate the Makefiles if you modify the
3355 configure.ac or any Makefile.am.
3357 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3359 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3360 properties, not needed at all.
3362 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3366 * src/hildon-note.c: (hildon_note_set_property),
3367 (hildon_note_get_property), (hildon_note_class_init),
3368 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3369 (hildon_note_new_confirmation_add_buttons): Remove icons.
3370 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3371 (hildon_note_new_information_with_icon_name): Deprecate.
3372 (hildon_note_new_confirmation): Act directly, without calling
3373 the deprecated constructor.
3374 (hildon_note_new_information): Act directly, without calling
3375 the deprecated constructor.
3376 * src/hildon-note.h: Mark deprecate methods as such.
3377 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3378 not run tests on the deprecated methods if built with deprecation
3381 Fixes: NB#91688 (Never show icons in information notes/confirmation
3384 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3386 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3387 (hildon_app_menu_key_press): Remove leftover usage of the
3388 private structure in HildonAppMenu struct.
3389 * src/hildon-app-menu.h: Remove leftover private structure
3390 from the HildonAppMenu struct.
3392 Fixes a crasher when using the HildonAppMenu.
3394 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3396 * src/hildon-picker-dialog.c: Use appropriate logical id
3397 for the default "Done" text.
3399 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3401 * configure.ac: post release version bump
3402 * debian/changelog: version bump
3404 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3406 Modified the way to scroll to the current selection just when the touch
3407 selector is shown on the screen, avoiding a g_idle. Added too a property
3408 to configure this behaviour. See hildon_pannable_area_jump_to_child
3409 documentation for more information.
3411 * src/hildon-touch-selector.c
3412 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3413 Added 'initial-scroll' property
3414 (hildon_touch_selector_set_property): Added
3415 (hildon_touch_selector_map): Removed as not required anymore
3416 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3417 only a concrete column, instead of iterate along all the columns
3419 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3424 * configure.ac: bump version
3425 * debian/changelog: updates
3427 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3429 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3430 compilation time warnings.
3432 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3434 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3435 the default value for HildonPannableArea::mov-mode to
3436 HILDON_PANNABLE_AREA_MODE_VERT.
3438 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3440 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3442 Reverting following commit:
3444 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-app-menu-private.h
3447 * src/hildon-app-menu.[ch]
3448 * src/hildon-button.[ch]
3449 * src/hildon-check-button.[ch]
3450 * src/hildon-entry.[ch]
3451 * src/hildon-pannable-area.[ch]
3452 * src/hildon-text-view.[ch]:
3453 Added private field to the object's structure.
3455 because it causes an ABI breakage. We will need to introduce these
3456 changes later at some point. See NB#91636 for an extensive
3457 explanation and status.
3459 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3461 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3463 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3464 remove special cases that are no longer necessary.
3466 Fixes: NB#91016 (Change toolbar sizes, simplification)
3468 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3470 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3471 is shown in the cancel note.
3473 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3475 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3476 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3477 (hildon_seekbar_init): Remove steppers, remove expose event.
3478 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3480 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3482 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3484 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3485 label font to "SmallSystemFont" for vertically arranged buttons.
3487 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3490 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-check-button.c
3493 (hildon_check_button_set_active, hildon_check_button_clicked):
3494 Don't access private parts directly, use getters instead.
3496 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3498 * src/hildon-check-button.c (hildon_check_button_new):
3499 Align the contents of the check button to the left.
3501 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pannable-area.c,
3504 (hildon_pannable_area_scroll_to),
3505 (hildon_pannable_area_jump_to),
3506 (hildon_pannable_area_scroll_to_child),
3507 (hildon_pannable_area_jump_to_child): Replace the mapped
3508 precondition of these functions with the realized, it is the
3509 correct state of the widget in this case. Changed the
3510 documentation according to this modification.
3512 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3514 Added a new EXTRA_CFLAGS option to add the deprecated define to
3515 the compilation command. This way we can avoid using the define in
3516 the documentation compilation.
3518 * configure.ac: Defined EXTRA_CFLAGS.
3520 * examples/Makefile.am:
3522 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3524 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3526 * src/hildon-picker-dialog.c:
3527 Defined a utility macro with the desired touch selector height
3528 Removed currently unused separator, and title_label variables from
3530 (hildon_picker_dialog_init): Removed code related to the creation
3531 of unused private variables title_label and separator.
3532 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3533 to ensure correct visualization of the touch selector inside the dialog.
3534 * src/hildon-touch-selector.c
3535 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3536 ensure a concrete height of the widget.
3538 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3541 * tests/Makefile.am:
3543 Remove spurious whitespaces.
3545 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3547 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3548 compilation warning after the cancel button removal.
3550 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3552 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3554 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3555 Makefile.am, that way we can choose not to compile some examples
3556 and tests of the deprecated widgets.
3558 * examples/Makefile.am: Divided the sources in deprecated and
3561 * src/Makefile.am: Added undef statement of the deprecated
3562 symbol to the enums file generation process.
3564 * src/hildon-color-chooser-dialog.c
3565 * src/hildon-color-chooser-dialog.h
3566 * src/hildon-color-button.c
3567 * src/hildon-color-button.h
3568 * src/hildon-color-chooser.c
3569 * src/hildon-color-chooser.h
3570 * src/hildon-controlbar.c
3571 * src/hildon-controlbar.h
3572 * src/hildon-date-editor.c
3573 * src/hildon-date-editor.h
3574 * src/hildon-hvolumebar.c
3575 * src/hildon-hvolumebar.h
3576 * src/hildon-private.c
3577 * src/hildon-private.h
3578 * src/hildon-range-editor.c
3579 * src/hildon-range-editor.h
3580 * src/hildon-seekbar.c
3581 * src/hildon-seekbar.h
3582 * src/hildon-time-editor.c
3583 * src/hildon-time-editor.h
3584 * src/hildon-time-picker.c
3585 * src/hildon-time-picker.h
3586 * src/hildon-volumebar.c
3587 * src/hildon-volumebar.h
3588 * src/hildon-vvolumebar.c
3589 * src/hildon-vvolumebar.h
3590 * src/hildon-bread-crumb-trail.h
3591 * src/hildon-bread-crumb-trail.c
3592 * src/hildon-calendar-popup.c
3593 * src/hildon-calendar-popup.h
3594 * src/hildon-weekday-picker.c:
3595 * src/hildon-weekday-picker.h:
3596 * src/hildon-bread-crumb-widget.c:
3597 * src/hildon-bread-crumb-widget.h:
3598 * src/hildon-bread-crumb.c:
3599 * src/hildon-bread-crumb.h:
3600 * src/hildon-calendar.c:
3601 * src/hildon-calendar.h:
3602 * src/hildon-caption.c:
3603 * src/hildon-code-dialog.c:
3604 * src/hildon-code-dialog.h:
3605 * src/hildon-font-selection-dialog.c:
3606 * src/hildon-font-selection-dialog.h:
3607 * src/hildon-get-password-dialog.c:
3608 * src/hildon-get-password-dialog.h:
3609 * src/hildon-login-dialog.c:
3610 * src/hildon-login-dialog.h:
3611 * src/hildon-number-editor.c:
3612 * src/hildon-number-editor.h:
3613 * src/hildon-set-password-dialog.c:
3614 * src/hildon-set-password-dialog.h:
3615 * src/hildon-sort-dialog.c:
3616 * src/hildon-sort-dialog.h: This is the list of deprecated
3619 * src/hildon-touch-selector.c:
3620 * src/hildon-window.c: Added undef statement to avoid compilation
3623 * tests/Makefile.am: Divided the sources in deprecated and
3626 * tests/check_test.c,
3627 (configure_tests): Marked the deprecated code that was adding
3628 suites with deprecated tests.
3630 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3632 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3634 * src/hildon-touch-selector.c: (_default_print_func): Do not
3635 duplicate a string returned by gtk_tree_model_get(), it is already
3638 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3641 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3643 * src/hildon-pannable-area.c
3644 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3645 method, it had problems when adding a widget with viewport the
3646 second time. Now checks if it already has a viewport and uses it.
3648 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3651 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3653 * src/hildon-pannable-area.c,
3654 (hildon_pannable_area_scroll_to),
3655 (hildon_pannable_area_jump_to),
3656 (hildon_pannable_area_scroll_to_child),
3657 (hildon_pannable_area_jump_to_child): Added a precondition to the
3658 scroll and jump to functions: the widget must be mapped before we
3659 can safely call these functions. We have also added documentation
3660 to the functions to explain how to use them in this situation.
3663 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3665 Reviewed the threading handling of the pannable widget, we have
3666 used the gdk_threads_add_timeout function instead of the usual
3667 glib handlers. This avoids some problems with the threads.
3669 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3670 (hildon_pannable_area_initial_effect),
3671 (hildon_pannable_area_scroll_indicator_fade),
3672 (hildon_pannable_area_button_press_cb),
3673 (hildon_pannable_area_timeout),
3674 (hildon_pannable_area_motion_notify_cb),
3675 (hildon_pannable_area_button_release_cb),
3676 (hildon_pannable_area_scroll_cb),
3677 (hildon_pannable_area_scroll_to): Removed the
3678 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3679 gdk_threads_add_timeout.
3681 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3683 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3688 * configure.ac: bump version
3689 * debian/changelog: updates
3691 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3693 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3694 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3695 * src/hildon-color-chooser-dialog.c:
3696 (hildon_color_chooser_dialog_init):
3697 * src/hildon-font-selection-dialog.c:
3698 (hildon_font_selection_dialog_init):
3699 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3701 Remove all cancel/close-like dialogs, as these are not going to be
3704 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3706 * src/hildon-note.c: (hildon_note_rebuild),
3707 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3710 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3712 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3714 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3715 sure all buttons are shown, even the Cancel/Close-like ones.
3717 Fixes: NB#90861 (Custom Confirmation dialogs should be
3718 protected from cancel button removal)
3720 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3722 * debian/control: Change libhildon1-examples dependency from libhildon1
3724 * debian/libhildon1-examples.install
3726 * Makefile.am: Modified the final install directory for the examples on
3727 package libhildon1-examples
3728 * Makefile.static: Update clean target in order to remove all the binary
3731 Changes suggested by Claudio after review new libhildon1-examples package
3733 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3735 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3736 * src/hildon-touch-selector.c: Ditto.
3738 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3740 * debian/control: Added new package libhildon1-examples, in order to pack
3741 the current hildon examples as documentation
3742 * debian/rules: Not to compress .c files, modify some includes on the
3743 examples (as normally are compiled locally, but when installed it will
3744 require to include the installed libhildon1 library), and rename
3746 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3747 install all the example files on the new example package
3748 * examples/Makefile.static: Added static makefile that can be used to
3749 compile the examples, once installed the new example package
3750 * examples: Most of the examples were modified in order to grant that
3751 all use only '#include "hildon.h"', in order to be easy to prepare
3752 it on the example package
3754 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3757 * debian/libhildon1-dev.install
3758 * debian/libhildon1-doc.install:
3759 Move all gtk-doc files to a separate libhildon1-doc package.
3761 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3763 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3767 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3769 * debian/rules: Fixed a error in order to avoid unnecessary calls
3770 to autogen.sh on package building
3772 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3774 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3776 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3778 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3781 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-picker-button.c
3784 (hildon_picker_button_finalize):
3785 Free priv->done_button_text
3787 * src/hildon-time-button.c
3788 (hildon_time_button_set_time)
3789 * src/hildon-picker-button.c
3790 (hildon_picker_button_clicked)
3791 (hildon_picker_button_selector_selection_changed)
3792 (hildon_picker_button_set_selector)
3793 * src/hildon-date-button.c
3794 (hildon_date_button_set_date):
3795 Free strings returned by hildon_touch_selector_get_current_text()
3797 * src/hildon-button.c (hildon_button_construct_child):
3798 Fix leaks in priv->image and priv->label_box
3800 Fixes: NB#90535 (Memory leak in picker button)
3802 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3804 * src/hildon-button.c: (hildon_button_get_property): Do not access
3805 private elements directly, use getters instead.
3807 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-app-menu-private.h
3810 * src/hildon-app-menu.c
3811 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3812 Store the menu's parent window.
3814 * src/hildon-stackable-window.c
3815 (hildon_stackable_window_toggle_menu)
3816 (hildon_stackable_window_finalize):
3817 Set the menu's parent window when the menu is shown, unset it when
3820 * src/hildon-app-menu.c
3821 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3822 (hildon_app_menu_class_init):
3823 Send unhandled keyboard accelerators to the parent window.
3825 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3827 * src/hildon-stackable-window.c
3828 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3830 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3832 * configure.ac: post release version bump
3834 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3837 * configure.ac: Bump version
3838 * debian/changelog: Updates
3839 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3842 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3844 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3847 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3848 GtkMenu with Hildon style.
3850 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3852 * src/hildon-picker-button.c:
3853 (hildon_picker_button_set_done_button_text): Set the dialog's
3854 done button text here as well.
3856 Fixes: NB#90232 (Picker button does not set the label on done button
3857 for the second time)
3859 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3861 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3864 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3866 * src/hildon-app-menu.c (hildon_app_menu_insert)
3867 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3868 the HildonAppMenu to be activatable using keyboard accelerators
3869 when the menu is not being shown.
3871 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3873 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3875 * src/hildon-stackable-window.c
3876 (hildon_stackable_window_show):
3877 Don't hide old windows automatically when new windows are shown:
3878 this is now a task for the window manager.
3879 (hildon_stackable_window_class_init)
3880 (hildon_stackable_window_hide):
3881 Remove windows from the stack everytime they're hidden.
3882 (hildon_stackable_window_realize):
3883 Don't change the _NET_WM_WINDOW_TYPE property. Use
3884 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3885 it as a stackable window.
3887 * src/hildon-program.c
3888 (hildon_program_pop_window_stack):
3889 Just hide the window to remove it from the stack.
3890 (hildon_program_go_to_root_window):
3891 Don't call gtk_widget_show(), this is now a task for the window
3894 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3896 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3898 * src/hildon-button.c
3899 (hildon_button_construct_child):
3900 Don't pack anything in the button until text or image are
3901 set. This allows adding a custom child after creating the button
3902 with hildon_button_new().
3903 (hildon_button_finalize, hildon_button_class_init)
3904 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3905 alignment and the label box even when they're not packed in the
3908 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3910 * src/hildon-touch-selector.h:
3911 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3912 currently the type definition was using GTK_TYPE_VBOX
3913 * src/hildon-touch-selector.c:
3914 Added some implementation notes in order to clarify that any other widget
3915 added without the column related API will not be included on the
3916 selection logic, and how the widget is freed, as some people ask about
3918 (hildon_touch_selector_remove): Reimplemented in order to free properly
3919 the column related data when you remove the private hbox.
3920 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3921 to get a proper HildonTouchSelectorColumn documentation
3923 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3925 * src/hildon-touch-selector-entry.c:
3926 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3927 text in the GtkEntry and there is no item selected. Fixes a
3930 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3932 * src/hildon-app-menu-private.h
3933 * src/hildon-app-menu.[ch]
3934 * src/hildon-button.[ch]
3935 * src/hildon-check-button.[ch]
3936 * src/hildon-entry.[ch]
3937 * src/hildon-pannable-area.[ch]
3938 * src/hildon-text-view.[ch]:
3939 Added private field to the object's structure.
3941 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3943 * configure.ac: post-release version bump
3945 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3949 * configure.ac: pre-release version bump
3951 * debian/changelog: updates.
3953 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3955 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3956 Disconnect the handler for HildonTouchSelector::changed.
3958 (hildon_picker_button_selector_selection_changed): Update the button
3959 value if the selection change was not triggered by the
3962 (hildon_picker_button_set_selector): connect to
3963 HildonTouchSelector::changed.
3965 Fixes: NB#89650 (Picker button is not updated, when selection in
3966 selector has changed)
3968 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3970 * src/hildon-picker-dialog.c
3971 (hildon_picker_dialog_realize): Removed as not required
3972 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3973 * src/hildon-picker-button.c
3974 (_current_selector_empty): New function, checks if the selector is empty
3975 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3976 if the current selector is empty, in order to avoid to show the dialog
3977 close the dialog in this case (and shows a g_warning).
3979 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3981 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3983 * src/hildon-pannable-area.c,
3984 (hildon_pannable_area_scroll): Added clause to stop movement when
3985 the child of pannable is smaller than one page.
3986 (hildon_pannable_area_scroll_to): Added conditions to avoid
3987 starting the scrolling movement if the child is smaller than one
3988 page, the complete child is in the screen, we do not have to move.
3990 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3992 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3994 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3995 this is managed automatically by the widget when the size of the
3998 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4000 * src/hildon-picker-button.c
4001 (hildon_picker_button_set_done_button_text): Make a copy of the
4002 text, and free the previous value.
4004 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4006 * src/hildon-touch-selector-entry.c:
4007 (hildon_touch_selector_entry_print_func): Return the selected row's
4008 text if the entry is empty.
4010 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
4013 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
4015 * src/hildon-touch-selector-entry.c: Minor docs fixes.
4017 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4020 * src/hildon-check-button.h
4021 * src/hildon-check-button.c
4022 * examples/hildon-check-button-example.c:
4023 HildonCheckButton is now a new widget. 'toggled' signal added.
4025 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4027 * src/hildon-program-private.h
4028 * src/hildon-program.c (hildon_program_init)
4029 (hildon_program_finalize): Removed unused variables group_leader
4030 and name from HildonProgramPrivate.
4032 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-check-button.c (hildon_check_button_set_active)
4035 (hildon_check_button_get_active, hildon_check_button_new): Use
4036 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4038 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4040 * src/hildon-touch-selector.h
4041 (hildon_touch_selector_set_column_attributes): added deprecation
4042 guard HILDON_DISABLE_DEPRECATED
4043 * src/hildon-time-selector.c
4044 (hildon_time_selector_set_time)
4045 (hildon_time_selector_get_time): Fixed a typo on documentation
4046 * src/hildon-touch-selector.c: update HildonTouchSelector and
4047 HildonTouchSelectorColumn documentation
4048 * src/hildon-touch-selector-entry.c: update "text-column" property
4050 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4051 to be added to the general documentation.
4053 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4055 * examples/hildon-pannable-area-example-4.c,
4057 * examples/hildon-pannable-area-example.c,
4058 (main): Modified the code in order to use the container add, with
4059 viewport treeviews could have problems if they are really big.
4061 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4063 * src/hildon-weekday-picker.c,
4064 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4065 the agreement regarding deprecation in the library.
4067 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4069 * examples/hildon-picker-button-multicolumn-example.c:
4070 (main): Use custom "done" button text.
4072 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4073 (hildon_picker_button_set_property),
4074 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4075 (hildon_picker_button_init),
4076 (+hildon_picker_button_get_done_button_text),
4077 (+hildon_picker_button_set_done_button_text): New methods to customize
4078 the "done" button label in the launched HildonPickerDialog. Also,
4081 * src/hildon-picker-button.h: add the public API.
4083 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-date-selector.h:
4086 * src/hildon-picker-dialog.h:
4087 * src/hildon-time-selector.h:
4088 * src/hildon-touch-selector-column.h:
4089 * src/hildon-touch-selector.h:
4091 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4092 declarations. Fixes gtk-doc warnings.
4094 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4096 * src/hildon-picker-dialog.h
4097 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4098 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4100 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4101 long text is set as label for done button)
4103 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4105 * src/hildon-dialog.c (hildon_dialog_add_button):
4106 Set fixed width to all buttons in the HildonDialog.
4108 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4110 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4112 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4113 Set widget name using class name plus "-finger" or "-thumb".
4115 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4118 'clicked' when the state of the button is manually changed.
4120 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-app-menu.c (hildon_app_menu_realize)
4123 (hildon_app_menu_unrealize, hildon_app_menu_init)
4124 (hildon_app_menu_class_init, item_visibility_changed):
4125 Change the menu layout when the size of the screen changes.
4126 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4127 Show warning only when changing the number of colums using the
4130 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4132 * debian/compat: Set to 5
4133 * debian/control: Update dependencies.
4134 * debian/libhildon1-dbg.install: Remove.
4135 * debian/libhildon1-dev.install: Update according to cdbs paths.
4136 * debian/libhildon1.install: Update according to cdbs paths.
4137 * debian/rules: Switch to cdbs.
4139 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4141 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4142 'item' variable renamed to 'filter'
4144 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4146 * src/hildon-app-menu.c (hildon_app_menu_insert)
4147 (hildon_app_menu_add_filter, remove_item_from_list)
4148 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4149 Don't leak hidden items when the menu is destroyed.
4151 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4153 * src/hildon-app-menu.c (hildon_app_menu_insert)
4154 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4155 (hildon_app_menu_set_columns, item_visibility_changed)
4156 (filter_visibility_changed, hildon_app_menu_repack_filters)
4157 (hildon_app_menu_repack_items):
4158 Repack items and filters separately.
4160 Don't repack all items, change only the ones that are needed to
4163 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4165 * src/Makefile.am: added hildon-touch-selector-column.h
4167 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4169 * src/hildon-touch-selector.c: added the property "text-column" to the
4170 class HildonTouchSelectorColumn, and related get/set functions
4171 (_default_printf_func): updated to use "text-column" property
4172 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4173 "text-column" in his documentation, as this is now included on
4174 HildonTouchSelectorColumn. The get/set_property can still be used,
4175 working as a wrapper to the concrete column "text-column" property
4176 (_text_column_modified): callback added in order to handle the signal
4177 "notify::text-column" of the concrete HildonTouchSelectorColumn
4178 (hildon_touch_selector_entry_get_text_column)
4179 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4180 modified in order to use the HildonTouchSelectorColumn "text-column"
4182 * src/hildon-time-selector.c:
4183 * src/hildon-date-selector.c:
4184 * examples/hildon-touch-selector-example.c
4185 * examples/hildon-touch-selector-multi-cells-example.c
4186 * examples/hildon-picker-button-multicolumn-example.c
4187 Set the right value to "text-column" property on the creation of a new
4188 column using hildon_touch_selector_append_column()
4190 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4192 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-app-menu.c
4195 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4196 updating the layout of the menu, don't create all widgets again,
4197 just repack the items in their new places.
4199 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4201 * src/hildon-time-selector.c
4202 (hildon_time_selector_get_time)
4203 (hildon_time_selector_set_time)
4204 Added documentation of these public methods
4206 * src/hildon-date-button.h
4207 * src/hildon-touch-selector-column.h
4208 * src/hildon-time-button.h
4209 * src/hildon-picker-dialog.h
4210 * src/hildon-time-selector.h
4211 * src/hildon-picker-button.h
4212 * src/hildon-touch-selector.h
4213 * src/hildon-time-picker.h
4214 * src/hildon-date-selector.h
4215 * src/hildon-touch-selector-entry.h
4216 Modified in order to use hildon-widgets code style
4218 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4220 Added deprecated support to the compilation process using
4221 HILDON_DISABLE_DEPRECATED
4223 * configure.ac: Added the --disable-deprecated to the configure
4226 * src/hildon-weekday-picker.c:
4227 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4228 to use the deprecated support. We will update the other deprecated
4229 widgets status in a new patch.
4231 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4233 * configure.ac: Fixed typo with fatal warnings support, the
4234 variable name was not correct
4236 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4238 * src/hildon-app-menu.c
4239 * src/hildon-program.c: Update documentation.
4241 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4243 * configure.ac: Post-release version bump.
4245 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4250 * configure.ac: Pre-release version bump.
4251 * debian/changelog: Updates.
4253 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4255 * NEWS: Update news for previous releases.
4257 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4259 * examples/hildon-touch-selector-multi-cells-example.c:
4260 (create_selector): Update the example to use
4261 hildon_touch_selector_append_column() with a NULL renderer and set
4262 the renderers later.
4263 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4264 passed a NULL renderer. This is documented behavior now.
4266 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4267 This must be used if the developer wants full control on the layout of
4268 the renderers to be added to the column.
4270 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4272 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4274 * src/hildon-touch-selector.c: Documentation fixes.
4276 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4278 * src/hildon-wizard-dialog-private.h: Remove image and box.
4279 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4280 (hildon_wizard_dialog_set_property), (response): Completely remove
4281 image/icon support, and the containers required for the layout.
4283 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4285 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4287 * src/hildon-app-menu.c: Updated documentation.
4289 * src/hildon-stackable-window.c
4290 (hildon_stackable_window_set_main_menu): Unref the old menu after
4291 ref'ing the new one.
4293 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4295 * src/hildon-stackable-window.c
4296 (hildon_stackable_window_set_main_menu): Unref the previous menu
4297 instead of destroying it.
4299 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4300 floating reference and set has_user_ref_count to FALSE to make
4301 HildonAppMenu act like a normal ref-counted widget and not a
4304 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4307 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4309 * src/hildon-touch-selector-column.h: new file
4310 * src/hildon-touch-selector.h
4311 * src/hildon-touch-selector.c
4312 Implemented GtkCellLayout interface, in order to allow to configure
4313 the cell layout on each individual selector column
4314 (hildon_touch_selector_set_column_attributes): marked as deprecated
4315 * examples/hildon-touch-selector-multi-cells-example.c
4316 Example of how to use the GtkCellLayout interface on the selector
4318 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4320 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4322 * src/hildon-app-menu.h
4323 * src/hildon-app-menu.c
4324 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4325 (hildon_app_menu_append, hildon_app_menu_prepend):
4326 New methods to prepend, insert and move items in the menu.
4328 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4330 * src/hildon-wizard-dialog.c:
4332 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4334 (create_title): Update logical IDs and related code.
4335 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4337 * src/hildon-wizard-dialog.h: Note that
4338 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4339 point, as it is not used anymore.
4341 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4343 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-note.c:
4346 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4347 shown. Do not display an icon in confirmation notes nor information
4349 (hildon_note_set_button_text): Update logical ID for cancel button.
4351 Fixes: NB#88850 (Update HildonNote button strings + signals)
4353 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4355 * src/hildon-stackable-window.c
4356 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4358 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4360 * src/hildon-app-menu-private.h
4361 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4362 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4363 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4364 temporary property 'columns' to change the number of columns.
4366 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4368 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4370 * examples/hildon-note-example.c: (on_information_clicked),
4371 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4372 debugging information.
4373 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4375 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4376 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4377 in order to close: this will be handled by the WM from now on.
4379 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4381 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4383 * src/hildon-app-menu-private.h
4384 * src/hildon-app-menu.c
4385 (hildon_app_menu_append, hildon_app_menu_add_filter)
4386 (button_visibility_changed, hildon_app_menu_apply_style)
4387 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4388 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4389 layout everytime a button (item or filter) is shown or hidden.
4391 * src/hildon-stackable-window.c
4392 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4395 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4397 * src/hildon-touch-selector.c:
4398 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4399 that the treeview inside the touch selector is in fremantle hildon mode
4400 * examples/hildon-date-button-example.c
4401 * examples/hildon-picker-button-multicolumn-example.c
4402 * examples/hildon-touch-selector-entry-example.c
4403 * examples/hildon-touch-selector-example.c
4404 * examples/hildon-time-button-example.c
4405 * examples/hildon-picker-button-example.c:
4406 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4408 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4410 * examples/hildon-text-view-example.c: (main): Remove the
4411 gtkrc bits, now handled by the theme.
4413 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4415 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4418 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4420 * po/Makefile.am: Install properly the mo files.
4421 * po/en_GB.po: Update translation, to ease testing purposes.
4423 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4425 * examples/hildon-picker-button-example.c: (main): Select an item
4426 in the selector before setting it to the button.
4428 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4431 Update button's value if the selector has an item active.
4433 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4434 'value' with the selector)
4436 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4438 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4439 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4440 (hildon_picker_button_class_init): Plug the finalize method.
4441 (hildon_picker_button_set_selector): If there's a previously set
4442 selector, unref'it before setting a new one.
4444 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4445 HildonTouchSelector)
4447 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-touch-selector-entry.c:
4450 (hildon_touch_selector_entry_changed): Check if there is no text
4451 selected before setting the entry text.
4454 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4456 * src/hildon-touch-selector.h
4457 * src/hildon-touch-selector.c
4458 (hildon_touch_selector_get_active)
4459 (hildon_touch_selector_set_active): New methods to set/get the
4460 index of the selected item.
4462 * src/hildon-picker-button.h
4463 * src/hildon-picker-button.c
4464 (hildon_picker_button_get_active)
4465 (hildon_picker_button_set_active): New methods to set/get the
4466 index of the selected item.
4468 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4470 * configure.ac: post-release version bump.
4472 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4476 * configure.ac: Pre-release version bump.
4477 * debian/changelog: Updates.
4478 * debian/control: Add myself as maintainer and depend on l10n
4481 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4483 * src/hildon-window.c
4484 (hildon_window_set_main_menu)
4485 * src/hildon-stackable-window.c
4486 (hildon_stackable_window_set_main_menu):
4487 Updated documentation.
4489 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4492 Don't free selector->priv manually.
4495 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4498 (hildon_gtk_window_set_progress_indicator):
4499 * src/hildon-gtk.h: Added the new API
4500 hildon_gtk_window_set_progress_indicator, it changes the state of
4501 the window progress hint.
4503 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4505 * src/hildon-button.c
4506 * src/hildon-stackable-window.c: Minor documentation updates.
4508 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4510 * src/hildon-stackable-window.c: Updated documentation.
4512 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-defines.h: Update margins definitions
4515 to the Fremantle sizes.
4518 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4520 * src/hildon-touch-selector.c,
4521 (_hildon_touch_selector_set_model): Cleaning the code after
4522 review, removed g_print and #if 0 from the code.
4524 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-edit-toolbar.c: Update documentation.
4528 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-check-button.h
4531 * src/hildon-check-button.c
4532 (hildon_check_button_set_label, hildon_check_button_get_label)
4533 * examples/hildon-check-button-example.c
4534 (button_clicked_cb):
4535 Removed deprecated methods.
4537 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4539 * src/hildon-text-view.c:
4540 Add sample code to the documentation.
4542 * src/hildon-entry.h
4543 * src/hildon-text-view.h:
4544 Minor cosmetic changes.
4546 * src/hildon-entry.c:
4547 Add sample code to the documentation.
4548 (hildon_entry_init, hildon_entry_refresh_contents):
4549 Don't allow NULL values in the placeholder.
4551 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4553 * doc/hildon-docs.sgml
4555 * examples/Makefile.am
4556 * examples/hildon-text-view-example.c
4558 * src/hildon-text-view.c
4559 * src/hildon-text-view.h
4561 New HildonTextView widget, with example.
4563 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4565 * po/POTFILES.in: Add missing files with translatable strings.
4566 Partially fixes NB#88287.
4568 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4570 * examples/hildon-pannable-area-example-2.c: (main): No need to
4571 set the cellrenderer height inside hildon touch lists, the theme does
4574 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4576 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4577 they are integrated in the theme.
4579 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4581 * examples/hildon-entry-example.c: Update the example adding
4582 widgets to modify the text and the placeholder of the HildonEntry.
4584 * src/hildon-entry.c: Show the placeholder everytime the widget
4585 is empty and loses the focus.
4587 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4589 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4591 * src/hildon-pannable-area.c,
4592 (hildon_pannable_area_size_request): Fixed bug in height
4593 requisition, avoid increasing size and add border twice.
4595 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4597 * configure.ac: postrelease version bump.
4599 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4603 * configure.ac: Prerelease version bump.
4604 * debian/changelog: update.
4605 * debian/rules: make -dbg package contain useful debugging symbols.
4607 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4609 * src/hildon-dialog.h
4610 * src/hildon-dialog.c
4611 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4612 New methods to add buttons with finger size.
4613 (hildon_dialog_new_with_buttons):
4614 Create buttons with finger size.
4616 * examples/hildon-dialog-example.c (main): Use HildonDialog
4617 methods to add buttons.
4619 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4621 * src/hildon-entry.c: Updated HildonButton documentation.
4623 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4625 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4626 button value label with (FALSE, FALSE) to prevent NB#88126 from
4629 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4631 * examples/hildon-pannable-area-example.c,
4632 (main): Removed examples panning a vbox inside a pannable
4633 area. Check bug NB#87965
4635 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4637 Patch contributed by Kris Rietveld (kris@imendio.com)
4639 * src/hildon-pannable-area.c,
4640 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4641 get_size and get_position, this saves an X server roundtrip.
4643 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4645 * doc/hildon-docs.sgml
4647 * examples/Makefile.am
4648 * examples/hildon-entry-example.c
4650 * src/hildon-entry.c
4651 * src/hildon-entry.h
4653 New HildonEntry widget, with example.
4655 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4657 * src/hildon-button.c (hildon_button_construct_child): Pack the
4658 image with expand == fill == FALSE. This is a workaround for a bug
4661 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4663 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4664 labels for the text column, to make it more look more dynamic.
4666 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4668 * src/hildon-time-selector.c
4669 Define gettext auxiliar macro N_
4670 (_create_minutes_model)
4671 (_create_hours_model)
4672 (_create_ampm_model): use of strftime in order to fill the model
4673 * src/hildon-date-selector.c
4674 (hildon_date_selector_finalize):
4675 (_locales_init): remove the logic related to get the name of the months
4676 using nl_langinfo, as it is not required anymore
4678 (_create_year_model)
4679 (_create_month_model)
4680 (_update_day_model): use of strftime in order to fill the model properly
4683 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4685 * src/hildon-button.h
4686 * src/hildon-button.c (hildon_button_get_image): New method to
4689 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4691 * src/hildon-touch-selector.c:
4692 (hildon_touch_selector_remove_column): Remove from the correct parent
4693 and also remove the list element and free it.
4696 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4698 * src/hildon-time-selector.c
4699 (_create_hours_model): change the range on 12h ampm format in order to use
4700 a 12-11 range instead of previous 01-12 range
4701 (hildon_time_selector_set_time): change the way to select the current time
4702 on 12h ampm format, due the change on the range
4703 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4706 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4708 * src/hildon-touch-selector.c
4709 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4710 in order to allow use this function on multiple row selection mode if
4711 the column is different that the first one
4714 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4716 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4717 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4719 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4721 * src/hildon-date-selector.h: clean some comments, now on the .c
4722 * src/hildon-date-selector.c
4723 (hildon_date_selector_select_month): first implementation
4724 (hildon_date_selector_select_day): added documentation, reimplemented
4725 using hildon_date_selector_select_current_date to avoid repeat code
4728 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4730 Reviewed interaction logic based on device experiences, refactored
4733 * src/hildon-pannable-area.c,
4734 (hildon_pannable_area_class_init): Updated default vmax speed.
4735 (hildon_pannable_area_calculate_velocity): Added this function, it
4736 avoids duplicate valocity calculation. Adjusted calculation to
4737 avoid problems with zero dist events.
4739 (hildon_pannable_area_motion_notify_cb): Now we use the
4740 calculate_velocity function.
4742 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4744 * src/hildon-date-selector.c
4745 (hildon_date_selector_select_current_date): fix the day range check
4746 as it failed using the last day of the current month
4749 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4751 * src/hildon-touch-selector.c
4752 (hildon_touch_selector_get_num_columns): added a parameter validation
4755 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4757 * examples/Makefile.am
4758 * examples/hildon-edit-toolbar-example.c: Example of the
4759 HildonEditToolbar widget.
4761 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4763 * configure.ac: postrelease version bump.
4765 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4769 * configure.ac: prerelease version bump.
4770 * debian/changelog: update.
4772 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4774 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4775 renderer to display stock icons in the touch list. Also, set the sizes
4776 to the recommended in the style guide.
4778 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4779 * src/hildon-touch-selector.h
4780 (hildon_touch_selector_set_active_iter): renamed, now is
4781 hildon_touch_selector_select_iter
4782 (hildon_touch_selector_get_active_iter): renamed, now is
4783 hildon_touch_selector_get_selected
4784 (hildon_touch_selector_unselect_iter): added
4785 * src/hildon-touch-selector.c
4786 Update after API modification (methods renamed)
4787 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4788 order to avoid problems selecting multiple elements on the column
4789 (hildon_touch_selector_unselect_iter): added the implementation
4790 * src/hildon-time-selector.c
4791 * src/hildon-date-selector.c
4792 * src/hildon-touch-selector-entry.c
4793 Update methods calls after hildon-touch-selector.h API modification (methods
4796 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4798 * src/hildon-stackable-window.c
4799 (hildon_stackable_window_finalize): Call the parent class's finalize.
4801 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4803 * examples/hildon-touch-selector-example.c: (create_selector): Use
4804 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4807 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4809 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4810 set a cell background color, to respect theming.
4812 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4814 * doc/hildon-docs.sgml
4817 * src/hildon-edit-toolbar.c
4818 * src/hildon-edit-toolbar.h
4819 * src/hildon.h: New HildonEditToolbar widget.
4821 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4823 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4826 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4827 * src/hildon-touch-selector.c
4828 (_create_new_column): use g_object_set instead of two g_object_set_property
4830 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4831 * src/hildon-touch-selector.c
4832 (_create_new_column): use of hildon_gtk_tree_view_new to create
4833 the treeview, instead of use directly g_object_new
4834 (_create_new_column): update the property name "vindicator-mode" for the
4835 new one "vscrollbar-policy"
4836 * examples/hildon-date-button-example.c
4837 * examples/hildon-picker-button-multicolumn-example.c
4838 * examples/hildon-touch-selector-entry-example.c
4839 * examples/hildon-touch-selector-example.c
4840 * examples/hildon-time-button-example.c
4841 * examples/hildon-picker-button-example.c
4842 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4843 to all the treeviews inside a pannable area.
4845 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4847 * src/hildon-button.h
4848 * src/hildon-button.c (hildon_button_init)
4849 (hildon_button_set_arrangement, hildon_button_set_alignment)
4850 (hildon_button_set_title_alignment)
4851 (hildon_button_set_value_alignment)
4852 (hildon_button_set_image_alignment)
4853 (hildon_button_construct_child): New methods to set the alignment
4854 of the individual components of the button (title, value,
4855 image). Also, new method to alter the xscale and yscale properties
4856 of the GtkAlignment inside the button, so more complex layouts can
4859 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4861 * src/hildon-button.c (hildon_button_style_set)
4862 (hildon_button_class_init, hildon_button_set_arrangement)
4863 (hildon_button_construct_child): Apply style properties
4864 correctly. Use the 'image-spacing' style property too.
4866 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4868 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4869 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4872 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4874 * src/hildon-pannable-area.c,
4875 (hildon_pannable_area_size_request): Fixed problem with
4876 pannable-area size_request.
4878 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4880 Added management for the grab-focus to a child widget, like a
4881 range, we need to fade out the scrollbar when releasing.
4883 * src/hildon-pannable-area.c,
4884 (hildon_pannable_area_init): Connected the grab-focus signal to
4886 (hildon_pannable_area_grab_notify): Added this function in order
4887 to manage the situation when the grab-focus ends. We have to
4888 fade-out the scrollbar.
4890 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4892 * src/hildon-app-menu.c: Minor documentation update.
4894 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4896 * src/hildon-app-menu.c
4897 * examples/hildon-app-menu-example.c (create_menu): Update
4898 examples and documentation to explain how to connect callbacks.
4900 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4902 * examples/hildon-button-example.c
4903 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4904 hildon_stackable_window_new instead of gtk_window_new
4906 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4908 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4909 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4910 (hildon_pannable_area_set_property),
4911 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4912 (hildon_pannable_area_unrealize),
4913 (hildon_pannable_area_size_request),
4914 (hildon_pannable_area_size_allocate),
4915 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4916 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4917 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4918 (hildon_pannable_area_initial_effect),
4919 (hildon_pannable_area_redraw),
4920 (hildon_pannable_area_scroll_indicator_fade),
4921 (hildon_pannable_area_expose_event),
4922 (hildon_pannable_area_get_topmost), (synth_crossing),
4923 (hildon_pannable_area_button_press_cb),
4924 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4925 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4926 (hildon_pannable_area_motion_notify_cb),
4927 (hildon_pannable_area_button_release_cb),
4928 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4929 (hildon_pannable_area_remove),
4930 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4931 chage the code layout to a more GtkWidget like. Review the use of
4934 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4936 * examples/hildon-pannable-area-example-4.c,
4937 (main): Modified the name of the hindicator_mode to
4940 * src/hildon-pannable-area.c,
4941 (hildon_pannable_area_class_init),
4942 (hildon_pannable_area_motion_notify_cb),
4943 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4944 we have reduced the amount of signals and managed reviewed its
4945 rationale. Changed the default decelerate value.
4947 (hildon_pannable_area_add),
4948 (hildon_pannable_area_redraw): Refactored functions.
4950 (hildon_pannable_area_init),
4951 (hildon_pannable_area_get_property),
4952 (hildon_pannable_area_set_property):
4953 (hildon_pannable_draw_vscroll),
4954 (hildon_pannable_draw_hscroll),
4955 (hildon_pannable_area_initial_effect),
4956 (hildon_pannable_area_expose_event),
4957 (hildon_pannable_area_scroll),
4958 (hildon_pannable_area_button_press_cb),
4959 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4960 and vindicator_mode with hscrollbar_policy and
4961 vscrollbar_policy. Replaced hscroll and vscroll with
4962 hscroll_visible and vscroll_visible.
4964 (hildon_pannable_area_refresh): Refactor the function, remove
4965 variables and check the calls to this function, added resize
4966 conditions in case the children change their layout.
4968 (hildon_pannable_area_size_request): Added more detailed
4969 size_request calculation.
4972 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4974 * src/hildon-color-chooser.c
4975 (init_borders): use the correct gtk_border_free instead of g_free, to
4976 avoid a crash when this widget is used (ie: the three color selection
4979 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4981 * src/hildon-check-button.c,
4982 (hildon_check_button_set_active): Fixed problem when setting the
4983 active value, the widget was not redrawn.
4985 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4987 * src/hildon-pannable-area.c,
4988 (hildon_pannable_area_refresh),
4989 (hildon_pannable_area_scroll),
4990 (hildon_pannable_area_motion_notify_cb): Small code style change.
4992 (hildon_pannable_area_class_init): Default initial_hint set to
4993 FALSE, it is not in the specs.
4995 (hildon_pannable_area_initial_effect),
4996 (hildon_pannable_area_expose_event),
4997 (hildon_pannable_area_map),
4998 (hildon_pannable_area_init): Moved the launching point of the
4999 initial effect, it was in map but the sizes where not correct in
5000 that method so we do not know if we have the reproduce it. Now it
5001 is placed in the expose_event method and uses a variable to
5002 reproduce it just once.
5004 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5006 * src/hildon-pannable-area.c,
5007 (hildon_pannable_draw_vscroll),
5008 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
5009 position allowed for the scrollbars.
5011 (hildon_pannable_area_size_allocate): Small style change.
5013 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5015 * src/hildon-pannable-area.c,
5016 (hildon_pannable_area_scroll_indicator_fade),
5017 (hildon_pannable_area_button_press_cb),
5018 (hildon_pannable_area_button_release_cb),
5019 (hildon_pannable_area_scroll_cb),
5020 (hildon_pannable_area_expose_event),
5021 (hildon_pannable_area_init): Added the define parameter
5022 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5023 and refactor the fade variable.
5025 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5027 * src/hildon-pannable-area.c,
5028 (hildon_pannable_area_redraw),
5029 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5030 lines, we were reimplemeting the redraw code.
5032 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5034 * src/hildon-pannable-area.c,
5035 (hildon_pannable_area_scroll_cb),
5036 (hildon_pannable_area_realize),
5037 (hildon_pannable_area_class_init): Added scroll_event management
5038 for pannable area, now we can scroll the usual desktop method.
5040 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5041 initialization of the parameters should depend on idle_id.
5043 (hildon_pannable_area_init),
5044 (hildon_pannable_area_map): Small code style modifications
5046 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5048 * src/hildon-pannable-area.c
5049 (hildon_pannable_area_button_press_cb),
5050 (hildon_pannable_area_motion_notify_cb),
5051 (hildon_pannable_area_button_release_cb),
5052 (hildon_pannable_area_size_allocate),
5053 (hildon_pannable_area_scroll_to): Improved the timeouts
5054 management, we avoid creating them each time.
5056 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5058 * src/hildon-pannable-area.c:
5059 (hildon_pannable_area_refresh),
5060 (hildon_pannable_area_motion_notify_cb),
5061 (hildon_pannable_area_class_init):
5062 * src/hildon-pannable-area.h:
5063 * src/hildon-touch-selector.c
5064 (_create_new_column):
5065 * examples/hildon-pannable-area-example-4.c:
5066 (horizontal_movement),
5067 (vertical_movement),
5069 Replaced the names of enums in the HildonPannableArea:
5070 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5071 HILDON_MOVEMENT_MODE_*
5072 - HILDON_PANNABLE_AREA_MOV_* ->
5074 - Removed HildonPannableAreaIndicatorMode, now we
5077 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5079 * examples/hildon-pannable-area-touch-grid-example.c
5080 * examples/hildon-pannable-area-touch-list-example.c: Fix
5081 compilation warnings.
5083 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5085 * src/hildon-gtk.c (hildon_gtk_button_new)
5086 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5087 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5088 images overriding the value of the "gtk-button-images" setting.
5090 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5092 * src/hildon-check-button.c (hildon_check_button_new):
5093 Instead of using a custom container, display the label and the
5094 checkbox using the standard GtkButton API.
5096 * examples/hildon-check-button-example.c (main): Don't use
5097 hildon_check_button_set_label() anymore
5099 * src/hildon-check-button.h
5100 * src/hildon-check-button.c
5101 (hildon_check_button_set_label, hildon_check_button_get_label):
5102 Set as deprecated, now we're using gtk_button_{get,set}_label()
5104 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5106 * src/hildon-pannable-area.c,
5107 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5108 GtkTreeview first line we detected it after the inclusion of the
5109 GtkWindowImpl in gtk+. We now check if the window is visible, not
5110 just if the pointer is over the window.
5111 (hildon_pannable_axis_scroll),
5112 (hildon_pannable_area_expose_event): Small style changes.
5114 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5116 * src/hildon-button.c: Update documentation.
5118 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5120 * examples/hildon-button-example.c: Add a switch to show images in
5123 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5125 * doc/hildon-docs.sgml: Some docs reorganization.
5127 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5129 * examples/hildon-pannable-area-touch-list-example.c
5131 * examples/hildon-pannable-area-touch-grid-example.c
5132 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5133 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5134 Fix memory leak when setting the tree model.
5136 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5140 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5142 * doc/hildon.types: Remove duplicated hildon_window_get_type
5143 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5144 documentation comment.
5146 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5148 * doc/Makefile.am: Complete list of private headers.
5150 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5152 * doc/hildon-docs.sgml
5153 * src/hildon-app-menu.c
5154 * src/hildon-bread-crumb.c
5155 * src/hildon-button.c
5157 * src/hildon-program.c
5158 * src/hildon-stackable-window.c
5159 * src/hildon-window.c: Lots of documentation updates.
5161 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5163 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5165 * configure.ac: Require Gtk+ 2.12.9 at least
5167 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5169 * src/hildon-pannable-area.c
5170 (hildon_pannable_area_scroll_indicator_fade),
5171 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5172 to protect the return of this timeout callbacks, avoiding deadlocks.
5174 2008-08-12 Christian Dywan <christian@imendio.com>
5177 * src/hildon-*.h: Ensure a consistent include order,
5178 include <gtk/gtk.h> instead of particular files and
5179 only include the topmost header in the gtk stack. See NB #39857
5181 2008-08-12 Christian Dywan <christian@imendio.com>
5183 * src/hildon-picker-dialog.c
5184 * src/hildon-touch-selector.c: Fix warnings about unused and
5185 uninitialized variables.
5187 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5189 * examples/Makefile.am
5190 * examples/hildon-check-button-example.c: Example of the hildon
5193 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5195 * src/hildon-window.h
5196 * src/hildon-window.c (hildon_window_class_init)
5197 (hildon_window_unset_program): Don't make
5198 hildon_window_unset_program a virtual function anymore.
5200 * src/hildon-stackable-window.c: Update documentation
5202 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5205 * doc/hildon-docs.sgml
5206 * doc/visual_index.xml
5207 * src/hildon-defines.c
5209 * src/hildon-helper.c
5210 * src/hildon-range-editor.c: Lots of documentation fixes.
5212 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5214 * examples/hildon-picker-button-multicolumn-example.c
5215 (create_touch_selector): Fix compilation warning.
5217 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5220 (hildon_pannable_area_button_release_cb)
5221 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5223 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5225 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5228 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5230 * src/hildon-bread-crumb-trail.h
5231 * src/hildon-date-editor.c
5232 * src/hildon-date-selector.c
5233 * src/hildon-pannable-area.c
5234 * src/hildon-picker-dialog.c
5235 * src/hildon-time-selector.c
5236 * src/hildon-touch-selector-entry.c
5237 * src/hildon-touch-selector.c
5238 * src/hildon-touch-selector.h: Misc documentation fixes
5240 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5242 * examples/hildon-date-editor-example.c (main): Updated date
5245 * examples/hildon-note-example.c (on_confirmation_clicked):
5246 Updated confirmation note example.
5248 * src/hildon-date-editor.c
5249 * src/hildon-note.c: Updated sample programs in documentation.
5252 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5254 * src/hildon-date-button.h:
5255 * src/hildon-picker-button.h:
5256 * src/hildon-time-button.c:
5257 * src/hildon-time-button.h:
5259 Some declarations changes to allow gtk-doc to document the widgets
5262 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5264 * src/hildon-date-button.c: Document the widget.
5265 * src/hildon-time-button.c: Document the widget.
5267 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5269 * src/hildon-picker-button.c: Document the widget.
5270 * src/hildon-touch-selector-entry.c: Document the widget.
5272 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5274 * doc/hildon-docs.sgml
5277 * src/hildon-check-button.h
5278 * src/hildon-check-button.c: New functions to create the Hildon
5282 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5284 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5286 * src/hildon-button.h
5287 * src/hildon-button.c
5288 (hildon_button_add_title_size_group)
5289 (hildon_button_add_value_size_group)
5290 (hildon_button_add_image_size_group)
5291 (hildon_button_add_size_groups): New functions to set size groups
5292 for the button labels and image.
5293 (hildon_button_new_full): Removed
5295 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5297 * src/hildon-time-selector.c
5298 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5299 in order to avoid a crash if gconf is not available
5301 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5303 * src/hildon-button.c (hildon_button_set_arrangement)
5304 (hildon_button_construct_child): Don't construct the button child
5305 before setting the arrangement.
5307 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5309 * src/hildon-program-private.h
5310 * src/hildon-program.c
5311 * src/hildon-program.h
5312 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5313 (hildon_program_peek_window_stack)
5314 (hildon_program_pop_window_stack)
5315 (hildon_program_go_to_root_window): HildonProgram now has a
5316 separate list for stackable windows. Functions are provided to
5317 manage that list with a stack-like API.
5319 * src/hildon-stackable-window.c: Stackable window management is
5320 now much simpler with the new HildonProgram API. Windows no
5321 longer need to be manually added to the program, they're
5322 automatically pushed to the top of the stack when shown.
5324 * examples/hildon-stackable-window-example.c: Updated example to
5325 reflect the API changes.
5327 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5329 * src/hildon-touch-selector.c: Comment out unimplemented
5330 hildon_touch_selector_insert_column() to avoid a compile warning.
5332 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5334 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5335 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5336 (hildon_touch_selector_set_column_selection_mode),
5337 (_hildon_touch_selector_set_model),
5338 (hildon_touch_selector_set_model):
5340 Complete review of HildonTouchSelector documentation.
5342 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5344 * doc/hildon-docs.sgml
5348 * src/hildon-gtk.c: Convenience functions for standard Gtk
5349 widgets, used to easily perform frequent operations.
5351 * src/hildon-button-helpers.h
5352 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5354 * src/hildon-helper.h
5355 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5356 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5358 * src/hildon-button.h
5359 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5361 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5363 * src/hildon-button.c (hildon_button_init)
5364 (hildon_button_set_arrangement, hildon_button_construct_child):
5365 Pack the image and the labels inside the same GtkAlignment so
5366 gtk_button_set_alignment() can be used
5368 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5370 * src/hildon-button.h
5371 * src/hildon-button.c
5372 (hildon_button_init, hildon_button_set_image)
5373 (hildon_button_set_image_position)
5374 (hildon_button_construct_child): New functions to add an image to
5377 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5379 * src/hildon-date-button.c
5380 * src/hildon-picker-button.c
5381 * src/hildon-time-button.c
5382 * src/hildon-button.c:
5383 (hildon_button_class_init): "size-flags" renamed to "size"
5384 (hildon_button_set_title): Hide the title label if set to NULL.
5386 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5388 HildonButtonFlags split into HildonButtonArrangement (to set the
5389 button layout) and HildonSizeType (which can be used for any
5392 * src/hildon-button.h
5393 * src/hildon-button.c
5394 (hildon_button_class_init)
5395 (hildon_button_set_arrangement)
5396 (hildon_button_set_property): New "size-flags"
5397 property. "arrangement-flags" renamed to "arrangement".
5398 (hildon_button_new, hildon_button_new_with_text)
5399 (hildon_button_new_full): Constructors updated to reflect type changes.
5401 * src/hildon-helper.h
5402 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5403 to set the size of a widget.
5407 * src/hildon-button-helpers.c
5408 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5410 * src/hildon-date-button.c
5411 * src/hildon-date-button.h
5412 * src/hildon-picker-button.c
5413 * src/hildon-picker-button.h
5414 * src/hildon-time-button.c
5415 * src/hildon-time-button.h: Updated widgets to reflect
5416 HildonButton API changes.
5418 * examples/hildon-button-example.c
5419 * examples/hildon-date-button-example.c
5420 * examples/hildon-picker-button-example.c
5421 * examples/hildon-picker-button-multicolumn-example.c
5422 * examples/hildon-time-button-example.c
5423 * examples/hildon-touch-selector-entry-example.c
5424 * examples/hildon-touch-selector-example.c: Updated examples to
5425 reflect HildonButton API changes.
5427 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5429 * doc/hildon-docs.sgml:
5431 * examples/Makefile.am:
5432 * examples/hildon-touch-selector-entry-example.c:
5434 * src/hildon-touch-selector-entry.c:
5435 * src/hildon-touch-selector-entry.h:
5438 Moved HildonTouchSelectorEntry from sandbox. Added its
5439 documentation and examples.
5441 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5443 * src/hildon-touch-selector.h:
5444 * examples/hildon-picker-button-multicolumn-example.c:
5445 (hildon_touch_selector_append_text_column): Add a gboolean
5446 parameter to determine if text must be centered in the column.
5448 * src/hildon-date-selector.c: (hildon_date_selector_init):
5449 * src/hildon-time-selector.c: (hildon_time_selector_init):
5450 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5451 (create_touch_selector): Update widgets and example to reflect
5454 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5456 * src/hildon-touch-selector.c:
5457 (hildon_touch_selector_set_active_iter): Set also the cursor in
5460 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5462 * doc/hildon-docs.sgml
5465 * src/hildon-toggle-button.c
5466 * src/hildon-toggle-button.h
5467 * src/hildon.h: Removed HildonToggleButton widget, a derived
5468 class is not necessary for this.
5470 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5472 * src/hildon-pannable-area.c,
5473 (hildon_pannable_area_realize),
5474 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5477 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5479 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5480 "done" button the default widget for the dialog.
5482 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5484 * src/hildon-touch-selector.c:
5485 (hildon_touch_selector_class_init),
5486 (hildon_touch_selector_get_property),
5487 (_hildon_touch_selector_set_model),
5488 (_hildon_touch_selector_has_multiple_selection),
5489 (hildon_touch_selector_has_multiple_selection):
5490 Add a "has-multiple-selection" property with a virtual
5491 has_multiple_selection() method to allow derived classes to
5492 override the default value for it. See the method and property
5493 documentation for details.
5495 * src/hildon-touch-selector.h: Add the new API.
5497 * src/hildon-picker-dialog.c: (requires_done_button): Call
5498 hildon_touch_selector_has_multiple_selection() instead of
5499 determining the need for a button itself.
5501 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5503 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5504 (_hildon_touch_selector_set_model),
5505 (hildon_touch_selector_set_model): Move working code to
5506 _hildon_touch_selector_set_mode(). Call the class method instead.
5508 * src/hildon-touch-selector.h: Add (*set_model) to
5509 HildonTouchSelectorClass.
5511 Make hildon_touch_selector_set_model() a virtual method, so that
5512 derived classes can extend it and do fancy stuff with the model.
5514 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5516 * configure.ac: Set back the tarname in AC_INIT to hildon.
5518 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5522 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5523 instead of libesd (NB#86876). Volume handling is still an open issue.
5525 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5528 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5530 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5531 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5532 derived class to ease placement of an entry widget in
5533 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5534 end, where the selector columns are packed now.
5536 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5538 * src/hildon-picker-button.c: Removed the simple _text() API.
5539 * src/hildon-picker-button.h: Likewise.
5541 * src/hildon-touch-selector.h:
5542 * src/hildon-touch-selector.c:
5543 (hildon_touch_selector_new_text),
5544 (hildon_touch_selector_append_text),
5545 (hildon_touch_selector_prepend_text),
5546 (hildon_touch_selector_insert_text):
5548 Moved the simple _text() API from HildonPickerButton to
5549 HildonTouchPicker, to provide better escalability and not to tie
5550 that API to HildonPickerButton.
5552 * examples/hildon-picker-button-example.c: (main): Example updated.
5554 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5556 * src/hildon-button.c: Updated documentation.
5558 * examples/hildon-button-example.c: Add the posibility to create
5559 the buttons using horizontal layout for title and value.
5561 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5563 * src/hildon-app-menu-private.h
5564 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5565 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5566 GtkSizeGroup for the filters, use the 'homogeneous' property of
5569 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5571 * examples/hildon-button-example.c: Updated example.
5573 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5575 * doc/hildon-docs.sgml:
5578 Update documentation.
5580 * examples/Makefile.am: Update renamed examples.
5582 * examples/hildon-picker-button-multicolumn-example.c:
5583 (create_touch_selector), (main): Update after the rename.
5585 * examples/hildon-touch-picker-example.c: Removed.
5586 * examples/hildon-touch-selector-example.c: (value_changed),
5587 (create_selector), (get_visible_content), (main): Renamed from
5588 hildon-touch-picker-example.c
5590 * src/Makefile.am: Updated renamed files.
5592 * src/hildon-date-button.c: (hildon_date_button_init),
5593 (hildon_date_button_get_date), (hildon_date_button_set_date):
5594 * src/hildon-date-selector.c: (hildon_date_selector_init),
5595 (_custom_print_func), (_update_day_model),
5596 (_manage_selector_change_cb),
5597 (hildon_date_selector_select_current_date),
5598 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5599 * src/hildon-date-selector.h:
5600 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5601 (hildon_picker_button_set_property),
5602 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5603 (hildon_picker_button_init), (hildon_picker_button_new_text),
5604 (hildon_picker_button_append_text),
5605 (hildon_picker_button_prepend_text),
5606 (hildon_picker_button_insert_text),
5607 (hildon_picker_button_set_selector),
5608 (hildon_picker_button_get_selector):
5609 * src/hildon-picker-button.h:
5610 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5611 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5612 (_update_title_on_selector_changed_cb), (requires_done_button),
5613 (_hildon_picker_dialog_set_selector),
5614 (hildon_picker_dialog_set_selector),
5615 (hildon_picker_dialog_get_selector):
5616 * src/hildon-picker-dialog.h:
5617 * src/hildon-time-button.c: (hildon_time_button_init),
5618 (hildon_time_button_get_time), (hildon_time_button_set_time):
5619 * src/hildon-time-selector.c: (hildon_time_selector_init),
5620 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5621 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5622 * src/hildon-time-selector.h:
5625 Massive code updates after the rename.
5627 * src/hildon-touch-picker.c: Removed.
5628 * src/hildon-touch-picker.h: Removed.
5630 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5631 (hildon_touch_selector_init), (hildon_touch_selector_map),
5632 (hildon_touch_selector_remove), (_default_print_func),
5633 (_selection_changed_cb), (_create_new_column),
5634 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5635 (hildon_touch_selector_append_text_column),
5636 (hildon_touch_selector_remove_column),
5637 (hildon_touch_selector_set_column_attributes),
5638 (hildon_touch_selector_insert_column),
5639 (hildon_touch_selector_get_num_columns),
5640 (hildon_touch_selector_get_column_selection_mode),
5641 (hildon_touch_selector_set_column_selection_mode),
5642 (hildon_touch_selector_set_print_func),
5643 (hildon_touch_selector_get_print_func),
5644 (hildon_touch_selector_get_active_iter),
5645 (hildon_touch_selector_set_active_iter),
5646 (hildon_touch_selector_get_selected_rows),
5647 (hildon_touch_selector_get_model),
5648 (hildon_touch_selector_set_model),
5649 (hildon_touch_selector_get_current_text),
5650 (_hildon_touch_selector_center_on_selected_items):
5651 * src/hildon-touch-selector.h: Renamed from
5652 hildon-touch-picker.[ch]
5654 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5655 references, code examples, and related documentation.
5657 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5659 * doc/hildon-docs.sgml
5662 * src/hildon-toggle-button.c
5663 * src/hildon-toggle-button.h
5664 * src/hildon.h: New HildonToggleButton widget.
5666 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5668 * src/hildon-button.c: Add API documentation.
5669 (hildon_button_set_size_groups): Check input parameters
5671 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5673 * src/hildon-pannable-area.c
5674 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5675 effect after reaching the movement thredshold. This way we start
5676 using the distance after passing the thredshold.
5678 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5680 * src/hildon-button.c: (hildon_button_set_property): Use the
5681 appropriate g_value_get_flags() method.
5683 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5685 * doc/hildon-docs.sgml:
5688 Add the touch pickers, picker dialogs, and picker button widgets
5689 to the documentation.
5691 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5693 * src/hildon-button.c: (hildon_button_set_property),
5694 (hildon_button_class_init): Make "arrangement-flags" a proper
5695 G_TYPE_FLAGS derived property.
5697 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5699 * examples/Makefile.am: Add below examples.
5700 * examples/hildon-date-button-example.c:
5701 * examples/hildon-picker-button-example.c:
5702 * examples/hildon-picker-button-multicolumn-example.c:
5703 * examples/hildon-time-button-example.c:
5704 * examples/hildon-touch-picker-example.c:
5706 Add examples for the recently added touch pickers,
5707 picker dialogs, and picker button widgets.
5709 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5711 * src/hildon-button.c: Add some API documentation
5713 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5715 * src/hildon-button.h
5716 * src/hildon-button.c
5718 (hildon_button_new_with_text): New constructor to create a button
5719 with no text at all.
5720 (hildon_button_init, hildon_button_set_arrangement)
5721 (hildon_button_set_title, hildon_button_set_value)
5722 (hildon_button_set_text)
5723 (hildon_button_construct_child): Hide the value when it's not used
5724 so the rest of the text is properly aligned.
5725 Allow creating buttons with arbitrary widgets inside (not just
5726 title/value labels).
5728 * examples/hildon-button-example.c (vertical_buttons_window)
5729 (horizontal_buttons_window): Update example to use new API.
5731 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5733 * src/Makefile.am: Added HildonTimeButton.
5734 * src/hildon-time-button.c: Added missing LGPL header.
5735 * src/hildon-time-button.h: Added missing LGPL header.
5736 * src/hildon.h: Add hildon-time-button.h
5738 Copied HildonTimeButton from sandbox to trunk. Future work on this
5739 widget must take place in trunk.
5741 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5743 * src/Makefile.am: Added HildonDateButton.
5744 * src/hildon-date-button.c: Update includes.
5745 * src/hildon.h: Add hildon-date-button.h
5747 Copied HildonDateButton from sandbox to trunk. Future work on this
5748 widget must take place in trunk.
5750 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5752 * src/Makefile.am: Added HildonPickerButton.
5753 * src/hildon-picker-button.h: Update includes.
5754 * src/hildon.h: Add hildon-picker-button.h
5756 Copied HildonPickerButton from sandbox to trunk. Future work on
5757 this widget must take place in trunk.
5759 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5761 * src/Makefile.am: Added HildonPickerDialog.
5762 * src/hildon-picker-dialog.c: Update includes.
5763 * src/hildon.h: Add hildon-picker-dialog.h
5765 Copied HildonPickerDialog from sandbox to trunk. Future work
5766 on this widget must take place in trunk.
5768 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5770 * src/Makefile.am: Added HildonTimeSelector.
5771 * src/hildon.h: Add hildon-time-selector.h
5773 Copied HildonTimeSelector widget from sandbox to trunk. Future
5774 work on this widget must happen in trunk.
5776 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5778 * src/Makefile.am: Added HildonDateSelector.
5779 * src/hildon.h: Add hildon-date-selector.h
5781 Copied HildonDateSelector widget from sandbox to trunk. Future
5782 work on this widget must happen in trunk.
5784 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5786 * src/Makefile.am: Added HildonTouchPicker.
5787 * src/hildon-touch-picker.c: Update includes.
5788 * src/hildon.h: Add hildon-touch-picker.h
5790 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5791 on this widget must happen in trunk.
5793 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5795 * src/hildon-pannable-area.c:
5796 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5798 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5800 * examples/hildon-app-menu-example.c (main): Let the window
5803 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5805 * src/hildon-pannable-area.c
5806 (hildon_pannable_area_class_init): Set the min value of the
5807 overshoot properties to zero, which points out that not
5808 overshooting allowed.
5810 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5812 Modified the procedure to get the widget at a point inside the
5813 pannable area when using the movement type signals. Now the user
5814 has to call a function to get the child, that way we just
5815 calculate the child in case the user really want to use it and not
5818 * src/hildon-marshalers.list: Modified the marshallers, now we do
5819 not have the widget as a parameter.
5821 * src/hildon-pannable-area.c
5822 (hildon_pannable_area_motion_notify_cb),
5823 (hildon_pannable_area_class_init),
5824 (hildon_pannable_get_child_widget_at): Removed the widget
5825 parameter from the signal callback. We have also refactored the
5826 emission of the signals.
5828 * src/hildon-pannable-area.h: Added a new method to the API to
5829 calculate a widget at a point inside the pannable area,
5830 hildon_pannable_get_child_widget_at.
5832 * examples/hildon-pannable-area-example-4.c
5833 (horizontal_movement): Modified the example to use the new API,
5834 added condition to control which widget is under the event. This
5835 way we can avoid scrolling laterally over other widgets.
5837 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5839 * src/hildon-pannable-area.c
5840 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5841 modes, we stop getting the pointer events due to returning the
5842 callback without properly calling the get pointer again. Fixed
5843 also an error using the hscroll and vscroll.
5845 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5847 * src/hildon-app-menu-private.h
5848 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5849 (hildon_app_menu_button_release, hildon_app_menu_init)
5850 (hildon_app_menu_class_init): Don't hide the menu on button
5851 release if the user didn't press outside first.
5853 * src/hildon-window.h
5854 * src/hildon-window.c (hildon_window_toggle_menu)
5855 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5856 hildon_window_toggle_menu a virtual function for the stackable
5857 window to override it.
5859 * src/hildon-stackable-window.h
5860 * src/hildon-stackable-window-private.h
5861 * src/hildon-stackable-window.c
5862 (hildon_stackable_window_realize)
5863 (hildon_stackable_window_finalize)
5864 (hildon_stackable_window_class_init)
5865 (hildon_stackable_window_init)
5866 (hildon_stackable_window_set_main_menu): New function to set the
5867 app menu of a HildonStackableWindow.
5869 * examples/hildon-app-menu-example.c: Remove the button to show
5870 the app menu, now it'll be shown when clicking on the title bar
5873 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5875 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5876 set the widget name if the arrangement flags do not specify
5879 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5881 * src/hildon-button.c: (hildon_button_set_property),
5882 (hildon_button_class_init), (hildon_button_new_full),
5883 (hildon_button_set_arrangement): Added "arrangement-flags"
5886 Make the HildonButtonFlags a construction-only property, to allow
5887 subclasses to set them properly.
5889 2008-07-21 Tim Janik <timj@imendio.com>
5891 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5892 insertion position after backspace, so additional digits are appended,
5895 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5897 * src/hildon-pannable-area.c,
5898 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5899 TODO list, it was complete and removed the g_debug and g_print
5902 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5904 Added the movement modes to the hildon-pannable-area, with this
5905 modes the developers can control in which directions the widget
5906 can scroll. They can also connect to signals in order to do
5907 something when that happens, allowing applications scroll. There
5908 is an example uploaded showing how to use it.
5910 * examples/Makefile.am:
5911 * examples/hildon-pannable-area-example-4.c: Added this example of
5912 an application using the modes.
5914 * src/hildon-marshalers.list: Added a new marshaller for the new
5917 * src/hildon-pannable-area.h: Added new enumerations and flags in
5918 order to control the movement modes and the new signals to warn
5919 about the movements in the area.
5921 * src/hildon-pannable-area.c:
5922 (hildon_pannable_axis_scroll),
5923 (hildon_pannable_area_scroll),
5924 (hildon_pannable_area_motion_notify_cb),
5925 (hildon_pannable_area_get_property),
5926 (hildon_pannable_area_set_property),
5927 (hildon_pannable_area_map),
5928 (hildon_pannable_area_class_init),
5929 (hildon_pannable_area_init),
5930 (hildon_pannable_area_jump_to): Added the modes to control the
5931 movement in the widget. We have added properties to control it,
5932 signals to warn about the movements and refactored some code.
5934 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5936 Changes required in order to allow vfast_factor set to zero to
5939 * src/hildon-pannable-area.c:
5940 (hildon_pannable_area_button_press_cb): Changed the condition, it
5941 is required for not allowing click when vfast_factor is zero.
5942 (hildon_pannable_area_timeout): Initialized velocity variables
5943 when we stop moving, it was less than 1 but not zero and we need
5944 to check zero in some situations.
5945 (hildon_pannable_area_class_init): Changed the default value of
5946 the speed factor, now the button_press is just sent in case the
5947 speed is 2 per cent of the max speed.
5948 (hildon_pannable_area_init): Initialization with 0.
5950 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5952 * src/hildon-pannable-area.c,
5953 (hildon_pannable_area_get_topmost): replaced
5954 gdk_window_get_children with gdk_window_peek_children, this way we
5955 do not have to free the list because it is not a copy.
5957 (hildon_pannable_axis_scroll),
5958 (hildon_pannable_area_scroll),
5959 (hildon_pannable_area_timeout),
5960 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5961 two parameters that were only used inside the
5962 hildon_pannable_area_scroll function.
5964 * examples/hildon-pannable-area-example.c,
5965 (get_sawtooth_label): Fixed small memory leak.
5967 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5969 More checks for the case where the overshoot is bigger than the
5972 * src/hildon-pannable-area.c:
5973 (hildon_pannable_draw_vscroll),
5974 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5975 to draw the slider of the scrollbar under the other scrollbar.
5976 (hildon_pannable_area_expose_event): added new checks to control
5977 the drawing of the overshooting area rectangle, in case it is too
5978 big for the area of the widget.
5979 (hildon_pannable_area_size_allocate): add more checks to avoid
5980 setting a position to the child widget outside the area.
5982 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5984 * src/hildon-pannable-area.c
5985 (hildon_pannable_area_size_allocate): Added conditions to control
5986 when overshooting is bigger than the allocated space for the
5987 children, this avoids negative allocations.
5989 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5991 * doc/hildon-docs.sgml
5993 * examples/Makefile.am
5994 * examples/hildon-button-example.c
5996 * src/hildon-button.c
5997 * src/hildon-button.h
5998 * src/hildon.h: Initial version of the new HildonButton widget,
6001 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
6003 * src/hildon-pannable-area.c:
6004 (hildon_pannable_area_button_press_cb),
6005 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
6006 (hildon_pannable_area_motion_notify_cb),
6007 (hildon_pannable_area_button_release_cb),
6008 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
6009 (hildon_pannable_area_jump_to_child):
6011 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
6013 2008-07-01 Alberto Garcia <agarcia@igalia.com>
6015 * examples/Makefile.am
6016 * examples/hildon-pannable-area-touch-grid-example.c
6017 * examples/hildon-pannable-area-touch-list-example.c: Examples of
6018 the Hildon Touch List and Hildon Touch Grid using the
6019 HildonPannableArea widget.
6021 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6023 * src/hildon-pannable-area.c,
6024 (hildon_pannable_area_button_press_cb),
6025 (hildon_pannable_area_refresh),
6026 (hildon_pannable_area_scroll),
6027 (hildon_pannable_area_motion_notify_cb),
6028 (hildon_pannable_area_button_release_cb),
6029 (hildon_pannable_area_expose_event),
6030 (hildon_pannable_area_add),
6031 (hildon_pannable_area_remove),
6032 (hildon_pannable_area_realize),
6033 (hildon_pannable_area_size_allocate),
6034 (hildon_pannable_area_class_init),
6035 (hildon_pannable_area_init),
6036 (hildon_pannable_area_scroll_to_child),
6037 (hildon_pannable_area_jump_to_child): Fixed the problem of
6038 removing the child from the GtkBin, we have rearranged the widget
6039 hierarchy, now there is no GtkAlignment which was not doing
6040 anything interesting but breaking some of the assumptions of
6041 GtkContainer. Now developers if they want to add a GtkAlignment
6042 they could, but it is not inside the area.
6044 We had to review the whole allocation/expose process, now it is
6045 improved and we save at least three signals which would be saving
6046 some time when rendering the widget. The allocation of the
6047 scrollbars is now made in the allocate method as usual.
6049 We have also added some conditions in order to control when there
6050 is no child of the pannable area. Maybe we will need more work
6053 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6055 * src/hildon-pannable-area.c,
6056 (hildon_pannable_area_dispose): Released the fade-out timeout when
6057 disposing the widget.
6059 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6061 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6062 zero, we are going to use that property in order to deactivate the
6064 (hildon_pannable_axis_scroll),
6065 (hildon_pannable_area_size_allocate): Added conditions to control
6066 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6067 call, now it is called in all situations and we can remove calls
6068 in the allocate method.
6069 (hildon_pannable_area_map): Control the situation when
6070 overshoot_max is zero, we do not need the timeout.
6071 (hildon_pannable_area_class_init): Added documentation in order to
6072 point out that setting zero to overshoot_max means deactivate
6075 NOTE: removed trailing whitespaces from my previous comments of
6078 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6080 * src/hildon-pannable-area.c
6081 (hildon_pannable_area_get_property),
6082 (hildon_pannable_area_set_property),
6083 (hildon_pannable_area_map),
6084 (hildon_pannable_area_class_init),
6085 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6086 to cause the widget give a hint about its panning abilities upon
6089 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6091 * src/hildon-pannable-area.c: Several documentation improvements.
6093 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6095 * src/hildon-program.c
6096 * src/hildon-stackable-window.c: Update documentation.
6098 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6100 * src/hildon-stackable-window.c (get_previous_window_if_last):
6101 Renamed get_last_window()
6102 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6103 (hildon_stackable_window_unset_program):
6105 (get_previous_window_if_last):
6106 Detect if the window hasn't been added to a HildonProgram.
6108 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6110 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6112 * src/hildon-pannable-area.c
6113 (hildon_pannable_area_button_press_cb),
6114 (hildon_pannable_axis_scroll),
6115 (hildon_pannable_area_scroll),
6116 (hildon_pannable_area_timeout),
6117 (hildon_pannable_calculate_vel_factor),
6118 (hildon_pannable_area_get_property),
6119 (hildon_pannable_area_set_property),
6120 (hildon_pannable_area_class_init),
6121 (hildon_pannable_area_init),
6122 (hildon_pannable_area_scroll_to),
6123 (hildon_pannable_area_jump_to),
6124 (hildon_pannable_area_scroll_to_child),
6125 (hildon_pannable_area_jump_to_child):
6126 * src/hildon-pannable-area.h: Added the new API functions:
6127 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6128 hildon_pannable_area_scroll_to_child,
6129 hildon_pannable_area_jump_to_child
6132 * examples/Makefile.am
6133 * examples/hildon-pannable-area-example-2.c
6134 * examples/hildon-pannable-area-example-3.c: Added these two new
6135 examples in order to test and show how the new APIs work.
6137 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6139 * examples/hildon-stackable-window-example.c (new_window):
6140 * src/Makefile.am (noinst_HEADERS):
6141 * src/hildon-program.c (hildon_program_go_to_root_window):
6142 * src/hildon-program.h:
6143 * src/hildon-stackable-window-private.h:
6144 * src/hildon-stackable-window.c:
6145 * src/hildon-stackable-window.h:
6146 Create hildon-stackable-window-private.h
6147 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6149 * examples/hildon-app-menu-example.c (create_menu):
6150 * examples/hildon-hvolumebar-insensitive-example.c (main):
6151 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6152 * examples/hildon-toolbar-seekbar-example.c (main):
6153 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6154 * src/hildon-banner.c (hildon_banner_set_property):
6155 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6156 Fix compilation warnings
6158 * src/hildon-window.c:
6161 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6163 * src/hildon-stackable-window.c
6164 (hildon_stackable_window_unset_program):
6165 Calculate correctly whether to show the previous window if the
6166 last one is removed from the stack.
6167 (hildon_stackable_window_go_to_root_window):
6168 Send delete events starting from the topmost window.
6169 Stop if one of the windows is not destroyed.
6171 (hildon_stackable_window_delete_event)
6172 (hildon_stackable_window_class_init):
6173 Ignore the delete event if the window is not the topmost one.
6175 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6177 * src/hildon-pannable-area.c
6178 (hildon_pannable_area_expose_event): Fixed a problem when
6179 selecting the background color of the scrollbars.
6181 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6183 * examples/hildon-stackable-window-example.c
6184 * src/hildon-stackable-window.c
6185 * src/hildon-stackable-window.h
6186 hildon_stackable_window_go_home() renamed to
6187 hildon_stackable_window_go_to_root_window()
6188 Send delete events to windows rather than closing them with
6189 gtk_widget_destroy()
6191 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6193 * src/hildon-pannable-area.c
6194 (hildon_pannable_area_button_release_cb): Fix overshooting in
6197 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6199 * src/hildon-pannable-area.c
6200 (hildon_pannable_area_init): Initially show the scroll indicators.
6201 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6203 Add initial effect showing the widget is pannable.
6205 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6207 * src/hildon-pannable-area.c
6208 (hildon_pannable_area_class_init)
6209 (hildon_pannable_area_set_property)
6210 (hildon_pannable_area_get_property)
6211 (hildon_pannable_area_button_press_cb):
6212 New 'velocity_fast_factor' property to decide which velocity is
6215 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6217 * src/hildon-pannable-area.c
6218 (hildon_pannable_draw_hscroll)
6219 (hildon_pannable_draw_vscroll):
6220 Use float variables to calculate the size of the scrollbars to
6221 avoid error propagation and resizing during scrolling.
6223 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6225 * src/hildon-pannable-area.c
6226 (hildon_pannable_draw_vscroll)
6227 (hildon_pannable_draw_hscroll):
6228 Define a minimum size for the scroll bars
6230 * src/hildon-stackable-window.c
6231 (hildon_stackable_window_go_home): Fix compilation warning
6232 (get_last_window): Minor optimizations
6233 (hildon_stackable_window_class_init): Fix initialization of
6236 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6238 * src/hildon-stackable-window.c: Fixed typos in doc
6240 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6242 * src/hildon-pannable-area.c
6243 (hildon_pannable_area_scroll):
6244 Calculate here whether we need to scroll instead of using the booleans
6245 that tell us whether to /draw/ the scrolling bars.
6247 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6249 * src/hildon-app-menu.h
6251 * src/hildon-app-menu.c
6252 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6253 multiple filter groups related code and API. Now we support only
6255 * examples/hildon-app-menu-example.c:
6257 Update to reflect API changes.
6259 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6261 * src/hildon-stackable-window.c
6262 (hildon_stackable_window_class_init):
6263 Add hildon_stackable_window_realize.
6264 (hildon_stackable_window_realize):
6265 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6266 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6267 to apply theming and behavior specific to HildonStackableWindow
6270 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6272 * src/hildon-note.c (hildon_note_button_release):
6273 Close information notes also when tapping on them
6275 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6277 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6278 ELASTICITY, refactor and review, fix some issues with drawing
6281 * src/hildon-pannable-area.c:
6282 (hildon_pannable_area_button_press_cb): removed the conditions to
6283 avoid clicks when overshooting. It is not required
6285 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6286 define. Refatored and reviewed the code, now we do not need to
6287 manage velocity in motion_notify.
6289 (hildon_pannable_area_motion_notify_cb): We have moved the code
6290 that controls the area_scroll to the axis_scroll function and get
6291 rid of duplicated code.
6293 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6295 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6297 (hildon_pannable_draw_vscroll),
6298 (hildon_pannable_draw_hscroll): Fixed the problems with the
6299 scrollbar drawing, now we do not use two surfaces, it is easier
6300 and saves resources.
6302 (hildon_pannable_area_get_property): Style modification.
6304 (hildon_pannable_area_class_init): Changed some default values.
6306 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6308 * src/hildon-stackable-window.c: Fix some typos in the
6311 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6313 * src/hildon-dialog.c:
6314 Change indentation style
6317 (hildon_note_button_release):
6318 Use root coordinates to check if the release event happened
6321 * src/hildon-app-menu.c
6322 (hildon_app_menu_button_release):
6323 Remove unnecessary check
6325 * examples/hildon-app-menu-example.c
6327 Add cast to fix warning
6329 * src/hildon-app-menu.c
6330 (hildon_app_menu_class_init):
6331 New inner-border style property.
6332 Set all default spacings to 16
6333 (hildon_app_menu_init):
6334 Use vertical-spacing to set the space between filter buttons and
6335 regular menu buttons.
6336 Set the default container border using the inner-border value.
6338 * examples/hildon-app-menu-example.c
6340 Don't set the menu border explicitly, now we have the inner-border
6341 style property for that.
6343 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6345 * src/hildon-app-menu.c (hildon_app_menu_init):
6346 Make the window modal
6348 * src/hildon-note.c (hildon_note_map)
6349 * src/hildon-app-menu.c (hildon_app_menu_map):
6350 Destroy the grab window if we're unable to grab the pointer
6352 * src/hildon-app-menu-private.h
6353 * src/hildon-app-menu.c
6354 (hildon_app_menu_init, hildon_app_menu_finalize)
6355 (hildon_app_menu_map, hildon_app_menu_unmap)
6356 (hildon_app_menu_button_release)
6357 (grab_transfer_window_get):
6358 Bring back the grab window
6359 (hildon_app_menu_realize):
6360 Decorate the window, set WM hint for Matchbox
6362 * src/hildon-note.c (hildon_note_realize):
6363 * src/hildon-banner.c (hildon_banner_realize):
6364 Add WM hints for Matchbox
6366 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6368 * src/hildon-app-menu-private.h
6369 * src/hildon-app-menu.c
6370 (hildon_app_menu_init, hildon_app_menu_finalize)
6371 (hildon_app_menu_map, hildon_app_menu_unmap)
6372 (hildon_app_menu_button_release):
6373 Remove the grab window, it's not needed anymore
6375 * src/hildon-program.c
6376 Fixed typo in documentation
6378 * src/hildon-app-menu.h
6379 * src/hildon-app-menu.c
6380 * examples/hildon-app-menu-example.c
6381 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6383 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6386 Added new transfer_window and close_if_pressed_outside private
6388 (hildon_note_rebuild):
6389 Don't add a cancel button to the information note. It will be
6390 closed when tapping outside
6391 Remove the comment about the OK button in the documentation
6392 (hildon_note_realize):
6393 Set the notification type hint
6394 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6395 Grab/ungrab pointer and keyboard if the note has to be closed when
6397 (hildon_note_button_release):
6398 Close the note when tapping outside (if applicable)
6400 * src/hildon-app-menu.c
6401 Grab/ungrab pointer and keyboard on map/unmap
6402 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6403 Close the menu on button release, not button press
6405 * src/hildon-banner.c
6406 (hildon_banner_set_property)
6407 (hildon_banner_check_position):
6408 Make the banner use the full width of the screen
6409 (hildon_banner_show_information)
6410 (hildon_banner_show_information_with_markup):
6411 Don't display an icon by default
6413 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6415 Added fading scrollbars and adapted all the overshooting code to
6416 horizontal scrolling. We have also fixed bugs with overshooting
6417 and current fading implementation.
6419 * src/hildon-pannable-area.c
6420 (hildon_pannable_area_scroll_indicator_fade): Time out function
6421 used to change the transparency of the scrollbars.
6423 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6424 control and fixed a problem with fading, we now remove the fade
6425 timeout before adding a new one.
6427 (hildon_pannable_axis_scroll):
6428 (hildon_pannable_area_scroll):
6429 (hildon_pannable_area_timeout): Added this functions so we can use
6430 the scroll code both for vertical and horizontal.
6432 (hildon_pannable_area_motion_notify_cb):
6433 (hildon_pannable_area_button_release_cb): Added the horizontal
6434 scrolling control, fixed a problem with the overshooting timeout.
6436 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6437 painting of the scrolls.
6439 (hildon_pannable_draw_vscroll):
6440 (hildon_pannable_draw_hscroll):
6441 (hildon_pannable_area_expose_event):
6442 Draw both scrollbars and rectangles in the overshooting area.
6444 (hildon_pannable_area_get_property):
6445 (hildon_pannable_area_set_property):
6446 Modified the overshoot property to overshoot_max
6448 (hildon_pannable_area_map):
6449 Replaced the comments symbols.
6451 (hildon_pannable_area_size_allocate):
6452 (hildon_pannable_area_class_init):
6453 (hildon_pannable_area_init): Added horizontal scroll, fading
6454 effect properties, fixed a problem when overshooting in the bottom
6457 * examples/hildon-pannable-area-example.c:
6458 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6459 looks better in the example.
6461 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6463 * src/hildon-window.c
6464 * src/hildon-window.h
6465 (hildon_window_class_init)
6466 (hildon_window_unset_program)
6467 (hildon_window_unset_program_real):
6468 Make unset_program a virtual function
6470 * src/hildon-stackable-window.c
6471 * src/hildon-stackable-window.h
6472 Added hildon_stackable_window_go_home()
6474 * examples/Makefile.am
6475 * examples/hildon-stackable-window-example.c
6476 HildonStackableWindow example
6478 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6480 * hildon-pannable-area.c: Added the overshoot property and removed
6481 the OVERSHOOT define. Fixed an indent style error.
6482 (hildon_pannable_area_motion_notify_cb):
6483 (hildon_pannable_area_get_property):
6484 (hildon_pannable_area_set_property): Add overshoot property.
6486 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6489 (hildon_pannable_area_class_init): Installed the new property.
6491 * hildon-pannable-area-example.c: Added a sawtooth function, this
6492 way it is easier to check the movement in the pannable.
6493 (get_sawtooth_label): Added this function.
6494 (main): Now we get the labels from the new get_sawtooth_label
6497 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6499 * src/hildon-app-menu.h
6500 * src/hildon-app-menu.c
6501 Renamed API variables for consistency
6503 (hildon_app_menu_popup): Use also the default window size to
6504 decide where to place the menu
6506 (hildon_app_menu_init, hildon_app_menu_class_init): New
6507 external-border style property
6509 2008-05-26 Michael Natterer <mitch@imendio.com>
6511 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6512 widget_class->tap_and_hold_setup signal slot doesn't exist any
6513 longer, stop overriding it.
6515 (hildon_time_editor_init): g_signal_connect() to the
6516 tap-and-hold-setup signal instead.
6518 (hildon_time_editor_entry_keypress): add cast to fix warning.
6520 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6522 * doc/hildon-docs.sgml
6524 * examples/Makefile.am
6525 * examples/hildon-app-menu-example.c
6527 * src/hildon-app-menu-private.h
6528 * src/hildon-app-menu.c
6529 * src/hildon-app-menu.h
6531 New HildonAppMenu widget
6533 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6535 Rearranged the inheritance of the pannable area, now it inherits
6536 from GtkBin. This will allow us to control the event_window and
6537 the allocation process of the widget, required for some effects.
6539 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6540 GtkBin structures. * src/hildon-pannable-area.c: Added the
6541 event_window variable.
6542 (hildon_pannable_area_button_press_cb):
6543 (hildon_pannable_area_button_release_cb):
6544 (hildon_pannable_area_motion_notify_cb):
6545 Changed the signature of the method, now we override the event
6546 callback instead of connecting to the signal.
6548 (hildon_pannable_area_realize):
6549 (hildon_pannable_area_unrealize):
6550 (hildon_pannable_area_map):
6551 (hildon_pannable_area_unmap):
6552 (hildon_pannable_area_size_allocate):
6553 Added functions to control the widget construction. We add a
6554 INPUT_ONLY window and we put it over the widgets inside the
6555 container, this event_window handles the events.
6557 (hildon_pannable_area_class_init):
6558 Replaced the signal connections with overrides of the event
6561 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6563 Bouncing effect added when touching the borders, you can change
6564 the elasticity of the border changing the ELASTICITY define.
6566 * src/hildon-pannable-area.c: Added ELASTICITY define.
6567 (hildon_pannable_area_timeout): Added inverse velocity when
6568 touching the border of the child widget, that causes a bounce.
6570 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6572 Improved performance, we now do not go to the X server in order to
6573 get the list of window children. Apparently the effect is the
6574 same, we have to be careful and check if this breaks something in
6577 * src/hildon-pannable-area.c:
6578 (get_ordered_children): Removed this function.
6579 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6580 the children windows function with gdk_window_get_children.
6582 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6584 * src/hildon-pannable-area.c:
6585 (hildon_pannable_area_dispose): Fixed a crash when closing the
6586 window and kinetics is activated.
6588 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6590 * src/hildon-pannable-area.h
6591 * src/hildon-pannable-area.c
6592 Changed indentation style to meet the one used in Hildon
6594 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6596 Reviewed the interaction of the AUTO mode, now we use the time
6597 attribute of the events and calculate the velocity in the motion,
6598 doing a gimp like calculation. The velocity is calculated in each
6599 motion event using the last velocity and the current one, the
6600 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6602 * src/hildon-pannable-area.c: Replaced the time based algorithm
6604 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6605 timeout for the AUTO mode when we are still moving the cursor. We
6606 added also the velocity calculation in this function.
6607 (hildon_pannable_area_button_release_cb): launch the timeout in
6608 case we are in AUTO mode. There are still some constants here that
6609 come from the old implementation that should be reviewed and
6612 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6614 * doc/hildon-docs.sgml
6617 * src/hildon-stackable-window.c
6618 * src/hildon-stackable-window.h
6620 New HildonStackableWindow widget
6622 * examples/hildon-dialog-example.c
6623 * examples/hildon-pannable-area-example.c
6626 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6628 * src/hildon-dialog.c
6629 (hildon_dialog_new_with_buttons): New constructor.
6631 * examples/hildon-dialog-example.c
6632 (main): Update the example to use the new
6633 hildon_dialog_new_with_buttons().
6635 * examples/hildon-pannable-area-example.c
6636 (main): Update example.
6638 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6640 * doc/hildon-docs.sgml
6642 Added HildonPannableArea to the documentation.
6644 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6646 * doc/visual_index.xml
6647 Fix reference to HildonLoginDialog in documentation
6649 * doc/hildon-docs.sgml
6651 * examples/Makefile.am
6652 * examples/hildon-dialog-example.c
6654 * src/hildon-dialog.c
6655 * src/hildon-dialog.h
6657 New HildonDialog widget.
6659 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6661 * src/hildon-pannable-area.c
6662 Merge latest changes (r4318, r4342) from libmokoui trunk
6664 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6666 * examples/Makefile.am
6667 * examples/hildon-pannable-area-example.c
6669 * src/hildon-pannable-area.c
6670 * src/hildon-pannable-area.h
6672 New HildonPannableArea widget.
6674 2008-04-15 18:05:19 <timj@imendio.com>
6676 * src/hildon-banner.c: revert the recent change, that introduced
6677 gtk_window_present() calls. this reopens:
6678 Bug 78481 - [freetest] information banners are hidden under browser menu
6679 But resolves another variant of:
6680 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6682 2008-04-15 13:21:13 <timj@imendio.com>
6684 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6685 recreated its layout, spotted by Kris. this fixes all remaining
6686 artefacts and stability issues with the banner code. in particular:
6687 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6689 2008-04-14 16:52:59 <timj@imendio.com>
6691 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6692 operating on unrealized widgets, fixes:
6693 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6695 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6697 2008-04-09 Kristian Rietveld <kris@imendio.com>
6699 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6700 makes banner disappear.
6701 Fixes: NB#79182: info banner flickering with certain message lengts.
6703 * src/hildon-banner.c (hildon_banner_constructor),
6704 (hildon_banner_init), (hildon_banner_set_text),
6705 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6706 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6707 FALSE, reset size requests of label and banner,
6708 (force_to_wrap_truncated): when the text is too wide, always enforce
6709 the maximum possible width instead of recalculating it from the
6710 layout; enforce the maximum banner height of 3 lines,
6711 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6712 nicer wrapping and no truncated chars if space gets tight.
6714 * src/hildon-banner-private.h: add has_been_wrapped and
6715 has_been_truncated fields.
6717 2008-04-07 Sven Herzberg <sven@imendio.com>
6719 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6720 local values in hildon_date_editor_size_allocate
6722 * src/hildon-date-editor.c: moved the real allocation code into the
6725 2008-04-07 Sven Herzberg <sven@imendio.com>
6727 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6728 local values in hildon_date_editor_size_allocate
6730 * src/hildon-date-editor.c: merged the two if() branches together
6732 2008-04-07 Sven Herzberg <sven@imendio.com>
6734 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6735 local values in hildon_date_editor_size_allocate
6737 * src/hildon-date-editor.c: changed the arguments of the if()
6740 2008-04-07 Sven Herzberg <sven@imendio.com>
6742 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6743 local values in hildon_date_editor_size_allocate
6745 * src/hildon-date-editor.c: split the calculation of the allocation
6746 from the real allocation
6748 2008-03-27 Michael Natterer <mitch@imendio.com>
6750 Fixes: NB#81696: The passcode is not overwritten even after
6753 * src/hildon-code-dialog.c
6754 (hildon_code_dialog_button_clicked)
6755 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6756 because that doesn't overwrite selected text. Instead, emit the
6757 "commit" signal on the entry's im_context so the entry's normal
6758 insert logic is triggered. Set the cursor to the end of the entry
6759 after each insert operation so that we *only* insert in the middle
6760 of the text if something was selected.
6762 2008-03-27 Michael Natterer <mitch@imendio.com>
6764 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6765 selector cannot be opened
6767 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6768 when the popup color selector is created. Please connect to this
6769 signal in order to set the dialog's help ID.
6771 2008-03-25 Sven Herzberg <sven@imendio.com>
6773 Fixes: MB#1212: Hide info banners (infoprints) on click
6775 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6776 extracted the close event simulation into an extra function
6777 (hildon_banner_button_press_event): simulate a close event and destroy
6778 the widget if the event wasn't handled
6779 (hildon_banner_class_init): added the button_press_event handler
6780 (hildon_banner_init): added button-press events to the widget
6782 2008-03-25 Sven Herzberg <sven@imendio.com>
6784 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6785 Patch from: Mohammad Anwari <mdamt@maemo.org>
6787 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6788 instead of the right in RTL mode
6789 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6790 breadcrumb button list in RTL mode
6791 * src/hildon-caption.c: mirror the appearance of the caption widget in
6793 * src/hildon-date-editor.c: mirror appearance of the date editor in
6795 * src/hildon-time-editor.c: mirror appearance of the time editor in
6797 * src/hildon-window.c: fix the position of the popup in RTL mode
6799 2008-03-25 Sven Herzberg <sven@imendio.com>
6801 Amendment to the fix of NB#22072. Fix compilation.
6803 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6805 2008-03-19 Sven Herzberg <sven@imendio.com>
6807 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6810 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6811 timeout id properly when the timeout will disappear this leaves no
6812 artifacts around in the destroy(); there will only be the timeout
6813 created by hildon_banner_ensure_timeout() and adding a new timeout
6814 will also work if the timeout gets removed because the timeout_handler
6817 2008-03-19 Michael Natterer <mitch@imendio.com>
6819 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6821 * src/hildon-volumebar.c
6822 * src/hildon-vvolumebar.c
6823 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6824 the widget becomes focussable at all.
6826 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6827 set the focus to wither the mute button or the volumebar.
6829 Remove own "can-focus" property and instead listen to
6830 notify::can-focus in order to update the widget's state.
6832 Implement GtkWidget::focus() and make sure we can also *leave* the
6833 widget, not only enter it, depending on volumebar orientation and
6834 requested focus direction.
6836 Clean up set_mute() to cooperate nicely with all the above.
6838 2008-03-04 Michael Natterer <mitch@imendio.com>
6840 Fixes: NB#78481: information banners are hidden under browser menu
6842 * src/hildon-banner.c: call gtk_window_present() on the banners so
6843 they are risen if they are already visible.
6845 2008-03-03 Sven Herzberg <sven@imendio.com>
6847 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6849 * examples/hildon-window-menu-example.c: (main): extended the window
6850 menu example to serve as a testcase for automatically added
6851 accelerator groups, too
6852 * src/hildon-window.c: (hildon_window_add_accel_group),
6853 (hildon_window_set_menu): added patch by Tommi Komulainen
6855 2008-03-03 Sven Herzberg <sven@imendio.com>
6857 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6859 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6860 knowledge about the border allocators used within GTK+
6862 2008-02-26 Sven Herzberg <sven@imendio.com>
6864 Fixes: MB#2981: Build with asserts broken
6866 * src/hildon-date-editor.c,
6867 * src/hildon-number-editor.c,
6868 * src/hildon-time-editor.c,
6869 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6870 the proper GType instance check
6872 2008-02-25 Sven Herzberg <sven@imendio.com>
6874 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6876 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6877 * examples/hildon-window-menu-example.c: (main): explicitly show
6879 * src/hildon-window.c:
6880 (hildon_window_set_main_menu): moved most of the code from set_menu()
6881 to this place; skipped the call to gtk_widget_show_all(); also didn't
6882 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6883 (hildon_window_set_menu): removed most of the code, just keep the
6884 questionable gtk_widget_show_all()
6885 * src/hildon-window.h: added the new function and deprecate the old
6888 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6894 * debian/changelog: Updating.
6896 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6899 * pkgconfig/Makefile.am:
6900 * pkgconfig/hildon.pc.in:
6903 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6904 use newly created API_MAJOR_VERSION.
6906 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6912 * debian/changelog: Updating.
6914 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6916 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6918 Add outer_border style property, we use it but don't define it (!).
6922 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6924 * examples/hildon-bread-crumb-trail-example.c (main):
6928 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6930 Fix logic for the bread crumb trail node removal.
6934 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6940 * debian/changelog: Updating.
6942 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6944 Patch by Alejandro to get/set passwords dialogs accesibility.
6946 * hildon-1/src/hildon-get-password-dialog.c:
6947 * hildon-1/src/hildon-set-password-dialog.c:
6948 Set atk_set_name to the passwd entries in order to allow
6949 accessibility by name on this entries.
6951 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6956 * debian/control: Updating gtk dep.
6958 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6960 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6961 USE_MAEMO_GTK is enabled.
6963 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6965 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6966 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6968 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6974 * debian/changelog: Updating.
6976 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6978 * examples/Makefile.am:
6979 * examples/hildon-logical-color-example.c:
6980 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6981 applied + adding a test case. Fixes: NB#71660.
6983 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6985 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6986 to be visible, fixes warning on map for windows without toolbars.
6988 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6990 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6991 2.11.0, add a check for that besides the MAEMO_GTK check.
6993 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6999 * debian/changelog: Updating.
7001 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7003 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
7004 visibility. Fixes: NB#70842 and MB#615.
7006 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7008 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
7009 set the separator as no-show-all so it doesn't unintentionally appear when
7010 someone does a show_all.
7012 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
7014 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
7015 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
7016 toplevel item. Fixes: NB#62031
7018 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7020 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7021 fix the name of the function in the docs.
7023 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7029 * debian/changelog: Updating.
7031 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7033 * examples/hildon-banner-long-example.c: Adding a test-case for long
7036 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7038 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7040 * src/hildon-color-chooser-dialog.c:
7041 * src/hildon-color-chooser.c:
7042 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7043 memory leaks in font selector and color selector. Fixes: NB#70499 and
7046 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7048 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7050 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7052 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7053 little bit bigger. Fixes: #NB63694.
7055 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7061 * debian/changelog: Updating.
7063 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7066 * doc/hildon-docs.sgml:
7067 * doc/images/bread-crumb-trail.png:
7068 * doc/images/calendar-popup.png:
7069 * doc/images/caption.png:
7070 * doc/images/code-dialog.png:
7071 * doc/images/color-button.png:
7072 * doc/images/color-chooser-dialog.png:
7073 * doc/images/color-chooser.png:
7074 * doc/images/controlbar.png:
7075 * doc/images/date-editor.png:
7076 * doc/images/font-selection-dialog.png:
7077 * doc/images/get-password-dialog.png:
7078 * doc/images/hvolumebar.png:
7079 * doc/images/login-dialog.png:
7080 * doc/images/note.png:
7081 * doc/images/number-editor.png:
7082 * doc/images/range-editor.png:
7083 * doc/images/seekbar.png:
7084 * doc/images/set-password-dialog.png:
7085 * doc/images/sort-dialog.png:
7086 * doc/images/time-editor.png:
7087 * doc/images/time-picker.png:
7088 * doc/images/vvolumebar.png:
7089 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7090 Adding the bread-crumb-trial and helpers to the documentation.
7092 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7094 * examples/hildon-find-toolbar-example.c:
7095 * src/hildon-find-toolbar.c:
7096 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7097 actually continue firing the other handlers if connected. Adding a new
7099 hildon_find_toolbar_get_last_index that gets the index of the most
7100 recently added (last) item. Fixes: NB#52301.
7102 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7104 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7105 behaviour. Fixes: NB#68610.
7107 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7109 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7112 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7114 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7115 when realizing the banner. Should make the infonbanner effect a bit more
7118 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7120 * src/hildon-volumebar.c:
7121 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7122 hildon_volumebar_set_range_insensitive_message and
7123 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7125 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7127 * src/hildon-window.c: Fixing the border freeing on destroy.
7129 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7131 * src/hildon-code-dialog-private.h:
7132 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7133 kw keyboard support in HildonCodeDialog.
7135 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7141 * debian/changelog: Updating.
7143 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7145 * src/hildon-date-editor.c:
7146 * src/hildon-number-editor.c:
7147 * src/hildon-private.c:
7148 * src/hildon-private.h:
7149 * src/hildon-time-editor.c:
7150 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7151 handling in subclassed composite widgets. Fixes: NB#66628.
7153 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7155 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7156 from destroy_ callback as it introduces problems in async dbus signal
7157 handlers. Fixes NB#66673.
7159 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7161 * examples/hildon-hvolumebar-example.c:
7162 * src/hildon-volumebar.c: Improving the focus handling in the
7163 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7164 set_property accessor so that "mute" property can be actually set. I'm
7165 scared that nobody noticed it's totally broken.
7167 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7169 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7172 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7174 * src/hildon-calendar.c:
7175 * src/hildon-number-editor.c:
7176 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7177 matches the spec of 6 chars per second. Fixes: NB#60489.
7179 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7181 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7182 gtk_style_lookup_color sometime returns FALSE even though color was
7183 found and values were filled properly. Weird. Removing the warning for the
7186 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7189 expand vertically. Adding some extra space to the find toolbar buttons to
7190 make them thumbable. Fixes NB#66060.
7192 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7194 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7195 popup with "Ok" and "Cancel". Fixes NB#59299.
7197 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7199 * src/hildon-calendar.c: Process all window updates before executing next
7200 timeout. Fixes: NB#54146.
7202 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7208 * debian/changelog: Updating.
7210 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7212 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7213 the client event and ignore it, since we use the delete event to close
7216 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * src/hildon-helper.c: Remove the bogus warning about color not being
7219 found. Fixes NB#58352.
7221 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7223 * examples/Makefile.am:
7224 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7225 HildonSeekbar widget inside a toolbar.
7227 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7229 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7230 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7231 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7232 don't want to be closed by non-temporary windows on map.
7234 Also use G_DEFINE_TYPE instead of manually typed code.
7236 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7243 * debian/rules: Updating.
7245 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7247 * examples/Makefile.am:
7248 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7249 bug NB#61128. Strangely it works.
7251 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7253 * src/hildon-date-editor.c: When the date editor entry has been changed
7254 but the numbers of characters < max, turn off the skip validation flag.
7255 Prevents a situation when we enter first a valid year and later re-write
7256 it with an invalid one. Fixes NB#60154.
7258 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7260 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7261 code dialog. Fixes NB#64355.
7263 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7265 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7266 switching the page. Fixes NB#49374.
7268 * examples/Makefile.am:
7269 * examples/hildon-wizard-dialog-example.c: Adding an example for
7270 HildonWizardDialog that shows how to handle manual sensitivity setting on
7273 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7277 * src/hildon-version.h.in:
7278 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7280 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7282 * src/hildon-volumebar.c: Updating the docs.
7284 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7290 * debian/changelog: Updating.
7292 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7294 * src/hildon-find-toolbar.c:
7295 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7296 selected item: hildon_find_toolbar_set_active,
7297 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7298 hildon_find_toolbar_get_active_iter . They correspond to respective
7299 GtkComboBox functions.
7301 * examples/Makefile.am:
7302 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7305 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7307 * examples/Makefile.am:
7308 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7311 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7312 when font size > 32 and we pack a focusable widget inside. Actually using
7313 the default response would work too, but since we don't show default
7314 response state in any way (no theming) it would not be visible to the
7315 user. Fixes NB#63430.
7317 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7319 * src/hildon-date-editor.c: Adding the missing variable setter in the
7320 set_property handler. Fixes NB#54182.
7322 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7324 * src/hildon-window.h: Changing the long key press time from 1500ms to
7325 800ms as requested in NB#63700. I have a bad feeling about this, let's
7326 see... Fixes NB#63700.
7328 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7330 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7331 hildon_time_picker_map, hildon_time_picker_realize,
7332 hildon_time_picker_style_set): Split the contents of map to more
7333 appropriate functions; set window decorations on realize and update
7334 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7336 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7341 * debian/changelog: Updating.
7343 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7345 * src/Makefile.am: fixed installation of the header files
7347 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7353 * debian/changelog: Updating.
7355 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7357 * configure.ac: Removing some remaining of --enable-xan.
7359 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7361 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7362 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7364 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7365 2.10.12-osso6 because the move-focus signal needs to be available in
7368 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7370 * examples/Makefile.am:
7371 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7372 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7373 fine. Prolly NB#61128 is fixed now.
7375 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * src/hildon-volumebar.c:
7378 * src/hildon-volumebar.h: Adding the
7379 hildon_volumebar_set_range_insensitive_message and
7380 hildon_volumebar_set_range_insensitive_messagef functions to set
7381 insensitive message on the slider of the volumebar. Fixes NB#61129.
7383 * examples/Makefile.am:
7384 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7385 test the new insensitive messsage functionality on HildonVolumebar.
7387 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7389 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7392 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7394 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7395 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7396 button on after clearing the trail.
7398 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7400 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7402 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7404 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7405 by splitting the installed headers in generated and non-generated groups. Use
7406 only the non-generated headers to create the hildon-enum-types.h file.
7408 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7410 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7412 * src/hildon-window.c: Hide the window before performing the destroy.
7413 Should make the app closing a little tiny bit more snappy.
7415 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7417 * src/hildon-seekbar.c: add gtkrange.h header
7418 * src/hildon-caption.c: remove unused variable
7420 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7422 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7425 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7431 * debian/changelog: Updating.
7433 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7435 * src/hildon-window.c (hildon_window_window_state_event,
7436 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7437 escape timeout on focus-out-event rather than notify::is-topmost; the
7438 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7440 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7442 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7443 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7445 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7447 * src/hildon-window: actually, you need to use the macro always, there's
7448 no private pointer in the instance structure. We should have cleaned this up
7449 when we had the chance...
7451 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7453 * src/hildon-window.c: do not get the private date from HildonWindow before
7454 it passes the g_return_if_fail check. Once it's passed the test, there's no
7455 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7456 if you are only going to access the data once. Whitespace cleanups.
7458 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7460 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7461 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7463 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7469 * debian/changelog: Updating.
7471 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7473 * src/hildon-window.c: When destroying the window, remove (if exists) the
7474 escape timeout handler. Fixes #NB59276.
7476 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7478 * src/hildon-banner.c: When realizing the widget, set the window
7479 transiency. Setting the transiency in the gobject constructor is not
7480 good, as the widget is not realized at that point. Fixes: #NB56624.
7482 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7484 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7485 Add padding for future expansions.
7487 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7489 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7490 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7491 will fake an activation on the previous to the last item of the trail, so
7492 the effect can be overrided by the developer as usual.
7493 Also change the callback for the back button to do the same thing, so its
7494 effect can be overrided too. Fixes: NB#58982
7496 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7498 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7499 HildonCaption. Fixes NB#52379.
7501 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7503 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7504 the internal state of the trail after the user has had the chance of executing
7505 his handler for the signal. Specifically, it may happen that the activated button
7506 is removed and the user still lets the default handler run. This would segfault
7509 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7511 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7512 scrollbar to the preview dialog. Fixes NB#54147.
7514 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7516 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7517 max/min year properties can be altered, so the client can modify it
7518 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7520 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7522 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7523 hildonlike by default. Fixing a problem with disappearing arrows when
7524 scrolling through months and years. Fixes NB#54127.
7526 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7528 * examples/hildon-date-editor-example.c: Adding error callback to the date
7531 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7537 * configure.ac: Updating.
7539 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7541 * configure.ac: Adding a special '--enable-xan' configure option that
7542 turns off the -Werror compilation setting. Usefull for development.
7544 * src/hildon-calendar.c:
7545 * src/hildon-number-editor.c:
7546 * src/hildon-time-picker.c: Adding the 5* multiplier to
7549 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7551 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7552 instead of g_object_ref + gtk_object_sink.
7554 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * debian/changelog: Updating.
7562 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7564 * src/hildon-color-chooser-dialog.c:
7565 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7566 straight from Tommi labs.
7568 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7570 * examples/hildon-finger-example.c: Correcting the header file path.
7572 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7573 the changed signal. Fixes a small memory leak.
7575 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7579 * src/hildon-banner.c: Importing several usefull fixes from the
7580 ubuntu-mobile branch.
7582 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7584 * examples/Makefile.am:
7585 * examples/hildon-finger-example.c: Adding a finger-checking code
7588 * src/hildon-font-selection-dialog.c: Do not allocate the color
7589 structure using the g_new. Fixes NB#54061.
7591 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7593 * src/hildon-helper.c: Correcting tabs in file.
7595 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7597 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7598 control the visibility of the children.
7600 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7602 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7608 * debian/changelog: Updating.
7610 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7612 * src/hildon-bread-crumb-trail.c:
7613 (hildon_bread_crumb_trail_size_allocate):
7615 Make the back button always a square.
7617 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7619 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7620 from the .c file as it's a private file.
7622 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7624 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7625 uses slightly bigger height.
7627 * src/hildon-font-selection-dialog.c: Adding some checks before
7628 freeing memory in the font selection dialog.
7630 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7632 * src/hildon-font-selection-dialog.c: Adding a small check when
7635 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7636 buttons sensitivity on page switching.
7638 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7640 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7641 internal details of adding a bread crumb to the trail.
7643 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7649 * debian/changelog: Updating.
7651 * src/hildon-bread-crumb-trail.h:
7652 * src/hildon-bread-crumb.h: Changing the API guard to
7653 HILDON_ENABLE_UNSTABLE_API.
7655 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7663 * src/hildon-helper.h: Updating.
7665 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7673 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7677 * src/hildon-helper.h: Small fix to make the package actually compile.
7679 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7681 * src/hildon-bread-crumb-trail.h:
7682 * src/hildon-bread-crumb.h:
7684 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7685 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7687 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7689 * examples/hildon-bread-crumb-trail-example.c:
7691 * src/hildon-bread-crumb-trail.c:
7692 * src/hildon-bread-crumb-trail.h:
7693 * src/hildon-bread-crumb.c:
7694 * src/hildon-bread-crumb.h:
7695 * src/hildon-marshalers.list:
7696 * src/hildon-bread-crumb-widget.c:
7697 * src/hildon-bread-crumb-widget.h:
7699 Slight change in the widget design. The bread crumb trail API is
7700 unchanged, but HildonBreadCrumb is now an interface. A *private*
7701 implementation, hildon-bread-crumb-widget, is provided and used
7702 internally by the trail for the push_text/push_icon functions.
7704 The generic push API is still available, so anyone can implement
7705 and use its own bread crumb widget.
7707 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7709 * debian/rules: Fixing the shlibs.
7711 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7713 * src/hildon-banner.c: Fixing a problem with timed banners having
7714 their parrent destroyed before they are.
7716 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7718 * src/hildon-bread-crumb.c:
7719 * src/hildon-bread-crumb.h:
7721 Make the get_natural_size function a vfunc.
7723 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7725 * src/hildon-bread-crumb.c:
7726 * src/hildon-bread-crumb-trail.c:
7730 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7737 * debian/changelog: Updating for release.
7739 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7741 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7742 don't leak the pango layout.
7744 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7747 * examples/hildon-bread-crumb-trail-example.c:
7751 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7753 * debian/changelog: Removing the bug-fixed entries that were actually
7754 resolved as WONTFIX.
7756 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7759 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7761 * src/hildon-bread-crumb-trail.c:
7762 * src/hildon-bread-crumb-trail.h:
7763 * src/hildon-bread-crumb.c:
7764 * src/hildon-bread-crumb.h:
7768 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7770 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7771 until it's passed the type check.
7773 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7775 * examples/hildon-bread-crumb-trail-example.c
7779 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7781 * examples/Makefile.am
7782 * examples/hildon-bread-crumb-trail-example.c
7784 * src/hildon-bread-crumb-trail.c
7785 * src/hildon-bread-crumb-trail.h
7786 * src/hildon-bread-crumb.c
7787 * src/hildon-bread-crumb.h
7789 New HildonBreadCrumbTrail widget.
7791 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7793 * src/hildon-range-editor.c (hildon_range_editor_init),
7794 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7795 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7796 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7797 hildon_time_editor_class_init, hildon_time_editor_init),
7798 src/hildon-get-password-dialog.c (invalid_input,
7799 hildon_get_password_set_property, hildon_get_password_get_property,
7800 create_contents, hildon_get_password_dialog_set_max_characters),
7801 src/hildon-set-password-dialog.c (create_contents),
7802 src/hildon-date-editor.c (hildon_date_editor_init),
7803 src/hildon-login-dialog.c (hildon_login_dialog_init),
7804 src/hildon-number-editor.c (hildon_number_editor_init),
7805 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7806 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7807 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7808 configure option and adding the respective checks in the code.
7809 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7810 hildon_calendar_drag_data_received): fixed some build warnings.
7812 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7814 * debian/changelog: A 1.0.0 release notes.