1 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
3 * doc/hildon-sections.txt: Add the new API.
4 * src/hildon-gtk.c (+hildon_gtk_window_set_portrait_flags): New
5 method to set the portrait flags.
6 * src/hildon-gtk.h: Add HildonPortraitFlags enum.
8 Fixes: NB#112328 (Adding helpers for setting portrait properties)
10 2009-04-23 Claudio Saavedra <csaavedra@igalia.com>
12 * src/hildon-gtk.c (set_clear_window_flag): Add an Atom parameter,
13 to allow using this method with other flags.
14 (hildon_gtk_window_set_progress_indicator): Update accordingly.
15 (hildon_gtk_window_set_do_not_disturb): Update accordingly.
17 2009-04-22 Alberto Garcia <agarcia@igalia.com>
19 * src/hildon-touch-selector.c
20 (hildon_touch_selector_append_text_column):
21 Make the cell renderer use the smallest width possible.
23 Fixes: NB#108470 (Selected items in multiple selection are either
24 having a tick that is cut or not visible at all.)
26 2009-04-22 Alberto Garcia <agarcia@igalia.com>
28 * src/hildon-touch-selector.c
29 (hildon_touch_selector_append_text_column):
32 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
34 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
35 Use g_strdup_printf() instead of a fixed size buffer.
37 2009-04-21 Alberto Garcia <agarcia@igalia.com>
39 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
40 Close banners when a HildonAppMenu is popped up.
42 Fixes: NB#111027 (Title menu closed immediately if activated when
43 "Invalid e-mail address" banner is shown)
45 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
50 * configure.ac: Bump version.
51 * debian/changelog: Updates.
53 2009-04-20 Alberto Garcia <agarcia@igalia.com>
55 * src/hildon-banner.c (hildon_banner_realize):
56 Mark HildonBanner as supporting portrait mode.
57 Use GDK to set window properties insetad of direct Xlib calls.
59 Fixes: NB#111830 (HildonBanner should be marked as supporting
62 2009-04-20 Alberto Garcia <agarcia@igalia.com>
64 * src/hildon-note.c (hildon_note_rebuild):
65 Hide action area in information notes. Prevents text from being
66 slightly aligned to the left.
68 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
71 2009-04-20 Alberto Garcia <agarcia@igalia.com>
73 Patch by Mox Soini (ext-mox.soini@nokia.com)
75 * src/hildon-banner.c (hildon_banner_create_animation):
76 Use stylus-sized icons in animation banner.
78 Fixes: NB#111206 (stylus sized icon for animation banner)
80 2009-04-20 Alberto Garcia <agarcia@igalia.com>
84 (+hildon_gtk_window_set_do_not_disturb):
85 New API to set the do-not-disturb flag.
87 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
89 2009-04-20 Alberto Garcia <agarcia@igalia.com>
91 * examples/hildon-progress-indicator-example.c: Fix example
93 * src/hildon-gtk.c (set_clear_window_flag)
94 (hildon_gtk_window_set_progress_indicator):
95 Create a generic function for setting flags to a window.
96 Use GDK instead of direct Xlib calls.
98 2009-04-14 Alberto Garcia <agarcia@igalia.com>
100 * src/hildon-button.c (hildon_button_set_arrangement):
101 Due to NB#88126, if one of the labels is too long it will be
102 painted outside the button. The 'value' label is more likely to be
103 the longest one, so we change its packing options in order to
104 truncate it if necessary. As a side effect, the 'title' label will
105 no longer be truncated.
107 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
109 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
114 * configure.ac: Bump version.
115 * debian/changelog: Updates.
117 2009-04-13 Alejandro G. Castro <alex@igalia.com>
119 Deprecation of the hildon_pannable_area_set_size_request_policy
120 API, the only policy properly supported in gtk+ nowadays is the
123 * src/hildon-pannable-area.c,
124 (hildon_pannable_area_size_request): Added a workaround for the
125 size_request to avoid the problems of huge pixmaps in case someone
126 is still using the function.
127 * src/hildon-pannable-area.h: Deprecated the enum with the
130 Fixes: NB#110244 (Problems with the
131 hildon_pannable_area_set_size_request_policy API)
133 2009-04-08 Alejandro G. Castro <alex@igalia.com>
135 * src/hildon-pannable-area.c,
136 (hildon_pannable_area_init),
137 (hildon_pannable_area_size_request),
138 (hildon_pannable_area_style_set),
139 (hildon_pannable_draw_vscroll),
140 (hildon_pannable_draw_hscroll),
141 (hildon_pannable_area_check_scrollbars): Replaced area_width with
142 indicator_width to clarify the use of the attribute.
144 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
149 * configure.ac: Bump version.
150 * debian/changelog: Updates.
152 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
154 * src/hildon-picker-dialog.c
155 * src/hildon-touch-selector.c
156 Reverting the change that tried to avoid the hardcoded height on
157 the picker dialog, as causes problems on the hildon-touch-selector
160 Fixes: NB#110029 (selectors not scrolling to selected value)
162 2009-04-07 Alberto Garcia <agarcia@igalia.com>
164 * src/hildon-touch-selector.c: Fix typos
166 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
168 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
169 Use the event coordinates instead of gdk_window_get_pointer(). Also,
170 request more motions after using it.
172 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
174 * src/hildon-calendar.c (hildon_calendar_expose),
175 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
176 Remove unused variables.
178 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
180 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
183 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
185 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
186 Check the return value of gtk_tree_selection_get_selected()
189 2009-04-06 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-animation-actor.c
192 * src/hildon-button.c
194 * src/hildon-pannable-area.c
195 * src/hildon-picker-button.c
196 * src/hildon-program.c
197 * src/hildon-remote-texture.c
198 * src/hildon-text-view.c
199 * src/hildon-touch-selector.c
200 * src/hildon-window-stack.c
201 * src/hildon-window.c:
202 Add missing 'Since: 2.2' tags.
204 * doc/hildon-sections.txt:
205 Add some missing symbols.
207 * doc/hildon-docs.sgml:
208 New 'Other' section for HildonAnimationActor and
211 2009-04-06 Alberto Garcia <agarcia@igalia.com>
213 Patch by Iván Gómez (igomez@igalia.com)
217 * doc/hildon-docs.sgml
218 * doc/hildon-sections.txt
222 New chapters on using the Hildon library.
223 Updated the general structure of the reference manual.
224 Other minor documentation fixes.
226 * src/hildon-calendar-popup.c
227 * src/hildon-calendar.c
228 * src/hildon-controlbar.c
229 * src/hildon-date-editor.c
230 * src/hildon-dialog.c
231 * src/hildon-hvolumebar.c
232 * src/hildon-number-editor.c
233 * src/hildon-range-editor.c
234 * src/hildon-sort-dialog.c
235 * src/hildon-time-editor.c
236 * src/hildon-time-picker.c
237 * src/hildon-volumebar-range.c
238 * src/hildon-volumebar.c
239 * src/hildon-vvolumebar.c
240 * src/hildon-weekday-picker.c:
241 Add deprecation notes
243 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
244 Document 'horizontal-movement' and 'vertical-movement' signals.
246 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
251 * configure.ac: Bump version.
252 * debian/changelog: Updates.
254 2009-04-06 Alejandro G. Castro <alex@igalia.com>
256 * src/hildon-pannable-area.c,
257 (hildon_pannable_area_class_init): increased the minimum velocity.
258 (hildon_pannable_area_button_release_cb): Updated the
259 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
260 setup. Review the code to control that last event.
262 Fixes: NB#109790 (Releasing finger in pannable area easily causes
265 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
267 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
269 * src/hildon-get-password-dialog.c
270 (hildon_get_password_set_property),
271 (hildon_get_password_get_property), (create_contents):
272 * src/hildon-login-dialog-private.h:
273 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
274 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
275 (hildon_login_dialog_get_password):
276 * src/hildon-set-password-dialog-private.h:
277 * src/hildon-set-password-dialog.c
278 (hildon_set_password_set_property),
279 (hildon_set_password_get_property), (create_contents),
280 (hildon_set_password_response_change),
281 (hildon_set_password_response_set), (hildon_checkbox_toggled):
283 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
284 instead and look more Fremantle style.
286 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
288 2009-04-03 Alberto Garcia <agarcia@igalia.com>
290 * doc/hildon-sections.txt
291 * src/hildon-window-stack.h
292 * src/hildon-window-stack.c
293 (+hildon_window_stack_get_windows):
294 New API to obtain the list of windows on a stack.
296 2009-04-02 Alberto Garcia <agarcia@igalia.com>
298 * src/hildon-app-menu.c (hildon_app_menu_popup)
299 (hildon_app_menu_class_init, -hildon_app_menu_show):
300 Remove hildon_app_menu_show() and move all its checks to
301 hildon_app_menu_popup()
303 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
305 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
306 (_hildon_picker_dialog_set_selector): removed call to
307 gtk_widget_set_size_request
308 * src/hildon-touch-selector.c
309 (_create_new_column): change the pannable size request policy
311 Avoid to use a hardcoded height for the hildon picker dialog. In order
312 to get that, we needed to change the hildon pannable size request
314 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
316 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-window.c (hildon_window_map): Check for vbox to be
319 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
322 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
324 * debian/control: Depend on osso-system-lock localization package.
325 * src/hildon-code-dialog.c: Obtain the secu_application_title
326 translation from osso-system-lock.
327 * src/hildon-get-password-dialog.c (create_contents): Do not mark
328 for translation the atk related strings, that's not necessary.
329 * src/hildon-set-password-dialog.c (create_contents): Ditto.
330 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
331 cancel button, it is not required.
333 2009-04-02 Alejandro G. Castro <alex@igalia.com>
335 * src/hildon-pannable-area.c,
336 (hildon_pannable_area_class_init): Modified the default value of
337 the overshooting max speed, we have reduced it.
339 2009-04-02 Alberto Garcia <agarcia@igalia.com>
341 * doc/hildon-sections.txt
342 * src/hildon-window-private.h
343 * src/hildon-window.h
344 * src/hildon-window.c (hildon_window_class_init)
345 (hildon_window_init, hildon_window_finalize)
346 (hildon_window_realize, hildon_window_get_property)
347 (hildon_window_set_property, hildon_window_update_markup)
348 (hildon_window_get_markup, hildon_window_set_markup):
349 New "markup" property and hildon_window_{get,set}_markup() methods.
351 * examples/hildon-stackable-window-example.c (new_window):
352 Update example to use hildon_window_set_markup()
354 Fixes: NB#106375 (Need API to retitle a window with a title
357 2009-04-01 Alejandro G. Castro <alex@igalia.com>
359 * src/hildon-pannable-area.c,
360 (hildon_pannable_area_class_init): Changed the default value of
361 the initial_hint to TRUE.
362 (hildon_pannable_area_initial_effect): Changed the initial effect,
363 not the effect is just the fade-out of the scrollbars.
365 Fixes: NB#107775 (No scrollbars can be seen when several items are
366 available in a dialog)
368 2009-04-01 Alberto Garcia <agarcia@igalia.com>
370 * src/hildon-program.c (hildon_program_update_top_most):
373 Fixes: NB#109179 (Memory leak in Hildon program)
375 2009-04-01 Alberto Garcia <agarcia@igalia.com>
377 * src/hildon-banner.c (-get_current_app_window):
378 Remove unused function.
380 2009-04-01 Alejandro G. Castro <alex@igalia.com>
382 * src/hildon-pannable-area.c: Modified the documentation of the
383 get adjustments functions to explain the problem of using the
385 (hildon_pannable_area_class_init): Improved the explanation about
388 2009-04-01 Alberto Garcia <agarcia@igalia.com>
390 * src/hildon-app-menu-private.h
391 * src/hildon-app-menu.c
392 (hildon_app_menu_class_init):
393 Bring back the 'external-border' style property
394 (hildon_app_menu_class_init, hildon_app_menu_init)
395 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
396 Set a fixed width-request for the menu, independent of the number
399 Fixes: NB#94957 (Smoothly opened application menu)
401 2009-03-30 Alberto Garcia <agarcia@igalia.com>
403 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
405 * src/hildon-banner.c
406 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
408 Make sure that the banner is correctly placed the first time it's
410 (hildon_banner_check_position, -check_fullscreen_state):
411 Show the banner in the same place no matter if the window is in
412 fullscreen mode or not.
414 Fixes: NB#107386 (Odd stacking behaviour for information banners)
416 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
418 * src/hildon-touch-selector.c (_default_print_func): reorder
419 concatenation for clarity.
421 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
423 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
424 for multicolumn selectors.
426 Fixes: NB#109099 (Memory leak in Hildon touch selector)
428 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
433 * configure.ac: Bump version.
434 * debian/changelog: Updates.
436 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
438 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
441 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
443 * configure.ac: removed libcangerra-gtk dependency
444 * debian/control: removed libcanberra-gtk dependency
445 * src/Makefile.am: removed libcanberra gtk related flags
446 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
447 context, and manage a global canberra context instead
449 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
451 2009-03-26 Alberto Garcia <agarcia@igalia.com>
453 Patch by Daniel Borgmann (danielb@openismus.com)
455 * src/hildon-edit-toolbar.c:
456 Adjust the left padding.
457 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
458 Paint background of the edit toolbar.
460 Fixes: NB#107897 (Patch to make editmodetoolbar background
461 themeable and adjust margin)
463 2009-03-25 Alberto Garcia <agarcia@igalia.com>
465 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
467 * src/hildon-program.c (hildon_program_update_top_most):
468 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
470 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
471 change when the user tasks in/out of an application)
473 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
475 * configure.ac: added libcangerra-gtk dependency
476 * debian/control: added libcanberra-gtk dependency
477 * src/Makefile.am: added libcanberra gtk related flags
478 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
481 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
483 2009-03-25 Alberto Garcia <agarcia@igalia.com>
485 * src/hildon-program.c (hildon_program_remove_window)
486 (hildon_program_add_window): Add checks for the window
487 parameter. Don't decrease the window counter if the window is not
490 2009-03-24 Alejandro G. Castro <alex@igalia.com>
492 * src/hildon-pannable-area.c,
493 (hildon_pannable_area_realize): Fixed position of the event_window
494 in the realize method.
496 2009-03-24 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-app-menu-private.h
499 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
500 (hildon_app_menu_map, hildon_app_menu_hide_idle)
501 (hildon_app_menu_key_press, hildon_app_menu_init)
502 (hildon_app_menu_finalize):
503 Make sure that all idle functions are removed when the widget is
506 Fixes: NB#107583 (Hildon app menu crashes in various applications)
508 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
513 * configure.ac: Bump version.
514 * debian/changelog: Updates.
516 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
519 (+hildon_entry_show_placeholder),
520 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
521 that replace hildon_entry_update_contents().
522 (hildon_entry_set_text),
523 (hildon_entry_set_placeholder),
524 (hildon_entry_focus_in_event),
525 (hildon_entry_focus_out_event): Determine when it is needed
526 either to show or hide the placeholder and call the above methods.
528 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
529 when the placeholder text is already set)
531 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
533 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
534 simple GdkPixbufAnim using the new icons for the banner.
535 (hildon_banner_show_animation): Use the above mentioned method to
536 create the animation widget.
538 Fixes: NB#103564 (Make hildon animation banner use individual
539 image files as the animation)
541 2009-03-24 Alejandro G. Castro <alex@igalia.com>
543 * src/hildon-pannable-area.c,
544 (hildon_pannable_leave_notify_event): Check if the child is NULL
545 to avoid sending the leave.
547 2009-03-24 Alejandro G. Castro <alex@igalia.com>
549 * src/hildon-pannable-area.c,
550 (hildon_pannable_area_class_init),
551 (hildon_pannable_leave_notify_event): Added a handler of the
552 leave-notify-signal to consider when no motion notify before
555 Fixes: NB#107494 (Items stay selected when clicking and moving
556 away when inside pannable area)
558 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
563 * configure.ac: Bump version.
564 * debian/changelog: Updates.
566 2009-03-19 Alejandro G. Castro <alex@igalia.com>
568 Patch by Alberto Garcia (agarcia@igalia.com)
570 * src/hildon-date-button.c,
571 (hildon_date_button_class_init),
572 (hildon_date_button_init): Removed the construct property handling
573 and created a default selector in the init method.
574 * src/hildon-picker-button.c,
575 (hildon_picker_button_class_init): Removed the construct flag of the
578 2009-03-18 Alberto Garcia <agarcia@igalia.com>
580 * src/hildon-main.c (hildon_init):
581 Don't allow hildon_init() to be called more than once.
583 Fixes: NB#106607 (hildon_init should issue error message upon
586 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
588 * examples/hildon-pannable-area-touch-list-example.c
589 * examples/hildon-pannagle-area-touch-grid-example.c
590 * examples/hildon-edit-toolbar-example.c
591 * examples/hildon-touch-selector-multi-cells-example.c
592 Removed the call to gtk_rc_parse_string, as it is not required since
595 2009-03-17 Alejandro G. Castro <alex@igalia.com>
597 * src/hildon-pannable-area.c,
598 (hildon_pannable_area_class_init): Modified the default panning
599 threshold of the widget to 6px.
601 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
602 than the threshold value ) within the button is not sending the
605 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
607 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
608 for the treeview in the new column. This way, the touch list will never
611 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
612 be selected manually for the HW keys to work)
614 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
616 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
617 comparison instead of using strcmp(). Fixes a compiler warning as well.
619 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
621 * doc/hildon-docs.sgml: Do not set the library version in the
622 document title, use the releaseinfo tag for that purpose instead.
624 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
627 Do not jump to the first item if the text in the entry is removed.
629 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
634 * configure.ac: Bump version.
635 * debian/changelog: Updates.
637 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
639 * src/hildon-entry.c (hildon_entry_refresh_contents):
640 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
641 Use "ReversedSecondaryTextColor" for the placeholder text.
643 2009-03-12 Alberto Garcia <agarcia@igalia.com>
645 * src/hildon-text-view.c: Fix compilation warning.
647 2009-03-12 Alberto Garcia <agarcia@igalia.com>
649 * src/hildon-button.c (hildon_button_class_init): Don't make
650 "title" and "value" construction properties, to prevent them from
651 overwriting labels set from derived classes.
653 * src/hildon-picker-button.c
654 (hildon_picker_button_set_selector): Allow setting a NULL selector.
655 (hildon_picker_button_class_init): Make touch-selector a
656 construction property.
658 * src/hildon-date-button.c (hildon_date_button_class_init)
659 (+hildon_date_button_constructed): Add a default date selector if
662 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
664 * src/hildon-touch-selector.c: Small documentation fixes.
666 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
668 Based on a patch by Daniel Borgmann (danielb@openismus.com)
670 * src/hildon-entry.c (hildon_entry_refresh_contents),
671 (hildon_entry_get_text), (hildon_entry_init): Do not use the
672 widget name, set the logical color directly instead and a boolean
673 showing_placeholder instead.
674 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
675 use the widget name here either.
677 Fixes: NB#105678 (HildonTextView should use logical colours
678 instead of setting widget name)
680 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
682 Patch by Daniel Elster (danielk@openismus.com)
684 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
685 Add user_data parameter.
686 (hildon_touch_selector_set_print_func_full): New function akin
687 hildon_touch_selector_set_print_func() but with support for user
688 data and a destroy callback.
689 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
690 to clean up the print function user data.
691 (hildon_touch_selector_class_init): Install dispose function.
692 (HildonTouchSelectorPrivate::print_user_data),
693 (HildonTouchSelectorPrivate::print_destroy_func): New private
695 (hildon_touch_selector_init): Initialize new private members.
696 (hildon_touch_selector_get_current_text): Pass along user data
697 to the print function.
698 (_default_print_func): Add dummy user_data to parameter list.
699 * hildon-date-selector.c (_custom_print_func): ditto,
700 * hildon-time-selector.c (_custom_print_func): ditto,
701 * hildon-touch-selector-entry.c
702 (hildon_touch_selector_entry_print_func): ditto.
704 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
706 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
708 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
710 2009-03-12 Alejandro G. Castro <alex@igalia.com>
712 * src/hildon-pannable-area.c,
713 (hildon_pannable_area_init),
714 (hildon_pannable_area_button_press_cb),
715 (hildon_pannable_area_motion_notify_cb): We have added code to
716 handle the leave and enter events when using the motion events.
718 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
720 2009-03-11 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-date-button.c (hildon_date_button_get_date)
723 (hildon_date_button_set_date): Make sure that the button has a
726 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
728 2009-03-11 Alejandro G. Castro <alex@igalia.com>
730 * src/hildon-pannable-area.c,
731 (hildon_pannable_area_class_init),
732 (hildon_pannable_area_calculate_velocity): Modify the use of the
733 force and adapt the value.
735 2009-03-10 Alberto Garcia <agarcia@igalia.com>
737 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
738 (hildon_app_menu_class_init): Hide the menu if it receives a
739 delete-event, but don't destroy it
741 Fixes: NB#104485 (Not able to address the call when application
742 menu is opened at background)
744 2009-03-10 Alberto Garcia <agarcia@igalia.com>
746 * src/hildon-app-menu.c
747 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
748 Remove the "external-border" style property, let the menu take its
749 natural size (or the one set by the window manager)
750 (hildon_app_menu_repack_items):
751 Don't reshow the menu, avoid flickers.
753 Partially fixes NB#94957 (Smoothly opened application menu)
755 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
760 * configure.ac: Bump version.
761 * debian/changelog: Updates.
763 2009-03-10 Alejandro G. Castro <alex@igalia.com>
765 * src/hildon-pannable-area.c,
766 (hildon_pannable_area_motion_notify_cb): We control that the
767 direction error margin is used just in case the movement is
768 allowed in the other direction.
770 Fixes: NB#105012 (buttons inside a pannable area not getting
771 release event when dragging/releasing)
773 2009-03-10 Alejandro G. Castro <alex@igalia.com>
775 * src/hildon-pannable-area.c,
776 (hildon_pannable_area_class_init),
777 (hildon_pannable_area_get_property),
778 (hildon_pannable_area_set_property),
779 (hildon_pannable_area_initial_effect),
780 (hildon_pannable_axis_scroll),
781 (hildon_pannable_area_button_release_cb): Reviewed the
782 overshooting effect, now it has its own max
783 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
786 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
791 * configure.ac: Bump version.
792 * debian/changelog: Updates.
794 2009-03-09 Alejandro G. Castro <alex@igalia.com>
796 * src/hildon-pannable-area.c,
797 (hildon_pannable_area_class_init): Changed the max speed, now
798 users can launch the widget very fast. Reduced the default force,
799 that way it is easier to control the launch speed.
801 2009-03-09 Alejandro G. Castro <alex@igalia.com>
803 * src/hildon-pannable-area.c,
804 (hildon_pannable_area_button_release_cb): Removed this check
805 because it causes problems when the device is overloaded.
807 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
809 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
810 add a current_text field to store the text entered in the
811 touch selector entry.
812 (_clean_current_selection): clean up the current text as well.
813 (_save_current_selection), (_restore_current_selection):
814 Save/restore the text in the entry if the selector is a
815 HildonTouchSelectorEntry.
817 Fixes: NB#102541 (value entered in the touch selector entry is not
818 shown when opened for second time)
820 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
822 * doc/hildon-sections.txt:
823 * src/hildon-touch-selector-entry.c
824 (+hildon_touch_selector_entry_get_entry):
825 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
827 Fixes: NB#104815 (I need accessor to the entry inside
828 HildonTouchSelectorEntry)
830 2009-03-06 Alberto Garcia <agarcia@igalia.com>
832 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
833 (hildon_app_menu_class_init):
834 New "filter-vertical-spacing" style property.
836 2009-03-06 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-find-toolbar.c
839 (hildon_find_toolbar_emit_close)
840 (hildon_find_toolbar_emit_invalid_input)
841 (hildon_find_toolbar_entry_activate):
842 Use g_signal_emit() instead of g_signal_emit_by_name()
844 2009-03-06 Alberto Garcia <agarcia@igalia.com>
846 Patch by Mox Soini (ext-mox.soini@nokia.com)
848 * tests/TEST-CASES.txt
849 * tests/check-hildon-banner.c
850 * tests/check-hildon-note.c
851 * src/hildon-banner.c
852 * src/hildon-code-dialog.c
853 * src/hildon-date-editor.c (real_set_calendar_icon_state)
854 * src/hildon-time-editor.c
855 * examples/hildon-lookup-example.c (main):
856 Replace obsolete icon names with new ones.
858 * src/hildon-find-toolbar-private.h:
859 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
860 (-hildon_find_toolbar_emit_search):
861 Remove find button and change icon of close button.
863 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
865 2009-03-05 Alberto Garcia <agarcia@igalia.com>
867 * src/hildon-time-button.c (hildon_time_button_new_step):
868 Use the "touch-selector" property to set the selector directly
869 when creating the object.
871 2009-03-05 Alejandro G. Castro <alex@igalia.com>
873 Added a new example application that allows tuning the pannable
874 area and replaced defines with properties in order to simplify the
875 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
876 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
877 PROP_DIRECTION_ERROR_MARGIN.
879 * examples/hildon-pannable-area-tuning-example.c: New example
881 * src/hildon-pannable-area.c,
882 (hildon_pannable_area_class_init),
883 (hildon_pannable_area_init),
884 (hildon_pannable_area_get_property),
885 (hildon_pannable_area_set_property),
886 (hildon_pannable_area_launch_fade_timeout),
887 (hildon_pannable_area_adjust_value_changed),
888 (hildon_pannable_axis_scroll),
889 (hildon_pannable_area_motion_notify_cb),
890 (hildon_pannable_area_scroll_cb),
891 (hildon_pannable_area_button_release_cb): We have converted some
892 of the defines that control the widget to properties to simplify
895 2009-03-05 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-app-menu.c (hildon_app_menu_map)
898 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
899 so it's closed if a new window appears.
901 Fixes: NB#104485 (Not able to address the call when application
902 menu is opened at background)
904 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
906 * src/hildon-color-button.c (hildon_color_button_get_property):Add
907 missing 'break' statement in in 'case' construct to avoid
910 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
912 * src/hildon-touch-selector-entry.c
913 (hildon_touch_selector_entry_get_property),
914 (hildon_touch_selector_entry_set_property): Add missing 'break'
915 statements in in 'case' constructs to avoid incorrect warnings.
917 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
919 * src/hildon-time-editor.c
920 (hildon_time_editor_get_time_separators): Do not crash if
921 the first label is NULL.
923 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-date-selector.c (_month_days): Check for month to be
926 strictly less than 12, since otherwise we may overrun the array.
928 2009-03-04 Alberto Garcia <agarcia@igalia.com>
930 * src/hildon-date-button.c (+hildon_date_button_new_full)
931 (hildon_date_button_new, hildon_date_button_new_with_year_range)
932 (hildon_date_button_init): Set the date selector using a
933 construction property, to make it happen after HildonButton's
934 "value" property is set.
936 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
937 current date by default)
939 2009-03-04 Alberto Garcia <agarcia@igalia.com>
941 * doc/hildon-sections.txt
942 * src/hildon-program.c
943 * src/hildon-stackable-window.c
944 * src/hildon-window.c:
945 Documentation updates
947 2009-03-04 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-window-stack.c (hildon_window_stack_get_default)
950 (hildon_window_stack_new, +hildon_window_stack_set_property)
951 (+hildon_window_stack_get_property)
952 (hildon_window_stack_class_init)
953 (+hildon_window_stack_set_window_group)
954 (+hildon_window_stack_get_window_group):
955 Make the window group a construction property.
957 2009-03-04 Alberto Garcia <agarcia@igalia.com>
959 * doc/hildon-sections.txt
960 * src/hildon-stackable-window-private.h
961 * src/hildon-stackable-window.h
962 * src/hildon-stackable-window.c
963 (-hildon_stackable_window_set_app_menu)
964 (-hildon_stackable_window_get_app_menu)
965 (-hildon_stackable_window_toggle_menu)
966 (-hildon_stackable_window_finalize)
967 (hildon_stackable_window_class_init)
968 (hildon_stackable_window_init)
969 * src/hildon-window-private.h
970 * src/hildon-window.h
971 * src/hildon-window.c (hildon_window_init)
972 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
973 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
974 (hildon_window_get_main_menu, hildon_window_set_main_menu)
975 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
976 Moved all HildonAppMenu code to HildonWindow. The menu does not
977 require a HildonStackableWindow anymore.
979 * src/hildon-app-menu.c
980 * src/hildon-program.c
981 * examples/hildon-app-menu-example.c (main):
982 Update examples and documentation to reflect HildonAppMenu
985 2009-03-04 Alberto Garcia <agarcia@igalia.com>
987 * src/hildon-remote-texture.c
988 * src/hildon-animation-actor.c:
989 Don't include unused private headers.
991 2009-03-04 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-program-private.h
994 * src/hildon-program.c
995 (hildon_program_set_common_menu)
996 (hildon_program_get_common_menu)
997 (hildon_program_set_common_app_menu)
998 (hildon_program_get_common_app_menu):
999 Change common menu pointers from GtkWidget* to GtkMenu* and
1000 HildonAppMenu* to avoid unnecessary casts.
1002 2009-03-03 Alberto Garcia <agarcia@igalia.com>
1004 * src/hildon-window.c (hildon_window_set_main_menu):
1005 Removed incorrect 'Since:' tag
1007 2009-03-03 Alejandro G. Castro <alex@igalia.com>
1009 * src/hildon-pannable-area.c,
1010 (hildon_pannable_area_calculate_velocity): We use now the
1011 RATIO_TOLERANCE here to check the distance, fixed typo in the
1013 (hildon_pannable_area_motion_notify_cb): We have to set the type
1014 and time even if we are not sending the motion.
1016 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1018 * doc/hildon-sections.txt
1019 * src/hildon-app-menu.h
1020 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1021 (+hildon_app_menu_get_filters): New methods to get the contents of
1024 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1027 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1029 * src/hildon-app-menu.c (hildon_app_menu_popup):
1032 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1034 * src/hildon-window.h
1035 * src/hildon-window.c (+hildon_window_get_main_menu)
1036 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1037 and deprecated hildon_window_get_menu().
1039 * src/hildon-stackable-window.h
1040 * src/hildon-stackable-window.c
1041 (+hildon_stackable_window_set_app_menu)
1042 (+hildon_stackable_window_get_app_menu)
1043 (hildon_stackable_window_set_main_menu): Created
1044 hildon_stackable_window_{get,set}_app_menu() and deprecated
1045 hildon_stackable_window_set_main_menu().
1047 * doc/hildon-sections.txt
1048 * examples/hildon-app-menu-example.c (main)
1049 * src/hildon-app-menu.c
1050 * src/hildon-program.c:
1051 Updated examples and documentation.
1053 Fixes: NB#103758 (No way to obtain a menu from a
1054 HildonStackableWindow)
1056 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1061 * configure.ac: Bump version.
1062 * debian/changelog: Updates.
1064 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1066 * examples/hildon-remote-texture-example.c: Include
1067 hildon-remote-texture.h explicitely.
1068 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1069 applications not defining _XOPEN_SOURCE which don't require this header.
1071 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1073 * doc/hildon-sections.txt
1074 * src/hildon-app-menu.h
1075 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1076 New function to pop up a HildonAppMenu
1078 * src/hildon-stackable-window.c
1079 (hildon_stackable_window_toggle_menu):
1080 Use hildon_app_menu_popup() to show the menu.
1082 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1084 * src/hildon-app-menu.c (hildon_app_menu_show)
1085 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1086 menu if there's another window between it and its parent window.
1088 Fixes: NB#100468 (Application menu window is launched even when a
1089 new secondary-window/dialog is pending to be shown/realized)
1091 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1093 * src/hildon-window-stack.c (hildon_window_stack_push)
1094 (hildon_window_stack_pop_and_push):
1095 Don't forget to push/pop the first window.
1096 Reverse the window list before calling _push_list()
1098 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1100 * src/hildon-picker-button.h
1101 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1102 Remove "value_changed" slot to avoid ABI breakage
1104 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1106 * src/hildon-pannable-area.c,
1107 (hildon_pannable_area_realize),
1108 (hildon_pannable_area_unrealize),
1109 (hildon_pannable_draw_vscroll),
1110 (hildon_pannable_draw_hscroll): Changed the method to handle the
1111 GC used to draw the transparent scrollbar, this way we avoid
1112 creating the GC all the time when drawing the scrollbars.
1114 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1116 * src/hildon-pannable-area.c,
1117 (hildon_pannable_area_init),
1118 (hildon_pannable_area_remove): Removed some unnecessary casts.
1119 (hildon_pannable_area_dispose): Disconnected some signals before
1120 releasing the adjustments.
1122 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1124 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1125 Make sure that all widgets contained in the toolbar are shown.
1127 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1129 * doc/hildon-sections.txt
1130 * src/hildon-picker-button.h
1131 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1132 (_selection_changed, hildon_picker_button_on_dialog_response)
1133 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1134 New hildon_picker_button_value_changed() method.
1137 * src/hildon-picker-button-private.h
1138 * src/hildon-picker-button.c (hildon_picker_button_init)
1139 (+hildon_picker_button_disable_value_changed): Add protected
1140 function for disabling the "value-changed" signal.
1142 * src/hildon-date-button.c (hildon_date_button_set_date):
1143 Don't emit "value-changed" for each one of the three columns.
1145 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1146 before actual change of values)
1148 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1150 * src/hildon-pannable-area.c,
1151 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1152 for the treeview overshooting.
1154 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1156 * src/hildon-banner.c (+hildon_banner_bind_style):
1157 Renamed from hildon_banner_bind_label_style(), now naming the
1158 banner itself as well.
1159 (hildon_banner_show_information),
1160 (hildon_banner_show_information_with_markup),
1161 (hildon_banner_show_animation), (hildon_banner_show_progress):
1162 Name the widgets and labels, based on their type.
1164 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1167 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1169 * src/hildon-note.c (hildon_note_set_property): call
1170 hildon_note_rename() on HildonNote:note-type set.
1171 (hildon_note_rename): Name the note and its label, based on the
1172 HildonNote:note-type property.
1174 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1177 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1179 * src/hildon-pannable-area.c,
1180 (hildon_pannable_area_class_init),
1181 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1182 panning parameters, increased SPS and deceleration factor. Added
1183 also a margin to control fake directions.
1185 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1187 Patch by Sven Herzberg (sven@imendio.com)
1189 * configure.ac: Add missing AM_PROG_CC_C_0
1190 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1192 See NB#101420 (Update unit tests and fix make check)
1194 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1196 This patch was applied before but reverted because it caused
1197 problems, we have changed the main condition and tested the
1198 regressions we detected before and they work ok. We have done a
1199 complete review of the topmost algorithm in order to get a more
1202 * src/hildon-pannable-area.c,
1203 (hildon_pannable_area_get_topmost): Added a new parameter to
1204 filter the the windows that do not include those events.
1205 (hildon_pannable_area_button_press_cb),
1206 (hildon_pannable_area_button_release_cb),
1207 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1208 topmost function, we have added the new parameter.
1210 Fixes: NB#97458 (Pannable area prevents propagation of button
1213 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1215 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1216 if all columns in the selector have an item selected.
1217 (_on_dialog_response): Stop "response" signal emission if there is
1218 any selector column without selected items.
1220 Fixes: NB#101889 (Picker dialog should not close when nothing is
1221 selected in multiple selection list)
1223 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1225 * src/hildon-font-selection-dialog.c
1226 (hildon_font_selection_dialog_class_init),
1227 (hildon_font_selection_dialog_init): Remove the preview
1228 button and dialog, since previewing with default theming is likely
1229 to be overcomplicated. The :preview property has now no effect.
1230 Update documentation blurbs to inform about this.
1232 Fixes: NB#92297 (Preview content is not clearly visible for
1233 default colour text)
1235 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1237 Reviewed the geometry that handles the children size and
1238 scrollbar, now it tries a size and reviews the results depending
1239 on the scrollbars visibility.
1241 * src/hildon-pannable-area.c,
1242 (hildon_pannable_area_realize): Fixed a typo.
1243 (hildon_pannable_area_child_allocate_calculate): Added this
1244 function to calculate the child allocation.
1245 (hildon_pannable_area_size_allocate): Reviewed the allocation
1247 (hildon_pannable_area_check_scrollbars),
1248 (hildon_pannable_area_refresh): Refactored refresh function, this
1249 way we can call the code handling the scrollbars without causing a
1250 size_request, it is interesting in the allocate.
1251 (hildon_pannable_area_init): Replace the callbacks of the
1252 value_changed and changed signals to propertly deal with the
1254 (hildon_pannable_area_grab_notify),
1255 (hildon_pannable_area_initial_effect),
1256 (hildon_pannable_area_launch_fade_timeout),
1257 (hildon_pannable_area_adjust_changed),
1258 (hildon_pannable_area_adjust_value_changed),
1259 (hildon_pannable_area_redraw),
1260 (hildon_pannable_area_button_press_cb),
1261 (hildon_pannable_area_button_release_cb),
1262 (hildon_pannable_area_scroll_cb),
1263 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1264 code and use the new functions adjust_changed and
1265 adjust_value_changed.
1267 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1268 Contact editor dialog)
1270 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1275 * configure.ac: Bump version.
1276 * debian/changelog: Updates.
1278 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1280 * src/hildon-pannable-area.c,
1281 (hildon_pannable_area_get_topmost),
1282 (hildon_pannable_area_button_press_cb),
1283 (hildon_pannable_area_button_release_cb),
1284 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1285 topmost function adding the event mask. We have to try a
1286 differente approach because it is still causing problems (NB#9745,
1289 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1291 * src/hildon-banner.c:
1292 Update the maximum width of timed banners.
1293 (force_to_wrap_truncated): Enforce the maximum text width if the
1296 Fixes: NB#102413 (The text margins (wrapping) in information
1297 banner should be HILDON_MARGIN_TRIPLE)
1299 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1301 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1303 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1304 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1305 bound when calculating the scroll indicator position.
1307 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1308 treat ->lower correctly)
1310 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1312 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1313 expose event handling, since it is not necessary to draw the focus
1316 Fixes: NB#102467 (Do not show highlight on the text in
1319 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1321 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1322 full height of the toolbar for the button and the label.
1324 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1326 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1327 padding before the label and after the button.
1329 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1333 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1334 Add a GtkVSeparator between the button and the back arrow.
1335 Let the button have automatic size.
1336 Set a name to the widget for theming handling.
1338 Fixes: NB#101793 (Make edit toolbar the same height as window
1339 title bar (use title area theming))
1341 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1343 * src/hildon-helper.c (attach_new_color_element): Fix memory
1346 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1348 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1350 * examples/hildon-button-example.c (common_buttons_window): Don't
1353 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1356 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1358 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-gtk.c: Check that the window is realized.
1362 Fixes: NB#102225 (Crash setting the progress indicator to a non
1365 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1368 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1369 instead of modifying the one in the widget style.
1371 Fixes: NB#101043 (Second row of all the command button are
1372 displayed in transparent mode.)
1374 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1376 * src/hildon-date-button.c
1377 * src/hildon-time-button.c: Add gettext macros
1379 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1381 * src/hildon-date-button.c (hildon_date_button_new):
1382 * src/hildon-time-button.c (hildon_time_button_new_step):
1383 Use new logical strings to set the button default title.
1385 Fixes: NB#99915 (Date and Time options are not localised in Date
1388 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1390 * src/hildon-pannable-area.c
1391 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1392 the PANNING_THRESHOLD.
1394 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1396 * src/hildon-pannable-area.c,
1397 (hildon_pannable_area_class_init): Increased the maximum speed.
1398 (hildon_pannable_area_get_property),
1399 (hildon_pannable_area_set_property),
1400 (hildon_pannable_area_timeout): Added a new low friction mode, it
1401 allows the user avoid friction when launching the widget fast
1402 enough. It is interesting to traverse long lists.
1404 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1406 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1407 (+hildon_stackable_window_delete_event): Ignore delete events if
1408 the window is not the topmost one.
1410 Fixes: NB#101698 (Back button long press and delete-event handling)
1412 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1414 * src/hildon-pannable-area.c,
1415 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1416 gtk-dnd-drag-threshold, it was too big. We have defined our own
1417 dnd define and set a smaller value: PANNIG_THRESHOLD.
1419 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1421 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1422 user-defined icons, use always the default one.
1424 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1426 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1428 This patch was applied before but reverted because it caused
1429 problems, we have changed the main condition and tested the
1430 regressions we detected before and they work ok.
1432 * src/hildon-pannable-area.c,
1433 (hildon_pannable_area_get_topmost): Added a new parameter to
1434 filter the the windows that do not include those events. Added
1435 also a condition when finding the window to filter windows that do
1436 not ask for those events.
1437 (hildon_pannable_area_button_press_cb),
1438 (hildon_pannable_area_button_release_cb),
1439 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1440 topmost function, we have added the new parameter.
1442 Fixes: NB#97458 (Pannable area prevents propagation of button
1445 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1447 * tests/check-hildon-color-button.c (START_TEST): do not leak
1450 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1452 * src/hildon-font-selection-dialog.c
1453 (hildon_font_selection_dialog_get_preview_text): Return NULL
1454 instead of FALSE on the g_return_val_if_fail().
1456 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1458 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1459 * src/hildon-date-selector.c
1460 (hildon_date_selector_select_current_date):
1461 Do not compare unsigned integers to be greater than or equal 0,
1462 because it's always TRUE.
1464 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1467 (hildon_date_selector_constructor): Do not select the current
1468 date until we are handle the "changed" signal, to avoid having bogus
1469 elements in the days model.
1471 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1473 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1474 for num_days, since _month_days() can return a negative value.
1476 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1478 * src/hildon-caption.c (hildon_caption_size_allocate):
1479 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1480 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1482 Initialize allocation variables to 0, to avoid eventually using
1483 unitialized variables.
1485 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1487 * src/hildon-bread-crumb-trail.c
1488 (hildon_bread_crumb_trail_size_allocate):
1489 * src/hildon-calendar.c (hildon_calendar_set_background):
1490 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1491 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1492 * src/hildon-seekbar.c (hildon_seekbar_init):
1493 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1494 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1495 * src/hildon-touch-selector-entry.c
1496 (hildon_touch_selector_get_text_from_model):
1497 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1498 * src/hildon-window.c (hildon_window_finalize):
1500 Remove many unused variables.
1502 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1504 * src/hildon-seekbar.c: (hildon_seekbar_init),
1505 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1507 Remove unnecessary g_assert() calls.
1509 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1511 * src/hildon-caption.c: (hildon_caption_expose),
1512 (hildon_caption_set_property), (hildon_caption_init),
1513 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1514 (hildon_caption_size_request), (hildon_caption_size_allocate),
1515 (hildon_caption_forall), (hildon_caption_set_separator),
1516 (hildon_caption_activate), (hildon_caption_set_child_expand),
1517 (hildon_caption_set_label_text),
1518 (hildon_caption_get_label_alignment):
1520 Remove unnecessary g_assert() calls.
1522 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1524 * src/hildon-banner.c
1525 (hildon_banner_map, hildon_banner_init): Make banner temporary
1526 before mapping it to avoid closing other temporary windows, but
1527 make it non-temporary afterwards to avoid being closed by other
1528 non-temporary windows.
1529 (-hildon_banner_client_event, hildon_banner_init):
1530 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1532 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1535 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1537 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1540 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1542 * src/hildon-remote-texture.c
1543 * src/hildon-remote-texture.h
1544 * src/hildon-remote-texture-private.h
1545 * examples/hildon-remote-texture-example.c:
1546 Updates/fixes to remote-texture and its example.
1548 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1550 Patch by Mox Soini (ext-mox.soini@nokia.com)
1552 * src/hildon-code-dialog.c: Update logical id.
1553 * src/hildon-set-password-dialog.c: Update logical id.
1555 Fixes: NB#100646 (Logical strings is shown for ok in set
1556 password,Password needed dialogs)
1558 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
1565 Added remote texture widget (for Clutter shared memory textures)
1567 * examples/hildon-remote-texture-example.c
1568 * examples/Makefile.am
1569 Added example file for remote texture usage
1571 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1573 * configure.ac: post release version bump.
1574 * debian/changelog: version bump.
1576 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1581 * configure.ac: Bump version.
1582 * debian/changelog: Updates.
1584 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1586 * src/hildon-date-selector.c (hildon_date_selector_init)
1587 (hildon_date_selector_constructor): Don't connect to the "changed"
1588 signal until the selector is completely constructed.
1590 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1592 * src/hildon-touch-selector.c: (_create_new_column),
1593 (hildon_touch_selector_append_column),
1594 (hildon_touch_selector_set_column_selection_mode),
1595 (hildon_touch_selector_set_active),
1596 (hildon_touch_selector_select_iter):
1597 Emit the HildonTouchSelector::changed signal every time selection
1598 is changed in any of the methods above. This behavior was already
1599 documented but not fully functional.
1601 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1602 selection is programmatically changed)
1604 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1606 * doc/hildon-sections.txt: Remove obsolete icon
1607 sizes from here as well.
1609 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1611 * examples/hildon-stackable-window-example.c (add_window): Remove
1614 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1616 * src/hildon-app-menu.c
1617 (hildon_app_menu_show): Check whether the parent window of a menu
1618 is topmost before popping it up.
1620 Fixes: NB#100468 (Application menu window is launched even when a
1621 new secondary-window/dialog is pending to be shown/realized.)
1623 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1625 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1628 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1630 Patch by Mox Soini (ext-mox.soini@nokia.com)
1632 * src/hildon-banner.c: (hildon_banner_show_animation):
1633 use stylus size instead of obsolete note size.
1634 * src/hildon-defines.h: Update icon sizes.
1636 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1638 * src/hildon-touch-selector-entry.c:
1639 (hildon_touch_selector_entry_init): Disable unsupported
1641 (hildon_touch_selector_entry_get_text_column): Emit a warning
1642 if an unsupported input modes is used and explicitile state
1643 these modes in the documentation.
1645 Fixes: NB#99802 (Hildon touch selector entry not working properly
1646 for some of the input modes)
1648 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1650 * src/hildon-pannable-area.c,
1651 (hildon_pannable_area_init): Added the changed signal handlers of
1654 Fixes: NB#100320 (HildonPannableArea does not listen to
1655 GtkAdjustment "change" signals)
1657 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1659 * doc/hildon-sections.txt
1660 * src/hildon-window-private.h
1661 * src/hildon-window.h
1662 * src/hildon-window.c (hildon_window_init)
1663 (hildon_window_realize, hildon_window_unrealize)
1664 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1665 (hildon_window_size_request, hildon_window_size_allocate)
1666 (hildon_window_forall, hildon_window_show_all)
1667 (hildon_window_destroy, +paint_edit_toolbar)
1668 (+hildon_window_set_edit_toolbar):
1669 New hildon_window_set_edit_toolbar() method, to add a
1670 HildonEditToolbar to a window without having to pack it manually.
1672 Reorganize hildon_window_size_allocate()
1674 * src/hildon-edit-toolbar.c: Update documentation.
1676 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1677 example to use the new API.
1679 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1681 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1684 Remove from stack before calling parent's hide.
1686 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1689 window is removed from the middle of the stack, update the
1690 transiency of the previous one.
1692 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1695 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1697 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1698 block/unblock the signal handler if it's not actually being used.
1699 Fixes some critical warnings.
1701 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1703 Based on a patch by Iván Gómez (igomez@igalia.com)
1705 * src/hildon-banner.c
1709 * src/hildon-pannable-area.c
1710 * src/hildon-picker-dialog.c
1711 * src/hildon-wizard-dialog.h
1712 * src/hildon-wizard-dialog.c: Documentation updates.
1714 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1715 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1717 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1719 * configure.ac: post release version bump.
1720 * debian/changelog: version bump.
1722 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1727 * configure.ac: Bump version.
1728 * debian/changelog: Updates.
1730 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1732 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1733 a stock icon nor change the relief of the back arrow.
1735 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1736 graphics from theme)
1738 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1740 * src/hildon-button.c (hildon_button_set_alignment): Use
1741 priv->alignment if the button has no child yet.
1743 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-button.c: (hildon_button_init): Set the
1746 button style during initialization to give it the proper
1749 Fixes: NB#99713 (HildonButton value label color is wrong)
1751 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1753 * src/hildon-touch-selector.c: Document
1754 hildon_touch_selector_center_on_selected()
1756 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1758 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1759 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1760 all menu items, but not the menu itself.
1761 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1762 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1763 items after adding them to the menu so keyboard accelerators work.
1764 (hildon_app_menu_show): Don't show the menu if it contains items
1765 but none of them are visible.
1767 * examples/hildon-app-menu-example.c (create_menu): Use
1768 gtk_widget_show_all() to show all menu items.
1770 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1772 * src/hildon-picker-dialog.c:
1773 (-_update_title_on_selector_changed_cb),
1774 (-_dialog_update_title): Removed.
1775 (_select_on_selector_changed_cb), (_on_dialog_response),
1776 (on_selector_columns_changed): Do not update the dialog title.
1777 (setup_interaction_mode): Do not connect to
1778 HildonTouchSelector::changed signal if there's a "done" button, as
1779 the dialog title doesn't need to be updated.
1781 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1784 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1786 Patch by Kristian Rietveld (kris@imendio.com)
1788 * src/hildon-touch-selector.c: (_create_new_column): Use new
1789 GtkTreeView::hildon-row-tapped signal to react to user interactions
1790 instead of ::changed.
1792 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1793 with some dynamic tree model)
1795 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1797 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1798 (+screen_size_changed, +label_size_request)
1799 (hildon_note_class_init): Make the Hildon information note have a
1800 minimum height, and make its text hvae a maximum width.
1802 Fixes: NB#98614 (Hildon information note (background) should have
1803 minimum height and maximum text width)
1805 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1807 * src/hildon-banner.h
1808 * src/hildon-banner.c (hildon_banner_show_information)
1809 (hildon_banner_show_informationf)
1810 (hildon_banner_show_information_with_markup): Update documentation
1811 to reflect that the icon_name parameter is not used anymore.
1812 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1813 Remove all code from these functions and mark them as deprecated.
1814 (hildon_banner_show_progress): Mark as deprecated.
1816 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1818 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1820 * src/hildon-pannable-area.c,
1821 (hildon_pannable_area_class_init),
1822 (tranparency_color),
1823 (hildon_pannable_draw_vscroll),
1824 (hildon_pannable_draw_hscroll),
1825 (hildon_pannable_area_expose_event): Added a new way to render the
1826 scrollbars of the pannable area avoiding using cairo at all. This
1827 way we improve the performance of the pannable area rendering. The
1828 cairo rendering procedure is still in the code, we can control
1829 which one to use changing the value of the define
1830 USE_CAIRO_SCROLLBARS.
1832 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1834 * configure.ac: post release version bump.
1835 * debian/changelog: version bump.
1837 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1842 * configure.ac: Bump version.
1843 * debian/changelog: Updates.
1845 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1848 banners instead of destroying them when they receive a button
1851 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1853 Reverted commit 34028, it was causing regressions, probably the
1854 topmost condition is not correct, we have to check it in more
1855 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1856 propagation of button press events)
1858 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1860 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1861 that the selection is not empty before attempting to retrieve the
1862 current ampm selection.
1864 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1866 * src/hildon-picker-button.c:
1867 (hildon_picker_button_on_dialog_response): Directly update the
1868 button contents when required instead of calling _selection_changed.
1870 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1872 * src/hildon-program.c (hildon_program_update_top_most): Update
1873 'is-topmost' property also when wm_hints is not set.
1875 Fixes: NB#98383 (is-topmost signal is not emitted when task
1876 switcher is clicked.)
1878 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1880 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1884 * src/hildon-animation-actor.c,
1885 * src/hildon-animation-actor.h: Added the animation actor class,
1886 this widget represents an animation actor for WM-assisted
1887 animation effects in the Hildon framework.
1889 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1891 * src/hildon-window-stack-private.h
1892 * src/hildon-window-stack.c
1893 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1894 Avoid calling gtk_widget_show() again indirectly from
1895 hildon_stackable_window_show()
1897 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1899 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1902 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1904 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1905 (hildon_time_selector_init): Move the construction of the hours and
1906 ampm columns to the constructor to preserve the order the columns
1909 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-picker-dialog.c:
1912 (hildon_picker_dialog_class_init): Connect a realize method.
1913 (+hildon_picker_dialog_realize): Setup the interaction mode here
1915 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1916 yet, do it during the realize instead.
1917 (_on_dialog_response):
1918 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1919 if the widget is not realized, to avoid the dialog response before it
1922 Avoid premature responses in the HildonPickerDialog that can cause it
1923 to be hidden before it's even shown.
1925 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1927 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1928 (on_selector_columns_changed), (requires_done_button),
1929 (+prepare_action_area), (setup_interaction_mode),
1930 (_hildon_picker_dialog_set_selector):
1932 Split the interaction mode setup into preparation of the
1933 action area (prepare_action_area()) and the connection of
1934 the signals in setup_interaction_mode() and update the code to
1937 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1939 * src/hildon-pannable-area.c,
1940 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1941 per second to 15, we will check if this is ok regarding
1944 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1946 * src/hildon-pannable-area.c,
1947 (hildon_pannable_axis_scroll): Avoid resize if we already have
1948 reached overshoot_max.
1950 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1952 * src/hildon-pannable-area.c,
1953 (hildon_pannable_area_init),
1954 (hildon_pannable_area_realize),
1955 (hildon_pannable_area_size_allocate),
1956 (hildon_pannable_area_map),
1957 (hildon_pannable_area_unmap),
1958 (hildon_pannable_draw_vscroll),
1959 (hildon_pannable_draw_hscroll),
1960 (hildon_pannable_area_expose_event),
1961 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1962 pannable are to avoid the expose events go to the window and
1963 redraw the window. We save this way that part of the stack and the
1964 paint_boxes. We had to change the positions of the elements when
1967 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1969 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1970 * src/hildon-color-chooser-dialog.c:
1971 (hildon_color_chooser_dialog_init):
1972 * src/hildon-font-selection-dialog.c:
1973 (hildon_font_selection_dialog_init),
1974 (hildon_font_selection_dialog_show_preview):
1975 * src/hildon-get-password-dialog.c:
1976 * src/hildon-login-dialog.c:
1977 * src/hildon-set-password-dialog.c:
1978 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1979 * src/hildon-time-picker.c: (hildon_time_picker_init):
1981 Remove obsolete logical string IDs and update to the appropriate ones.
1983 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1985 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1987 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1988 that happens if the window hasn't been realized yet.
1990 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1991 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1993 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1996 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1999 Fixes: NB#98537 (Device hangs in account settings dialog)
2001 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2003 * configure.ac: post release version bump.
2004 * debian/changelog: version bump
2006 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2011 * configure.ac: Bump version.
2012 * debian/changelog: Updates.
2014 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2016 Added a new function to the HildonTimeButton widget that allows to
2017 change the step of the minutes in the selector associated with the
2018 button: hildon_time_button_new_step
2020 * src/hildon-time-button.c,
2021 (hildon_time_button_init),
2022 (hildon_time_button_new),
2023 (hildon_time_button_new_step):
2024 * src/hildon-time-button.h: Added the new function and refactored
2026 * examples/hildon-time-button-example.c,
2027 (main): We have replaced the function without parameters with the
2028 function with the steps set to 5
2030 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2032 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2034 * src/hildon-time-selector.c,
2035 (hildon_time_selector_class_init),
2036 (hildon_time_selector_constructor),
2037 (hildon_time_selector_get_property),
2038 (hildon_time_selector_set_property),
2039 (_create_minutes_model),
2040 (hildon_time_selector_new_step),
2041 (hildon_time_selector_set_time),
2042 * src/hildon-time-selector.h: Added a new property to the
2043 HildonTimeSelector (minutes-step), we use that property to control
2044 the steps between the minutes in the list of the selector. We have
2045 added a new function to the API to create a widget changing the
2046 step: hildon_time_selector_new_step.
2048 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2050 * src/hildon-time-selector.c,
2051 (hildon_time_selector_class_init),
2052 (hildon_time_selector_constructor),
2053 (hildon_time_selector_init): Overrided the construct function when
2054 creating the time selector object. We have moved the minutes model
2055 handling code from the init to the new construction function:
2056 hildon_time_selector_constructor.
2058 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2060 * examples/hildon-date-button-example.c: (main): Use the new
2061 hildon_date_button_new_with_year_range() method in the example.
2062 * src/hildon-date-button.c:
2063 (+hildon_date_button_new_with_year_range): New public method
2064 to conveniently create a HildonDateButton with a custom year range
2065 in its HildonDateSelector.
2066 * src/hildon-date-button.h: Add the new public method definition.
2068 Fixes: NB#97908 (Not possible to change the year range in
2069 HildonDateSelector/HildonDateButton)
2071 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2073 * src/hildon-date-selector.c:
2074 (+hildon_date_selector_set_property),
2075 (+hildon_date_selector_get_property),
2076 (hildon_date_selector_class_init): Install new properties "min-year"
2077 and "max-year" to define boundaries for the year column.
2078 (_create_year_model): Use the boundary properties to populate the model.
2079 (+hildon_date_selector_new_with_year_range): New public method to
2080 create a HildonDateSelector with a user defined year range.
2081 (hildon_date_selector_select_current_date): Use the new boundaries to
2082 calculate the iterator of current year.
2083 * src/hildon-date-selector.h: Add the new public method definition.
2085 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2087 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2088 Install a constructor method.
2089 (+hildon_date_selector_construct_ui): construct the widget.
2090 (+hildon_date_selector_constructor): new constructor.
2091 (+hildon_date_selector_init): move out widget construction code to
2092 the new constructor.
2094 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2096 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2097 that there's actually a month or year selected before obtaining them.
2098 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2099 of the HildonTouchSelector::changed signal, as it was emitted on every
2100 single item selection.
2102 Fix some warnings and possible crashers due to the selection restoring.
2104 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2106 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2107 the signal handlers only after creating the dialog instead of on every
2110 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2112 * src/hildon-button.c (hildon_button_init)
2113 * src/hildon-check-button.c (hildon_check_button_init)
2114 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2115 focus when clicked by default.
2117 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2122 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2124 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2125 Alejandro G. Castro (alex@igalia.com)
2127 * src/hildon-picker-dialog.c:
2128 (hildon_picker_dialog_class_init): install new "center-on-show"
2130 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2131 (hildon_picker_dialog_set_property): add setter code for the new
2133 (hildon_picker_dialog_get_property): add getter code for the new
2135 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2136 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2139 Fixes: NB#92849 (Selected item is not always visible when
2140 HildonTouchSelector is shown)
2142 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2144 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2145 Alejandro G. Castro (alex@igalia.com)
2147 * src/hildon-touch-selector.c:
2148 (_create_new_column): Do not connect to the "realize" signal of the
2150 (hildon_touch_selector_append_column): center on the selected items
2151 when a new column is appended.
2152 (hildon_touch_selector_select_iter): Factor out the code to select a
2153 column to hildon_touch_selector_scroll_to().
2154 (+search_nearest_element): Method to retrieve the nearest selected
2155 element to the visible area of the pannable area in a column.
2156 (+on_realize_cb): scroll to the initially selected item.
2157 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2158 the pannable area is realized, otherwise delay this until it is.
2159 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2160 selected items of a given column.
2161 (+hildon_touch_selector_center_on_selected): Public method to center
2162 all columns on the nearest selected item.
2163 * src/hildon-touch-selector.h: Add definition for
2164 hildon_touch_selector_center_on_selected().
2166 Implement public API to ensure visibility of all selected items in
2167 a HildonTouchSelector.
2169 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2171 Fixed a problem in the fading when calling the scroll_to API, and
2172 improve scrollbar fading handling.
2174 * src/hildon-pannable-area.c,
2175 (hildon_pannable_area_grab_notify): avoid the timeout when the
2177 (hildon_pannable_area_button_press_cb),
2178 (hildon_pannable_area_motion_notify_cb): Code style changes.
2179 (hildon_pannable_area_button_release_cb): Review the conditions
2180 when releasing the mouse button to avoid unrequired fading
2182 (hildon_pannable_area_scroll_to): Do not calculate and set the
2183 velocity if the scroll is not required.
2185 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2188 Don't check whether the new selector is NULL: it cannot be.
2189 Hold a reference to the selector while doing the replacement.
2191 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2193 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2194 unnecessary size_request in a removed widget.
2196 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2199 an unnecessary reference tracking that was leaking.
2201 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2203 Added delayed motion notify event handling, this way we can
2204 discard redrawing if more than 25 events arrive per second.
2206 * src/hildon-pannable-area.c,
2207 (hildon_pannable_area_init): Initialized the new private atributes
2208 controlling this timeout
2209 (hildon_pannable_area_dispose): Remove the timeout that controls
2210 the motion notify events.
2211 (hildon_pannable_area_scroll): Added a condition to control the
2212 use of the acceleration.
2213 (hildon_pannable_area_motion_event_scroll_timeout),
2214 (hildon_pannable_area_motion_event_scroll): Added this two
2215 functions, they handle the motion notify events inside the
2217 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2218 to the scroll method with the new function.
2219 (hildon_pannable_area_button_release_cb): We have to remove the
2220 timeout handler and move to the last position if the last motion
2221 events were not handled.
2223 Fixes: NB#97028 (Pannable area updates on every motion event)
2225 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2227 * src/hildon-pannable-area.c,
2228 (hildon_pannable_area_get_topmost): Added a new parameter to
2229 filter the the windows that do not include those events. Added
2230 also a condition when finding the window to filter windows that do
2231 not ask for those events.
2232 (hildon_pannable_area_button_press_cb),
2233 (hildon_pannable_area_button_release_cb),
2234 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2235 topmost function, we have added the new parameter.
2237 Fixes: NB#97458 (Pannable area prevents propagation of button
2240 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2242 * src/hildon-pannable-area.c,
2243 (hildon_pannable_area_initial_effect): Added controls before
2244 launching the timeout and the idle functions.
2245 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2246 of the method, in some situations it can return with TRUE and 0 in
2248 (hildon_pannable_area_button_press_cb): We do not need to set
2249 DELAY for fading out here.
2251 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2253 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2255 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2256 post-cleaning if the selection is not NULL.
2258 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2260 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2261 all items before restoring the selection.
2263 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2265 * src/hildon-touch-selector.c:
2266 (+hildon_touch_selector_unselect_all):
2267 * src/hildon-touch-selector.h: New API to unselect all items in a
2268 column of the touch selector.
2270 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2272 * src/hildon-pannable-area.c,
2273 (hildon_pannable_area_redraw): Added a call to the refresh
2274 function inside the redraw because apparently in some cases the
2275 change in the adjustment does not imply a size allocate.
2277 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2278 despite the view not being scrollable)
2280 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2282 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2283 leak. Check for NULL before attempting to set the window title.
2285 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2287 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2288 whether to show or not the 'Done' button each time the dialog is
2289 shown, as it depends on the HildonTouchSelector selection mode.
2291 Fixes: NB#96226 (In multiple selection mode Done button is shown
2292 sometimes in listpicker)
2294 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2296 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2297 for the number of columns in the HildonTouchSelector more than once.
2299 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-touch-selector.c: Minor documentation fixes.
2303 * src/hildon-picker-dialog.c (+_dialog_update_title)
2304 (_select_on_selector_changed_cb)
2305 (_update_title_on_selector_changed_cb)
2306 (on_selector_columns_changed): Update dialog title when there's no
2307 'Done' button and also when the number of columns in the selector
2311 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2312 (+_selection_changed, hildon_picker_button_on_dialog_response)
2313 (hildon_picker_button_selector_selection_changed)
2314 (+hildon_picker_button_selector_columns_changed)
2315 (hildon_picker_button_set_selector): Update button value and emit
2316 'value-changed' when the number of columns in the selector
2320 Fixes: NB#96225 (Dialog titles are not shown according to the
2321 values selected in the list picker)
2323 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2325 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2326 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2327 New "arrow-width" and "arrow-height" style properties to set the
2328 size of the arrow button.
2329 Set name of arrow button ("hildon-edit-toolbar-arrow").
2331 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2332 graphics from theme)
2334 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2336 * src/hildon-picker-button.c:
2337 (hildon_picker_button_selector_selection_changed): Use
2338 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2339 the dialog is present.
2341 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2342 the selection is accepted in the dialog)
2344 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-color-chooser.h
2347 * src/hildon-color-chooser-dialog.h:
2348 Added G_BEGIN_DECLS and G_END_DECLS
2350 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2352 (_clean_current_selection): plug a leak in the list.
2354 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-picker-dialog.c:
2357 (+free_path_list): Method to free a GList of GtkTreePaths.
2358 (_clean_current_selection), (_save_current_selection),
2359 (_restore_current_selection): Save the current selection in
2360 as a list of lists, to support multiple selection properly.
2362 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2364 patch by Claudio Saavedra (csaavedra@igalia.com)
2366 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2367 Store the press position.
2368 (+hildon_text_view_button_release_event): If the release position is
2369 close enough to the press position, move the cursor here. Otherwise,
2371 (hildon_text_view_class_init): Override GtkTextView press, release, and
2372 motion event handlers, disabling this way text selection through
2373 pointer interaction, and allowing the container widget to handle the
2376 Fixes: NB#95828 (HildonTextView functionality)
2378 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2380 Based on a patch by Iván Gómez (igomez@igalia.com)
2382 * src/hildon-button.[ch]
2383 * src/hildon-calendar.c
2384 * src/hildon-check-button.c
2385 * src/hildon-date-editor.c
2386 * src/hildon-date-selector.c
2387 * src/hildon-picker-button.c
2388 * src/hildon-time-editor.c
2389 * src/hildon-time-selector.c
2390 * src/hildon-touch-selector.[ch]:
2391 Documentation updates
2393 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2395 * src/hildon-pannable-area.c,
2396 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2397 threshold, it was required due to X events handling.
2399 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2401 * src/hildon-pannable-area.c,
2402 (hildon_pannable_area_grab_notify),
2403 (hildon_pannable_area_initial_effect),
2404 (hildon_pannable_area_button_press_cb),
2405 (hildon_pannable_area_button_release_cb),
2406 (hildon_pannable_area_scroll_cb),
2407 (hildon_pannable_area_scroll_to): Review the timeout management of
2408 the scrollbar, the frecuency was incorrectly set.
2410 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2412 * src/hildon-picker-button.c:
2413 (+hildon_picker_button_on_dialog_response),
2414 (hildon_picker_button_clicked): Present the dialog instead of
2415 running it with gtk_dialog_run().
2417 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2420 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2423 (hildon_app_menu_finalize): When a window is hidden it doesn't
2424 emit notify::is-topmost, so make sure than the menu also
2425 disappears in that case.
2426 (parent_window_topmost_notify): Renamed from parent_window_hidden
2428 Fixes: NB#94460 (stackable window's menu is not closed when its
2431 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-touch-selector-entry.c:
2434 (+hildon_touch_selector_entry_set_input_mode),
2435 (+hildon_touch_selector_entry_get_input_mode):
2436 * src/hildon-touch-selector-entry.h: New methods to access the input
2437 mode in the selector's entry.
2439 Fixes: NB#93410 (API required for setting IM mode in
2440 HildonTouchSelectorEntry)
2442 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2444 * configure.ac: post release version bump.
2445 * debian/changelog: version bump
2447 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2452 * configure.ac: Bump version.
2453 * debian/changelog: Updates.
2455 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-touch-selector.c:
2458 (_hildon_touch_selector_has_multiple_selection): No need
2459 to initialize the variables here.
2461 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-note-private.h
2464 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2465 (hildon_note_finalize, hildon_note_rebuild): Close information
2466 notes when they receive a button press.
2468 Fixes: NB#89890 (Information notes does not get disappeared after
2471 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2473 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2474 mark from the wizard title, as it's not really necessary. Also,
2475 do not display the page title if not set.
2477 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2479 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2480 (parent_window_hidden): Use the window's "is-topmost" property to
2481 detect when to hide the menu.
2483 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2485 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2486 (hildon_app_menu_finalize): If the parent window of the menu is
2487 hidden, hide the menu too.
2489 Fixes: NB#94460 (stackable window's menu is not closed when its
2492 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2495 * debian/libhildon1-examples.install
2497 * examples/Makefile.am:
2498 Use dh_install to install all examples.
2499 Use DEB_SRCDIR instead of defining SOURCE_DIR
2501 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2503 * configure.ac: post release version bump.
2504 * debian/changelog: version bump
2506 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2511 * configure.ac: bump version
2512 * debian/changelog: updates
2513 * debian/control: bump gtk+ dependency
2515 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2517 patch by Christian Dywan (christian@imendio.com)
2519 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2520 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2522 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-check-button.c (hildon_check_button_init)
2525 (hildon_check_button_class_init, hildon_check_button_style_set)
2526 (hildon_check_button_apply_style):
2527 New "checkbox-size" style property.
2529 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2530 larger / configurable size)
2532 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2534 * configure.ac: post release version bump.
2535 * debian/changelog: version bump
2537 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2542 * configure.ac: bump version
2543 * debian/changelog: updates
2545 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2547 * doc/hildon-sections.txt
2548 * src/hildon-pannable-area.c
2549 * src/hildon-program.c
2550 * src/hildon-time-editor.c
2551 * src/hildon-touch-selector-entry.c:
2553 More documentation updates.
2555 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2557 * doc/hildon-sections.txt
2558 * src/hildon-caption.c
2559 * src/hildon-code-dialog.c
2560 * src/hildon-color-button.c
2561 * src/hildon-controlbar.c
2562 * src/hildon-date-editor.c
2563 * src/hildon-date-selector.c
2564 * src/hildon-edit-toolbar.c
2565 * src/hildon-find-toolbar.c
2566 * src/hildon-font-selection-dialog.c
2568 * src/hildon-program.c
2569 * src/hildon-range-editor.c
2570 * src/hildon-seekbar.c
2571 * src/hildon-time-editor.c
2572 * src/hildon-time-selector.c
2573 * src/hildon-volumebar-range.c
2574 * src/hildon-volumebar.c
2575 * src/hildon-vvolumebar.c
2576 * src/hildon-weekday-picker.c
2577 * src/hildon-window.c
2578 * src/hildon-wizard-dialog.c:
2580 Lots of documentation fixes.
2582 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2584 Patch contributed by Iván Gómez (igomez@igalia.com)
2586 * src/hildon-check-button.c:
2587 * src/hildon-date-button.c:
2588 * src/hildon-date-selector.c:
2589 * src/hildon-dialog.c:
2590 * src/hildon-edit-toolbar.c:
2591 * src/hildon-entry.c:
2592 * src/hildon-picker-button.c:
2593 * src/hildon-program.c:
2594 * src/hildon-text-view.c:
2595 * src/hildon-time-button.c:
2596 * src/hildon-touch-selector-entry.c:
2597 * src/hildon-window-stack.c:
2599 Add more "since" tags to the new API.
2601 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2603 * doc/hildon-sections.txt: Add below method.
2604 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2605 version for the hildonized scale.
2606 * src/hildon-gtk.h: Add the definition.
2608 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2610 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2612 * doc/hildon-sections.txt: Add missing entries for new methods.
2614 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2616 Added API to pannable are in order to get its adjustments. We
2617 added two properties to manage the values we had in the private
2620 * src/hildon-pannable-area.c:
2621 (hildon_pannable_area_class_init): Added hadjustment and
2622 vadjustment properties in order to expose horizontal and vertical
2624 (hildon_pannable_area_get_property),
2625 (hildon_pannable_area_set_property): Added code to handle the new
2627 (hildon_pannable_area_get_hadjustment),
2628 (hildon_pannable_area_get_vadjustment): API functions to get the
2630 * src/hildon-pannable-area.h:
2631 (hildon_pannable_area_get_hadjustment),
2632 (hildon_pannable_area_get_vadjustment): API functions to get the
2635 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2637 Fixed some leaks, after valgrinding.
2639 * src/hildon-touch-selector.c:
2640 (_default_print_func): Fixed a leak.
2641 (hildon_touch_selector_append_column): Fixed a leak.
2642 * src/hildon-date-button.c:
2643 (hildon_date_button_init): Fixed a leak.
2644 * src/hildon-date-selector.c
2645 (hildon_date_selector_finalize): Fixed a leak.
2647 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2649 Based on a patch by Christian Dywan (christian@imendio.com)
2651 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2653 * src/hildon-gtk.h: Add definition.
2655 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2657 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-picker-button.c: (hildon_picker_button_init),
2660 (hildon_picker_button_new): Set the HildonButton::style property
2661 in the init method, to propagate the value to the derived classes.
2663 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2665 * src/hildon-button.c: (hildon_button_class_init): Do not make
2666 the "style" property a construct property.
2668 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2670 * src/hildon-wizard-dialog.h
2671 * src/hildon-wizard-dialog.c
2672 (hildon_wizard_dialog_set_forward_page_func)
2673 * src/hildon-pannable-area.h
2674 * src/hildon-pannable-area.c
2675 (hildon_pannable_area_set_size_request_policy):
2676 Documentation fixes.
2678 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2680 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2682 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2684 * doc/hildon-sections.txt: Added sections file.
2686 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/*.[ch]: Updates.
2691 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2693 * examples/hildon-progress-indicator-example.c: new file
2694 * examples/Makefile.am: include the new example program
2696 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2700 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2702 * configure.ac: post release version bump
2703 * debian/changelog: version bump
2705 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2710 * configure.ac: bump version
2711 * debian/changelog: updates
2712 * debian/control: bump gtk+ dependency
2714 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-dialog.c: Mark as deprecated.
2717 * src/hildon-dialog.h: Mark as deprecated.
2718 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2719 from HildonDialog and still work, even if
2720 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2721 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2723 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2724 maemo changes) instead)
2726 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2728 * src/hildon-pannable_area.h:
2729 * src/hildon-pannable_area.c:
2730 (hildon_pannable_area_class_init),
2731 (hildon_pannable_area_set_property),
2732 (hildon_pannable_area_get_property),
2733 (hildon_pannable_area_size_request),
2734 (hildon_pannable_area_get_size_request_policy),
2735 (hildon_pannable_area_set_size_request_policy): Added new API
2736 allowing applications to control the request policy. Now they can
2737 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2738 children allocation (HILDON_MOVEMENT_CHILDREN).
2740 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2744 (hildon_gtk_tree_view_set_ui_mode)
2745 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2746 mode of treeviews and iconviews.
2748 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2750 * src/hildon-touch-selector-entry.c:
2751 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2752 of a GtkEntry to get proper theming.
2754 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2755 widget, not GtkEntry)
2757 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2759 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2760 no HildonWizardDialogPageFunc.
2762 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2764 Patch contributed by Iván Gómez (igomez@igalia.com)
2766 * src/hildon-app-menu.c:
2767 * src/hildon-button.c:
2768 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2769 * src/hildon-stackable-window.c:
2770 * src/hildon-time-selector.c:
2771 * src/hildon-touch-selector.c:
2772 * src/hildon-window.c:
2774 Add more "since" tags to the new API in hildon 2.2.
2776 2008-12-05 Tim Janik <timj@imendio.com>
2778 Patch contributed by Christian Dywan (christian@imendio.com)
2780 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2781 HildonSizeType, which are supplied by Gtk+ now.
2783 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2785 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2786 (with maemo changes) instead)
2788 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2790 Patch contributed by Iván Gómez (igomez@igalia.com)
2792 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2795 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2797 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2798 (some_page_func), (main): Update the example to use a
2799 HildonWizardDialogPageFunc function.
2801 * src/hildon-wizard-dialog-private.h: Add private data for
2802 the HildonWizardDialogPageFunc function usage.
2804 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2805 (destroy), (hildon_wizard_dialog_init), (response),
2806 (hildon_wizard_dialog_set_forward_page_func):
2807 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2808 that applications can use to stop a HildonWizardDialog to jump to
2811 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2814 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-program.h
2817 * src/hildon-program-private.h
2818 * src/hildon-program.c (hildon_program_init)
2819 (hildon_program_set_common_app_menu)
2820 (hildon_program_get_common_app_menu):
2821 New API for setting a common HildonAppMenu for all
2822 HildonStackableWindows registered with the HildonProgram.
2824 * src/hildon-stackable-window.c
2825 (hildon_stackable_window_toggle_menu):
2826 Use the common HildonAppMenu if a window doesn't have a specific
2829 * src/hildon-app-menu-private.h
2830 * src/hildon-app-menu.c
2831 (hildon_app_menu_get_parent_window):
2832 Function to obtain the window a HildonAppMenu is attached to.
2833 (hildon_app_menu_set_parent_window):
2834 Hide the menu if the parent window is set to NULL.
2836 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2838 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2839 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2840 search widget to popup.
2842 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2844 * configure.ac: post release version bump
2845 * debian/changelog: version bump
2847 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2852 * configure.ac: bump version
2853 * debian/changelog: updates
2855 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2857 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2859 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2860 (hildon_window_stack_window_realized)
2861 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2862 Set the leader GdkWindow when a window is stacked and realized,
2863 unset it when it's unstacked.
2864 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2866 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2868 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2870 * src/hildon-stackable-window.h
2871 * src/hildon-window-stack.h:
2872 Protect definition of HildonWindowStack using the preprocessor.
2874 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2877 Fix warning if all menu items are hidden.
2879 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2881 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2883 * src/hildon-controlbar.c:
2884 * src/hildon-hvolumebar.c:
2885 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2886 Multiple scale size defines updates.
2888 Fixes: NB#94322 (Scale Updates)
2890 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2892 * examples/hildon-app-menu-example.c (create_menu)
2893 Show items after adding them to the menu, as in the future the
2894 menu will no longer call gtk_widget_show() on the added items.
2896 * src/hildon-app-menu.c:
2897 Update example as explained above.
2899 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-app-menu.c
2902 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2903 Make sure that all menu items have finger height.
2905 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2907 * src/hildon-picker-dialog.c:
2908 (_on_dialog_response), (_save_current_selection),
2909 (_restore_current_selection), (_clean_current_selection),
2910 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2911 Defined new functions in order to save the current internal selector
2912 selection previous open the dialog, in case that the use cancel the
2913 interaction, so the widget restores the previous selection.
2915 Fixes: NB#92032 (In calendar application, date values in 'new event'
2918 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2920 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-button.c: Add a reference to the button examples in
2923 hildon-button-example.c
2925 * examples/hildon-button-example.c: Added examples of the most
2926 common button layouts.
2928 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2930 * src/hildon-app-menu.c (hildon_app_menu_show)
2931 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2933 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-picker-dialog.c:
2938 (hildon_picker_dialog_init): Initialize the signal id for
2939 HildonTouchSelector::columns-changed.
2940 (+on_selector_columns_changed): Set up the interaction mode everytime a
2941 column is added or removed from the HildonTouchSelector.
2942 (_hildon_picker_dialog_set_selector): Connect to
2943 HildonTouchSelector::columns-changed and keep track of it.
2945 Make sure to update the interaction mode of the dialog everytime a
2946 column is added or removed in the HildonTouchSelector.
2948 Fixes: NB#93228 (Done button is not shown always in listpicker)
2950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2953 a new ::columns-changed signal.
2954 (hildon_touch_selector_append_column): Emit ::columns-changed.
2955 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2957 Add a ::columns-changed signal, emitted when the number of columns in a
2958 HildonTouchSelector changes.
2960 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2962 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2963 (_hildon_picker_dialog_set_selector): Factor out the code
2964 to set up the dialog interaction mode.
2966 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2968 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2969 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2970 to signal_changed_id.
2972 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2977 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2979 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2980 Updated the logical ids related to ampm format, as now it is required to
2981 show it correctly localized even on languages with no default
2982 abbreviations for am or pm
2983 (_check_am_pm_format): check correctly the 24h format gconf property
2985 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2987 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2989 * src/hildon-button.c: Documentation updates.
2991 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2994 * src/hildon-caption.c: (hildon_caption_class_init):
2995 * src/hildon-color-button.c: (hildon_color_button_class_init):
2996 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2997 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2998 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2999 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
3001 Remove deprecated GTK+ marshalers and replace them with the ones
3002 provided by GLib, for those available, add a marshaler for
3003 BOOLEAN:VOID, which is not available in GLib, and use it.
3005 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3007 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
3008 the text from the previous column if there is no
3009 HildonTouchSelectorColumn::text-property set.
3011 2008-11-27 Alberto Garcia <agarcia@igalia.com>
3013 * src/hildon-button.h
3014 * src/hildon-button.c (hildon_button_set_property)
3015 (hildon_button_get_property, hildon_button_class_init)
3016 (hildon_button_set_style, hildon_button_get_style):
3017 New "style" property to change the visual appearance of the
3020 * src/hildon-picker-button.c (hildon_picker_button_new):
3021 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3023 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3024 HildonButton look like PickerButton)
3026 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3028 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3029 column while building the default string.
3031 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3033 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3034 scroll indicator by default.
3036 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3038 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3040 * src/hildon-main.c: Fix the documentation for hildon_init()
3042 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3044 * doc/hildon-docs.sgml
3048 * src/hildon-window-stack-private.h
3049 * src/hildon-window-stack.h
3050 * src/hildon-window-stack.c:
3051 New HildonWindowStack object, that adds support for multiple
3052 stacks of windows per process.
3054 * src/hildon-stackable-window-private.h
3055 * src/hildon-stackable-window.h
3056 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3057 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3058 (hildon_stackable_window_show, hildon_stackable_window_hide)
3059 (hildon_stackable_window_class_init)
3060 (hildon_stackable_window_init):
3061 Use HildonWindowStack for stack management.
3063 * src/hildon-program.c (hildon_program_pop_window_stack)
3064 (hildon_program_peek_window_stack)
3065 (hildon_program_go_to_root_window):
3066 Add a fallback implementation to the deprecated functions using
3069 * examples/hildon-stackable-window-example.c:
3070 Use the new HildonWindowStack API.
3072 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3074 * src/hildon-stackable-window-private.h
3075 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3076 (hildon_stackable_window_hide, hildon_stackable_window_init):
3077 Remove all window stack management.
3079 * src/hildon-program-private.h
3080 * src/hildon-program.h
3081 * src/hildon-program.c (hildon_program_init)
3082 (hildon_program_pop_window_stack)
3083 (hildon_program_peek_window_stack)
3084 (hildon_program_go_to_root_window):
3085 Remove all window stack management and mark functions as
3088 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3090 * src/hildon-app-menu.c (hildon_app_menu_realize):
3091 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3093 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3095 * configure.ac: post release version bump
3096 * debian/changelog: version bump
3098 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3103 * configure.ac: bump version
3104 * debian/changelog: updates
3106 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3108 Based on initial code by Christian Dywan (christian@imendio.com)
3110 * doc/hildon-docs.sgml: Add section for hildon-main.
3111 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3112 * src/Makefile.am: Add new hildon-main.[ch]
3113 * src/hildon-defines.h: Update the icon sizes.
3114 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3115 new library initialization files and register icon sizes.
3116 * src/hildon-main.h: New declarations.
3117 * src/hildon.h: Include hildon-main.h
3119 Add new initialization functions to the library. These methods
3120 will register the hildon specific icon sizes and can be used in the
3121 future for other hildon specific bits.
3123 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3125 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3127 * src/hildon-window.c: (hildon_window_realize),
3128 (hildon_window_notify), (-hildon_window_update_title): Do not set
3129 the application name in the window title.
3131 Fixes: NB#89754 (Applications shouldn't display their names in the
3134 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3136 * src/hildon-note-private.h:
3137 * src/hildon-note.c: (hildon_note_set_property),
3138 (hildon_note_get_property), (hildon_note_class_init),
3139 (hildon_note_init), (hildon_note_finalize),
3140 (hildon_note_new_confirmation_with_icon_name),
3141 (hildon_note_new_information_with_icon_name):
3143 No need to mark as deprecated the actual code. Revert
3144 to avoid missing symbols in widgets using deprecated API.
3146 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3148 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3150 * src/hildon-volumebar.h
3151 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3152 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3154 * src/hildon-helper.h
3155 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3156 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3158 * examples/Makefile.am:
3159 Deprecate hildon-insensitive-example
3161 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3163 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3165 * examples/hildon-pannable-area-buttons-scroll-example.c:
3166 Make all buttons finger height
3168 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3170 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3172 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3173 update the day model only if it is really required, and to avoid the
3174 full-reconstruction aproach. Now it only add or remove the required days.
3176 The purpose of this is avoid superfluous HildonTouchSelector::changed
3179 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3180 with strange parameters)
3182 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3184 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3186 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3187 the WINDOW_TYPE property.
3189 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3191 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3194 Fix dependency to allow parallel compilation with make -jX
3196 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3198 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3199 color frame and some minor tweaks to make it more consistent with
3202 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3203 highlighted but not visible)
3205 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3207 * examples/Makefile.am: Fixed typo in the Makefile.am.
3209 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3211 Reviewed the use of MAEMO_GTK define, now we add the define in the
3212 compilation line, and we also add it to the pc file.
3214 * configure.ac: Added MAEMO_GTK define to the compilation command
3215 and removed it from the config.h.
3217 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3218 do not have to take care about this define if the library was
3222 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3224 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3226 * examples/Makefile.am,
3227 * examples/hildon-pannable-area-buttons-scroll-example.c,
3228 * examples/hildon-pannable-area-gesture-signals-example.c,
3229 * examples/hildon-pannable-area-scroll-jump-example.c,
3230 * examples/hildon-pannable-area-tree-view-example.c:
3231 Renamed the pannable area examples, now they have more meaningful
3234 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3236 * src/hildon-touch-selector.c:
3237 (hildon_touch_selector_set_column_selection_mode): Used of
3238 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3239 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3240 to avoid re-seting the same selection mode.
3242 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3243 breaks HildonPickerDialog)
3245 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3247 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3248 conditional in the Makefile.am
3250 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3252 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3253 Remove unused methods.
3255 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-button.c (hildon_button_init):
3258 Make button images center-aligned by default
3260 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3263 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3264 activated, we have to think about how to deal with both defines
3265 MAEMO_GTK and MAEMO_CHANGES.
3267 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3269 * examples/hildon-app-menu-example.c (create_menu): Make all
3270 buttons finger size.
3272 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3274 Fixed the compilation without maemo gtk adding ifdefs with
3275 MAEMO_GTK define to the code, we have to check this version more
3278 * examples/Makefile.am: Added control to avoid some examples that
3279 just make sense with maemo gtk.
3282 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3283 hildon modes with the define.
3285 * examples/hildon-edit-toolbar-example.c,
3286 (create_icon_view): Create the icon view without hildon-gtk
3287 helpers if we are not using maemo gtk.
3289 * src/hildon-touch-selector.c,
3290 (_create_new_column): Create the treeview without hildon-gtk
3291 helpers if we are not using maemo gtk.
3293 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3295 * src/hildon-pnnable-area.c,
3296 (hildon_pannable_area_dispose),
3297 (hildon_pannable_area_button_press_cb),
3298 (hildon_pannable_area_child_mapped),
3299 (hildon_pannable_area_add),
3300 (hildon_pannable_area_remove): Added code to control the position
3301 of the event_window when adding and removing children from the
3302 pannable. We have to raise the event window when the child is
3305 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3306 selection mode using custom widget inside pannable)
3308 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3310 * configure.ac: post release version bump
3311 * debian/changelog: version bump
3313 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3318 * configure.ac: bump version
3319 * debian/changelog: updates
3321 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3323 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3324 search mode, in order to avoid lose the focus on the treeview when
3325 a hw key (like enter) is pressed.
3327 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3328 in HildonDateSelector dialog)
3330 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3332 * debian/rules: Added --enable-maintainer-mode
3333 * Makefile.am: Added ACLOCAL_AMFLAGS
3335 This allows to properly regenerate the Makefiles if you modify the
3336 configure.ac or any Makefile.am.
3338 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3340 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3341 properties, not needed at all.
3343 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3347 * src/hildon-note.c: (hildon_note_set_property),
3348 (hildon_note_get_property), (hildon_note_class_init),
3349 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3350 (hildon_note_new_confirmation_add_buttons): Remove icons.
3351 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3352 (hildon_note_new_information_with_icon_name): Deprecate.
3353 (hildon_note_new_confirmation): Act directly, without calling
3354 the deprecated constructor.
3355 (hildon_note_new_information): Act directly, without calling
3356 the deprecated constructor.
3357 * src/hildon-note.h: Mark deprecate methods as such.
3358 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3359 not run tests on the deprecated methods if built with deprecation
3362 Fixes: NB#91688 (Never show icons in information notes/confirmation
3365 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3367 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3368 (hildon_app_menu_key_press): Remove leftover usage of the
3369 private structure in HildonAppMenu struct.
3370 * src/hildon-app-menu.h: Remove leftover private structure
3371 from the HildonAppMenu struct.
3373 Fixes a crasher when using the HildonAppMenu.
3375 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3377 * src/hildon-picker-dialog.c: Use appropriate logical id
3378 for the default "Done" text.
3380 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3382 * configure.ac: post release version bump
3383 * debian/changelog: version bump
3385 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3387 Modified the way to scroll to the current selection just when the touch
3388 selector is shown on the screen, avoiding a g_idle. Added too a property
3389 to configure this behaviour. See hildon_pannable_area_jump_to_child
3390 documentation for more information.
3392 * src/hildon-touch-selector.c
3393 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3394 Added 'initial-scroll' property
3395 (hildon_touch_selector_set_property): Added
3396 (hildon_touch_selector_map): Removed as not required anymore
3397 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3398 only a concrete column, instead of iterate along all the columns
3400 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3405 * configure.ac: bump version
3406 * debian/changelog: updates
3408 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3410 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3411 compilation time warnings.
3413 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3415 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3416 the default value for HildonPannableArea::mov-mode to
3417 HILDON_PANNABLE_AREA_MODE_VERT.
3419 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3421 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3423 Reverting following commit:
3425 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-app-menu-private.h
3428 * src/hildon-app-menu.[ch]
3429 * src/hildon-button.[ch]
3430 * src/hildon-check-button.[ch]
3431 * src/hildon-entry.[ch]
3432 * src/hildon-pannable-area.[ch]
3433 * src/hildon-text-view.[ch]:
3434 Added private field to the object's structure.
3436 because it causes an ABI breakage. We will need to introduce these
3437 changes later at some point. See NB#91636 for an extensive
3438 explanation and status.
3440 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3442 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3444 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3445 remove special cases that are no longer necessary.
3447 Fixes: NB#91016 (Change toolbar sizes, simplification)
3449 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3451 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3452 is shown in the cancel note.
3454 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3456 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3457 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3458 (hildon_seekbar_init): Remove steppers, remove expose event.
3459 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3461 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3463 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3465 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3466 label font to "SmallSystemFont" for vertically arranged buttons.
3468 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3471 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-check-button.c
3474 (hildon_check_button_set_active, hildon_check_button_clicked):
3475 Don't access private parts directly, use getters instead.
3477 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3479 * src/hildon-check-button.c (hildon_check_button_new):
3480 Align the contents of the check button to the left.
3482 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3484 * src/hildon-pannable-area.c,
3485 (hildon_pannable_area_scroll_to),
3486 (hildon_pannable_area_jump_to),
3487 (hildon_pannable_area_scroll_to_child),
3488 (hildon_pannable_area_jump_to_child): Replace the mapped
3489 precondition of these functions with the realized, it is the
3490 correct state of the widget in this case. Changed the
3491 documentation according to this modification.
3493 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3495 Added a new EXTRA_CFLAGS option to add the deprecated define to
3496 the compilation command. This way we can avoid using the define in
3497 the documentation compilation.
3499 * configure.ac: Defined EXTRA_CFLAGS.
3501 * examples/Makefile.am:
3503 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3505 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3507 * src/hildon-picker-dialog.c:
3508 Defined a utility macro with the desired touch selector height
3509 Removed currently unused separator, and title_label variables from
3511 (hildon_picker_dialog_init): Removed code related to the creation
3512 of unused private variables title_label and separator.
3513 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3514 to ensure correct visualization of the touch selector inside the dialog.
3515 * src/hildon-touch-selector.c
3516 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3517 ensure a concrete height of the widget.
3519 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3522 * tests/Makefile.am:
3524 Remove spurious whitespaces.
3526 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3528 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3529 compilation warning after the cancel button removal.
3531 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3533 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3535 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3536 Makefile.am, that way we can choose not to compile some examples
3537 and tests of the deprecated widgets.
3539 * examples/Makefile.am: Divided the sources in deprecated and
3542 * src/Makefile.am: Added undef statement of the deprecated
3543 symbol to the enums file generation process.
3545 * src/hildon-color-chooser-dialog.c
3546 * src/hildon-color-chooser-dialog.h
3547 * src/hildon-color-button.c
3548 * src/hildon-color-button.h
3549 * src/hildon-color-chooser.c
3550 * src/hildon-color-chooser.h
3551 * src/hildon-controlbar.c
3552 * src/hildon-controlbar.h
3553 * src/hildon-date-editor.c
3554 * src/hildon-date-editor.h
3555 * src/hildon-hvolumebar.c
3556 * src/hildon-hvolumebar.h
3557 * src/hildon-private.c
3558 * src/hildon-private.h
3559 * src/hildon-range-editor.c
3560 * src/hildon-range-editor.h
3561 * src/hildon-seekbar.c
3562 * src/hildon-seekbar.h
3563 * src/hildon-time-editor.c
3564 * src/hildon-time-editor.h
3565 * src/hildon-time-picker.c
3566 * src/hildon-time-picker.h
3567 * src/hildon-volumebar.c
3568 * src/hildon-volumebar.h
3569 * src/hildon-vvolumebar.c
3570 * src/hildon-vvolumebar.h
3571 * src/hildon-bread-crumb-trail.h
3572 * src/hildon-bread-crumb-trail.c
3573 * src/hildon-calendar-popup.c
3574 * src/hildon-calendar-popup.h
3575 * src/hildon-weekday-picker.c:
3576 * src/hildon-weekday-picker.h:
3577 * src/hildon-bread-crumb-widget.c:
3578 * src/hildon-bread-crumb-widget.h:
3579 * src/hildon-bread-crumb.c:
3580 * src/hildon-bread-crumb.h:
3581 * src/hildon-calendar.c:
3582 * src/hildon-calendar.h:
3583 * src/hildon-caption.c:
3584 * src/hildon-code-dialog.c:
3585 * src/hildon-code-dialog.h:
3586 * src/hildon-font-selection-dialog.c:
3587 * src/hildon-font-selection-dialog.h:
3588 * src/hildon-get-password-dialog.c:
3589 * src/hildon-get-password-dialog.h:
3590 * src/hildon-login-dialog.c:
3591 * src/hildon-login-dialog.h:
3592 * src/hildon-number-editor.c:
3593 * src/hildon-number-editor.h:
3594 * src/hildon-set-password-dialog.c:
3595 * src/hildon-set-password-dialog.h:
3596 * src/hildon-sort-dialog.c:
3597 * src/hildon-sort-dialog.h: This is the list of deprecated
3600 * src/hildon-touch-selector.c:
3601 * src/hildon-window.c: Added undef statement to avoid compilation
3604 * tests/Makefile.am: Divided the sources in deprecated and
3607 * tests/check_test.c,
3608 (configure_tests): Marked the deprecated code that was adding
3609 suites with deprecated tests.
3611 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3613 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-touch-selector.c: (_default_print_func): Do not
3616 duplicate a string returned by gtk_tree_model_get(), it is already
3619 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3622 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3624 * src/hildon-pannable-area.c
3625 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3626 method, it had problems when adding a widget with viewport the
3627 second time. Now checks if it already has a viewport and uses it.
3629 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3632 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3634 * src/hildon-pannable-area.c,
3635 (hildon_pannable_area_scroll_to),
3636 (hildon_pannable_area_jump_to),
3637 (hildon_pannable_area_scroll_to_child),
3638 (hildon_pannable_area_jump_to_child): Added a precondition to the
3639 scroll and jump to functions: the widget must be mapped before we
3640 can safely call these functions. We have also added documentation
3641 to the functions to explain how to use them in this situation.
3644 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3646 Reviewed the threading handling of the pannable widget, we have
3647 used the gdk_threads_add_timeout function instead of the usual
3648 glib handlers. This avoids some problems with the threads.
3650 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3651 (hildon_pannable_area_initial_effect),
3652 (hildon_pannable_area_scroll_indicator_fade),
3653 (hildon_pannable_area_button_press_cb),
3654 (hildon_pannable_area_timeout),
3655 (hildon_pannable_area_motion_notify_cb),
3656 (hildon_pannable_area_button_release_cb),
3657 (hildon_pannable_area_scroll_cb),
3658 (hildon_pannable_area_scroll_to): Removed the
3659 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3660 gdk_threads_add_timeout.
3662 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3664 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3669 * configure.ac: bump version
3670 * debian/changelog: updates
3672 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3674 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3675 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3676 * src/hildon-color-chooser-dialog.c:
3677 (hildon_color_chooser_dialog_init):
3678 * src/hildon-font-selection-dialog.c:
3679 (hildon_font_selection_dialog_init):
3680 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3682 Remove all cancel/close-like dialogs, as these are not going to be
3685 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3687 * src/hildon-note.c: (hildon_note_rebuild),
3688 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3691 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3693 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3695 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3696 sure all buttons are shown, even the Cancel/Close-like ones.
3698 Fixes: NB#90861 (Custom Confirmation dialogs should be
3699 protected from cancel button removal)
3701 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3703 * debian/control: Change libhildon1-examples dependency from libhildon1
3705 * debian/libhildon1-examples.install
3707 * Makefile.am: Modified the final install directory for the examples on
3708 package libhildon1-examples
3709 * Makefile.static: Update clean target in order to remove all the binary
3712 Changes suggested by Claudio after review new libhildon1-examples package
3714 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3716 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3717 * src/hildon-touch-selector.c: Ditto.
3719 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3721 * debian/control: Added new package libhildon1-examples, in order to pack
3722 the current hildon examples as documentation
3723 * debian/rules: Not to compress .c files, modify some includes on the
3724 examples (as normally are compiled locally, but when installed it will
3725 require to include the installed libhildon1 library), and rename
3727 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3728 install all the example files on the new example package
3729 * examples/Makefile.static: Added static makefile that can be used to
3730 compile the examples, once installed the new example package
3731 * examples: Most of the examples were modified in order to grant that
3732 all use only '#include "hildon.h"', in order to be easy to prepare
3733 it on the example package
3735 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3738 * debian/libhildon1-dev.install
3739 * debian/libhildon1-doc.install:
3740 Move all gtk-doc files to a separate libhildon1-doc package.
3742 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3744 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3746 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3748 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3750 * debian/rules: Fixed a error in order to avoid unnecessary calls
3751 to autogen.sh on package building
3753 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3755 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3757 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3759 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3762 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3764 * src/hildon-picker-button.c
3765 (hildon_picker_button_finalize):
3766 Free priv->done_button_text
3768 * src/hildon-time-button.c
3769 (hildon_time_button_set_time)
3770 * src/hildon-picker-button.c
3771 (hildon_picker_button_clicked)
3772 (hildon_picker_button_selector_selection_changed)
3773 (hildon_picker_button_set_selector)
3774 * src/hildon-date-button.c
3775 (hildon_date_button_set_date):
3776 Free strings returned by hildon_touch_selector_get_current_text()
3778 * src/hildon-button.c (hildon_button_construct_child):
3779 Fix leaks in priv->image and priv->label_box
3781 Fixes: NB#90535 (Memory leak in picker button)
3783 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3785 * src/hildon-button.c: (hildon_button_get_property): Do not access
3786 private elements directly, use getters instead.
3788 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3790 * src/hildon-app-menu-private.h
3791 * src/hildon-app-menu.c
3792 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3793 Store the menu's parent window.
3795 * src/hildon-stackable-window.c
3796 (hildon_stackable_window_toggle_menu)
3797 (hildon_stackable_window_finalize):
3798 Set the menu's parent window when the menu is shown, unset it when
3801 * src/hildon-app-menu.c
3802 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3803 (hildon_app_menu_class_init):
3804 Send unhandled keyboard accelerators to the parent window.
3806 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3808 * src/hildon-stackable-window.c
3809 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3811 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3813 * configure.ac: post release version bump
3815 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3818 * configure.ac: Bump version
3819 * debian/changelog: Updates
3820 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3823 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3825 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3828 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3829 GtkMenu with Hildon style.
3831 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-picker-button.c:
3834 (hildon_picker_button_set_done_button_text): Set the dialog's
3835 done button text here as well.
3837 Fixes: NB#90232 (Picker button does not set the label on done button
3838 for the second time)
3840 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3842 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3845 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3847 * src/hildon-app-menu.c (hildon_app_menu_insert)
3848 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3849 the HildonAppMenu to be activatable using keyboard accelerators
3850 when the menu is not being shown.
3852 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3854 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3856 * src/hildon-stackable-window.c
3857 (hildon_stackable_window_show):
3858 Don't hide old windows automatically when new windows are shown:
3859 this is now a task for the window manager.
3860 (hildon_stackable_window_class_init)
3861 (hildon_stackable_window_hide):
3862 Remove windows from the stack everytime they're hidden.
3863 (hildon_stackable_window_realize):
3864 Don't change the _NET_WM_WINDOW_TYPE property. Use
3865 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3866 it as a stackable window.
3868 * src/hildon-program.c
3869 (hildon_program_pop_window_stack):
3870 Just hide the window to remove it from the stack.
3871 (hildon_program_go_to_root_window):
3872 Don't call gtk_widget_show(), this is now a task for the window
3875 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3877 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3879 * src/hildon-button.c
3880 (hildon_button_construct_child):
3881 Don't pack anything in the button until text or image are
3882 set. This allows adding a custom child after creating the button
3883 with hildon_button_new().
3884 (hildon_button_finalize, hildon_button_class_init)
3885 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3886 alignment and the label box even when they're not packed in the
3889 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3891 * src/hildon-touch-selector.h:
3892 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3893 currently the type definition was using GTK_TYPE_VBOX
3894 * src/hildon-touch-selector.c:
3895 Added some implementation notes in order to clarify that any other widget
3896 added without the column related API will not be included on the
3897 selection logic, and how the widget is freed, as some people ask about
3899 (hildon_touch_selector_remove): Reimplemented in order to free properly
3900 the column related data when you remove the private hbox.
3901 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3902 to get a proper HildonTouchSelectorColumn documentation
3904 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3906 * src/hildon-touch-selector-entry.c:
3907 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3908 text in the GtkEntry and there is no item selected. Fixes a
3911 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3913 * src/hildon-app-menu-private.h
3914 * src/hildon-app-menu.[ch]
3915 * src/hildon-button.[ch]
3916 * src/hildon-check-button.[ch]
3917 * src/hildon-entry.[ch]
3918 * src/hildon-pannable-area.[ch]
3919 * src/hildon-text-view.[ch]:
3920 Added private field to the object's structure.
3922 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3924 * configure.ac: post-release version bump
3926 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3930 * configure.ac: pre-release version bump
3932 * debian/changelog: updates.
3934 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3936 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3937 Disconnect the handler for HildonTouchSelector::changed.
3939 (hildon_picker_button_selector_selection_changed): Update the button
3940 value if the selection change was not triggered by the
3943 (hildon_picker_button_set_selector): connect to
3944 HildonTouchSelector::changed.
3946 Fixes: NB#89650 (Picker button is not updated, when selection in
3947 selector has changed)
3949 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3951 * src/hildon-picker-dialog.c
3952 (hildon_picker_dialog_realize): Removed as not required
3953 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3954 * src/hildon-picker-button.c
3955 (_current_selector_empty): New function, checks if the selector is empty
3956 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3957 if the current selector is empty, in order to avoid to show the dialog
3958 close the dialog in this case (and shows a g_warning).
3960 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3962 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3964 * src/hildon-pannable-area.c,
3965 (hildon_pannable_area_scroll): Added clause to stop movement when
3966 the child of pannable is smaller than one page.
3967 (hildon_pannable_area_scroll_to): Added conditions to avoid
3968 starting the scrolling movement if the child is smaller than one
3969 page, the complete child is in the screen, we do not have to move.
3971 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3973 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3975 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3976 this is managed automatically by the widget when the size of the
3979 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3981 * src/hildon-picker-button.c
3982 (hildon_picker_button_set_done_button_text): Make a copy of the
3983 text, and free the previous value.
3985 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3987 * src/hildon-touch-selector-entry.c:
3988 (hildon_touch_selector_entry_print_func): Return the selected row's
3989 text if the entry is empty.
3991 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3994 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3996 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3998 2008-10-09 Alberto Garcia <agarcia@igalia.com>
4001 * src/hildon-check-button.h
4002 * src/hildon-check-button.c
4003 * examples/hildon-check-button-example.c:
4004 HildonCheckButton is now a new widget. 'toggled' signal added.
4006 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4008 * src/hildon-program-private.h
4009 * src/hildon-program.c (hildon_program_init)
4010 (hildon_program_finalize): Removed unused variables group_leader
4011 and name from HildonProgramPrivate.
4013 2008-10-08 Alberto Garcia <agarcia@igalia.com>
4015 * src/hildon-check-button.c (hildon_check_button_set_active)
4016 (hildon_check_button_get_active, hildon_check_button_new): Use
4017 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4019 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4021 * src/hildon-touch-selector.h
4022 (hildon_touch_selector_set_column_attributes): added deprecation
4023 guard HILDON_DISABLE_DEPRECATED
4024 * src/hildon-time-selector.c
4025 (hildon_time_selector_set_time)
4026 (hildon_time_selector_get_time): Fixed a typo on documentation
4027 * src/hildon-touch-selector.c: update HildonTouchSelector and
4028 HildonTouchSelectorColumn documentation
4029 * src/hildon-touch-selector-entry.c: update "text-column" property
4031 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4032 to be added to the general documentation.
4034 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4036 * examples/hildon-pannable-area-example-4.c,
4038 * examples/hildon-pannable-area-example.c,
4039 (main): Modified the code in order to use the container add, with
4040 viewport treeviews could have problems if they are really big.
4042 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4044 * src/hildon-weekday-picker.c,
4045 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4046 the agreement regarding deprecation in the library.
4048 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4050 * examples/hildon-picker-button-multicolumn-example.c:
4051 (main): Use custom "done" button text.
4053 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4054 (hildon_picker_button_set_property),
4055 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4056 (hildon_picker_button_init),
4057 (+hildon_picker_button_get_done_button_text),
4058 (+hildon_picker_button_set_done_button_text): New methods to customize
4059 the "done" button label in the launched HildonPickerDialog. Also,
4062 * src/hildon-picker-button.h: add the public API.
4064 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4066 * src/hildon-date-selector.h:
4067 * src/hildon-picker-dialog.h:
4068 * src/hildon-time-selector.h:
4069 * src/hildon-touch-selector-column.h:
4070 * src/hildon-touch-selector.h:
4072 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4073 declarations. Fixes gtk-doc warnings.
4075 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4077 * src/hildon-picker-dialog.h
4078 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4079 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4081 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4082 long text is set as label for done button)
4084 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4086 * src/hildon-dialog.c (hildon_dialog_add_button):
4087 Set fixed width to all buttons in the HildonDialog.
4089 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4091 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4093 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4094 Set widget name using class name plus "-finger" or "-thumb".
4096 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4098 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4099 'clicked' when the state of the button is manually changed.
4101 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4103 * src/hildon-app-menu.c (hildon_app_menu_realize)
4104 (hildon_app_menu_unrealize, hildon_app_menu_init)
4105 (hildon_app_menu_class_init, item_visibility_changed):
4106 Change the menu layout when the size of the screen changes.
4107 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4108 Show warning only when changing the number of colums using the
4111 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4113 * debian/compat: Set to 5
4114 * debian/control: Update dependencies.
4115 * debian/libhildon1-dbg.install: Remove.
4116 * debian/libhildon1-dev.install: Update according to cdbs paths.
4117 * debian/libhildon1.install: Update according to cdbs paths.
4118 * debian/rules: Switch to cdbs.
4120 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4122 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4123 'item' variable renamed to 'filter'
4125 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4127 * src/hildon-app-menu.c (hildon_app_menu_insert)
4128 (hildon_app_menu_add_filter, remove_item_from_list)
4129 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4130 Don't leak hidden items when the menu is destroyed.
4132 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4134 * src/hildon-app-menu.c (hildon_app_menu_insert)
4135 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4136 (hildon_app_menu_set_columns, item_visibility_changed)
4137 (filter_visibility_changed, hildon_app_menu_repack_filters)
4138 (hildon_app_menu_repack_items):
4139 Repack items and filters separately.
4141 Don't repack all items, change only the ones that are needed to
4144 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4146 * src/Makefile.am: added hildon-touch-selector-column.h
4148 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4150 * src/hildon-touch-selector.c: added the property "text-column" to the
4151 class HildonTouchSelectorColumn, and related get/set functions
4152 (_default_printf_func): updated to use "text-column" property
4153 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4154 "text-column" in his documentation, as this is now included on
4155 HildonTouchSelectorColumn. The get/set_property can still be used,
4156 working as a wrapper to the concrete column "text-column" property
4157 (_text_column_modified): callback added in order to handle the signal
4158 "notify::text-column" of the concrete HildonTouchSelectorColumn
4159 (hildon_touch_selector_entry_get_text_column)
4160 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4161 modified in order to use the HildonTouchSelectorColumn "text-column"
4163 * src/hildon-time-selector.c:
4164 * src/hildon-date-selector.c:
4165 * examples/hildon-touch-selector-example.c
4166 * examples/hildon-touch-selector-multi-cells-example.c
4167 * examples/hildon-picker-button-multicolumn-example.c
4168 Set the right value to "text-column" property on the creation of a new
4169 column using hildon_touch_selector_append_column()
4171 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4173 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4175 * src/hildon-app-menu.c
4176 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4177 updating the layout of the menu, don't create all widgets again,
4178 just repack the items in their new places.
4180 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4182 * src/hildon-time-selector.c
4183 (hildon_time_selector_get_time)
4184 (hildon_time_selector_set_time)
4185 Added documentation of these public methods
4187 * src/hildon-date-button.h
4188 * src/hildon-touch-selector-column.h
4189 * src/hildon-time-button.h
4190 * src/hildon-picker-dialog.h
4191 * src/hildon-time-selector.h
4192 * src/hildon-picker-button.h
4193 * src/hildon-touch-selector.h
4194 * src/hildon-time-picker.h
4195 * src/hildon-date-selector.h
4196 * src/hildon-touch-selector-entry.h
4197 Modified in order to use hildon-widgets code style
4199 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4201 Added deprecated support to the compilation process using
4202 HILDON_DISABLE_DEPRECATED
4204 * configure.ac: Added the --disable-deprecated to the configure
4207 * src/hildon-weekday-picker.c:
4208 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4209 to use the deprecated support. We will update the other deprecated
4210 widgets status in a new patch.
4212 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4214 * configure.ac: Fixed typo with fatal warnings support, the
4215 variable name was not correct
4217 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-app-menu.c
4220 * src/hildon-program.c: Update documentation.
4222 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4224 * configure.ac: Post-release version bump.
4226 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4231 * configure.ac: Pre-release version bump.
4232 * debian/changelog: Updates.
4234 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4236 * NEWS: Update news for previous releases.
4238 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4240 * examples/hildon-touch-selector-multi-cells-example.c:
4241 (create_selector): Update the example to use
4242 hildon_touch_selector_append_column() with a NULL renderer and set
4243 the renderers later.
4244 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4245 passed a NULL renderer. This is documented behavior now.
4247 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4248 This must be used if the developer wants full control on the layout of
4249 the renderers to be added to the column.
4251 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4253 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-touch-selector.c: Documentation fixes.
4257 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4259 * src/hildon-wizard-dialog-private.h: Remove image and box.
4260 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4261 (hildon_wizard_dialog_set_property), (response): Completely remove
4262 image/icon support, and the containers required for the layout.
4264 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4266 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4268 * src/hildon-app-menu.c: Updated documentation.
4270 * src/hildon-stackable-window.c
4271 (hildon_stackable_window_set_main_menu): Unref the old menu after
4272 ref'ing the new one.
4274 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4276 * src/hildon-stackable-window.c
4277 (hildon_stackable_window_set_main_menu): Unref the previous menu
4278 instead of destroying it.
4280 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4281 floating reference and set has_user_ref_count to FALSE to make
4282 HildonAppMenu act like a normal ref-counted widget and not a
4285 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4288 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4290 * src/hildon-touch-selector-column.h: new file
4291 * src/hildon-touch-selector.h
4292 * src/hildon-touch-selector.c
4293 Implemented GtkCellLayout interface, in order to allow to configure
4294 the cell layout on each individual selector column
4295 (hildon_touch_selector_set_column_attributes): marked as deprecated
4296 * examples/hildon-touch-selector-multi-cells-example.c
4297 Example of how to use the GtkCellLayout interface on the selector
4299 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4301 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-app-menu.h
4304 * src/hildon-app-menu.c
4305 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4306 (hildon_app_menu_append, hildon_app_menu_prepend):
4307 New methods to prepend, insert and move items in the menu.
4309 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-wizard-dialog.c:
4313 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4315 (create_title): Update logical IDs and related code.
4316 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4318 * src/hildon-wizard-dialog.h: Note that
4319 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4320 point, as it is not used anymore.
4322 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4324 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-note.c:
4327 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4328 shown. Do not display an icon in confirmation notes nor information
4330 (hildon_note_set_button_text): Update logical ID for cancel button.
4332 Fixes: NB#88850 (Update HildonNote button strings + signals)
4334 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4336 * src/hildon-stackable-window.c
4337 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4339 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4341 * src/hildon-app-menu-private.h
4342 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4343 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4344 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4345 temporary property 'columns' to change the number of columns.
4347 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4349 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4351 * examples/hildon-note-example.c: (on_information_clicked),
4352 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4353 debugging information.
4354 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4356 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4357 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4358 in order to close: this will be handled by the WM from now on.
4360 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4362 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4364 * src/hildon-app-menu-private.h
4365 * src/hildon-app-menu.c
4366 (hildon_app_menu_append, hildon_app_menu_add_filter)
4367 (button_visibility_changed, hildon_app_menu_apply_style)
4368 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4369 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4370 layout everytime a button (item or filter) is shown or hidden.
4372 * src/hildon-stackable-window.c
4373 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4376 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4378 * src/hildon-touch-selector.c:
4379 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4380 that the treeview inside the touch selector is in fremantle hildon mode
4381 * examples/hildon-date-button-example.c
4382 * examples/hildon-picker-button-multicolumn-example.c
4383 * examples/hildon-touch-selector-entry-example.c
4384 * examples/hildon-touch-selector-example.c
4385 * examples/hildon-time-button-example.c
4386 * examples/hildon-picker-button-example.c:
4387 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4389 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4391 * examples/hildon-text-view-example.c: (main): Remove the
4392 gtkrc bits, now handled by the theme.
4394 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4396 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4399 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4401 * po/Makefile.am: Install properly the mo files.
4402 * po/en_GB.po: Update translation, to ease testing purposes.
4404 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4406 * examples/hildon-picker-button-example.c: (main): Select an item
4407 in the selector before setting it to the button.
4409 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4411 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4412 Update button's value if the selector has an item active.
4414 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4415 'value' with the selector)
4417 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4420 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4421 (hildon_picker_button_class_init): Plug the finalize method.
4422 (hildon_picker_button_set_selector): If there's a previously set
4423 selector, unref'it before setting a new one.
4425 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4426 HildonTouchSelector)
4428 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4430 * src/hildon-touch-selector-entry.c:
4431 (hildon_touch_selector_entry_changed): Check if there is no text
4432 selected before setting the entry text.
4435 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4437 * src/hildon-touch-selector.h
4438 * src/hildon-touch-selector.c
4439 (hildon_touch_selector_get_active)
4440 (hildon_touch_selector_set_active): New methods to set/get the
4441 index of the selected item.
4443 * src/hildon-picker-button.h
4444 * src/hildon-picker-button.c
4445 (hildon_picker_button_get_active)
4446 (hildon_picker_button_set_active): New methods to set/get the
4447 index of the selected item.
4449 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4451 * configure.ac: post-release version bump.
4453 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4457 * configure.ac: Pre-release version bump.
4458 * debian/changelog: Updates.
4459 * debian/control: Add myself as maintainer and depend on l10n
4462 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4464 * src/hildon-window.c
4465 (hildon_window_set_main_menu)
4466 * src/hildon-stackable-window.c
4467 (hildon_stackable_window_set_main_menu):
4468 Updated documentation.
4470 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4472 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4473 Don't free selector->priv manually.
4476 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4479 (hildon_gtk_window_set_progress_indicator):
4480 * src/hildon-gtk.h: Added the new API
4481 hildon_gtk_window_set_progress_indicator, it changes the state of
4482 the window progress hint.
4484 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4486 * src/hildon-button.c
4487 * src/hildon-stackable-window.c: Minor documentation updates.
4489 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-stackable-window.c: Updated documentation.
4493 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4495 * src/hildon-defines.h: Update margins definitions
4496 to the Fremantle sizes.
4499 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4501 * src/hildon-touch-selector.c,
4502 (_hildon_touch_selector_set_model): Cleaning the code after
4503 review, removed g_print and #if 0 from the code.
4505 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4507 * src/hildon-edit-toolbar.c: Update documentation.
4509 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4511 * src/hildon-check-button.h
4512 * src/hildon-check-button.c
4513 (hildon_check_button_set_label, hildon_check_button_get_label)
4514 * examples/hildon-check-button-example.c
4515 (button_clicked_cb):
4516 Removed deprecated methods.
4518 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-text-view.c:
4521 Add sample code to the documentation.
4523 * src/hildon-entry.h
4524 * src/hildon-text-view.h:
4525 Minor cosmetic changes.
4527 * src/hildon-entry.c:
4528 Add sample code to the documentation.
4529 (hildon_entry_init, hildon_entry_refresh_contents):
4530 Don't allow NULL values in the placeholder.
4532 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4534 * doc/hildon-docs.sgml
4536 * examples/Makefile.am
4537 * examples/hildon-text-view-example.c
4539 * src/hildon-text-view.c
4540 * src/hildon-text-view.h
4542 New HildonTextView widget, with example.
4544 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4546 * po/POTFILES.in: Add missing files with translatable strings.
4547 Partially fixes NB#88287.
4549 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4551 * examples/hildon-pannable-area-example-2.c: (main): No need to
4552 set the cellrenderer height inside hildon touch lists, the theme does
4555 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4557 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4558 they are integrated in the theme.
4560 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4562 * examples/hildon-entry-example.c: Update the example adding
4563 widgets to modify the text and the placeholder of the HildonEntry.
4565 * src/hildon-entry.c: Show the placeholder everytime the widget
4566 is empty and loses the focus.
4568 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4570 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4572 * src/hildon-pannable-area.c,
4573 (hildon_pannable_area_size_request): Fixed bug in height
4574 requisition, avoid increasing size and add border twice.
4576 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4578 * configure.ac: postrelease version bump.
4580 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4584 * configure.ac: Prerelease version bump.
4585 * debian/changelog: update.
4586 * debian/rules: make -dbg package contain useful debugging symbols.
4588 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-dialog.h
4591 * src/hildon-dialog.c
4592 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4593 New methods to add buttons with finger size.
4594 (hildon_dialog_new_with_buttons):
4595 Create buttons with finger size.
4597 * examples/hildon-dialog-example.c (main): Use HildonDialog
4598 methods to add buttons.
4600 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4602 * src/hildon-entry.c: Updated HildonButton documentation.
4604 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4607 button value label with (FALSE, FALSE) to prevent NB#88126 from
4610 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4612 * examples/hildon-pannable-area-example.c,
4613 (main): Removed examples panning a vbox inside a pannable
4614 area. Check bug NB#87965
4616 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4618 Patch contributed by Kris Rietveld (kris@imendio.com)
4620 * src/hildon-pannable-area.c,
4621 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4622 get_size and get_position, this saves an X server roundtrip.
4624 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4626 * doc/hildon-docs.sgml
4628 * examples/Makefile.am
4629 * examples/hildon-entry-example.c
4631 * src/hildon-entry.c
4632 * src/hildon-entry.h
4634 New HildonEntry widget, with example.
4636 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4638 * src/hildon-button.c (hildon_button_construct_child): Pack the
4639 image with expand == fill == FALSE. This is a workaround for a bug
4642 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4644 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4645 labels for the text column, to make it more look more dynamic.
4647 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4649 * src/hildon-time-selector.c
4650 Define gettext auxiliar macro N_
4651 (_create_minutes_model)
4652 (_create_hours_model)
4653 (_create_ampm_model): use of strftime in order to fill the model
4654 * src/hildon-date-selector.c
4655 (hildon_date_selector_finalize):
4656 (_locales_init): remove the logic related to get the name of the months
4657 using nl_langinfo, as it is not required anymore
4659 (_create_year_model)
4660 (_create_month_model)
4661 (_update_day_model): use of strftime in order to fill the model properly
4664 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4666 * src/hildon-button.h
4667 * src/hildon-button.c (hildon_button_get_image): New method to
4670 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-touch-selector.c:
4673 (hildon_touch_selector_remove_column): Remove from the correct parent
4674 and also remove the list element and free it.
4677 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4679 * src/hildon-time-selector.c
4680 (_create_hours_model): change the range on 12h ampm format in order to use
4681 a 12-11 range instead of previous 01-12 range
4682 (hildon_time_selector_set_time): change the way to select the current time
4683 on 12h ampm format, due the change on the range
4684 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4687 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4689 * src/hildon-touch-selector.c
4690 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4691 in order to allow use this function on multiple row selection mode if
4692 the column is different that the first one
4695 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4697 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4698 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4700 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4702 * src/hildon-date-selector.h: clean some comments, now on the .c
4703 * src/hildon-date-selector.c
4704 (hildon_date_selector_select_month): first implementation
4705 (hildon_date_selector_select_day): added documentation, reimplemented
4706 using hildon_date_selector_select_current_date to avoid repeat code
4709 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4711 Reviewed interaction logic based on device experiences, refactored
4714 * src/hildon-pannable-area.c,
4715 (hildon_pannable_area_class_init): Updated default vmax speed.
4716 (hildon_pannable_area_calculate_velocity): Added this function, it
4717 avoids duplicate valocity calculation. Adjusted calculation to
4718 avoid problems with zero dist events.
4720 (hildon_pannable_area_motion_notify_cb): Now we use the
4721 calculate_velocity function.
4723 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4725 * src/hildon-date-selector.c
4726 (hildon_date_selector_select_current_date): fix the day range check
4727 as it failed using the last day of the current month
4730 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4732 * src/hildon-touch-selector.c
4733 (hildon_touch_selector_get_num_columns): added a parameter validation
4736 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4738 * examples/Makefile.am
4739 * examples/hildon-edit-toolbar-example.c: Example of the
4740 HildonEditToolbar widget.
4742 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4744 * configure.ac: postrelease version bump.
4746 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4750 * configure.ac: prerelease version bump.
4751 * debian/changelog: update.
4753 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4755 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4756 renderer to display stock icons in the touch list. Also, set the sizes
4757 to the recommended in the style guide.
4759 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4760 * src/hildon-touch-selector.h
4761 (hildon_touch_selector_set_active_iter): renamed, now is
4762 hildon_touch_selector_select_iter
4763 (hildon_touch_selector_get_active_iter): renamed, now is
4764 hildon_touch_selector_get_selected
4765 (hildon_touch_selector_unselect_iter): added
4766 * src/hildon-touch-selector.c
4767 Update after API modification (methods renamed)
4768 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4769 order to avoid problems selecting multiple elements on the column
4770 (hildon_touch_selector_unselect_iter): added the implementation
4771 * src/hildon-time-selector.c
4772 * src/hildon-date-selector.c
4773 * src/hildon-touch-selector-entry.c
4774 Update methods calls after hildon-touch-selector.h API modification (methods
4777 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4779 * src/hildon-stackable-window.c
4780 (hildon_stackable_window_finalize): Call the parent class's finalize.
4782 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4784 * examples/hildon-touch-selector-example.c: (create_selector): Use
4785 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4788 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4790 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4791 set a cell background color, to respect theming.
4793 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4795 * doc/hildon-docs.sgml
4798 * src/hildon-edit-toolbar.c
4799 * src/hildon-edit-toolbar.h
4800 * src/hildon.h: New HildonEditToolbar widget.
4802 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4804 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4807 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4808 * src/hildon-touch-selector.c
4809 (_create_new_column): use g_object_set instead of two g_object_set_property
4811 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4812 * src/hildon-touch-selector.c
4813 (_create_new_column): use of hildon_gtk_tree_view_new to create
4814 the treeview, instead of use directly g_object_new
4815 (_create_new_column): update the property name "vindicator-mode" for the
4816 new one "vscrollbar-policy"
4817 * examples/hildon-date-button-example.c
4818 * examples/hildon-picker-button-multicolumn-example.c
4819 * examples/hildon-touch-selector-entry-example.c
4820 * examples/hildon-touch-selector-example.c
4821 * examples/hildon-time-button-example.c
4822 * examples/hildon-picker-button-example.c
4823 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4824 to all the treeviews inside a pannable area.
4826 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-button.h
4829 * src/hildon-button.c (hildon_button_init)
4830 (hildon_button_set_arrangement, hildon_button_set_alignment)
4831 (hildon_button_set_title_alignment)
4832 (hildon_button_set_value_alignment)
4833 (hildon_button_set_image_alignment)
4834 (hildon_button_construct_child): New methods to set the alignment
4835 of the individual components of the button (title, value,
4836 image). Also, new method to alter the xscale and yscale properties
4837 of the GtkAlignment inside the button, so more complex layouts can
4840 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-button.c (hildon_button_style_set)
4843 (hildon_button_class_init, hildon_button_set_arrangement)
4844 (hildon_button_construct_child): Apply style properties
4845 correctly. Use the 'image-spacing' style property too.
4847 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4850 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4853 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4855 * src/hildon-pannable-area.c,
4856 (hildon_pannable_area_size_request): Fixed problem with
4857 pannable-area size_request.
4859 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4861 Added management for the grab-focus to a child widget, like a
4862 range, we need to fade out the scrollbar when releasing.
4864 * src/hildon-pannable-area.c,
4865 (hildon_pannable_area_init): Connected the grab-focus signal to
4867 (hildon_pannable_area_grab_notify): Added this function in order
4868 to manage the situation when the grab-focus ends. We have to
4869 fade-out the scrollbar.
4871 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4873 * src/hildon-app-menu.c: Minor documentation update.
4875 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4877 * src/hildon-app-menu.c
4878 * examples/hildon-app-menu-example.c (create_menu): Update
4879 examples and documentation to explain how to connect callbacks.
4881 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4883 * examples/hildon-button-example.c
4884 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4885 hildon_stackable_window_new instead of gtk_window_new
4887 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4889 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4890 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4891 (hildon_pannable_area_set_property),
4892 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4893 (hildon_pannable_area_unrealize),
4894 (hildon_pannable_area_size_request),
4895 (hildon_pannable_area_size_allocate),
4896 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4897 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4898 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4899 (hildon_pannable_area_initial_effect),
4900 (hildon_pannable_area_redraw),
4901 (hildon_pannable_area_scroll_indicator_fade),
4902 (hildon_pannable_area_expose_event),
4903 (hildon_pannable_area_get_topmost), (synth_crossing),
4904 (hildon_pannable_area_button_press_cb),
4905 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4906 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4907 (hildon_pannable_area_motion_notify_cb),
4908 (hildon_pannable_area_button_release_cb),
4909 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4910 (hildon_pannable_area_remove),
4911 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4912 chage the code layout to a more GtkWidget like. Review the use of
4915 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4917 * examples/hildon-pannable-area-example-4.c,
4918 (main): Modified the name of the hindicator_mode to
4921 * src/hildon-pannable-area.c,
4922 (hildon_pannable_area_class_init),
4923 (hildon_pannable_area_motion_notify_cb),
4924 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4925 we have reduced the amount of signals and managed reviewed its
4926 rationale. Changed the default decelerate value.
4928 (hildon_pannable_area_add),
4929 (hildon_pannable_area_redraw): Refactored functions.
4931 (hildon_pannable_area_init),
4932 (hildon_pannable_area_get_property),
4933 (hildon_pannable_area_set_property):
4934 (hildon_pannable_draw_vscroll),
4935 (hildon_pannable_draw_hscroll),
4936 (hildon_pannable_area_initial_effect),
4937 (hildon_pannable_area_expose_event),
4938 (hildon_pannable_area_scroll),
4939 (hildon_pannable_area_button_press_cb),
4940 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4941 and vindicator_mode with hscrollbar_policy and
4942 vscrollbar_policy. Replaced hscroll and vscroll with
4943 hscroll_visible and vscroll_visible.
4945 (hildon_pannable_area_refresh): Refactor the function, remove
4946 variables and check the calls to this function, added resize
4947 conditions in case the children change their layout.
4949 (hildon_pannable_area_size_request): Added more detailed
4950 size_request calculation.
4953 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4955 * src/hildon-color-chooser.c
4956 (init_borders): use the correct gtk_border_free instead of g_free, to
4957 avoid a crash when this widget is used (ie: the three color selection
4960 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4962 * src/hildon-check-button.c,
4963 (hildon_check_button_set_active): Fixed problem when setting the
4964 active value, the widget was not redrawn.
4966 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4968 * src/hildon-pannable-area.c,
4969 (hildon_pannable_area_refresh),
4970 (hildon_pannable_area_scroll),
4971 (hildon_pannable_area_motion_notify_cb): Small code style change.
4973 (hildon_pannable_area_class_init): Default initial_hint set to
4974 FALSE, it is not in the specs.
4976 (hildon_pannable_area_initial_effect),
4977 (hildon_pannable_area_expose_event),
4978 (hildon_pannable_area_map),
4979 (hildon_pannable_area_init): Moved the launching point of the
4980 initial effect, it was in map but the sizes where not correct in
4981 that method so we do not know if we have the reproduce it. Now it
4982 is placed in the expose_event method and uses a variable to
4983 reproduce it just once.
4985 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4987 * src/hildon-pannable-area.c,
4988 (hildon_pannable_draw_vscroll),
4989 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4990 position allowed for the scrollbars.
4992 (hildon_pannable_area_size_allocate): Small style change.
4994 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4996 * src/hildon-pannable-area.c,
4997 (hildon_pannable_area_scroll_indicator_fade),
4998 (hildon_pannable_area_button_press_cb),
4999 (hildon_pannable_area_button_release_cb),
5000 (hildon_pannable_area_scroll_cb),
5001 (hildon_pannable_area_expose_event),
5002 (hildon_pannable_area_init): Added the define parameter
5003 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
5004 and refactor the fade variable.
5006 2008-08-19 Alejandro G. Castro <alex@igalia.com>
5008 * src/hildon-pannable-area.c,
5009 (hildon_pannable_area_redraw),
5010 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
5011 lines, we were reimplemeting the redraw code.
5013 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5015 * src/hildon-pannable-area.c,
5016 (hildon_pannable_area_scroll_cb),
5017 (hildon_pannable_area_realize),
5018 (hildon_pannable_area_class_init): Added scroll_event management
5019 for pannable area, now we can scroll the usual desktop method.
5021 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5022 initialization of the parameters should depend on idle_id.
5024 (hildon_pannable_area_init),
5025 (hildon_pannable_area_map): Small code style modifications
5027 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5029 * src/hildon-pannable-area.c
5030 (hildon_pannable_area_button_press_cb),
5031 (hildon_pannable_area_motion_notify_cb),
5032 (hildon_pannable_area_button_release_cb),
5033 (hildon_pannable_area_size_allocate),
5034 (hildon_pannable_area_scroll_to): Improved the timeouts
5035 management, we avoid creating them each time.
5037 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5039 * src/hildon-pannable-area.c:
5040 (hildon_pannable_area_refresh),
5041 (hildon_pannable_area_motion_notify_cb),
5042 (hildon_pannable_area_class_init):
5043 * src/hildon-pannable-area.h:
5044 * src/hildon-touch-selector.c
5045 (_create_new_column):
5046 * examples/hildon-pannable-area-example-4.c:
5047 (horizontal_movement),
5048 (vertical_movement),
5050 Replaced the names of enums in the HildonPannableArea:
5051 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5052 HILDON_MOVEMENT_MODE_*
5053 - HILDON_PANNABLE_AREA_MOV_* ->
5055 - Removed HildonPannableAreaIndicatorMode, now we
5058 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5060 * examples/hildon-pannable-area-touch-grid-example.c
5061 * examples/hildon-pannable-area-touch-list-example.c: Fix
5062 compilation warnings.
5064 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5066 * src/hildon-gtk.c (hildon_gtk_button_new)
5067 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5068 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5069 images overriding the value of the "gtk-button-images" setting.
5071 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5073 * src/hildon-check-button.c (hildon_check_button_new):
5074 Instead of using a custom container, display the label and the
5075 checkbox using the standard GtkButton API.
5077 * examples/hildon-check-button-example.c (main): Don't use
5078 hildon_check_button_set_label() anymore
5080 * src/hildon-check-button.h
5081 * src/hildon-check-button.c
5082 (hildon_check_button_set_label, hildon_check_button_get_label):
5083 Set as deprecated, now we're using gtk_button_{get,set}_label()
5085 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5087 * src/hildon-pannable-area.c,
5088 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5089 GtkTreeview first line we detected it after the inclusion of the
5090 GtkWindowImpl in gtk+. We now check if the window is visible, not
5091 just if the pointer is over the window.
5092 (hildon_pannable_axis_scroll),
5093 (hildon_pannable_area_expose_event): Small style changes.
5095 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5097 * src/hildon-button.c: Update documentation.
5099 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5101 * examples/hildon-button-example.c: Add a switch to show images in
5104 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5106 * doc/hildon-docs.sgml: Some docs reorganization.
5108 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5110 * examples/hildon-pannable-area-touch-list-example.c
5112 * examples/hildon-pannable-area-touch-grid-example.c
5113 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5114 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5115 Fix memory leak when setting the tree model.
5117 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5121 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5123 * doc/hildon.types: Remove duplicated hildon_window_get_type
5124 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5125 documentation comment.
5127 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5129 * doc/Makefile.am: Complete list of private headers.
5131 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5133 * doc/hildon-docs.sgml
5134 * src/hildon-app-menu.c
5135 * src/hildon-bread-crumb.c
5136 * src/hildon-button.c
5138 * src/hildon-program.c
5139 * src/hildon-stackable-window.c
5140 * src/hildon-window.c: Lots of documentation updates.
5142 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5144 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5146 * configure.ac: Require Gtk+ 2.12.9 at least
5148 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5150 * src/hildon-pannable-area.c
5151 (hildon_pannable_area_scroll_indicator_fade),
5152 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5153 to protect the return of this timeout callbacks, avoiding deadlocks.
5155 2008-08-12 Christian Dywan <christian@imendio.com>
5158 * src/hildon-*.h: Ensure a consistent include order,
5159 include <gtk/gtk.h> instead of particular files and
5160 only include the topmost header in the gtk stack. See NB #39857
5162 2008-08-12 Christian Dywan <christian@imendio.com>
5164 * src/hildon-picker-dialog.c
5165 * src/hildon-touch-selector.c: Fix warnings about unused and
5166 uninitialized variables.
5168 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5170 * examples/Makefile.am
5171 * examples/hildon-check-button-example.c: Example of the hildon
5174 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5176 * src/hildon-window.h
5177 * src/hildon-window.c (hildon_window_class_init)
5178 (hildon_window_unset_program): Don't make
5179 hildon_window_unset_program a virtual function anymore.
5181 * src/hildon-stackable-window.c: Update documentation
5183 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5186 * doc/hildon-docs.sgml
5187 * doc/visual_index.xml
5188 * src/hildon-defines.c
5190 * src/hildon-helper.c
5191 * src/hildon-range-editor.c: Lots of documentation fixes.
5193 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5195 * examples/hildon-picker-button-multicolumn-example.c
5196 (create_touch_selector): Fix compilation warning.
5198 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5201 (hildon_pannable_area_button_release_cb)
5202 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5204 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5206 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5209 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5211 * src/hildon-bread-crumb-trail.h
5212 * src/hildon-date-editor.c
5213 * src/hildon-date-selector.c
5214 * src/hildon-pannable-area.c
5215 * src/hildon-picker-dialog.c
5216 * src/hildon-time-selector.c
5217 * src/hildon-touch-selector-entry.c
5218 * src/hildon-touch-selector.c
5219 * src/hildon-touch-selector.h: Misc documentation fixes
5221 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5223 * examples/hildon-date-editor-example.c (main): Updated date
5226 * examples/hildon-note-example.c (on_confirmation_clicked):
5227 Updated confirmation note example.
5229 * src/hildon-date-editor.c
5230 * src/hildon-note.c: Updated sample programs in documentation.
5233 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5235 * src/hildon-date-button.h:
5236 * src/hildon-picker-button.h:
5237 * src/hildon-time-button.c:
5238 * src/hildon-time-button.h:
5240 Some declarations changes to allow gtk-doc to document the widgets
5243 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5245 * src/hildon-date-button.c: Document the widget.
5246 * src/hildon-time-button.c: Document the widget.
5248 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5250 * src/hildon-picker-button.c: Document the widget.
5251 * src/hildon-touch-selector-entry.c: Document the widget.
5253 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5255 * doc/hildon-docs.sgml
5258 * src/hildon-check-button.h
5259 * src/hildon-check-button.c: New functions to create the Hildon
5263 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5265 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5267 * src/hildon-button.h
5268 * src/hildon-button.c
5269 (hildon_button_add_title_size_group)
5270 (hildon_button_add_value_size_group)
5271 (hildon_button_add_image_size_group)
5272 (hildon_button_add_size_groups): New functions to set size groups
5273 for the button labels and image.
5274 (hildon_button_new_full): Removed
5276 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5278 * src/hildon-time-selector.c
5279 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5280 in order to avoid a crash if gconf is not available
5282 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5284 * src/hildon-button.c (hildon_button_set_arrangement)
5285 (hildon_button_construct_child): Don't construct the button child
5286 before setting the arrangement.
5288 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-program-private.h
5291 * src/hildon-program.c
5292 * src/hildon-program.h
5293 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5294 (hildon_program_peek_window_stack)
5295 (hildon_program_pop_window_stack)
5296 (hildon_program_go_to_root_window): HildonProgram now has a
5297 separate list for stackable windows. Functions are provided to
5298 manage that list with a stack-like API.
5300 * src/hildon-stackable-window.c: Stackable window management is
5301 now much simpler with the new HildonProgram API. Windows no
5302 longer need to be manually added to the program, they're
5303 automatically pushed to the top of the stack when shown.
5305 * examples/hildon-stackable-window-example.c: Updated example to
5306 reflect the API changes.
5308 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5310 * src/hildon-touch-selector.c: Comment out unimplemented
5311 hildon_touch_selector_insert_column() to avoid a compile warning.
5313 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5315 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5316 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5317 (hildon_touch_selector_set_column_selection_mode),
5318 (_hildon_touch_selector_set_model),
5319 (hildon_touch_selector_set_model):
5321 Complete review of HildonTouchSelector documentation.
5323 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5325 * doc/hildon-docs.sgml
5329 * src/hildon-gtk.c: Convenience functions for standard Gtk
5330 widgets, used to easily perform frequent operations.
5332 * src/hildon-button-helpers.h
5333 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5335 * src/hildon-helper.h
5336 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5337 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5339 * src/hildon-button.h
5340 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5342 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-button.c (hildon_button_init)
5345 (hildon_button_set_arrangement, hildon_button_construct_child):
5346 Pack the image and the labels inside the same GtkAlignment so
5347 gtk_button_set_alignment() can be used
5349 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5351 * src/hildon-button.h
5352 * src/hildon-button.c
5353 (hildon_button_init, hildon_button_set_image)
5354 (hildon_button_set_image_position)
5355 (hildon_button_construct_child): New functions to add an image to
5358 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5360 * src/hildon-date-button.c
5361 * src/hildon-picker-button.c
5362 * src/hildon-time-button.c
5363 * src/hildon-button.c:
5364 (hildon_button_class_init): "size-flags" renamed to "size"
5365 (hildon_button_set_title): Hide the title label if set to NULL.
5367 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5369 HildonButtonFlags split into HildonButtonArrangement (to set the
5370 button layout) and HildonSizeType (which can be used for any
5373 * src/hildon-button.h
5374 * src/hildon-button.c
5375 (hildon_button_class_init)
5376 (hildon_button_set_arrangement)
5377 (hildon_button_set_property): New "size-flags"
5378 property. "arrangement-flags" renamed to "arrangement".
5379 (hildon_button_new, hildon_button_new_with_text)
5380 (hildon_button_new_full): Constructors updated to reflect type changes.
5382 * src/hildon-helper.h
5383 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5384 to set the size of a widget.
5388 * src/hildon-button-helpers.c
5389 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5391 * src/hildon-date-button.c
5392 * src/hildon-date-button.h
5393 * src/hildon-picker-button.c
5394 * src/hildon-picker-button.h
5395 * src/hildon-time-button.c
5396 * src/hildon-time-button.h: Updated widgets to reflect
5397 HildonButton API changes.
5399 * examples/hildon-button-example.c
5400 * examples/hildon-date-button-example.c
5401 * examples/hildon-picker-button-example.c
5402 * examples/hildon-picker-button-multicolumn-example.c
5403 * examples/hildon-time-button-example.c
5404 * examples/hildon-touch-selector-entry-example.c
5405 * examples/hildon-touch-selector-example.c: Updated examples to
5406 reflect HildonButton API changes.
5408 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5410 * doc/hildon-docs.sgml:
5412 * examples/Makefile.am:
5413 * examples/hildon-touch-selector-entry-example.c:
5415 * src/hildon-touch-selector-entry.c:
5416 * src/hildon-touch-selector-entry.h:
5419 Moved HildonTouchSelectorEntry from sandbox. Added its
5420 documentation and examples.
5422 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5424 * src/hildon-touch-selector.h:
5425 * examples/hildon-picker-button-multicolumn-example.c:
5426 (hildon_touch_selector_append_text_column): Add a gboolean
5427 parameter to determine if text must be centered in the column.
5429 * src/hildon-date-selector.c: (hildon_date_selector_init):
5430 * src/hildon-time-selector.c: (hildon_time_selector_init):
5431 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5432 (create_touch_selector): Update widgets and example to reflect
5435 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5437 * src/hildon-touch-selector.c:
5438 (hildon_touch_selector_set_active_iter): Set also the cursor in
5441 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5443 * doc/hildon-docs.sgml
5446 * src/hildon-toggle-button.c
5447 * src/hildon-toggle-button.h
5448 * src/hildon.h: Removed HildonToggleButton widget, a derived
5449 class is not necessary for this.
5451 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5453 * src/hildon-pannable-area.c,
5454 (hildon_pannable_area_realize),
5455 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5458 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5460 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5461 "done" button the default widget for the dialog.
5463 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5465 * src/hildon-touch-selector.c:
5466 (hildon_touch_selector_class_init),
5467 (hildon_touch_selector_get_property),
5468 (_hildon_touch_selector_set_model),
5469 (_hildon_touch_selector_has_multiple_selection),
5470 (hildon_touch_selector_has_multiple_selection):
5471 Add a "has-multiple-selection" property with a virtual
5472 has_multiple_selection() method to allow derived classes to
5473 override the default value for it. See the method and property
5474 documentation for details.
5476 * src/hildon-touch-selector.h: Add the new API.
5478 * src/hildon-picker-dialog.c: (requires_done_button): Call
5479 hildon_touch_selector_has_multiple_selection() instead of
5480 determining the need for a button itself.
5482 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5484 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5485 (_hildon_touch_selector_set_model),
5486 (hildon_touch_selector_set_model): Move working code to
5487 _hildon_touch_selector_set_mode(). Call the class method instead.
5489 * src/hildon-touch-selector.h: Add (*set_model) to
5490 HildonTouchSelectorClass.
5492 Make hildon_touch_selector_set_model() a virtual method, so that
5493 derived classes can extend it and do fancy stuff with the model.
5495 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5497 * configure.ac: Set back the tarname in AC_INIT to hildon.
5499 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5503 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5504 instead of libesd (NB#86876). Volume handling is still an open issue.
5506 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5509 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5511 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5512 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5513 derived class to ease placement of an entry widget in
5514 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5515 end, where the selector columns are packed now.
5517 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5519 * src/hildon-picker-button.c: Removed the simple _text() API.
5520 * src/hildon-picker-button.h: Likewise.
5522 * src/hildon-touch-selector.h:
5523 * src/hildon-touch-selector.c:
5524 (hildon_touch_selector_new_text),
5525 (hildon_touch_selector_append_text),
5526 (hildon_touch_selector_prepend_text),
5527 (hildon_touch_selector_insert_text):
5529 Moved the simple _text() API from HildonPickerButton to
5530 HildonTouchPicker, to provide better escalability and not to tie
5531 that API to HildonPickerButton.
5533 * examples/hildon-picker-button-example.c: (main): Example updated.
5535 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5537 * src/hildon-button.c: Updated documentation.
5539 * examples/hildon-button-example.c: Add the posibility to create
5540 the buttons using horizontal layout for title and value.
5542 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5544 * src/hildon-app-menu-private.h
5545 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5546 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5547 GtkSizeGroup for the filters, use the 'homogeneous' property of
5550 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5552 * examples/hildon-button-example.c: Updated example.
5554 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5556 * doc/hildon-docs.sgml:
5559 Update documentation.
5561 * examples/Makefile.am: Update renamed examples.
5563 * examples/hildon-picker-button-multicolumn-example.c:
5564 (create_touch_selector), (main): Update after the rename.
5566 * examples/hildon-touch-picker-example.c: Removed.
5567 * examples/hildon-touch-selector-example.c: (value_changed),
5568 (create_selector), (get_visible_content), (main): Renamed from
5569 hildon-touch-picker-example.c
5571 * src/Makefile.am: Updated renamed files.
5573 * src/hildon-date-button.c: (hildon_date_button_init),
5574 (hildon_date_button_get_date), (hildon_date_button_set_date):
5575 * src/hildon-date-selector.c: (hildon_date_selector_init),
5576 (_custom_print_func), (_update_day_model),
5577 (_manage_selector_change_cb),
5578 (hildon_date_selector_select_current_date),
5579 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5580 * src/hildon-date-selector.h:
5581 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5582 (hildon_picker_button_set_property),
5583 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5584 (hildon_picker_button_init), (hildon_picker_button_new_text),
5585 (hildon_picker_button_append_text),
5586 (hildon_picker_button_prepend_text),
5587 (hildon_picker_button_insert_text),
5588 (hildon_picker_button_set_selector),
5589 (hildon_picker_button_get_selector):
5590 * src/hildon-picker-button.h:
5591 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5592 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5593 (_update_title_on_selector_changed_cb), (requires_done_button),
5594 (_hildon_picker_dialog_set_selector),
5595 (hildon_picker_dialog_set_selector),
5596 (hildon_picker_dialog_get_selector):
5597 * src/hildon-picker-dialog.h:
5598 * src/hildon-time-button.c: (hildon_time_button_init),
5599 (hildon_time_button_get_time), (hildon_time_button_set_time):
5600 * src/hildon-time-selector.c: (hildon_time_selector_init),
5601 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5602 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5603 * src/hildon-time-selector.h:
5606 Massive code updates after the rename.
5608 * src/hildon-touch-picker.c: Removed.
5609 * src/hildon-touch-picker.h: Removed.
5611 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5612 (hildon_touch_selector_init), (hildon_touch_selector_map),
5613 (hildon_touch_selector_remove), (_default_print_func),
5614 (_selection_changed_cb), (_create_new_column),
5615 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5616 (hildon_touch_selector_append_text_column),
5617 (hildon_touch_selector_remove_column),
5618 (hildon_touch_selector_set_column_attributes),
5619 (hildon_touch_selector_insert_column),
5620 (hildon_touch_selector_get_num_columns),
5621 (hildon_touch_selector_get_column_selection_mode),
5622 (hildon_touch_selector_set_column_selection_mode),
5623 (hildon_touch_selector_set_print_func),
5624 (hildon_touch_selector_get_print_func),
5625 (hildon_touch_selector_get_active_iter),
5626 (hildon_touch_selector_set_active_iter),
5627 (hildon_touch_selector_get_selected_rows),
5628 (hildon_touch_selector_get_model),
5629 (hildon_touch_selector_set_model),
5630 (hildon_touch_selector_get_current_text),
5631 (_hildon_touch_selector_center_on_selected_items):
5632 * src/hildon-touch-selector.h: Renamed from
5633 hildon-touch-picker.[ch]
5635 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5636 references, code examples, and related documentation.
5638 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5640 * doc/hildon-docs.sgml
5643 * src/hildon-toggle-button.c
5644 * src/hildon-toggle-button.h
5645 * src/hildon.h: New HildonToggleButton widget.
5647 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5649 * src/hildon-button.c: Add API documentation.
5650 (hildon_button_set_size_groups): Check input parameters
5652 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5654 * src/hildon-pannable-area.c
5655 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5656 effect after reaching the movement thredshold. This way we start
5657 using the distance after passing the thredshold.
5659 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5661 * src/hildon-button.c: (hildon_button_set_property): Use the
5662 appropriate g_value_get_flags() method.
5664 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5666 * doc/hildon-docs.sgml:
5669 Add the touch pickers, picker dialogs, and picker button widgets
5670 to the documentation.
5672 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5674 * src/hildon-button.c: (hildon_button_set_property),
5675 (hildon_button_class_init): Make "arrangement-flags" a proper
5676 G_TYPE_FLAGS derived property.
5678 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5680 * examples/Makefile.am: Add below examples.
5681 * examples/hildon-date-button-example.c:
5682 * examples/hildon-picker-button-example.c:
5683 * examples/hildon-picker-button-multicolumn-example.c:
5684 * examples/hildon-time-button-example.c:
5685 * examples/hildon-touch-picker-example.c:
5687 Add examples for the recently added touch pickers,
5688 picker dialogs, and picker button widgets.
5690 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5692 * src/hildon-button.c: Add some API documentation
5694 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5696 * src/hildon-button.h
5697 * src/hildon-button.c
5699 (hildon_button_new_with_text): New constructor to create a button
5700 with no text at all.
5701 (hildon_button_init, hildon_button_set_arrangement)
5702 (hildon_button_set_title, hildon_button_set_value)
5703 (hildon_button_set_text)
5704 (hildon_button_construct_child): Hide the value when it's not used
5705 so the rest of the text is properly aligned.
5706 Allow creating buttons with arbitrary widgets inside (not just
5707 title/value labels).
5709 * examples/hildon-button-example.c (vertical_buttons_window)
5710 (horizontal_buttons_window): Update example to use new API.
5712 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5714 * src/Makefile.am: Added HildonTimeButton.
5715 * src/hildon-time-button.c: Added missing LGPL header.
5716 * src/hildon-time-button.h: Added missing LGPL header.
5717 * src/hildon.h: Add hildon-time-button.h
5719 Copied HildonTimeButton from sandbox to trunk. Future work on this
5720 widget must take place in trunk.
5722 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5724 * src/Makefile.am: Added HildonDateButton.
5725 * src/hildon-date-button.c: Update includes.
5726 * src/hildon.h: Add hildon-date-button.h
5728 Copied HildonDateButton from sandbox to trunk. Future work on this
5729 widget must take place in trunk.
5731 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5733 * src/Makefile.am: Added HildonPickerButton.
5734 * src/hildon-picker-button.h: Update includes.
5735 * src/hildon.h: Add hildon-picker-button.h
5737 Copied HildonPickerButton from sandbox to trunk. Future work on
5738 this widget must take place in trunk.
5740 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5742 * src/Makefile.am: Added HildonPickerDialog.
5743 * src/hildon-picker-dialog.c: Update includes.
5744 * src/hildon.h: Add hildon-picker-dialog.h
5746 Copied HildonPickerDialog from sandbox to trunk. Future work
5747 on this widget must take place in trunk.
5749 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5751 * src/Makefile.am: Added HildonTimeSelector.
5752 * src/hildon.h: Add hildon-time-selector.h
5754 Copied HildonTimeSelector widget from sandbox to trunk. Future
5755 work on this widget must happen in trunk.
5757 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5759 * src/Makefile.am: Added HildonDateSelector.
5760 * src/hildon.h: Add hildon-date-selector.h
5762 Copied HildonDateSelector widget from sandbox to trunk. Future
5763 work on this widget must happen in trunk.
5765 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5767 * src/Makefile.am: Added HildonTouchPicker.
5768 * src/hildon-touch-picker.c: Update includes.
5769 * src/hildon.h: Add hildon-touch-picker.h
5771 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5772 on this widget must happen in trunk.
5774 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5776 * src/hildon-pannable-area.c:
5777 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5779 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5781 * examples/hildon-app-menu-example.c (main): Let the window
5784 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5786 * src/hildon-pannable-area.c
5787 (hildon_pannable_area_class_init): Set the min value of the
5788 overshoot properties to zero, which points out that not
5789 overshooting allowed.
5791 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5793 Modified the procedure to get the widget at a point inside the
5794 pannable area when using the movement type signals. Now the user
5795 has to call a function to get the child, that way we just
5796 calculate the child in case the user really want to use it and not
5799 * src/hildon-marshalers.list: Modified the marshallers, now we do
5800 not have the widget as a parameter.
5802 * src/hildon-pannable-area.c
5803 (hildon_pannable_area_motion_notify_cb),
5804 (hildon_pannable_area_class_init),
5805 (hildon_pannable_get_child_widget_at): Removed the widget
5806 parameter from the signal callback. We have also refactored the
5807 emission of the signals.
5809 * src/hildon-pannable-area.h: Added a new method to the API to
5810 calculate a widget at a point inside the pannable area,
5811 hildon_pannable_get_child_widget_at.
5813 * examples/hildon-pannable-area-example-4.c
5814 (horizontal_movement): Modified the example to use the new API,
5815 added condition to control which widget is under the event. This
5816 way we can avoid scrolling laterally over other widgets.
5818 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5820 * src/hildon-pannable-area.c
5821 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5822 modes, we stop getting the pointer events due to returning the
5823 callback without properly calling the get pointer again. Fixed
5824 also an error using the hscroll and vscroll.
5826 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5828 * src/hildon-app-menu-private.h
5829 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5830 (hildon_app_menu_button_release, hildon_app_menu_init)
5831 (hildon_app_menu_class_init): Don't hide the menu on button
5832 release if the user didn't press outside first.
5834 * src/hildon-window.h
5835 * src/hildon-window.c (hildon_window_toggle_menu)
5836 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5837 hildon_window_toggle_menu a virtual function for the stackable
5838 window to override it.
5840 * src/hildon-stackable-window.h
5841 * src/hildon-stackable-window-private.h
5842 * src/hildon-stackable-window.c
5843 (hildon_stackable_window_realize)
5844 (hildon_stackable_window_finalize)
5845 (hildon_stackable_window_class_init)
5846 (hildon_stackable_window_init)
5847 (hildon_stackable_window_set_main_menu): New function to set the
5848 app menu of a HildonStackableWindow.
5850 * examples/hildon-app-menu-example.c: Remove the button to show
5851 the app menu, now it'll be shown when clicking on the title bar
5854 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5856 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5857 set the widget name if the arrangement flags do not specify
5860 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5862 * src/hildon-button.c: (hildon_button_set_property),
5863 (hildon_button_class_init), (hildon_button_new_full),
5864 (hildon_button_set_arrangement): Added "arrangement-flags"
5867 Make the HildonButtonFlags a construction-only property, to allow
5868 subclasses to set them properly.
5870 2008-07-21 Tim Janik <timj@imendio.com>
5872 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5873 insertion position after backspace, so additional digits are appended,
5876 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5878 * src/hildon-pannable-area.c,
5879 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5880 TODO list, it was complete and removed the g_debug and g_print
5883 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5885 Added the movement modes to the hildon-pannable-area, with this
5886 modes the developers can control in which directions the widget
5887 can scroll. They can also connect to signals in order to do
5888 something when that happens, allowing applications scroll. There
5889 is an example uploaded showing how to use it.
5891 * examples/Makefile.am:
5892 * examples/hildon-pannable-area-example-4.c: Added this example of
5893 an application using the modes.
5895 * src/hildon-marshalers.list: Added a new marshaller for the new
5898 * src/hildon-pannable-area.h: Added new enumerations and flags in
5899 order to control the movement modes and the new signals to warn
5900 about the movements in the area.
5902 * src/hildon-pannable-area.c:
5903 (hildon_pannable_axis_scroll),
5904 (hildon_pannable_area_scroll),
5905 (hildon_pannable_area_motion_notify_cb),
5906 (hildon_pannable_area_get_property),
5907 (hildon_pannable_area_set_property),
5908 (hildon_pannable_area_map),
5909 (hildon_pannable_area_class_init),
5910 (hildon_pannable_area_init),
5911 (hildon_pannable_area_jump_to): Added the modes to control the
5912 movement in the widget. We have added properties to control it,
5913 signals to warn about the movements and refactored some code.
5915 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5917 Changes required in order to allow vfast_factor set to zero to
5920 * src/hildon-pannable-area.c:
5921 (hildon_pannable_area_button_press_cb): Changed the condition, it
5922 is required for not allowing click when vfast_factor is zero.
5923 (hildon_pannable_area_timeout): Initialized velocity variables
5924 when we stop moving, it was less than 1 but not zero and we need
5925 to check zero in some situations.
5926 (hildon_pannable_area_class_init): Changed the default value of
5927 the speed factor, now the button_press is just sent in case the
5928 speed is 2 per cent of the max speed.
5929 (hildon_pannable_area_init): Initialization with 0.
5931 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5933 * src/hildon-pannable-area.c,
5934 (hildon_pannable_area_get_topmost): replaced
5935 gdk_window_get_children with gdk_window_peek_children, this way we
5936 do not have to free the list because it is not a copy.
5938 (hildon_pannable_axis_scroll),
5939 (hildon_pannable_area_scroll),
5940 (hildon_pannable_area_timeout),
5941 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5942 two parameters that were only used inside the
5943 hildon_pannable_area_scroll function.
5945 * examples/hildon-pannable-area-example.c,
5946 (get_sawtooth_label): Fixed small memory leak.
5948 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5950 More checks for the case where the overshoot is bigger than the
5953 * src/hildon-pannable-area.c:
5954 (hildon_pannable_draw_vscroll),
5955 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5956 to draw the slider of the scrollbar under the other scrollbar.
5957 (hildon_pannable_area_expose_event): added new checks to control
5958 the drawing of the overshooting area rectangle, in case it is too
5959 big for the area of the widget.
5960 (hildon_pannable_area_size_allocate): add more checks to avoid
5961 setting a position to the child widget outside the area.
5963 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5965 * src/hildon-pannable-area.c
5966 (hildon_pannable_area_size_allocate): Added conditions to control
5967 when overshooting is bigger than the allocated space for the
5968 children, this avoids negative allocations.
5970 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5972 * doc/hildon-docs.sgml
5974 * examples/Makefile.am
5975 * examples/hildon-button-example.c
5977 * src/hildon-button.c
5978 * src/hildon-button.h
5979 * src/hildon.h: Initial version of the new HildonButton widget,
5982 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5984 * src/hildon-pannable-area.c:
5985 (hildon_pannable_area_button_press_cb),
5986 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5987 (hildon_pannable_area_motion_notify_cb),
5988 (hildon_pannable_area_button_release_cb),
5989 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5990 (hildon_pannable_area_jump_to_child):
5992 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5994 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5996 * examples/Makefile.am
5997 * examples/hildon-pannable-area-touch-grid-example.c
5998 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5999 the Hildon Touch List and Hildon Touch Grid using the
6000 HildonPannableArea widget.
6002 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6004 * src/hildon-pannable-area.c,
6005 (hildon_pannable_area_button_press_cb),
6006 (hildon_pannable_area_refresh),
6007 (hildon_pannable_area_scroll),
6008 (hildon_pannable_area_motion_notify_cb),
6009 (hildon_pannable_area_button_release_cb),
6010 (hildon_pannable_area_expose_event),
6011 (hildon_pannable_area_add),
6012 (hildon_pannable_area_remove),
6013 (hildon_pannable_area_realize),
6014 (hildon_pannable_area_size_allocate),
6015 (hildon_pannable_area_class_init),
6016 (hildon_pannable_area_init),
6017 (hildon_pannable_area_scroll_to_child),
6018 (hildon_pannable_area_jump_to_child): Fixed the problem of
6019 removing the child from the GtkBin, we have rearranged the widget
6020 hierarchy, now there is no GtkAlignment which was not doing
6021 anything interesting but breaking some of the assumptions of
6022 GtkContainer. Now developers if they want to add a GtkAlignment
6023 they could, but it is not inside the area.
6025 We had to review the whole allocation/expose process, now it is
6026 improved and we save at least three signals which would be saving
6027 some time when rendering the widget. The allocation of the
6028 scrollbars is now made in the allocate method as usual.
6030 We have also added some conditions in order to control when there
6031 is no child of the pannable area. Maybe we will need more work
6034 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6036 * src/hildon-pannable-area.c,
6037 (hildon_pannable_area_dispose): Released the fade-out timeout when
6038 disposing the widget.
6040 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6042 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6043 zero, we are going to use that property in order to deactivate the
6045 (hildon_pannable_axis_scroll),
6046 (hildon_pannable_area_size_allocate): Added conditions to control
6047 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6048 call, now it is called in all situations and we can remove calls
6049 in the allocate method.
6050 (hildon_pannable_area_map): Control the situation when
6051 overshoot_max is zero, we do not need the timeout.
6052 (hildon_pannable_area_class_init): Added documentation in order to
6053 point out that setting zero to overshoot_max means deactivate
6056 NOTE: removed trailing whitespaces from my previous comments of
6059 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6061 * src/hildon-pannable-area.c
6062 (hildon_pannable_area_get_property),
6063 (hildon_pannable_area_set_property),
6064 (hildon_pannable_area_map),
6065 (hildon_pannable_area_class_init),
6066 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6067 to cause the widget give a hint about its panning abilities upon
6070 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6072 * src/hildon-pannable-area.c: Several documentation improvements.
6074 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6076 * src/hildon-program.c
6077 * src/hildon-stackable-window.c: Update documentation.
6079 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6081 * src/hildon-stackable-window.c (get_previous_window_if_last):
6082 Renamed get_last_window()
6083 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6084 (hildon_stackable_window_unset_program):
6086 (get_previous_window_if_last):
6087 Detect if the window hasn't been added to a HildonProgram.
6089 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6091 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6093 * src/hildon-pannable-area.c
6094 (hildon_pannable_area_button_press_cb),
6095 (hildon_pannable_axis_scroll),
6096 (hildon_pannable_area_scroll),
6097 (hildon_pannable_area_timeout),
6098 (hildon_pannable_calculate_vel_factor),
6099 (hildon_pannable_area_get_property),
6100 (hildon_pannable_area_set_property),
6101 (hildon_pannable_area_class_init),
6102 (hildon_pannable_area_init),
6103 (hildon_pannable_area_scroll_to),
6104 (hildon_pannable_area_jump_to),
6105 (hildon_pannable_area_scroll_to_child),
6106 (hildon_pannable_area_jump_to_child):
6107 * src/hildon-pannable-area.h: Added the new API functions:
6108 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6109 hildon_pannable_area_scroll_to_child,
6110 hildon_pannable_area_jump_to_child
6113 * examples/Makefile.am
6114 * examples/hildon-pannable-area-example-2.c
6115 * examples/hildon-pannable-area-example-3.c: Added these two new
6116 examples in order to test and show how the new APIs work.
6118 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6120 * examples/hildon-stackable-window-example.c (new_window):
6121 * src/Makefile.am (noinst_HEADERS):
6122 * src/hildon-program.c (hildon_program_go_to_root_window):
6123 * src/hildon-program.h:
6124 * src/hildon-stackable-window-private.h:
6125 * src/hildon-stackable-window.c:
6126 * src/hildon-stackable-window.h:
6127 Create hildon-stackable-window-private.h
6128 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6130 * examples/hildon-app-menu-example.c (create_menu):
6131 * examples/hildon-hvolumebar-insensitive-example.c (main):
6132 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6133 * examples/hildon-toolbar-seekbar-example.c (main):
6134 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6135 * src/hildon-banner.c (hildon_banner_set_property):
6136 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6137 Fix compilation warnings
6139 * src/hildon-window.c:
6142 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6144 * src/hildon-stackable-window.c
6145 (hildon_stackable_window_unset_program):
6146 Calculate correctly whether to show the previous window if the
6147 last one is removed from the stack.
6148 (hildon_stackable_window_go_to_root_window):
6149 Send delete events starting from the topmost window.
6150 Stop if one of the windows is not destroyed.
6152 (hildon_stackable_window_delete_event)
6153 (hildon_stackable_window_class_init):
6154 Ignore the delete event if the window is not the topmost one.
6156 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6158 * src/hildon-pannable-area.c
6159 (hildon_pannable_area_expose_event): Fixed a problem when
6160 selecting the background color of the scrollbars.
6162 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6164 * examples/hildon-stackable-window-example.c
6165 * src/hildon-stackable-window.c
6166 * src/hildon-stackable-window.h
6167 hildon_stackable_window_go_home() renamed to
6168 hildon_stackable_window_go_to_root_window()
6169 Send delete events to windows rather than closing them with
6170 gtk_widget_destroy()
6172 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6174 * src/hildon-pannable-area.c
6175 (hildon_pannable_area_button_release_cb): Fix overshooting in
6178 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6180 * src/hildon-pannable-area.c
6181 (hildon_pannable_area_init): Initially show the scroll indicators.
6182 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6184 Add initial effect showing the widget is pannable.
6186 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6188 * src/hildon-pannable-area.c
6189 (hildon_pannable_area_class_init)
6190 (hildon_pannable_area_set_property)
6191 (hildon_pannable_area_get_property)
6192 (hildon_pannable_area_button_press_cb):
6193 New 'velocity_fast_factor' property to decide which velocity is
6196 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6198 * src/hildon-pannable-area.c
6199 (hildon_pannable_draw_hscroll)
6200 (hildon_pannable_draw_vscroll):
6201 Use float variables to calculate the size of the scrollbars to
6202 avoid error propagation and resizing during scrolling.
6204 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6206 * src/hildon-pannable-area.c
6207 (hildon_pannable_draw_vscroll)
6208 (hildon_pannable_draw_hscroll):
6209 Define a minimum size for the scroll bars
6211 * src/hildon-stackable-window.c
6212 (hildon_stackable_window_go_home): Fix compilation warning
6213 (get_last_window): Minor optimizations
6214 (hildon_stackable_window_class_init): Fix initialization of
6217 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6219 * src/hildon-stackable-window.c: Fixed typos in doc
6221 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6223 * src/hildon-pannable-area.c
6224 (hildon_pannable_area_scroll):
6225 Calculate here whether we need to scroll instead of using the booleans
6226 that tell us whether to /draw/ the scrolling bars.
6228 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6230 * src/hildon-app-menu.h
6232 * src/hildon-app-menu.c
6233 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6234 multiple filter groups related code and API. Now we support only
6236 * examples/hildon-app-menu-example.c:
6238 Update to reflect API changes.
6240 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6242 * src/hildon-stackable-window.c
6243 (hildon_stackable_window_class_init):
6244 Add hildon_stackable_window_realize.
6245 (hildon_stackable_window_realize):
6246 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6247 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6248 to apply theming and behavior specific to HildonStackableWindow
6251 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6253 * src/hildon-note.c (hildon_note_button_release):
6254 Close information notes also when tapping on them
6256 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6258 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6259 ELASTICITY, refactor and review, fix some issues with drawing
6262 * src/hildon-pannable-area.c:
6263 (hildon_pannable_area_button_press_cb): removed the conditions to
6264 avoid clicks when overshooting. It is not required
6266 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6267 define. Refatored and reviewed the code, now we do not need to
6268 manage velocity in motion_notify.
6270 (hildon_pannable_area_motion_notify_cb): We have moved the code
6271 that controls the area_scroll to the axis_scroll function and get
6272 rid of duplicated code.
6274 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6276 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6278 (hildon_pannable_draw_vscroll),
6279 (hildon_pannable_draw_hscroll): Fixed the problems with the
6280 scrollbar drawing, now we do not use two surfaces, it is easier
6281 and saves resources.
6283 (hildon_pannable_area_get_property): Style modification.
6285 (hildon_pannable_area_class_init): Changed some default values.
6287 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6289 * src/hildon-stackable-window.c: Fix some typos in the
6292 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6294 * src/hildon-dialog.c:
6295 Change indentation style
6298 (hildon_note_button_release):
6299 Use root coordinates to check if the release event happened
6302 * src/hildon-app-menu.c
6303 (hildon_app_menu_button_release):
6304 Remove unnecessary check
6306 * examples/hildon-app-menu-example.c
6308 Add cast to fix warning
6310 * src/hildon-app-menu.c
6311 (hildon_app_menu_class_init):
6312 New inner-border style property.
6313 Set all default spacings to 16
6314 (hildon_app_menu_init):
6315 Use vertical-spacing to set the space between filter buttons and
6316 regular menu buttons.
6317 Set the default container border using the inner-border value.
6319 * examples/hildon-app-menu-example.c
6321 Don't set the menu border explicitly, now we have the inner-border
6322 style property for that.
6324 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6326 * src/hildon-app-menu.c (hildon_app_menu_init):
6327 Make the window modal
6329 * src/hildon-note.c (hildon_note_map)
6330 * src/hildon-app-menu.c (hildon_app_menu_map):
6331 Destroy the grab window if we're unable to grab the pointer
6333 * src/hildon-app-menu-private.h
6334 * src/hildon-app-menu.c
6335 (hildon_app_menu_init, hildon_app_menu_finalize)
6336 (hildon_app_menu_map, hildon_app_menu_unmap)
6337 (hildon_app_menu_button_release)
6338 (grab_transfer_window_get):
6339 Bring back the grab window
6340 (hildon_app_menu_realize):
6341 Decorate the window, set WM hint for Matchbox
6343 * src/hildon-note.c (hildon_note_realize):
6344 * src/hildon-banner.c (hildon_banner_realize):
6345 Add WM hints for Matchbox
6347 2008-06-10 Alberto Garcia <agarcia@igalia.com>
6349 * src/hildon-app-menu-private.h
6350 * src/hildon-app-menu.c
6351 (hildon_app_menu_init, hildon_app_menu_finalize)
6352 (hildon_app_menu_map, hildon_app_menu_unmap)
6353 (hildon_app_menu_button_release):
6354 Remove the grab window, it's not needed anymore
6356 * src/hildon-program.c
6357 Fixed typo in documentation
6359 * src/hildon-app-menu.h
6360 * src/hildon-app-menu.c
6361 * examples/hildon-app-menu-example.c
6362 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6364 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6367 Added new transfer_window and close_if_pressed_outside private
6369 (hildon_note_rebuild):
6370 Don't add a cancel button to the information note. It will be
6371 closed when tapping outside
6372 Remove the comment about the OK button in the documentation
6373 (hildon_note_realize):
6374 Set the notification type hint
6375 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6376 Grab/ungrab pointer and keyboard if the note has to be closed when
6378 (hildon_note_button_release):
6379 Close the note when tapping outside (if applicable)
6381 * src/hildon-app-menu.c
6382 Grab/ungrab pointer and keyboard on map/unmap
6383 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6384 Close the menu on button release, not button press
6386 * src/hildon-banner.c
6387 (hildon_banner_set_property)
6388 (hildon_banner_check_position):
6389 Make the banner use the full width of the screen
6390 (hildon_banner_show_information)
6391 (hildon_banner_show_information_with_markup):
6392 Don't display an icon by default
6394 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6396 Added fading scrollbars and adapted all the overshooting code to
6397 horizontal scrolling. We have also fixed bugs with overshooting
6398 and current fading implementation.
6400 * src/hildon-pannable-area.c
6401 (hildon_pannable_area_scroll_indicator_fade): Time out function
6402 used to change the transparency of the scrollbars.
6404 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6405 control and fixed a problem with fading, we now remove the fade
6406 timeout before adding a new one.
6408 (hildon_pannable_axis_scroll):
6409 (hildon_pannable_area_scroll):
6410 (hildon_pannable_area_timeout): Added this functions so we can use
6411 the scroll code both for vertical and horizontal.
6413 (hildon_pannable_area_motion_notify_cb):
6414 (hildon_pannable_area_button_release_cb): Added the horizontal
6415 scrolling control, fixed a problem with the overshooting timeout.
6417 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6418 painting of the scrolls.
6420 (hildon_pannable_draw_vscroll):
6421 (hildon_pannable_draw_hscroll):
6422 (hildon_pannable_area_expose_event):
6423 Draw both scrollbars and rectangles in the overshooting area.
6425 (hildon_pannable_area_get_property):
6426 (hildon_pannable_area_set_property):
6427 Modified the overshoot property to overshoot_max
6429 (hildon_pannable_area_map):
6430 Replaced the comments symbols.
6432 (hildon_pannable_area_size_allocate):
6433 (hildon_pannable_area_class_init):
6434 (hildon_pannable_area_init): Added horizontal scroll, fading
6435 effect properties, fixed a problem when overshooting in the bottom
6438 * examples/hildon-pannable-area-example.c:
6439 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6440 looks better in the example.
6442 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6444 * src/hildon-window.c
6445 * src/hildon-window.h
6446 (hildon_window_class_init)
6447 (hildon_window_unset_program)
6448 (hildon_window_unset_program_real):
6449 Make unset_program a virtual function
6451 * src/hildon-stackable-window.c
6452 * src/hildon-stackable-window.h
6453 Added hildon_stackable_window_go_home()
6455 * examples/Makefile.am
6456 * examples/hildon-stackable-window-example.c
6457 HildonStackableWindow example
6459 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6461 * hildon-pannable-area.c: Added the overshoot property and removed
6462 the OVERSHOOT define. Fixed an indent style error.
6463 (hildon_pannable_area_motion_notify_cb):
6464 (hildon_pannable_area_get_property):
6465 (hildon_pannable_area_set_property): Add overshoot property.
6467 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6470 (hildon_pannable_area_class_init): Installed the new property.
6472 * hildon-pannable-area-example.c: Added a sawtooth function, this
6473 way it is easier to check the movement in the pannable.
6474 (get_sawtooth_label): Added this function.
6475 (main): Now we get the labels from the new get_sawtooth_label
6478 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6480 * src/hildon-app-menu.h
6481 * src/hildon-app-menu.c
6482 Renamed API variables for consistency
6484 (hildon_app_menu_popup): Use also the default window size to
6485 decide where to place the menu
6487 (hildon_app_menu_init, hildon_app_menu_class_init): New
6488 external-border style property
6490 2008-05-26 Michael Natterer <mitch@imendio.com>
6492 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6493 widget_class->tap_and_hold_setup signal slot doesn't exist any
6494 longer, stop overriding it.
6496 (hildon_time_editor_init): g_signal_connect() to the
6497 tap-and-hold-setup signal instead.
6499 (hildon_time_editor_entry_keypress): add cast to fix warning.
6501 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6503 * doc/hildon-docs.sgml
6505 * examples/Makefile.am
6506 * examples/hildon-app-menu-example.c
6508 * src/hildon-app-menu-private.h
6509 * src/hildon-app-menu.c
6510 * src/hildon-app-menu.h
6512 New HildonAppMenu widget
6514 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6516 Rearranged the inheritance of the pannable area, now it inherits
6517 from GtkBin. This will allow us to control the event_window and
6518 the allocation process of the widget, required for some effects.
6520 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6521 GtkBin structures. * src/hildon-pannable-area.c: Added the
6522 event_window variable.
6523 (hildon_pannable_area_button_press_cb):
6524 (hildon_pannable_area_button_release_cb):
6525 (hildon_pannable_area_motion_notify_cb):
6526 Changed the signature of the method, now we override the event
6527 callback instead of connecting to the signal.
6529 (hildon_pannable_area_realize):
6530 (hildon_pannable_area_unrealize):
6531 (hildon_pannable_area_map):
6532 (hildon_pannable_area_unmap):
6533 (hildon_pannable_area_size_allocate):
6534 Added functions to control the widget construction. We add a
6535 INPUT_ONLY window and we put it over the widgets inside the
6536 container, this event_window handles the events.
6538 (hildon_pannable_area_class_init):
6539 Replaced the signal connections with overrides of the event
6542 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6544 Bouncing effect added when touching the borders, you can change
6545 the elasticity of the border changing the ELASTICITY define.
6547 * src/hildon-pannable-area.c: Added ELASTICITY define.
6548 (hildon_pannable_area_timeout): Added inverse velocity when
6549 touching the border of the child widget, that causes a bounce.
6551 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6553 Improved performance, we now do not go to the X server in order to
6554 get the list of window children. Apparently the effect is the
6555 same, we have to be careful and check if this breaks something in
6558 * src/hildon-pannable-area.c:
6559 (get_ordered_children): Removed this function.
6560 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6561 the children windows function with gdk_window_get_children.
6563 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6565 * src/hildon-pannable-area.c:
6566 (hildon_pannable_area_dispose): Fixed a crash when closing the
6567 window and kinetics is activated.
6569 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6571 * src/hildon-pannable-area.h
6572 * src/hildon-pannable-area.c
6573 Changed indentation style to meet the one used in Hildon
6575 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6577 Reviewed the interaction of the AUTO mode, now we use the time
6578 attribute of the events and calculate the velocity in the motion,
6579 doing a gimp like calculation. The velocity is calculated in each
6580 motion event using the last velocity and the current one, the
6581 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6583 * src/hildon-pannable-area.c: Replaced the time based algorithm
6585 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6586 timeout for the AUTO mode when we are still moving the cursor. We
6587 added also the velocity calculation in this function.
6588 (hildon_pannable_area_button_release_cb): launch the timeout in
6589 case we are in AUTO mode. There are still some constants here that
6590 come from the old implementation that should be reviewed and
6593 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6595 * doc/hildon-docs.sgml
6598 * src/hildon-stackable-window.c
6599 * src/hildon-stackable-window.h
6601 New HildonStackableWindow widget
6603 * examples/hildon-dialog-example.c
6604 * examples/hildon-pannable-area-example.c
6607 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6609 * src/hildon-dialog.c
6610 (hildon_dialog_new_with_buttons): New constructor.
6612 * examples/hildon-dialog-example.c
6613 (main): Update the example to use the new
6614 hildon_dialog_new_with_buttons().
6616 * examples/hildon-pannable-area-example.c
6617 (main): Update example.
6619 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6621 * doc/hildon-docs.sgml
6623 Added HildonPannableArea to the documentation.
6625 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6627 * doc/visual_index.xml
6628 Fix reference to HildonLoginDialog in documentation
6630 * doc/hildon-docs.sgml
6632 * examples/Makefile.am
6633 * examples/hildon-dialog-example.c
6635 * src/hildon-dialog.c
6636 * src/hildon-dialog.h
6638 New HildonDialog widget.
6640 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6642 * src/hildon-pannable-area.c
6643 Merge latest changes (r4318, r4342) from libmokoui trunk
6645 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6647 * examples/Makefile.am
6648 * examples/hildon-pannable-area-example.c
6650 * src/hildon-pannable-area.c
6651 * src/hildon-pannable-area.h
6653 New HildonPannableArea widget.
6655 2008-04-15 18:05:19 <timj@imendio.com>
6657 * src/hildon-banner.c: revert the recent change, that introduced
6658 gtk_window_present() calls. this reopens:
6659 Bug 78481 - [freetest] information banners are hidden under browser menu
6660 But resolves another variant of:
6661 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6663 2008-04-15 13:21:13 <timj@imendio.com>
6665 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6666 recreated its layout, spotted by Kris. this fixes all remaining
6667 artefacts and stability issues with the banner code. in particular:
6668 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6670 2008-04-14 16:52:59 <timj@imendio.com>
6672 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6673 operating on unrealized widgets, fixes:
6674 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6676 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6678 2008-04-09 Kristian Rietveld <kris@imendio.com>
6680 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6681 makes banner disappear.
6682 Fixes: NB#79182: info banner flickering with certain message lengts.
6684 * src/hildon-banner.c (hildon_banner_constructor),
6685 (hildon_banner_init), (hildon_banner_set_text),
6686 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6687 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6688 FALSE, reset size requests of label and banner,
6689 (force_to_wrap_truncated): when the text is too wide, always enforce
6690 the maximum possible width instead of recalculating it from the
6691 layout; enforce the maximum banner height of 3 lines,
6692 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6693 nicer wrapping and no truncated chars if space gets tight.
6695 * src/hildon-banner-private.h: add has_been_wrapped and
6696 has_been_truncated fields.
6698 2008-04-07 Sven Herzberg <sven@imendio.com>
6700 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6701 local values in hildon_date_editor_size_allocate
6703 * src/hildon-date-editor.c: moved the real allocation code into the
6706 2008-04-07 Sven Herzberg <sven@imendio.com>
6708 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6709 local values in hildon_date_editor_size_allocate
6711 * src/hildon-date-editor.c: merged the two if() branches together
6713 2008-04-07 Sven Herzberg <sven@imendio.com>
6715 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6716 local values in hildon_date_editor_size_allocate
6718 * src/hildon-date-editor.c: changed the arguments of the if()
6721 2008-04-07 Sven Herzberg <sven@imendio.com>
6723 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6724 local values in hildon_date_editor_size_allocate
6726 * src/hildon-date-editor.c: split the calculation of the allocation
6727 from the real allocation
6729 2008-03-27 Michael Natterer <mitch@imendio.com>
6731 Fixes: NB#81696: The passcode is not overwritten even after
6734 * src/hildon-code-dialog.c
6735 (hildon_code_dialog_button_clicked)
6736 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6737 because that doesn't overwrite selected text. Instead, emit the
6738 "commit" signal on the entry's im_context so the entry's normal
6739 insert logic is triggered. Set the cursor to the end of the entry
6740 after each insert operation so that we *only* insert in the middle
6741 of the text if something was selected.
6743 2008-03-27 Michael Natterer <mitch@imendio.com>
6745 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6746 selector cannot be opened
6748 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6749 when the popup color selector is created. Please connect to this
6750 signal in order to set the dialog's help ID.
6752 2008-03-25 Sven Herzberg <sven@imendio.com>
6754 Fixes: MB#1212: Hide info banners (infoprints) on click
6756 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6757 extracted the close event simulation into an extra function
6758 (hildon_banner_button_press_event): simulate a close event and destroy
6759 the widget if the event wasn't handled
6760 (hildon_banner_class_init): added the button_press_event handler
6761 (hildon_banner_init): added button-press events to the widget
6763 2008-03-25 Sven Herzberg <sven@imendio.com>
6765 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6766 Patch from: Mohammad Anwari <mdamt@maemo.org>
6768 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6769 instead of the right in RTL mode
6770 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6771 breadcrumb button list in RTL mode
6772 * src/hildon-caption.c: mirror the appearance of the caption widget in
6774 * src/hildon-date-editor.c: mirror appearance of the date editor in
6776 * src/hildon-time-editor.c: mirror appearance of the time editor in
6778 * src/hildon-window.c: fix the position of the popup in RTL mode
6780 2008-03-25 Sven Herzberg <sven@imendio.com>
6782 Amendment to the fix of NB#22072. Fix compilation.
6784 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6786 2008-03-19 Sven Herzberg <sven@imendio.com>
6788 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6791 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6792 timeout id properly when the timeout will disappear this leaves no
6793 artifacts around in the destroy(); there will only be the timeout
6794 created by hildon_banner_ensure_timeout() and adding a new timeout
6795 will also work if the timeout gets removed because the timeout_handler
6798 2008-03-19 Michael Natterer <mitch@imendio.com>
6800 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6802 * src/hildon-volumebar.c
6803 * src/hildon-vvolumebar.c
6804 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6805 the widget becomes focussable at all.
6807 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6808 set the focus to wither the mute button or the volumebar.
6810 Remove own "can-focus" property and instead listen to
6811 notify::can-focus in order to update the widget's state.
6813 Implement GtkWidget::focus() and make sure we can also *leave* the
6814 widget, not only enter it, depending on volumebar orientation and
6815 requested focus direction.
6817 Clean up set_mute() to cooperate nicely with all the above.
6819 2008-03-04 Michael Natterer <mitch@imendio.com>
6821 Fixes: NB#78481: information banners are hidden under browser menu
6823 * src/hildon-banner.c: call gtk_window_present() on the banners so
6824 they are risen if they are already visible.
6826 2008-03-03 Sven Herzberg <sven@imendio.com>
6828 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6830 * examples/hildon-window-menu-example.c: (main): extended the window
6831 menu example to serve as a testcase for automatically added
6832 accelerator groups, too
6833 * src/hildon-window.c: (hildon_window_add_accel_group),
6834 (hildon_window_set_menu): added patch by Tommi Komulainen
6836 2008-03-03 Sven Herzberg <sven@imendio.com>
6838 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6840 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6841 knowledge about the border allocators used within GTK+
6843 2008-02-26 Sven Herzberg <sven@imendio.com>
6845 Fixes: MB#2981: Build with asserts broken
6847 * src/hildon-date-editor.c,
6848 * src/hildon-number-editor.c,
6849 * src/hildon-time-editor.c,
6850 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6851 the proper GType instance check
6853 2008-02-25 Sven Herzberg <sven@imendio.com>
6855 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6857 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6858 * examples/hildon-window-menu-example.c: (main): explicitly show
6860 * src/hildon-window.c:
6861 (hildon_window_set_main_menu): moved most of the code from set_menu()
6862 to this place; skipped the call to gtk_widget_show_all(); also didn't
6863 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6864 (hildon_window_set_menu): removed most of the code, just keep the
6865 questionable gtk_widget_show_all()
6866 * src/hildon-window.h: added the new function and deprecate the old
6869 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6875 * debian/changelog: Updating.
6877 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6880 * pkgconfig/Makefile.am:
6881 * pkgconfig/hildon.pc.in:
6884 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6885 use newly created API_MAJOR_VERSION.
6887 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6893 * debian/changelog: Updating.
6895 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6897 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6899 Add outer_border style property, we use it but don't define it (!).
6903 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6905 * examples/hildon-bread-crumb-trail-example.c (main):
6909 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6911 Fix logic for the bread crumb trail node removal.
6915 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6921 * debian/changelog: Updating.
6923 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6925 Patch by Alejandro to get/set passwords dialogs accesibility.
6927 * hildon-1/src/hildon-get-password-dialog.c:
6928 * hildon-1/src/hildon-set-password-dialog.c:
6929 Set atk_set_name to the passwd entries in order to allow
6930 accessibility by name on this entries.
6932 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6937 * debian/control: Updating gtk dep.
6939 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6941 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6942 USE_MAEMO_GTK is enabled.
6944 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6946 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6947 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6949 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6955 * debian/changelog: Updating.
6957 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6959 * examples/Makefile.am:
6960 * examples/hildon-logical-color-example.c:
6961 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6962 applied + adding a test case. Fixes: NB#71660.
6964 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6966 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6967 to be visible, fixes warning on map for windows without toolbars.
6969 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6971 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6972 2.11.0, add a check for that besides the MAEMO_GTK check.
6974 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6980 * debian/changelog: Updating.
6982 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6984 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6985 visibility. Fixes: NB#70842 and MB#615.
6987 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6989 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6990 set the separator as no-show-all so it doesn't unintentionally appear when
6991 someone does a show_all.
6993 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6995 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6996 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6997 toplevel item. Fixes: NB#62031
6999 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
7001 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
7002 fix the name of the function in the docs.
7004 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7010 * debian/changelog: Updating.
7012 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7014 * examples/hildon-banner-long-example.c: Adding a test-case for long
7017 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7019 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7021 * src/hildon-color-chooser-dialog.c:
7022 * src/hildon-color-chooser.c:
7023 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7024 memory leaks in font selector and color selector. Fixes: NB#70499 and
7027 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7029 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7031 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7033 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7034 little bit bigger. Fixes: #NB63694.
7036 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7042 * debian/changelog: Updating.
7044 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7047 * doc/hildon-docs.sgml:
7048 * doc/images/bread-crumb-trail.png:
7049 * doc/images/calendar-popup.png:
7050 * doc/images/caption.png:
7051 * doc/images/code-dialog.png:
7052 * doc/images/color-button.png:
7053 * doc/images/color-chooser-dialog.png:
7054 * doc/images/color-chooser.png:
7055 * doc/images/controlbar.png:
7056 * doc/images/date-editor.png:
7057 * doc/images/font-selection-dialog.png:
7058 * doc/images/get-password-dialog.png:
7059 * doc/images/hvolumebar.png:
7060 * doc/images/login-dialog.png:
7061 * doc/images/note.png:
7062 * doc/images/number-editor.png:
7063 * doc/images/range-editor.png:
7064 * doc/images/seekbar.png:
7065 * doc/images/set-password-dialog.png:
7066 * doc/images/sort-dialog.png:
7067 * doc/images/time-editor.png:
7068 * doc/images/time-picker.png:
7069 * doc/images/vvolumebar.png:
7070 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7071 Adding the bread-crumb-trial and helpers to the documentation.
7073 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7075 * examples/hildon-find-toolbar-example.c:
7076 * src/hildon-find-toolbar.c:
7077 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7078 actually continue firing the other handlers if connected. Adding a new
7080 hildon_find_toolbar_get_last_index that gets the index of the most
7081 recently added (last) item. Fixes: NB#52301.
7083 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7085 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7086 behaviour. Fixes: NB#68610.
7088 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7090 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7093 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7095 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7096 when realizing the banner. Should make the infonbanner effect a bit more
7099 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7101 * src/hildon-volumebar.c:
7102 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7103 hildon_volumebar_set_range_insensitive_message and
7104 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7106 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7108 * src/hildon-window.c: Fixing the border freeing on destroy.
7110 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7112 * src/hildon-code-dialog-private.h:
7113 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7114 kw keyboard support in HildonCodeDialog.
7116 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7122 * debian/changelog: Updating.
7124 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7126 * src/hildon-date-editor.c:
7127 * src/hildon-number-editor.c:
7128 * src/hildon-private.c:
7129 * src/hildon-private.h:
7130 * src/hildon-time-editor.c:
7131 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7132 handling in subclassed composite widgets. Fixes: NB#66628.
7134 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7136 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7137 from destroy_ callback as it introduces problems in async dbus signal
7138 handlers. Fixes NB#66673.
7140 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7142 * examples/hildon-hvolumebar-example.c:
7143 * src/hildon-volumebar.c: Improving the focus handling in the
7144 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7145 set_property accessor so that "mute" property can be actually set. I'm
7146 scared that nobody noticed it's totally broken.
7148 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7150 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7153 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7155 * src/hildon-calendar.c:
7156 * src/hildon-number-editor.c:
7157 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7158 matches the spec of 6 chars per second. Fixes: NB#60489.
7160 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7162 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7163 gtk_style_lookup_color sometime returns FALSE even though color was
7164 found and values were filled properly. Weird. Removing the warning for the
7167 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7169 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7170 expand vertically. Adding some extra space to the find toolbar buttons to
7171 make them thumbable. Fixes NB#66060.
7173 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7175 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7176 popup with "Ok" and "Cancel". Fixes NB#59299.
7178 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7180 * src/hildon-calendar.c: Process all window updates before executing next
7181 timeout. Fixes: NB#54146.
7183 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7189 * debian/changelog: Updating.
7191 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7193 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7194 the client event and ignore it, since we use the delete event to close
7197 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7199 * src/hildon-helper.c: Remove the bogus warning about color not being
7200 found. Fixes NB#58352.
7202 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7204 * examples/Makefile.am:
7205 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7206 HildonSeekbar widget inside a toolbar.
7208 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7210 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7211 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7212 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7213 don't want to be closed by non-temporary windows on map.
7215 Also use G_DEFINE_TYPE instead of manually typed code.
7217 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7224 * debian/rules: Updating.
7226 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7228 * examples/Makefile.am:
7229 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7230 bug NB#61128. Strangely it works.
7232 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7234 * src/hildon-date-editor.c: When the date editor entry has been changed
7235 but the numbers of characters < max, turn off the skip validation flag.
7236 Prevents a situation when we enter first a valid year and later re-write
7237 it with an invalid one. Fixes NB#60154.
7239 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7241 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7242 code dialog. Fixes NB#64355.
7244 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7246 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7247 switching the page. Fixes NB#49374.
7249 * examples/Makefile.am:
7250 * examples/hildon-wizard-dialog-example.c: Adding an example for
7251 HildonWizardDialog that shows how to handle manual sensitivity setting on
7254 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7258 * src/hildon-version.h.in:
7259 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7261 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7263 * src/hildon-volumebar.c: Updating the docs.
7265 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7271 * debian/changelog: Updating.
7273 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7275 * src/hildon-find-toolbar.c:
7276 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7277 selected item: hildon_find_toolbar_set_active,
7278 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7279 hildon_find_toolbar_get_active_iter . They correspond to respective
7280 GtkComboBox functions.
7282 * examples/Makefile.am:
7283 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7286 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7288 * examples/Makefile.am:
7289 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7292 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7293 when font size > 32 and we pack a focusable widget inside. Actually using
7294 the default response would work too, but since we don't show default
7295 response state in any way (no theming) it would not be visible to the
7296 user. Fixes NB#63430.
7298 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7300 * src/hildon-date-editor.c: Adding the missing variable setter in the
7301 set_property handler. Fixes NB#54182.
7303 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7305 * src/hildon-window.h: Changing the long key press time from 1500ms to
7306 800ms as requested in NB#63700. I have a bad feeling about this, let's
7307 see... Fixes NB#63700.
7309 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7311 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7312 hildon_time_picker_map, hildon_time_picker_realize,
7313 hildon_time_picker_style_set): Split the contents of map to more
7314 appropriate functions; set window decorations on realize and update
7315 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7317 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7322 * debian/changelog: Updating.
7324 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7326 * src/Makefile.am: fixed installation of the header files
7328 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7334 * debian/changelog: Updating.
7336 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7338 * configure.ac: Removing some remaining of --enable-xan.
7340 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7342 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7343 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7345 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7346 2.10.12-osso6 because the move-focus signal needs to be available in
7349 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7351 * examples/Makefile.am:
7352 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7353 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7354 fine. Prolly NB#61128 is fixed now.
7356 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7358 * src/hildon-volumebar.c:
7359 * src/hildon-volumebar.h: Adding the
7360 hildon_volumebar_set_range_insensitive_message and
7361 hildon_volumebar_set_range_insensitive_messagef functions to set
7362 insensitive message on the slider of the volumebar. Fixes NB#61129.
7364 * examples/Makefile.am:
7365 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7366 test the new insensitive messsage functionality on HildonVolumebar.
7368 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7370 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7373 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7375 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7376 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7377 button on after clearing the trail.
7379 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7381 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7383 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7385 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7386 by splitting the installed headers in generated and non-generated groups. Use
7387 only the non-generated headers to create the hildon-enum-types.h file.
7389 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7391 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7393 * src/hildon-window.c: Hide the window before performing the destroy.
7394 Should make the app closing a little tiny bit more snappy.
7396 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7398 * src/hildon-seekbar.c: add gtkrange.h header
7399 * src/hildon-caption.c: remove unused variable
7401 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7403 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7406 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7412 * debian/changelog: Updating.
7414 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7416 * src/hildon-window.c (hildon_window_window_state_event,
7417 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7418 escape timeout on focus-out-event rather than notify::is-topmost; the
7419 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7421 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7423 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7424 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7426 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7428 * src/hildon-window: actually, you need to use the macro always, there's
7429 no private pointer in the instance structure. We should have cleaned this up
7430 when we had the chance...
7432 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7434 * src/hildon-window.c: do not get the private date from HildonWindow before
7435 it passes the g_return_if_fail check. Once it's passed the test, there's no
7436 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7437 if you are only going to access the data once. Whitespace cleanups.
7439 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7441 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7442 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7444 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7450 * debian/changelog: Updating.
7452 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7454 * src/hildon-window.c: When destroying the window, remove (if exists) the
7455 escape timeout handler. Fixes #NB59276.
7457 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7459 * src/hildon-banner.c: When realizing the widget, set the window
7460 transiency. Setting the transiency in the gobject constructor is not
7461 good, as the widget is not realized at that point. Fixes: #NB56624.
7463 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7465 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7466 Add padding for future expansions.
7468 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7470 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7471 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7472 will fake an activation on the previous to the last item of the trail, so
7473 the effect can be overrided by the developer as usual.
7474 Also change the callback for the back button to do the same thing, so its
7475 effect can be overrided too. Fixes: NB#58982
7477 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7479 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7480 HildonCaption. Fixes NB#52379.
7482 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7484 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7485 the internal state of the trail after the user has had the chance of executing
7486 his handler for the signal. Specifically, it may happen that the activated button
7487 is removed and the user still lets the default handler run. This would segfault
7490 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7492 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7493 scrollbar to the preview dialog. Fixes NB#54147.
7495 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7497 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7498 max/min year properties can be altered, so the client can modify it
7499 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7501 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7503 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7504 hildonlike by default. Fixing a problem with disappearing arrows when
7505 scrolling through months and years. Fixes NB#54127.
7507 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7509 * examples/hildon-date-editor-example.c: Adding error callback to the date
7512 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7518 * configure.ac: Updating.
7520 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7522 * configure.ac: Adding a special '--enable-xan' configure option that
7523 turns off the -Werror compilation setting. Usefull for development.
7525 * src/hildon-calendar.c:
7526 * src/hildon-number-editor.c:
7527 * src/hildon-time-picker.c: Adding the 5* multiplier to
7530 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7532 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7533 instead of g_object_ref + gtk_object_sink.
7535 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7541 * debian/changelog: Updating.
7543 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7545 * src/hildon-color-chooser-dialog.c:
7546 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7547 straight from Tommi labs.
7549 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7551 * examples/hildon-finger-example.c: Correcting the header file path.
7553 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7554 the changed signal. Fixes a small memory leak.
7556 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7560 * src/hildon-banner.c: Importing several usefull fixes from the
7561 ubuntu-mobile branch.
7563 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7565 * examples/Makefile.am:
7566 * examples/hildon-finger-example.c: Adding a finger-checking code
7569 * src/hildon-font-selection-dialog.c: Do not allocate the color
7570 structure using the g_new. Fixes NB#54061.
7572 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7574 * src/hildon-helper.c: Correcting tabs in file.
7576 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7578 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7579 control the visibility of the children.
7581 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7583 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7589 * debian/changelog: Updating.
7591 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7593 * src/hildon-bread-crumb-trail.c:
7594 (hildon_bread_crumb_trail_size_allocate):
7596 Make the back button always a square.
7598 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7600 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7601 from the .c file as it's a private file.
7603 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7605 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7606 uses slightly bigger height.
7608 * src/hildon-font-selection-dialog.c: Adding some checks before
7609 freeing memory in the font selection dialog.
7611 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7613 * src/hildon-font-selection-dialog.c: Adding a small check when
7616 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7617 buttons sensitivity on page switching.
7619 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7621 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7622 internal details of adding a bread crumb to the trail.
7624 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7630 * debian/changelog: Updating.
7632 * src/hildon-bread-crumb-trail.h:
7633 * src/hildon-bread-crumb.h: Changing the API guard to
7634 HILDON_ENABLE_UNSTABLE_API.
7636 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7644 * src/hildon-helper.h: Updating.
7646 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7654 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7658 * src/hildon-helper.h: Small fix to make the package actually compile.
7660 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7662 * src/hildon-bread-crumb-trail.h:
7663 * src/hildon-bread-crumb.h:
7665 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7666 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7668 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7670 * examples/hildon-bread-crumb-trail-example.c:
7672 * src/hildon-bread-crumb-trail.c:
7673 * src/hildon-bread-crumb-trail.h:
7674 * src/hildon-bread-crumb.c:
7675 * src/hildon-bread-crumb.h:
7676 * src/hildon-marshalers.list:
7677 * src/hildon-bread-crumb-widget.c:
7678 * src/hildon-bread-crumb-widget.h:
7680 Slight change in the widget design. The bread crumb trail API is
7681 unchanged, but HildonBreadCrumb is now an interface. A *private*
7682 implementation, hildon-bread-crumb-widget, is provided and used
7683 internally by the trail for the push_text/push_icon functions.
7685 The generic push API is still available, so anyone can implement
7686 and use its own bread crumb widget.
7688 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7690 * debian/rules: Fixing the shlibs.
7692 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7694 * src/hildon-banner.c: Fixing a problem with timed banners having
7695 their parrent destroyed before they are.
7697 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7699 * src/hildon-bread-crumb.c:
7700 * src/hildon-bread-crumb.h:
7702 Make the get_natural_size function a vfunc.
7704 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7706 * src/hildon-bread-crumb.c:
7707 * src/hildon-bread-crumb-trail.c:
7711 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * debian/changelog: Updating for release.
7720 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7722 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7723 don't leak the pango layout.
7725 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7728 * examples/hildon-bread-crumb-trail-example.c:
7732 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7734 * debian/changelog: Removing the bug-fixed entries that were actually
7735 resolved as WONTFIX.
7737 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7740 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7742 * src/hildon-bread-crumb-trail.c:
7743 * src/hildon-bread-crumb-trail.h:
7744 * src/hildon-bread-crumb.c:
7745 * src/hildon-bread-crumb.h:
7749 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7751 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7752 until it's passed the type check.
7754 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7756 * examples/hildon-bread-crumb-trail-example.c
7760 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7762 * examples/Makefile.am
7763 * examples/hildon-bread-crumb-trail-example.c
7765 * src/hildon-bread-crumb-trail.c
7766 * src/hildon-bread-crumb-trail.h
7767 * src/hildon-bread-crumb.c
7768 * src/hildon-bread-crumb.h
7770 New HildonBreadCrumbTrail widget.
7772 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7774 * src/hildon-range-editor.c (hildon_range_editor_init),
7775 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7776 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7777 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7778 hildon_time_editor_class_init, hildon_time_editor_init),
7779 src/hildon-get-password-dialog.c (invalid_input,
7780 hildon_get_password_set_property, hildon_get_password_get_property,
7781 create_contents, hildon_get_password_dialog_set_max_characters),
7782 src/hildon-set-password-dialog.c (create_contents),
7783 src/hildon-date-editor.c (hildon_date_editor_init),
7784 src/hildon-login-dialog.c (hildon_login_dialog_init),
7785 src/hildon-number-editor.c (hildon_number_editor_init),
7786 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7787 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7788 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7789 configure option and adding the respective checks in the code.
7790 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7791 hildon_calendar_drag_data_received): fixed some build warnings.
7793 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7795 * debian/changelog: A 1.0.0 release notes.