1 2009-04-22 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-touch-selector.c
4 (hildon_touch_selector_append_text_column):
5 Make the cell renderer use the smallest width possible.
7 Fixes: NB#108470 (Selected items in multiple selection are either
8 having a tick that is cut or not visible at all.)
10 2009-04-22 Alberto Garcia <agarcia@igalia.com>
12 * src/hildon-touch-selector.c
13 (hildon_touch_selector_append_text_column):
16 2009-04-22 Claudio Saavedra <csaavedra@igalia.com>
18 * src/hildon-number-editor.c (hildon_number_editor_real_set_value):
19 Use g_strdup_printf() instead of a fixed size buffer.
21 2009-04-21 Alberto Garcia <agarcia@igalia.com>
23 * src/hildon-app-menu.c (hildon_app_menu_find_intruder):
24 Close banners when a HildonAppMenu is popped up.
26 Fixes: NB#111027 (Title menu closed immediately if activated when
27 "Invalid e-mail address" banner is shown)
29 2009-04-21 Claudio Saavedra <csaavedra@igalia.com>
34 * configure.ac: Bump version.
35 * debian/changelog: Updates.
37 2009-04-20 Alberto Garcia <agarcia@igalia.com>
39 * src/hildon-banner.c (hildon_banner_realize):
40 Mark HildonBanner as supporting portrait mode.
41 Use GDK to set window properties insetad of direct Xlib calls.
43 Fixes: NB#111830 (HildonBanner should be marked as supporting
46 2009-04-20 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-note.c (hildon_note_rebuild):
49 Hide action area in information notes. Prevents text from being
50 slightly aligned to the left.
52 Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
55 2009-04-20 Alberto Garcia <agarcia@igalia.com>
57 Patch by Mox Soini (ext-mox.soini@nokia.com)
59 * src/hildon-banner.c (hildon_banner_create_animation):
60 Use stylus-sized icons in animation banner.
62 Fixes: NB#111206 (stylus sized icon for animation banner)
64 2009-04-20 Alberto Garcia <agarcia@igalia.com>
68 (+hildon_gtk_window_set_do_not_disturb):
69 New API to set the do-not-disturb flag.
71 Fixes: NB#110959 (Add API to set the do-not-disturb flag to a window)
73 2009-04-20 Alberto Garcia <agarcia@igalia.com>
75 * examples/hildon-progress-indicator-example.c: Fix example
77 * src/hildon-gtk.c (set_clear_window_flag)
78 (hildon_gtk_window_set_progress_indicator):
79 Create a generic function for setting flags to a window.
80 Use GDK instead of direct Xlib calls.
82 2009-04-14 Alberto Garcia <agarcia@igalia.com>
84 * src/hildon-button.c (hildon_button_set_arrangement):
85 Due to NB#88126, if one of the labels is too long it will be
86 painted outside the button. The 'value' label is more likely to be
87 the longest one, so we change its packing options in order to
88 truncate it if necessary. As a side effect, the 'title' label will
89 no longer be truncated.
91 Fixes: NB#110689 (HildonPickerButton doesn't ellipsize very long values)
93 2009-04-14 Claudio Saavedra <csaavedra@igalia.com>
98 * configure.ac: Bump version.
99 * debian/changelog: Updates.
101 2009-04-13 Alejandro G. Castro <alex@igalia.com>
103 Deprecation of the hildon_pannable_area_set_size_request_policy
104 API, the only policy properly supported in gtk+ nowadays is the
107 * src/hildon-pannable-area.c,
108 (hildon_pannable_area_size_request): Added a workaround for the
109 size_request to avoid the problems of huge pixmaps in case someone
110 is still using the function.
111 * src/hildon-pannable-area.h: Deprecated the enum with the
114 Fixes: NB#110244 (Problems with the
115 hildon_pannable_area_set_size_request_policy API)
117 2009-04-08 Alejandro G. Castro <alex@igalia.com>
119 * src/hildon-pannable-area.c,
120 (hildon_pannable_area_init),
121 (hildon_pannable_area_size_request),
122 (hildon_pannable_area_style_set),
123 (hildon_pannable_draw_vscroll),
124 (hildon_pannable_draw_hscroll),
125 (hildon_pannable_area_check_scrollbars): Replaced area_width with
126 indicator_width to clarify the use of the attribute.
128 2009-04-08 Claudio Saavedra <csaavedra@igalia.com>
133 * configure.ac: Bump version.
134 * debian/changelog: Updates.
136 2009-04-07 Alejandro Pinheiro <apinheiro@igalia.com>
138 * src/hildon-picker-dialog.c
139 * src/hildon-touch-selector.c
140 Reverting the change that tried to avoid the hardcoded height on
141 the picker dialog, as causes problems on the hildon-touch-selector
144 Fixes: NB#110029 (selectors not scrolling to selected value)
146 2009-04-07 Alberto Garcia <agarcia@igalia.com>
148 * src/hildon-touch-selector.c: Fix typos
150 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
152 * src/hildon-color-chooser.c (hildon_color_chooser_pointer_motion):
153 Use the event coordinates instead of gdk_window_get_pointer(). Also,
154 request more motions after using it.
156 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
158 * src/hildon-calendar.c (hildon_calendar_expose),
159 (hildon_calendar_paint_main), (hildon_calendar_enter_notify):
160 Remove unused variables.
162 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
164 * tests/check-hildon-color-chooser.c (START_TEST): Remove unused
167 2009-04-07 Claudio Saavedra <csaavedra@igalia.com>
169 * src/hildon-touch-selector.c (hildon_touch_selector_get_active):
170 Check the return value of gtk_tree_selection_get_selected()
173 2009-04-06 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-animation-actor.c
176 * src/hildon-button.c
178 * src/hildon-pannable-area.c
179 * src/hildon-picker-button.c
180 * src/hildon-program.c
181 * src/hildon-remote-texture.c
182 * src/hildon-text-view.c
183 * src/hildon-touch-selector.c
184 * src/hildon-window-stack.c
185 * src/hildon-window.c:
186 Add missing 'Since: 2.2' tags.
188 * doc/hildon-sections.txt:
189 Add some missing symbols.
191 * doc/hildon-docs.sgml:
192 New 'Other' section for HildonAnimationActor and
195 2009-04-06 Alberto Garcia <agarcia@igalia.com>
197 Patch by Iván Gómez (igomez@igalia.com)
201 * doc/hildon-docs.sgml
202 * doc/hildon-sections.txt
206 New chapters on using the Hildon library.
207 Updated the general structure of the reference manual.
208 Other minor documentation fixes.
210 * src/hildon-calendar-popup.c
211 * src/hildon-calendar.c
212 * src/hildon-controlbar.c
213 * src/hildon-date-editor.c
214 * src/hildon-dialog.c
215 * src/hildon-hvolumebar.c
216 * src/hildon-number-editor.c
217 * src/hildon-range-editor.c
218 * src/hildon-sort-dialog.c
219 * src/hildon-time-editor.c
220 * src/hildon-time-picker.c
221 * src/hildon-volumebar-range.c
222 * src/hildon-volumebar.c
223 * src/hildon-vvolumebar.c
224 * src/hildon-weekday-picker.c:
225 Add deprecation notes
227 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
228 Document 'horizontal-movement' and 'vertical-movement' signals.
230 2009-04-06 Claudio Saavedra <csaavedra@igalia.com>
235 * configure.ac: Bump version.
236 * debian/changelog: Updates.
238 2009-04-06 Alejandro G. Castro <alex@igalia.com>
240 * src/hildon-pannable-area.c,
241 (hildon_pannable_area_class_init): increased the minimum velocity.
242 (hildon_pannable_area_button_release_cb): Updated the
243 CURSOR_STOPPED_TIMEOUT, tuning the widge for the new events
244 setup. Review the code to control that last event.
246 Fixes: NB#109790 (Releasing finger in pannable area easily causes
249 2009-04-03 Claudio Saavedra <csaavedra@igalia.com>
251 Based on a patch by Mox Soini (ext-mox.soini@nokia.com)
253 * src/hildon-get-password-dialog.c
254 (hildon_get_password_set_property),
255 (hildon_get_password_get_property), (create_contents):
256 * src/hildon-login-dialog-private.h:
257 * src/hildon-login-dialog.c (hildon_login_dialog_set_property),
258 (hildon_login_dialog_init), (hildon_login_dialog_get_username),
259 (hildon_login_dialog_get_password):
260 * src/hildon-set-password-dialog-private.h:
261 * src/hildon-set-password-dialog.c
262 (hildon_set_password_set_property),
263 (hildon_set_password_get_property), (create_contents),
264 (hildon_set_password_response_change),
265 (hildon_set_password_response_set), (hildon_checkbox_toggled):
267 Pimp these dialogs, to make them use HildonEntry and HildonCheckBox
268 instead and look more Fremantle style.
270 Fixes: NB#109639 (Update hildon passwd dialogs to Hildon 2.2)
272 2009-04-03 Alberto Garcia <agarcia@igalia.com>
274 * doc/hildon-sections.txt
275 * src/hildon-window-stack.h
276 * src/hildon-window-stack.c
277 (+hildon_window_stack_get_windows):
278 New API to obtain the list of windows on a stack.
280 2009-04-02 Alberto Garcia <agarcia@igalia.com>
282 * src/hildon-app-menu.c (hildon_app_menu_popup)
283 (hildon_app_menu_class_init, -hildon_app_menu_show):
284 Remove hildon_app_menu_show() and move all its checks to
285 hildon_app_menu_popup()
287 2009-04-02 Alejandro Pinheiro <apinheiro@igalia.com>
289 * src/hildon-picker-dialog.c: removed HILDON_TOUCH_SELECTOR_HEIGHT
290 (_hildon_picker_dialog_set_selector): removed call to
291 gtk_widget_set_size_request
292 * src/hildon-touch-selector.c
293 (_create_new_column): change the pannable size request policy
295 Avoid to use a hardcoded height for the hildon picker dialog. In order
296 to get that, we needed to change the hildon pannable size request
298 Fixes: NB#109369 (Hard-coded height in HildonPickerDialog)
300 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
302 * src/hildon-window.c (hildon_window_map): Check for vbox to be
303 not NULL. Avoids a (very unlikely) crasher. See related NB#103301
306 2009-04-02 Claudio Saavedra <csaavedra@igalia.com>
308 * debian/control: Depend on osso-system-lock localization package.
309 * src/hildon-code-dialog.c: Obtain the secu_application_title
310 translation from osso-system-lock.
311 * src/hildon-get-password-dialog.c (create_contents): Do not mark
312 for translation the atk related strings, that's not necessary.
313 * src/hildon-set-password-dialog.c (create_contents): Ditto.
314 * src/hildon-sort-dialog.c (hildon_sort_dialog_init): Remove the
315 cancel button, it is not required.
317 2009-04-02 Alejandro G. Castro <alex@igalia.com>
319 * src/hildon-pannable-area.c,
320 (hildon_pannable_area_class_init): Modified the default value of
321 the overshooting max speed, we have reduced it.
323 2009-04-02 Alberto Garcia <agarcia@igalia.com>
325 * doc/hildon-sections.txt
326 * src/hildon-window-private.h
327 * src/hildon-window.h
328 * src/hildon-window.c (hildon_window_class_init)
329 (hildon_window_init, hildon_window_finalize)
330 (hildon_window_realize, hildon_window_get_property)
331 (hildon_window_set_property, hildon_window_update_markup)
332 (hildon_window_get_markup, hildon_window_set_markup):
333 New "markup" property and hildon_window_{get,set}_markup() methods.
335 * examples/hildon-stackable-window-example.c (new_window):
336 Update example to use hildon_window_set_markup()
338 Fixes: NB#106375 (Need API to retitle a window with a title
341 2009-04-01 Alejandro G. Castro <alex@igalia.com>
343 * src/hildon-pannable-area.c,
344 (hildon_pannable_area_class_init): Changed the default value of
345 the initial_hint to TRUE.
346 (hildon_pannable_area_initial_effect): Changed the initial effect,
347 not the effect is just the fade-out of the scrollbars.
349 Fixes: NB#107775 (No scrollbars can be seen when several items are
350 available in a dialog)
352 2009-04-01 Alberto Garcia <agarcia@igalia.com>
354 * src/hildon-program.c (hildon_program_update_top_most):
357 Fixes: NB#109179 (Memory leak in Hildon program)
359 2009-04-01 Alberto Garcia <agarcia@igalia.com>
361 * src/hildon-banner.c (-get_current_app_window):
362 Remove unused function.
364 2009-04-01 Alejandro G. Castro <alex@igalia.com>
366 * src/hildon-pannable-area.c: Modified the documentation of the
367 get adjustments functions to explain the problem of using the
369 (hildon_pannable_area_class_init): Improved the explanation about
372 2009-04-01 Alberto Garcia <agarcia@igalia.com>
374 * src/hildon-app-menu-private.h
375 * src/hildon-app-menu.c
376 (hildon_app_menu_class_init):
377 Bring back the 'external-border' style property
378 (hildon_app_menu_class_init, hildon_app_menu_init)
379 (hildon_app_menu_apply_style, hildon_app_menu_size_request):
380 Set a fixed width-request for the menu, independent of the number
383 Fixes: NB#94957 (Smoothly opened application menu)
385 2009-03-30 Alberto Garcia <agarcia@igalia.com>
387 * src/hildon-defines.h: Define HILDON_WINDOW_TITLEBAR_HEIGHT
389 * src/hildon-banner.c
390 Change HILDON_BANNER_WINDOW_Y to HILDON_WINDOW_TITLEBAR_HEIGHT.
392 Make sure that the banner is correctly placed the first time it's
394 (hildon_banner_check_position, -check_fullscreen_state):
395 Show the banner in the same place no matter if the window is in
396 fullscreen mode or not.
398 Fixes: NB#107386 (Odd stacking behaviour for information banners)
400 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
402 * src/hildon-touch-selector.c (_default_print_func): reorder
403 concatenation for clarity.
405 2009-04-01 Claudio Saavedra <csaavedra@igalia.com>
407 * src/hildon-touch-selector.c (_default_print_func): Plug a memory leak
408 for multicolumn selectors.
410 Fixes: NB#109099 (Memory leak in Hildon touch selector)
412 2009-03-30 Claudio Saavedra <csaavedra@igalia.com>
417 * configure.ac: Bump version.
418 * debian/changelog: Updates.
420 2009-03-27 Claudio Saavedra <csaavedra@igalia.com>
422 * src/hildon-sound.c (hildon_ca_context_get): Mark function as static and
425 2009-03-26 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
427 * configure.ac: removed libcangerra-gtk dependency
428 * debian/control: removed libcanberra-gtk dependency
429 * src/Makefile.am: removed libcanberra gtk related flags
430 * src/hildon-sound.c: avoid to use ca_gtk_context_get to get a canberra
431 context, and manage a global canberra context instead
433 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
435 2009-03-26 Alberto Garcia <agarcia@igalia.com>
437 Patch by Daniel Borgmann (danielb@openismus.com)
439 * src/hildon-edit-toolbar.c:
440 Adjust the left padding.
441 (hildon_edit_toolbar_class_init, +hildon_edit_toolbar_expose):
442 Paint background of the edit toolbar.
444 Fixes: NB#107897 (Patch to make editmodetoolbar background
445 themeable and adjust margin)
447 2009-03-25 Alberto Garcia <agarcia@igalia.com>
449 Patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
451 * src/hildon-program.c (hildon_program_update_top_most):
452 Update is-topmost when _MB_CURRENT_APP_WINDOW is 0
454 Fixes: NB#106998 (HildonProgram's is-topmost property doesn't
455 change when the user tasks in/out of an application)
457 2009-03-25 Alejandro Pinheiro Iglesias <apinheiro@igalia.com>
459 * configure.ac: added libcangerra-gtk dependency
460 * debian/control: added libcanberra-gtk dependency
461 * src/Makefile.am: added libcanberra gtk related flags
462 * src/hildon-sound.c: use ca_gtk_context_get to get a canberra context
465 Fixes: NB#106067 (hildon_play_system_sound() play sound only first time called)
467 2009-03-25 Alberto Garcia <agarcia@igalia.com>
469 * src/hildon-program.c (hildon_program_remove_window)
470 (hildon_program_add_window): Add checks for the window
471 parameter. Don't decrease the window counter if the window is not
474 2009-03-24 Alejandro G. Castro <alex@igalia.com>
476 * src/hildon-pannable-area.c,
477 (hildon_pannable_area_realize): Fixed position of the event_window
478 in the realize method.
480 2009-03-24 Alberto Garcia <agarcia@igalia.com>
482 * src/hildon-app-menu-private.h
483 * src/hildon-app-menu.c (hildon_app_menu_find_intruder)
484 (hildon_app_menu_map, hildon_app_menu_hide_idle)
485 (hildon_app_menu_key_press, hildon_app_menu_init)
486 (hildon_app_menu_finalize):
487 Make sure that all idle functions are removed when the widget is
490 Fixes: NB#107583 (Hildon app menu crashes in various applications)
492 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
497 * configure.ac: Bump version.
498 * debian/changelog: Updates.
500 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
503 (+hildon_entry_show_placeholder),
504 (+hildon_entry_hide_placeholder), Methods to show/hide the placeholder text
505 that replace hildon_entry_update_contents().
506 (hildon_entry_set_text),
507 (hildon_entry_set_placeholder),
508 (hildon_entry_focus_in_event),
509 (hildon_entry_focus_out_event): Determine when it is needed
510 either to show or hide the placeholder and call the above methods.
512 Fixes: NB#107471 (hildon_entry_set_text() not setting the text
513 when the placeholder text is already set)
515 2009-03-24 Claudio Saavedra <csaavedra@igalia.com>
517 * src/hildon-banner.c (+hildon_banner_create_animation): Build a
518 simple GdkPixbufAnim using the new icons for the banner.
519 (hildon_banner_show_animation): Use the above mentioned method to
520 create the animation widget.
522 Fixes: NB#103564 (Make hildon animation banner use individual
523 image files as the animation)
525 2009-03-24 Alejandro G. Castro <alex@igalia.com>
527 * src/hildon-pannable-area.c,
528 (hildon_pannable_leave_notify_event): Check if the child is NULL
529 to avoid sending the leave.
531 2009-03-24 Alejandro G. Castro <alex@igalia.com>
533 * src/hildon-pannable-area.c,
534 (hildon_pannable_area_class_init),
535 (hildon_pannable_leave_notify_event): Added a handler of the
536 leave-notify-signal to consider when no motion notify before
539 Fixes: NB#107494 (Items stay selected when clicking and moving
540 away when inside pannable area)
542 2009-03-23 Claudio Saavedra <csaavedra@igalia.com>
547 * configure.ac: Bump version.
548 * debian/changelog: Updates.
550 2009-03-19 Alejandro G. Castro <alex@igalia.com>
552 Patch by Alberto Garcia (agarcia@igalia.com)
554 * src/hildon-date-button.c,
555 (hildon_date_button_class_init),
556 (hildon_date_button_init): Removed the construct property handling
557 and created a default selector in the init method.
558 * src/hildon-picker-button.c,
559 (hildon_picker_button_class_init): Removed the construct flag of the
562 2009-03-18 Alberto Garcia <agarcia@igalia.com>
564 * src/hildon-main.c (hildon_init):
565 Don't allow hildon_init() to be called more than once.
567 Fixes: NB#106607 (hildon_init should issue error message upon
570 2009-03-17 Alejandro Pinheiro <apinheiro@igalia.com>
572 * examples/hildon-pannable-area-touch-list-example.c
573 * examples/hildon-pannagle-area-touch-grid-example.c
574 * examples/hildon-edit-toolbar-example.c
575 * examples/hildon-touch-selector-multi-cells-example.c
576 Removed the call to gtk_rc_parse_string, as it is not required since
579 2009-03-17 Alejandro G. Castro <alex@igalia.com>
581 * src/hildon-pannable-area.c,
582 (hildon_pannable_area_class_init): Modified the default panning
583 threshold of the widget to 6px.
585 Fixes: NB#105427 (Clicking and dragging ( for pixel values more
586 than the threshold value ) within the button is not sending the
589 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
591 * src/hildon-touch-selector.c (_create_new_column): Unset GTK_CAN_FOCUS
592 for the treeview in the new column. This way, the touch list will never
595 Fixes: NB#105190 (Text input area of HildonTouchSelectorEntry to
596 be selected manually for the HW keys to work)
598 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
600 * src/hildon-touch-selector-entry.c (entry_on_text_changed): Do a simple
601 comparison instead of using strcmp(). Fixes a compiler warning as well.
603 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
605 * doc/hildon-docs.sgml: Do not set the library version in the
606 document title, use the releaseinfo tag for that purpose instead.
608 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
610 * src/hildon-touch-selector-entry.c (entry_on_text_changed):
611 Do not jump to the first item if the text in the entry is removed.
613 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
618 * configure.ac: Bump version.
619 * debian/changelog: Updates.
621 2009-03-16 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-entry.c (hildon_entry_refresh_contents):
624 * src/hildon-text-view.c (hildon_text_view_refresh_contents):
625 Use "ReversedSecondaryTextColor" for the placeholder text.
627 2009-03-12 Alberto Garcia <agarcia@igalia.com>
629 * src/hildon-text-view.c: Fix compilation warning.
631 2009-03-12 Alberto Garcia <agarcia@igalia.com>
633 * src/hildon-button.c (hildon_button_class_init): Don't make
634 "title" and "value" construction properties, to prevent them from
635 overwriting labels set from derived classes.
637 * src/hildon-picker-button.c
638 (hildon_picker_button_set_selector): Allow setting a NULL selector.
639 (hildon_picker_button_class_init): Make touch-selector a
640 construction property.
642 * src/hildon-date-button.c (hildon_date_button_class_init)
643 (+hildon_date_button_constructed): Add a default date selector if
646 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
648 * src/hildon-touch-selector.c: Small documentation fixes.
650 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
652 Based on a patch by Daniel Borgmann (danielb@openismus.com)
654 * src/hildon-entry.c (hildon_entry_refresh_contents),
655 (hildon_entry_get_text), (hildon_entry_init): Do not use the
656 widget name, set the logical color directly instead and a boolean
657 showing_placeholder instead.
658 * src/hildon-text-view.c (hildon_text_view_refresh_contents): Do not
659 use the widget name here either.
661 Fixes: NB#105678 (HildonTextView should use logical colours
662 instead of setting widget name)
664 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
666 Patch by Daniel Elster (danielk@openismus.com)
668 * src/hildon-touch-selector.[ch] (HildonTouchSelectorPrintFunc):
669 Add user_data parameter.
670 (hildon_touch_selector_set_print_func_full): New function akin
671 hildon_touch_selector_set_print_func() but with support for user
672 data and a destroy callback.
673 (hildon_touch_selector_dispose): Implement GObjectClass::dispose
674 to clean up the print function user data.
675 (hildon_touch_selector_class_init): Install dispose function.
676 (HildonTouchSelectorPrivate::print_user_data),
677 (HildonTouchSelectorPrivate::print_destroy_func): New private
679 (hildon_touch_selector_init): Initialize new private members.
680 (hildon_touch_selector_get_current_text): Pass along user data
681 to the print function.
682 (_default_print_func): Add dummy user_data to parameter list.
683 * hildon-date-selector.c (_custom_print_func): ditto,
684 * hildon-time-selector.c (_custom_print_func): ditto,
685 * hildon-touch-selector-entry.c
686 (hildon_touch_selector_entry_print_func): ditto.
688 Fixes: NB#105455 (HildonTouchSelectorPrintFunc lacks user data)
690 2009-03-12 Claudio Saavedra <csaavedra@igalia.com>
692 * examples/hildon-pannable-area-tuning-example.c: Fix copyright.
694 2009-03-12 Alejandro G. Castro <alex@igalia.com>
696 * src/hildon-pannable-area.c,
697 (hildon_pannable_area_init),
698 (hildon_pannable_area_button_press_cb),
699 (hildon_pannable_area_motion_notify_cb): We have added code to
700 handle the leave and enter events when using the motion events.
702 Fixes: NB#105407 (hilghlight is not cancelled when panning starts)
704 2009-03-11 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-date-button.c (hildon_date_button_get_date)
707 (hildon_date_button_set_date): Make sure that the button has a
710 Fixes: NB#105507 (hildon_date_button_set_date leads to crash.)
712 2009-03-11 Alejandro G. Castro <alex@igalia.com>
714 * src/hildon-pannable-area.c,
715 (hildon_pannable_area_class_init),
716 (hildon_pannable_area_calculate_velocity): Modify the use of the
717 force and adapt the value.
719 2009-03-10 Alberto Garcia <agarcia@igalia.com>
721 * src/hildon-app-menu.c (+hildon_app_menu_delete_event_handler)
722 (hildon_app_menu_class_init): Hide the menu if it receives a
723 delete-event, but don't destroy it
725 Fixes: NB#104485 (Not able to address the call when application
726 menu is opened at background)
728 2009-03-10 Alberto Garcia <agarcia@igalia.com>
730 * src/hildon-app-menu.c
731 (hildon_app_menu_apply_style, hildon_app_menu_class_init):
732 Remove the "external-border" style property, let the menu take its
733 natural size (or the one set by the window manager)
734 (hildon_app_menu_repack_items):
735 Don't reshow the menu, avoid flickers.
737 Partially fixes NB#94957 (Smoothly opened application menu)
739 2009-03-10 Claudio Saavedra <csaavedra@igalia.com>
744 * configure.ac: Bump version.
745 * debian/changelog: Updates.
747 2009-03-10 Alejandro G. Castro <alex@igalia.com>
749 * src/hildon-pannable-area.c,
750 (hildon_pannable_area_motion_notify_cb): We control that the
751 direction error margin is used just in case the movement is
752 allowed in the other direction.
754 Fixes: NB#105012 (buttons inside a pannable area not getting
755 release event when dragging/releasing)
757 2009-03-10 Alejandro G. Castro <alex@igalia.com>
759 * src/hildon-pannable-area.c,
760 (hildon_pannable_area_class_init),
761 (hildon_pannable_area_get_property),
762 (hildon_pannable_area_set_property),
763 (hildon_pannable_area_initial_effect),
764 (hildon_pannable_axis_scroll),
765 (hildon_pannable_area_button_release_cb): Reviewed the
766 overshooting effect, now it has its own max
767 speed (PROP_VEL_MAX_OVERSHOOTING). Modified the calculation of the
770 2009-03-09 Claudio Saavedra <csaavedra@igalia.com>
775 * configure.ac: Bump version.
776 * debian/changelog: Updates.
778 2009-03-09 Alejandro G. Castro <alex@igalia.com>
780 * src/hildon-pannable-area.c,
781 (hildon_pannable_area_class_init): Changed the max speed, now
782 users can launch the widget very fast. Reduced the default force,
783 that way it is easier to control the launch speed.
785 2009-03-09 Alejandro G. Castro <alex@igalia.com>
787 * src/hildon-pannable-area.c,
788 (hildon_pannable_area_button_release_cb): Removed this check
789 because it causes problems when the device is overloaded.
791 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
793 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
794 add a current_text field to store the text entered in the
795 touch selector entry.
796 (_clean_current_selection): clean up the current text as well.
797 (_save_current_selection), (_restore_current_selection):
798 Save/restore the text in the entry if the selector is a
799 HildonTouchSelectorEntry.
801 Fixes: NB#102541 (value entered in the touch selector entry is not
802 shown when opened for second time)
804 2009-03-06 Claudio Saavedra <csaavedra@igalia.com>
806 * doc/hildon-sections.txt:
807 * src/hildon-touch-selector-entry.c
808 (+hildon_touch_selector_entry_get_entry):
809 * src/hildon-touch-selector-entry.h: New accessor for the HildonEntry.
811 Fixes: NB#104815 (I need accessor to the entry inside
812 HildonTouchSelectorEntry)
814 2009-03-06 Alberto Garcia <agarcia@igalia.com>
816 * src/hildon-app-menu.c (hildon_app_menu_apply_style)
817 (hildon_app_menu_class_init):
818 New "filter-vertical-spacing" style property.
820 2009-03-06 Alberto Garcia <agarcia@igalia.com>
822 * src/hildon-find-toolbar.c
823 (hildon_find_toolbar_emit_close)
824 (hildon_find_toolbar_emit_invalid_input)
825 (hildon_find_toolbar_entry_activate):
826 Use g_signal_emit() instead of g_signal_emit_by_name()
828 2009-03-06 Alberto Garcia <agarcia@igalia.com>
830 Patch by Mox Soini (ext-mox.soini@nokia.com)
832 * tests/TEST-CASES.txt
833 * tests/check-hildon-banner.c
834 * tests/check-hildon-note.c
835 * src/hildon-banner.c
836 * src/hildon-code-dialog.c
837 * src/hildon-date-editor.c (real_set_calendar_icon_state)
838 * src/hildon-time-editor.c
839 * examples/hildon-lookup-example.c (main):
840 Replace obsolete icon names with new ones.
842 * src/hildon-find-toolbar-private.h:
843 * src/hildon-find-toolbar.c (hildon_find_toolbar_init)
844 (-hildon_find_toolbar_emit_search):
845 Remove find button and change icon of close button.
847 Fixes: NB#104819 (Clean up old icon names from hildon-widgets)
849 2009-03-05 Alberto Garcia <agarcia@igalia.com>
851 * src/hildon-time-button.c (hildon_time_button_new_step):
852 Use the "touch-selector" property to set the selector directly
853 when creating the object.
855 2009-03-05 Alejandro G. Castro <alex@igalia.com>
857 Added a new example application that allows tuning the pannable
858 area and replaced defines with properties in order to simplify the
859 tuning: PROP_DRAG_INERTIA, PROP_PANNING_THRESHOLD,
860 PROP_SCROLLBAR_FADE_DELAY, PROP_BOUNCE_STEPS, PROP_FORCE and
861 PROP_DIRECTION_ERROR_MARGIN.
863 * examples/hildon-pannable-area-tuning-example.c: New example
865 * src/hildon-pannable-area.c,
866 (hildon_pannable_area_class_init),
867 (hildon_pannable_area_init),
868 (hildon_pannable_area_get_property),
869 (hildon_pannable_area_set_property),
870 (hildon_pannable_area_launch_fade_timeout),
871 (hildon_pannable_area_adjust_value_changed),
872 (hildon_pannable_axis_scroll),
873 (hildon_pannable_area_motion_notify_cb),
874 (hildon_pannable_area_scroll_cb),
875 (hildon_pannable_area_button_release_cb): We have converted some
876 of the defines that control the widget to properties to simplify
879 2009-03-05 Alberto Garcia <agarcia@igalia.com>
881 * src/hildon-app-menu.c (hildon_app_menu_map)
882 (hildon_app_menu_unmap): Make the menu temporary when it's mapped,
883 so it's closed if a new window appears.
885 Fixes: NB#104485 (Not able to address the call when application
886 menu is opened at background)
888 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
890 * src/hildon-color-button.c (hildon_color_button_get_property):Add
891 missing 'break' statement in in 'case' construct to avoid
894 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
896 * src/hildon-touch-selector-entry.c
897 (hildon_touch_selector_entry_get_property),
898 (hildon_touch_selector_entry_set_property): Add missing 'break'
899 statements in in 'case' constructs to avoid incorrect warnings.
901 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
903 * src/hildon-time-editor.c
904 (hildon_time_editor_get_time_separators): Do not crash if
905 the first label is NULL.
907 2009-03-05 Claudio Saavedra <csaavedra@igalia.com>
909 * src/hildon-date-selector.c (_month_days): Check for month to be
910 strictly less than 12, since otherwise we may overrun the array.
912 2009-03-04 Alberto Garcia <agarcia@igalia.com>
914 * src/hildon-date-button.c (+hildon_date_button_new_full)
915 (hildon_date_button_new, hildon_date_button_new_with_year_range)
916 (hildon_date_button_init): Set the date selector using a
917 construction property, to make it happen after HildonButton's
918 "value" property is set.
920 Fixes: NB#104439 (hildon_date_button_new() isn't set to the
921 current date by default)
923 2009-03-04 Alberto Garcia <agarcia@igalia.com>
925 * doc/hildon-sections.txt
926 * src/hildon-program.c
927 * src/hildon-stackable-window.c
928 * src/hildon-window.c:
929 Documentation updates
931 2009-03-04 Alberto Garcia <agarcia@igalia.com>
933 * src/hildon-window-stack.c (hildon_window_stack_get_default)
934 (hildon_window_stack_new, +hildon_window_stack_set_property)
935 (+hildon_window_stack_get_property)
936 (hildon_window_stack_class_init)
937 (+hildon_window_stack_set_window_group)
938 (+hildon_window_stack_get_window_group):
939 Make the window group a construction property.
941 2009-03-04 Alberto Garcia <agarcia@igalia.com>
943 * doc/hildon-sections.txt
944 * src/hildon-stackable-window-private.h
945 * src/hildon-stackable-window.h
946 * src/hildon-stackable-window.c
947 (-hildon_stackable_window_set_app_menu)
948 (-hildon_stackable_window_get_app_menu)
949 (-hildon_stackable_window_toggle_menu)
950 (-hildon_stackable_window_finalize)
951 (hildon_stackable_window_class_init)
952 (hildon_stackable_window_init)
953 * src/hildon-window-private.h
954 * src/hildon-window.h
955 * src/hildon-window.c (hildon_window_init)
956 (hildon_window_destroy, +hildon_window_toggle_gtk_menu)
957 (+hildon_window_toggle_app_menu, hildon_window_toggle_menu_real)
958 (hildon_window_get_main_menu, hildon_window_set_main_menu)
959 (+hildon_window_set_app_menu, +hildon_window_get_app_menu):
960 Moved all HildonAppMenu code to HildonWindow. The menu does not
961 require a HildonStackableWindow anymore.
963 * src/hildon-app-menu.c
964 * src/hildon-program.c
965 * examples/hildon-app-menu-example.c (main):
966 Update examples and documentation to reflect HildonAppMenu
969 2009-03-04 Alberto Garcia <agarcia@igalia.com>
971 * src/hildon-remote-texture.c
972 * src/hildon-animation-actor.c:
973 Don't include unused private headers.
975 2009-03-04 Alberto Garcia <agarcia@igalia.com>
977 * src/hildon-program-private.h
978 * src/hildon-program.c
979 (hildon_program_set_common_menu)
980 (hildon_program_get_common_menu)
981 (hildon_program_set_common_app_menu)
982 (hildon_program_get_common_app_menu):
983 Change common menu pointers from GtkWidget* to GtkMenu* and
984 HildonAppMenu* to avoid unnecessary casts.
986 2009-03-03 Alberto Garcia <agarcia@igalia.com>
988 * src/hildon-window.c (hildon_window_set_main_menu):
989 Removed incorrect 'Since:' tag
991 2009-03-03 Alejandro G. Castro <alex@igalia.com>
993 * src/hildon-pannable-area.c,
994 (hildon_pannable_area_calculate_velocity): We use now the
995 RATIO_TOLERANCE here to check the distance, fixed typo in the
997 (hildon_pannable_area_motion_notify_cb): We have to set the type
998 and time even if we are not sending the motion.
1000 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1002 * doc/hildon-sections.txt
1003 * src/hildon-app-menu.h
1004 * src/hildon-app-menu.c (+hildon_app_menu_get_items)
1005 (+hildon_app_menu_get_filters): New methods to get the contents of
1008 Fixes: NB#103761 (HildonAppMenu doesn't have methods to get its
1011 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1013 * src/hildon-app-menu.c (hildon_app_menu_popup):
1016 2009-03-02 Alberto Garcia <agarcia@igalia.com>
1018 * src/hildon-window.h
1019 * src/hildon-window.c (+hildon_window_get_main_menu)
1020 (hildon_window_get_menu): Created hildon_window_get_main_menu()
1021 and deprecated hildon_window_get_menu().
1023 * src/hildon-stackable-window.h
1024 * src/hildon-stackable-window.c
1025 (+hildon_stackable_window_set_app_menu)
1026 (+hildon_stackable_window_get_app_menu)
1027 (hildon_stackable_window_set_main_menu): Created
1028 hildon_stackable_window_{get,set}_app_menu() and deprecated
1029 hildon_stackable_window_set_main_menu().
1031 * doc/hildon-sections.txt
1032 * examples/hildon-app-menu-example.c (main)
1033 * src/hildon-app-menu.c
1034 * src/hildon-program.c:
1035 Updated examples and documentation.
1037 Fixes: NB#103758 (No way to obtain a menu from a
1038 HildonStackableWindow)
1040 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1045 * configure.ac: Bump version.
1046 * debian/changelog: Updates.
1048 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
1050 * examples/hildon-remote-texture-example.c: Include
1051 hildon-remote-texture.h explicitely.
1052 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
1053 applications not defining _XOPEN_SOURCE which don't require this header.
1055 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1057 * doc/hildon-sections.txt
1058 * src/hildon-app-menu.h
1059 * src/hildon-app-menu.c (+hildon_app_menu_popup):
1060 New function to pop up a HildonAppMenu
1062 * src/hildon-stackable-window.c
1063 (hildon_stackable_window_toggle_menu):
1064 Use hildon_app_menu_popup() to show the menu.
1066 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1068 * src/hildon-app-menu.c (hildon_app_menu_show)
1069 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
1070 menu if there's another window between it and its parent window.
1072 Fixes: NB#100468 (Application menu window is launched even when a
1073 new secondary-window/dialog is pending to be shown/realized)
1075 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1077 * src/hildon-window-stack.c (hildon_window_stack_push)
1078 (hildon_window_stack_pop_and_push):
1079 Don't forget to push/pop the first window.
1080 Reverse the window list before calling _push_list()
1082 2009-02-27 Alberto Garcia <agarcia@igalia.com>
1084 * src/hildon-picker-button.h
1085 * src/hildon-picker-button.c (hildon_picker_button_class_init):
1086 Remove "value_changed" slot to avoid ABI breakage
1088 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1090 * src/hildon-pannable-area.c,
1091 (hildon_pannable_area_realize),
1092 (hildon_pannable_area_unrealize),
1093 (hildon_pannable_draw_vscroll),
1094 (hildon_pannable_draw_hscroll): Changed the method to handle the
1095 GC used to draw the transparent scrollbar, this way we avoid
1096 creating the GC all the time when drawing the scrollbars.
1098 2009-02-26 Alejandro G. Castro <alex@igalia.com>
1100 * src/hildon-pannable-area.c,
1101 (hildon_pannable_area_init),
1102 (hildon_pannable_area_remove): Removed some unnecessary casts.
1103 (hildon_pannable_area_dispose): Disconnected some signals before
1104 releasing the adjustments.
1106 2009-02-26 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1109 Make sure that all widgets contained in the toolbar are shown.
1111 2009-02-25 Alberto Garcia <agarcia@igalia.com>
1113 * doc/hildon-sections.txt
1114 * src/hildon-picker-button.h
1115 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
1116 (_selection_changed, hildon_picker_button_on_dialog_response)
1117 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
1118 New hildon_picker_button_value_changed() method.
1121 * src/hildon-picker-button-private.h
1122 * src/hildon-picker-button.c (hildon_picker_button_init)
1123 (+hildon_picker_button_disable_value_changed): Add protected
1124 function for disabling the "value-changed" signal.
1126 * src/hildon-date-button.c (hildon_date_button_set_date):
1127 Don't emit "value-changed" for each one of the three columns.
1129 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
1130 before actual change of values)
1132 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1134 * src/hildon-pannable-area.c,
1135 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
1136 for the treeview overshooting.
1138 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1140 * src/hildon-banner.c (+hildon_banner_bind_style):
1141 Renamed from hildon_banner_bind_label_style(), now naming the
1142 banner itself as well.
1143 (hildon_banner_show_information),
1144 (hildon_banner_show_information_with_markup),
1145 (hildon_banner_show_animation), (hildon_banner_show_progress):
1146 Name the widgets and labels, based on their type.
1148 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1151 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
1153 * src/hildon-note.c (hildon_note_set_property): call
1154 hildon_note_rename() on HildonNote:note-type set.
1155 (hildon_note_rename): Name the note and its label, based on the
1156 HildonNote:note-type property.
1158 See NB#98597 (Hildon Note and Hildon Banner should use themeable
1161 2009-02-24 Alejandro G. Castro <alex@igalia.com>
1163 * src/hildon-pannable-area.c,
1164 (hildon_pannable_area_class_init),
1165 (hildon_pannable_area_motion_notify_cb): Reviewed the default
1166 panning parameters, increased SPS and deceleration factor. Added
1167 also a margin to control fake directions.
1169 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1171 Patch by Sven Herzberg (sven@imendio.com)
1173 * configure.ac: Add missing AM_PROG_CC_C_0
1174 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
1176 See NB#101420 (Update unit tests and fix make check)
1178 2009-02-23 Alejandro G. Castro <alex@igalia.com>
1180 This patch was applied before but reverted because it caused
1181 problems, we have changed the main condition and tested the
1182 regressions we detected before and they work ok. We have done a
1183 complete review of the topmost algorithm in order to get a more
1186 * src/hildon-pannable-area.c,
1187 (hildon_pannable_area_get_topmost): Added a new parameter to
1188 filter the the windows that do not include those events.
1189 (hildon_pannable_area_button_press_cb),
1190 (hildon_pannable_area_button_release_cb),
1191 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1192 topmost function, we have added the new parameter.
1194 Fixes: NB#97458 (Pannable area prevents propagation of button
1197 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1199 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
1200 if all columns in the selector have an item selected.
1201 (_on_dialog_response): Stop "response" signal emission if there is
1202 any selector column without selected items.
1204 Fixes: NB#101889 (Picker dialog should not close when nothing is
1205 selected in multiple selection list)
1207 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
1209 * src/hildon-font-selection-dialog.c
1210 (hildon_font_selection_dialog_class_init),
1211 (hildon_font_selection_dialog_init): Remove the preview
1212 button and dialog, since previewing with default theming is likely
1213 to be overcomplicated. The :preview property has now no effect.
1214 Update documentation blurbs to inform about this.
1216 Fixes: NB#92297 (Preview content is not clearly visible for
1217 default colour text)
1219 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1221 Reviewed the geometry that handles the children size and
1222 scrollbar, now it tries a size and reviews the results depending
1223 on the scrollbars visibility.
1225 * src/hildon-pannable-area.c,
1226 (hildon_pannable_area_realize): Fixed a typo.
1227 (hildon_pannable_area_child_allocate_calculate): Added this
1228 function to calculate the child allocation.
1229 (hildon_pannable_area_size_allocate): Reviewed the allocation
1231 (hildon_pannable_area_check_scrollbars),
1232 (hildon_pannable_area_refresh): Refactored refresh function, this
1233 way we can call the code handling the scrollbars without causing a
1234 size_request, it is interesting in the allocate.
1235 (hildon_pannable_area_init): Replace the callbacks of the
1236 value_changed and changed signals to propertly deal with the
1238 (hildon_pannable_area_grab_notify),
1239 (hildon_pannable_area_initial_effect),
1240 (hildon_pannable_area_launch_fade_timeout),
1241 (hildon_pannable_area_adjust_changed),
1242 (hildon_pannable_area_adjust_value_changed),
1243 (hildon_pannable_area_redraw),
1244 (hildon_pannable_area_button_press_cb),
1245 (hildon_pannable_area_button_release_cb),
1246 (hildon_pannable_area_scroll_cb),
1247 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
1248 code and use the new functions adjust_changed and
1249 adjust_value_changed.
1251 Fixes: NB#101603 (Focus is not even for the text entry boxes in
1252 Contact editor dialog)
1254 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
1259 * configure.ac: Bump version.
1260 * debian/changelog: Updates.
1262 2009-02-20 Alejandro G. Castro <alex@igalia.com>
1264 * src/hildon-pannable-area.c,
1265 (hildon_pannable_area_get_topmost),
1266 (hildon_pannable_area_button_press_cb),
1267 (hildon_pannable_area_button_release_cb),
1268 (hildon_pannable_get_child_widget_at): Reverted the patch for the
1269 topmost function adding the event mask. We have to try a
1270 differente approach because it is still causing problems (NB#9745,
1273 2009-02-19 Alberto Garcia <agarcia@igalia.com>
1275 * src/hildon-banner.c:
1276 Update the maximum width of timed banners.
1277 (force_to_wrap_truncated): Enforce the maximum text width if the
1280 Fixes: NB#102413 (The text margins (wrapping) in information
1281 banner should be HILDON_MARGIN_TRIPLE)
1283 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1285 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
1287 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
1288 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
1289 bound when calculating the scroll indicator position.
1291 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
1292 treat ->lower correctly)
1294 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
1296 * src/hildon-caption.c (hildon_caption_class_init): Remove the
1297 expose event handling, since it is not necessary to draw the focus
1300 Fixes: NB#102467 (Do not show highlight on the text in
1303 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1305 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
1306 full height of the toolbar for the button and the label.
1308 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1310 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
1311 padding before the label and after the button.
1313 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1315 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
1317 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
1318 Add a GtkVSeparator between the button and the back arrow.
1319 Let the button have automatic size.
1320 Set a name to the widget for theming handling.
1322 Fixes: NB#101793 (Make edit toolbar the same height as window
1323 title bar (use title area theming))
1325 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1327 * src/hildon-helper.c (attach_new_color_element): Fix memory
1330 Fixes: NB#102262 (memory leak in hildon_button_set_style())
1332 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1334 * examples/hildon-button-example.c (common_buttons_window): Don't
1337 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1339 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
1340 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
1342 2009-02-18 Alberto Garcia <agarcia@igalia.com>
1344 * src/hildon-gtk.c: Check that the window is realized.
1346 Fixes: NB#102225 (Crash setting the progress indicator to a non
1349 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1351 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
1352 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
1353 instead of modifying the one in the widget style.
1355 Fixes: NB#101043 (Second row of all the command button are
1356 displayed in transparent mode.)
1358 2009-02-17 Alberto Garcia <agarcia@igalia.com>
1360 * src/hildon-date-button.c
1361 * src/hildon-time-button.c: Add gettext macros
1363 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
1365 * src/hildon-date-button.c (hildon_date_button_new):
1366 * src/hildon-time-button.c (hildon_time_button_new_step):
1367 Use new logical strings to set the button default title.
1369 Fixes: NB#99915 (Date and Time options are not localised in Date
1372 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1374 * src/hildon-pannable-area.c
1375 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
1376 the PANNING_THRESHOLD.
1378 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1380 * src/hildon-pannable-area.c,
1381 (hildon_pannable_area_class_init): Increased the maximum speed.
1382 (hildon_pannable_area_get_property),
1383 (hildon_pannable_area_set_property),
1384 (hildon_pannable_area_timeout): Added a new low friction mode, it
1385 allows the user avoid friction when launching the widget fast
1386 enough. It is interesting to traverse long lists.
1388 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1390 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
1391 (+hildon_stackable_window_delete_event): Ignore delete events if
1392 the window is not the topmost one.
1394 Fixes: NB#101698 (Back button long press and delete-event handling)
1396 2009-02-16 Alejandro G. Castro <alex@igalia.com>
1398 * src/hildon-pannable-area.c,
1399 (hildon_pannable_area_motion_notify_cb): Removed the use of the
1400 gtk-dnd-drag-threshold, it was too big. We have defined our own
1401 dnd define and set a smaller value: PANNIG_THRESHOLD.
1403 2009-02-16 Alberto Garcia <agarcia@igalia.com>
1405 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
1406 user-defined icons, use always the default one.
1408 Fixes: NB#101916 (Do not allow custom icons on animation banner)
1410 2009-02-13 Alejandro G. Castro <alex@igalia.com>
1412 This patch was applied before but reverted because it caused
1413 problems, we have changed the main condition and tested the
1414 regressions we detected before and they work ok.
1416 * src/hildon-pannable-area.c,
1417 (hildon_pannable_area_get_topmost): Added a new parameter to
1418 filter the the windows that do not include those events. Added
1419 also a condition when finding the window to filter windows that do
1420 not ask for those events.
1421 (hildon_pannable_area_button_press_cb),
1422 (hildon_pannable_area_button_release_cb),
1423 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1424 topmost function, we have added the new parameter.
1426 Fixes: NB#97458 (Pannable area prevents propagation of button
1429 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1431 * tests/check-hildon-color-button.c (START_TEST): do not leak
1434 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-font-selection-dialog.c
1437 (hildon_font_selection_dialog_get_preview_text): Return NULL
1438 instead of FALSE on the g_return_val_if_fail().
1440 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1442 * src/hildon-time-selector.c (hildon_time_selector_set_time):
1443 * src/hildon-date-selector.c
1444 (hildon_date_selector_select_current_date):
1445 Do not compare unsigned integers to be greater than or equal 0,
1446 because it's always TRUE.
1448 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
1451 (hildon_date_selector_constructor): Do not select the current
1452 date until we are handle the "changed" signal, to avoid having bogus
1453 elements in the days model.
1455 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1457 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
1458 for num_days, since _month_days() can return a negative value.
1460 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-caption.c (hildon_caption_size_allocate):
1463 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
1464 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
1466 Initialize allocation variables to 0, to avoid eventually using
1467 unitialized variables.
1469 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/hildon-bread-crumb-trail.c
1472 (hildon_bread_crumb_trail_size_allocate):
1473 * src/hildon-calendar.c (hildon_calendar_set_background):
1474 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
1475 * src/hildon-range-editor.c (hildon_range_editor_get_range):
1476 * src/hildon-seekbar.c (hildon_seekbar_init):
1477 * src/hildon-time-editor.c (hildon_time_editor_get_time):
1478 * src/hildon-time-selector.c (hildon_time_selector_finalize):
1479 * src/hildon-touch-selector-entry.c
1480 (hildon_touch_selector_get_text_from_model):
1481 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
1482 * src/hildon-window.c (hildon_window_finalize):
1484 Remove many unused variables.
1486 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1488 * src/hildon-seekbar.c: (hildon_seekbar_init),
1489 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
1491 Remove unnecessary g_assert() calls.
1493 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
1495 * src/hildon-caption.c: (hildon_caption_expose),
1496 (hildon_caption_set_property), (hildon_caption_init),
1497 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
1498 (hildon_caption_size_request), (hildon_caption_size_allocate),
1499 (hildon_caption_forall), (hildon_caption_set_separator),
1500 (hildon_caption_activate), (hildon_caption_set_child_expand),
1501 (hildon_caption_set_label_text),
1502 (hildon_caption_get_label_alignment):
1504 Remove unnecessary g_assert() calls.
1506 2009-02-12 Alberto Garcia <agarcia@igalia.com>
1508 * src/hildon-banner.c
1509 (hildon_banner_map, hildon_banner_init): Make banner temporary
1510 before mapping it to avoid closing other temporary windows, but
1511 make it non-temporary afterwards to avoid being closed by other
1512 non-temporary windows.
1513 (-hildon_banner_client_event, hildon_banner_init):
1514 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
1516 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
1519 2009-02-11 Alberto Garcia <agarcia@igalia.com>
1521 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
1524 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1526 * src/hildon-remote-texture.c
1527 * src/hildon-remote-texture.h
1528 * src/hildon-remote-texture-private.h
1529 * examples/hildon-remote-texture-example.c:
1530 Updates/fixes to remote-texture and its example.
1532 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
1534 Patch by Mox Soini (ext-mox.soini@nokia.com)
1536 * src/hildon-code-dialog.c: Update logical id.
1537 * src/hildon-set-password-dialog.c: Update logical id.
1539 Fixes: NB#100646 (Logical strings is shown for ok in set
1540 password,Password needed dialogs)
1542 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
1545 * src/hildon-remote-texture.c
1546 * src/hildon-remote-texture.h
1547 * src/hildon-remote-texture-private.h
1549 Added remote texture widget (for Clutter shared memory textures)
1551 * examples/hildon-remote-texture-example.c
1552 * examples/Makefile.am
1553 Added example file for remote texture usage
1555 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
1557 * configure.ac: post release version bump.
1558 * debian/changelog: version bump.
1560 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
1565 * configure.ac: Bump version.
1566 * debian/changelog: Updates.
1568 2009-02-06 Alberto Garcia <agarcia@igalia.com>
1570 * src/hildon-date-selector.c (hildon_date_selector_init)
1571 (hildon_date_selector_constructor): Don't connect to the "changed"
1572 signal until the selector is completely constructed.
1574 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1576 * src/hildon-touch-selector.c: (_create_new_column),
1577 (hildon_touch_selector_append_column),
1578 (hildon_touch_selector_set_column_selection_mode),
1579 (hildon_touch_selector_set_active),
1580 (hildon_touch_selector_select_iter):
1581 Emit the HildonTouchSelector::changed signal every time selection
1582 is changed in any of the methods above. This behavior was already
1583 documented but not fully functional.
1585 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
1586 selection is programmatically changed)
1588 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1590 * doc/hildon-sections.txt: Remove obsolete icon
1591 sizes from here as well.
1593 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1595 * examples/hildon-stackable-window-example.c (add_window): Remove
1598 2009-02-05 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-app-menu.c
1601 (hildon_app_menu_show): Check whether the parent window of a menu
1602 is topmost before popping it up.
1604 Fixes: NB#100468 (Application menu window is launched even when a
1605 new secondary-window/dialog is pending to be shown/realized.)
1607 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1609 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
1612 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1614 Patch by Mox Soini (ext-mox.soini@nokia.com)
1616 * src/hildon-banner.c: (hildon_banner_show_animation):
1617 use stylus size instead of obsolete note size.
1618 * src/hildon-defines.h: Update icon sizes.
1620 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-touch-selector-entry.c:
1623 (hildon_touch_selector_entry_init): Disable unsupported
1625 (hildon_touch_selector_entry_get_text_column): Emit a warning
1626 if an unsupported input modes is used and explicitile state
1627 these modes in the documentation.
1629 Fixes: NB#99802 (Hildon touch selector entry not working properly
1630 for some of the input modes)
1632 2009-02-05 Alejandro G. Castro <alex@igalia.com>
1634 * src/hildon-pannable-area.c,
1635 (hildon_pannable_area_init): Added the changed signal handlers of
1638 Fixes: NB#100320 (HildonPannableArea does not listen to
1639 GtkAdjustment "change" signals)
1641 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1643 * doc/hildon-sections.txt
1644 * src/hildon-window-private.h
1645 * src/hildon-window.h
1646 * src/hildon-window.c (hildon_window_init)
1647 (hildon_window_realize, hildon_window_unrealize)
1648 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
1649 (hildon_window_size_request, hildon_window_size_allocate)
1650 (hildon_window_forall, hildon_window_show_all)
1651 (hildon_window_destroy, +paint_edit_toolbar)
1652 (+hildon_window_set_edit_toolbar):
1653 New hildon_window_set_edit_toolbar() method, to add a
1654 HildonEditToolbar to a window without having to pack it manually.
1656 Reorganize hildon_window_size_allocate()
1658 * src/hildon-edit-toolbar.c: Update documentation.
1660 * examples/hildon-edit-toolbar-example.c (edit_window): Update
1661 example to use the new API.
1663 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
1665 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1667 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
1668 Remove from stack before calling parent's hide.
1670 2009-02-04 Alberto Garcia <agarcia@igalia.com>
1672 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
1673 window is removed from the middle of the stack, update the
1674 transiency of the previous one.
1676 Fixes: NB#100487 (HildonStackableWindow transiency becomes
1679 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1681 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
1682 block/unblock the signal handler if it's not actually being used.
1683 Fixes some critical warnings.
1685 2009-02-02 Alberto Garcia <agarcia@igalia.com>
1687 Based on a patch by Iván Gómez (igomez@igalia.com)
1689 * src/hildon-banner.c
1693 * src/hildon-pannable-area.c
1694 * src/hildon-picker-dialog.c
1695 * src/hildon-wizard-dialog.h
1696 * src/hildon-wizard-dialog.c: Documentation updates.
1698 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
1699 gtk_dialog_add_button() instead of hildon_dialog_add_button().
1701 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1703 * configure.ac: post release version bump.
1704 * debian/changelog: version bump.
1706 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
1711 * configure.ac: Bump version.
1712 * debian/changelog: Updates.
1714 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1716 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
1717 a stock icon nor change the relief of the back arrow.
1719 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1720 graphics from theme)
1722 2009-01-29 Alberto Garcia <agarcia@igalia.com>
1724 * src/hildon-button.c (hildon_button_set_alignment): Use
1725 priv->alignment if the button has no child yet.
1727 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
1729 * src/hildon-button.c: (hildon_button_init): Set the
1730 button style during initialization to give it the proper
1733 Fixes: NB#99713 (HildonButton value label color is wrong)
1735 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1737 * src/hildon-touch-selector.c: Document
1738 hildon_touch_selector_center_on_selected()
1740 2009-01-28 Alberto Garcia <agarcia@igalia.com>
1742 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
1743 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
1744 all menu items, but not the menu itself.
1745 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
1746 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
1747 items after adding them to the menu so keyboard accelerators work.
1748 (hildon_app_menu_show): Don't show the menu if it contains items
1749 but none of them are visible.
1751 * examples/hildon-app-menu-example.c (create_menu): Use
1752 gtk_widget_show_all() to show all menu items.
1754 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
1756 * src/hildon-picker-dialog.c:
1757 (-_update_title_on_selector_changed_cb),
1758 (-_dialog_update_title): Removed.
1759 (_select_on_selector_changed_cb), (_on_dialog_response),
1760 (on_selector_columns_changed): Do not update the dialog title.
1761 (setup_interaction_mode): Do not connect to
1762 HildonTouchSelector::changed signal if there's a "done" button, as
1763 the dialog title doesn't need to be updated.
1765 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
1768 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
1770 Patch by Kristian Rietveld (kris@imendio.com)
1772 * src/hildon-touch-selector.c: (_create_new_column): Use new
1773 GtkTreeView::hildon-row-tapped signal to react to user interactions
1774 instead of ::changed.
1776 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
1777 with some dynamic tree model)
1779 2009-01-27 Alberto Garcia <agarcia@igalia.com>
1781 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
1782 (+screen_size_changed, +label_size_request)
1783 (hildon_note_class_init): Make the Hildon information note have a
1784 minimum height, and make its text hvae a maximum width.
1786 Fixes: NB#98614 (Hildon information note (background) should have
1787 minimum height and maximum text width)
1789 2009-01-26 Alberto Garcia <agarcia@igalia.com>
1791 * src/hildon-banner.h
1792 * src/hildon-banner.c (hildon_banner_show_information)
1793 (hildon_banner_show_informationf)
1794 (hildon_banner_show_information_with_markup): Update documentation
1795 to reflect that the icon_name parameter is not used anymore.
1796 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
1797 Remove all code from these functions and mark them as deprecated.
1798 (hildon_banner_show_progress): Mark as deprecated.
1800 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
1802 2009-01-26 Alejandro G. Castro <alex@igalia.com>
1804 * src/hildon-pannable-area.c,
1805 (hildon_pannable_area_class_init),
1806 (tranparency_color),
1807 (hildon_pannable_draw_vscroll),
1808 (hildon_pannable_draw_hscroll),
1809 (hildon_pannable_area_expose_event): Added a new way to render the
1810 scrollbars of the pannable area avoiding using cairo at all. This
1811 way we improve the performance of the pannable area rendering. The
1812 cairo rendering procedure is still in the code, we can control
1813 which one to use changing the value of the define
1814 USE_CAIRO_SCROLLBARS.
1816 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1818 * configure.ac: post release version bump.
1819 * debian/changelog: version bump.
1821 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: Bump version.
1827 * debian/changelog: Updates.
1829 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
1832 banners instead of destroying them when they receive a button
1835 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1837 Reverted commit 34028, it was causing regressions, probably the
1838 topmost condition is not correct, we have to check it in more
1839 detail. We have reponed the bug: NB#97458 (Pannable area prevents
1840 propagation of button press events)
1842 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1844 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
1845 that the selection is not empty before attempting to retrieve the
1846 current ampm selection.
1848 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
1850 * src/hildon-picker-button.c:
1851 (hildon_picker_button_on_dialog_response): Directly update the
1852 button contents when required instead of calling _selection_changed.
1854 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-program.c (hildon_program_update_top_most): Update
1857 'is-topmost' property also when wm_hints is not set.
1859 Fixes: NB#98383 (is-topmost signal is not emitted when task
1860 switcher is clicked.)
1862 2009-01-23 Alejandro G. Castro <alex@igalia.com>
1864 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
1868 * src/hildon-animation-actor.c,
1869 * src/hildon-animation-actor.h: Added the animation actor class,
1870 this widget represents an animation actor for WM-assisted
1871 animation effects in the Hildon framework.
1873 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1875 * src/hildon-window-stack-private.h
1876 * src/hildon-window-stack.c
1877 * src/hildon-stackable-window.c (hildon_stackable_window_show):
1878 Avoid calling gtk_widget_show() again indirectly from
1879 hildon_stackable_window_show()
1881 2009-01-23 Alberto Garcia <agarcia@igalia.com>
1883 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
1886 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1888 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
1889 (hildon_time_selector_init): Move the construction of the hours and
1890 ampm columns to the constructor to preserve the order the columns
1893 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-picker-dialog.c:
1896 (hildon_picker_dialog_class_init): Connect a realize method.
1897 (+hildon_picker_dialog_realize): Setup the interaction mode here
1899 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
1900 yet, do it during the realize instead.
1901 (_on_dialog_response):
1902 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
1903 if the widget is not realized, to avoid the dialog response before it
1906 Avoid premature responses in the HildonPickerDialog that can cause it
1907 to be hidden before it's even shown.
1909 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
1911 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
1912 (on_selector_columns_changed), (requires_done_button),
1913 (+prepare_action_area), (setup_interaction_mode),
1914 (_hildon_picker_dialog_set_selector):
1916 Split the interaction mode setup into preparation of the
1917 action area (prepare_action_area()) and the connection of
1918 the signals in setup_interaction_mode() and update the code to
1921 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1923 * src/hildon-pannable-area.c,
1924 (hildon_pannable_area_class_init): Reduced the amount of scrolls
1925 per second to 15, we will check if this is ok regarding
1928 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1930 * src/hildon-pannable-area.c,
1931 (hildon_pannable_axis_scroll): Avoid resize if we already have
1932 reached overshoot_max.
1934 2009-01-22 Alejandro G. Castro <alex@igalia.com>
1936 * src/hildon-pannable-area.c,
1937 (hildon_pannable_area_init),
1938 (hildon_pannable_area_realize),
1939 (hildon_pannable_area_size_allocate),
1940 (hildon_pannable_area_map),
1941 (hildon_pannable_area_unmap),
1942 (hildon_pannable_draw_vscroll),
1943 (hildon_pannable_draw_hscroll),
1944 (hildon_pannable_area_expose_event),
1945 (hildon_pannable_area_refresh): Added a new GdkWindow to the
1946 pannable are to avoid the expose events go to the window and
1947 redraw the window. We save this way that part of the stack and the
1948 paint_boxes. We had to change the positions of the elements when
1951 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
1953 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1954 * src/hildon-color-chooser-dialog.c:
1955 (hildon_color_chooser_dialog_init):
1956 * src/hildon-font-selection-dialog.c:
1957 (hildon_font_selection_dialog_init),
1958 (hildon_font_selection_dialog_show_preview):
1959 * src/hildon-get-password-dialog.c:
1960 * src/hildon-login-dialog.c:
1961 * src/hildon-set-password-dialog.c:
1962 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
1963 * src/hildon-time-picker.c: (hildon_time_picker_init):
1965 Remove obsolete logical string IDs and update to the appropriate ones.
1967 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
1969 2009-01-21 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
1972 that happens if the window hasn't been realized yet.
1974 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
1975 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
1977 2009-01-20 Alberto Garcia <agarcia@igalia.com>
1979 * src/hildon-app-menu.c (hildon_app_menu_class_init)
1980 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
1983 Fixes: NB#98537 (Device hangs in account settings dialog)
1985 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1987 * configure.ac: post release version bump.
1988 * debian/changelog: version bump
1990 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1995 * configure.ac: Bump version.
1996 * debian/changelog: Updates.
1998 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2000 Added a new function to the HildonTimeButton widget that allows to
2001 change the step of the minutes in the selector associated with the
2002 button: hildon_time_button_new_step
2004 * src/hildon-time-button.c,
2005 (hildon_time_button_init),
2006 (hildon_time_button_new),
2007 (hildon_time_button_new_step):
2008 * src/hildon-time-button.h: Added the new function and refactored
2010 * examples/hildon-time-button-example.c,
2011 (main): We have replaced the function without parameters with the
2012 function with the steps set to 5
2014 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
2016 2009-01-20 Alejandro G. Castro <alex@igalia.com>
2018 * src/hildon-time-selector.c,
2019 (hildon_time_selector_class_init),
2020 (hildon_time_selector_constructor),
2021 (hildon_time_selector_get_property),
2022 (hildon_time_selector_set_property),
2023 (_create_minutes_model),
2024 (hildon_time_selector_new_step),
2025 (hildon_time_selector_set_time),
2026 * src/hildon-time-selector.h: Added a new property to the
2027 HildonTimeSelector (minutes-step), we use that property to control
2028 the steps between the minutes in the list of the selector. We have
2029 added a new function to the API to create a widget changing the
2030 step: hildon_time_selector_new_step.
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_init): Overrided the construct function when
2038 creating the time selector object. We have moved the minutes model
2039 handling code from the init to the new construction function:
2040 hildon_time_selector_constructor.
2042 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2044 * examples/hildon-date-button-example.c: (main): Use the new
2045 hildon_date_button_new_with_year_range() method in the example.
2046 * src/hildon-date-button.c:
2047 (+hildon_date_button_new_with_year_range): New public method
2048 to conveniently create a HildonDateButton with a custom year range
2049 in its HildonDateSelector.
2050 * src/hildon-date-button.h: Add the new public method definition.
2052 Fixes: NB#97908 (Not possible to change the year range in
2053 HildonDateSelector/HildonDateButton)
2055 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-date-selector.c:
2058 (+hildon_date_selector_set_property),
2059 (+hildon_date_selector_get_property),
2060 (hildon_date_selector_class_init): Install new properties "min-year"
2061 and "max-year" to define boundaries for the year column.
2062 (_create_year_model): Use the boundary properties to populate the model.
2063 (+hildon_date_selector_new_with_year_range): New public method to
2064 create a HildonDateSelector with a user defined year range.
2065 (hildon_date_selector_select_current_date): Use the new boundaries to
2066 calculate the iterator of current year.
2067 * src/hildon-date-selector.h: Add the new public method definition.
2069 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
2071 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
2072 Install a constructor method.
2073 (+hildon_date_selector_construct_ui): construct the widget.
2074 (+hildon_date_selector_constructor): new constructor.
2075 (+hildon_date_selector_init): move out widget construction code to
2076 the new constructor.
2078 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2080 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
2081 that there's actually a month or year selected before obtaining them.
2082 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
2083 of the HildonTouchSelector::changed signal, as it was emitted on every
2084 single item selection.
2086 Fix some warnings and possible crashers due to the selection restoring.
2088 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2090 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
2091 the signal handlers only after creating the dialog instead of on every
2094 2009-01-19 Alberto Garcia <agarcia@igalia.com>
2096 * src/hildon-button.c (hildon_button_init)
2097 * src/hildon-check-button.c (hildon_check_button_init)
2098 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
2099 focus when clicked by default.
2101 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
2106 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2108 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2109 Alejandro G. Castro (alex@igalia.com)
2111 * src/hildon-picker-dialog.c:
2112 (hildon_picker_dialog_class_init): install new "center-on-show"
2114 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
2115 (hildon_picker_dialog_set_property): add setter code for the new
2117 (hildon_picker_dialog_get_property): add getter code for the new
2119 (hildon_picker_dialog_show): Ensure visibility of selected items in the
2120 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
2123 Fixes: NB#92849 (Selected item is not always visible when
2124 HildonTouchSelector is shown)
2126 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
2128 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
2129 Alejandro G. Castro (alex@igalia.com)
2131 * src/hildon-touch-selector.c:
2132 (_create_new_column): Do not connect to the "realize" signal of the
2134 (hildon_touch_selector_append_column): center on the selected items
2135 when a new column is appended.
2136 (hildon_touch_selector_select_iter): Factor out the code to select a
2137 column to hildon_touch_selector_scroll_to().
2138 (+search_nearest_element): Method to retrieve the nearest selected
2139 element to the visible area of the pannable area in a column.
2140 (+on_realize_cb): scroll to the initially selected item.
2141 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
2142 the pannable area is realized, otherwise delay this until it is.
2143 (+_hildon_touch_selector_center_on_selected_items): Centers on the
2144 selected items of a given column.
2145 (+hildon_touch_selector_center_on_selected): Public method to center
2146 all columns on the nearest selected item.
2147 * src/hildon-touch-selector.h: Add definition for
2148 hildon_touch_selector_center_on_selected().
2150 Implement public API to ensure visibility of all selected items in
2151 a HildonTouchSelector.
2153 2009-01-16 Alejandro G. Castro <alex@igalia.com>
2155 Fixed a problem in the fading when calling the scroll_to API, and
2156 improve scrollbar fading handling.
2158 * src/hildon-pannable-area.c,
2159 (hildon_pannable_area_grab_notify): avoid the timeout when the
2161 (hildon_pannable_area_button_press_cb),
2162 (hildon_pannable_area_motion_notify_cb): Code style changes.
2163 (hildon_pannable_area_button_release_cb): Review the conditions
2164 when releasing the mouse button to avoid unrequired fading
2166 (hildon_pannable_area_scroll_to): Do not calculate and set the
2167 velocity if the scroll is not required.
2169 2009-01-15 Alberto Garcia <agarcia@igalia.com>
2171 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
2172 Don't check whether the new selector is NULL: it cannot be.
2173 Hold a reference to the selector while doing the replacement.
2175 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2178 unnecessary size_request in a removed widget.
2180 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
2183 an unnecessary reference tracking that was leaking.
2185 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2187 Added delayed motion notify event handling, this way we can
2188 discard redrawing if more than 25 events arrive per second.
2190 * src/hildon-pannable-area.c,
2191 (hildon_pannable_area_init): Initialized the new private atributes
2192 controlling this timeout
2193 (hildon_pannable_area_dispose): Remove the timeout that controls
2194 the motion notify events.
2195 (hildon_pannable_area_scroll): Added a condition to control the
2196 use of the acceleration.
2197 (hildon_pannable_area_motion_event_scroll_timeout),
2198 (hildon_pannable_area_motion_event_scroll): Added this two
2199 functions, they handle the motion notify events inside the
2201 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
2202 to the scroll method with the new function.
2203 (hildon_pannable_area_button_release_cb): We have to remove the
2204 timeout handler and move to the last position if the last motion
2205 events were not handled.
2207 Fixes: NB#97028 (Pannable area updates on every motion event)
2209 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2211 * src/hildon-pannable-area.c,
2212 (hildon_pannable_area_get_topmost): Added a new parameter to
2213 filter the the windows that do not include those events. Added
2214 also a condition when finding the window to filter windows that do
2215 not ask for those events.
2216 (hildon_pannable_area_button_press_cb),
2217 (hildon_pannable_area_button_release_cb),
2218 (hildon_pannable_get_child_widget_at): Reviewed the call the the
2219 topmost function, we have added the new parameter.
2221 Fixes: NB#97458 (Pannable area prevents propagation of button
2224 2009-01-15 Alejandro G. Castro <alex@igalia.com>
2226 * src/hildon-pannable-area.c,
2227 (hildon_pannable_area_initial_effect): Added controls before
2228 launching the timeout and the idle functions.
2229 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
2230 of the method, in some situations it can return with TRUE and 0 in
2232 (hildon_pannable_area_button_press_cb): We do not need to set
2233 DELAY for fading out here.
2235 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
2237 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2239 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
2240 post-cleaning if the selection is not NULL.
2242 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2244 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
2245 all items before restoring the selection.
2247 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-touch-selector.c:
2250 (+hildon_touch_selector_unselect_all):
2251 * src/hildon-touch-selector.h: New API to unselect all items in a
2252 column of the touch selector.
2254 2009-01-14 Alejandro G. Castro <alex@igalia.com>
2256 * src/hildon-pannable-area.c,
2257 (hildon_pannable_area_redraw): Added a call to the refresh
2258 function inside the redraw because apparently in some cases the
2259 change in the adjustment does not imply a size allocate.
2261 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
2262 despite the view not being scrollable)
2264 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2266 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
2267 leak. Check for NULL before attempting to set the window title.
2269 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2271 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
2272 whether to show or not the 'Done' button each time the dialog is
2273 shown, as it depends on the HildonTouchSelector selection mode.
2275 Fixes: NB#96226 (In multiple selection mode Done button is shown
2276 sometimes in listpicker)
2278 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
2280 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
2281 for the number of columns in the HildonTouchSelector more than once.
2283 2009-01-14 Alberto Garcia <agarcia@igalia.com>
2285 * src/hildon-touch-selector.c: Minor documentation fixes.
2287 * src/hildon-picker-dialog.c (+_dialog_update_title)
2288 (_select_on_selector_changed_cb)
2289 (_update_title_on_selector_changed_cb)
2290 (on_selector_columns_changed): Update dialog title when there's no
2291 'Done' button and also when the number of columns in the selector
2295 * src/hildon-picker-button.c (hildon_picker_button_finalize)
2296 (+_selection_changed, hildon_picker_button_on_dialog_response)
2297 (hildon_picker_button_selector_selection_changed)
2298 (+hildon_picker_button_selector_columns_changed)
2299 (hildon_picker_button_set_selector): Update button value and emit
2300 'value-changed' when the number of columns in the selector
2304 Fixes: NB#96225 (Dialog titles are not shown according to the
2305 values selected in the list picker)
2307 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2309 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
2310 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
2311 New "arrow-width" and "arrow-height" style properties to set the
2312 size of the arrow button.
2313 Set name of arrow button ("hildon-edit-toolbar-arrow").
2315 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
2316 graphics from theme)
2318 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2320 * src/hildon-picker-button.c:
2321 (hildon_picker_button_selector_selection_changed): Use
2322 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
2323 the dialog is present.
2325 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
2326 the selection is accepted in the dialog)
2328 2009-01-13 Alberto Garcia <agarcia@igalia.com>
2330 * src/hildon-color-chooser.h
2331 * src/hildon-color-chooser-dialog.h:
2332 Added G_BEGIN_DECLS and G_END_DECLS
2334 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2336 (_clean_current_selection): plug a leak in the list.
2338 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-picker-dialog.c:
2341 (+free_path_list): Method to free a GList of GtkTreePaths.
2342 (_clean_current_selection), (_save_current_selection),
2343 (_restore_current_selection): Save the current selection in
2344 as a list of lists, to support multiple selection properly.
2346 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2348 patch by Claudio Saavedra (csaavedra@igalia.com)
2350 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
2351 Store the press position.
2352 (+hildon_text_view_button_release_event): If the release position is
2353 close enough to the press position, move the cursor here. Otherwise,
2355 (hildon_text_view_class_init): Override GtkTextView press, release, and
2356 motion event handlers, disabling this way text selection through
2357 pointer interaction, and allowing the container widget to handle the
2360 Fixes: NB#95828 (HildonTextView functionality)
2362 2009-01-12 Alberto Garcia <agarcia@igalia.com>
2364 Based on a patch by Iván Gómez (igomez@igalia.com)
2366 * src/hildon-button.[ch]
2367 * src/hildon-calendar.c
2368 * src/hildon-check-button.c
2369 * src/hildon-date-editor.c
2370 * src/hildon-date-selector.c
2371 * src/hildon-picker-button.c
2372 * src/hildon-time-editor.c
2373 * src/hildon-time-selector.c
2374 * src/hildon-touch-selector.[ch]:
2375 Documentation updates
2377 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2379 * src/hildon-pannable-area.c,
2380 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
2381 threshold, it was required due to X events handling.
2383 2009-01-12 Alejandro G. Castro <alex@igalia.com>
2385 * src/hildon-pannable-area.c,
2386 (hildon_pannable_area_grab_notify),
2387 (hildon_pannable_area_initial_effect),
2388 (hildon_pannable_area_button_press_cb),
2389 (hildon_pannable_area_button_release_cb),
2390 (hildon_pannable_area_scroll_cb),
2391 (hildon_pannable_area_scroll_to): Review the timeout management of
2392 the scrollbar, the frecuency was incorrectly set.
2394 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/hildon-picker-button.c:
2397 (+hildon_picker_button_on_dialog_response),
2398 (hildon_picker_button_clicked): Present the dialog instead of
2399 running it with gtk_dialog_run().
2401 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
2404 2009-01-07 Alberto Garcia <agarcia@igalia.com>
2406 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2407 (hildon_app_menu_finalize): When a window is hidden it doesn't
2408 emit notify::is-topmost, so make sure than the menu also
2409 disappears in that case.
2410 (parent_window_topmost_notify): Renamed from parent_window_hidden
2412 Fixes: NB#94460 (stackable window's menu is not closed when its
2415 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-touch-selector-entry.c:
2418 (+hildon_touch_selector_entry_set_input_mode),
2419 (+hildon_touch_selector_entry_get_input_mode):
2420 * src/hildon-touch-selector-entry.h: New methods to access the input
2421 mode in the selector's entry.
2423 Fixes: NB#93410 (API required for setting IM mode in
2424 HildonTouchSelectorEntry)
2426 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2428 * configure.ac: post release version bump.
2429 * debian/changelog: version bump
2431 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
2436 * configure.ac: Bump version.
2437 * debian/changelog: Updates.
2439 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
2441 * src/hildon-touch-selector.c:
2442 (_hildon_touch_selector_has_multiple_selection): No need
2443 to initialize the variables here.
2445 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2447 * src/hildon-note-private.h
2448 * src/hildon-note.c (event_box_press_event, hildon_note_init)
2449 (hildon_note_finalize, hildon_note_rebuild): Close information
2450 notes when they receive a button press.
2452 Fixes: NB#89890 (Information notes does not get disappeared after
2455 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
2457 * src/hildon-wizard-dialog.c: (create_title): Remove translation
2458 mark from the wizard title, as it's not really necessary. Also,
2459 do not display the page title if not set.
2461 2008-12-17 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2464 (parent_window_hidden): Use the window's "is-topmost" property to
2465 detect when to hide the menu.
2467 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2469 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
2470 (hildon_app_menu_finalize): If the parent window of the menu is
2471 hidden, hide the menu too.
2473 Fixes: NB#94460 (stackable window's menu is not closed when its
2476 2008-12-16 Alberto Garcia <agarcia@igalia.com>
2479 * debian/libhildon1-examples.install
2481 * examples/Makefile.am:
2482 Use dh_install to install all examples.
2483 Use DEB_SRCDIR instead of defining SOURCE_DIR
2485 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2487 * configure.ac: post release version bump.
2488 * debian/changelog: version bump
2490 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2495 * configure.ac: bump version
2496 * debian/changelog: updates
2497 * debian/control: bump gtk+ dependency
2499 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
2501 patch by Christian Dywan (christian@imendio.com)
2503 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
2504 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
2506 2008-12-15 Alberto Garcia <agarcia@igalia.com>
2508 * src/hildon-check-button.c (hildon_check_button_init)
2509 (hildon_check_button_class_init, hildon_check_button_style_set)
2510 (hildon_check_button_apply_style):
2511 New "checkbox-size" style property.
2513 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
2514 larger / configurable size)
2516 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2518 * configure.ac: post release version bump.
2519 * debian/changelog: version bump
2521 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
2526 * configure.ac: bump version
2527 * debian/changelog: updates
2529 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2531 * doc/hildon-sections.txt
2532 * src/hildon-pannable-area.c
2533 * src/hildon-program.c
2534 * src/hildon-time-editor.c
2535 * src/hildon-touch-selector-entry.c:
2537 More documentation updates.
2539 2008-12-12 Alberto Garcia <agarcia@igalia.com>
2541 * doc/hildon-sections.txt
2542 * src/hildon-caption.c
2543 * src/hildon-code-dialog.c
2544 * src/hildon-color-button.c
2545 * src/hildon-controlbar.c
2546 * src/hildon-date-editor.c
2547 * src/hildon-date-selector.c
2548 * src/hildon-edit-toolbar.c
2549 * src/hildon-find-toolbar.c
2550 * src/hildon-font-selection-dialog.c
2552 * src/hildon-program.c
2553 * src/hildon-range-editor.c
2554 * src/hildon-seekbar.c
2555 * src/hildon-time-editor.c
2556 * src/hildon-time-selector.c
2557 * src/hildon-volumebar-range.c
2558 * src/hildon-volumebar.c
2559 * src/hildon-vvolumebar.c
2560 * src/hildon-weekday-picker.c
2561 * src/hildon-window.c
2562 * src/hildon-wizard-dialog.c:
2564 Lots of documentation fixes.
2566 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2568 Patch contributed by Iván Gómez (igomez@igalia.com)
2570 * src/hildon-check-button.c:
2571 * src/hildon-date-button.c:
2572 * src/hildon-date-selector.c:
2573 * src/hildon-dialog.c:
2574 * src/hildon-edit-toolbar.c:
2575 * src/hildon-entry.c:
2576 * src/hildon-picker-button.c:
2577 * src/hildon-program.c:
2578 * src/hildon-text-view.c:
2579 * src/hildon-time-button.c:
2580 * src/hildon-touch-selector-entry.c:
2581 * src/hildon-window-stack.c:
2583 Add more "since" tags to the new API.
2585 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2587 * doc/hildon-sections.txt: Add below method.
2588 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
2589 version for the hildonized scale.
2590 * src/hildon-gtk.h: Add the definition.
2592 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2594 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2596 * doc/hildon-sections.txt: Add missing entries for new methods.
2598 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2600 Added API to pannable are in order to get its adjustments. We
2601 added two properties to manage the values we had in the private
2604 * src/hildon-pannable-area.c:
2605 (hildon_pannable_area_class_init): Added hadjustment and
2606 vadjustment properties in order to expose horizontal and vertical
2608 (hildon_pannable_area_get_property),
2609 (hildon_pannable_area_set_property): Added code to handle the new
2611 (hildon_pannable_area_get_hadjustment),
2612 (hildon_pannable_area_get_vadjustment): API functions to get the
2614 * src/hildon-pannable-area.h:
2615 (hildon_pannable_area_get_hadjustment),
2616 (hildon_pannable_area_get_vadjustment): API functions to get the
2619 2008-12-12 Alejandro G. Castro <alex@igalia.com>
2621 Fixed some leaks, after valgrinding.
2623 * src/hildon-touch-selector.c:
2624 (_default_print_func): Fixed a leak.
2625 (hildon_touch_selector_append_column): Fixed a leak.
2626 * src/hildon-date-button.c:
2627 (hildon_date_button_init): Fixed a leak.
2628 * src/hildon-date-selector.c
2629 (hildon_date_selector_finalize): Fixed a leak.
2631 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
2633 Based on a patch by Christian Dywan (christian@imendio.com)
2635 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
2637 * src/hildon-gtk.h: Add definition.
2639 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
2641 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2643 * src/hildon-picker-button.c: (hildon_picker_button_init),
2644 (hildon_picker_button_new): Set the HildonButton::style property
2645 in the init method, to propagate the value to the derived classes.
2647 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-button.c: (hildon_button_class_init): Do not make
2650 the "style" property a construct property.
2652 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-wizard-dialog.h
2655 * src/hildon-wizard-dialog.c
2656 (hildon_wizard_dialog_set_forward_page_func)
2657 * src/hildon-pannable-area.h
2658 * src/hildon-pannable-area.c
2659 (hildon_pannable_area_set_size_request_policy):
2660 Documentation fixes.
2662 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2664 * doc/hildon-sections.txt: Fixed warning about unused symbols.
2666 2008-12-11 Alberto Garcia <agarcia@igalia.com>
2668 * doc/hildon-sections.txt: Added sections file.
2670 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
2673 * src/*.[ch]: Updates.
2675 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
2677 * examples/hildon-progress-indicator-example.c: new file
2678 * examples/Makefile.am: include the new example program
2680 2008-12-10 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
2684 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2686 * configure.ac: post release version bump
2687 * debian/changelog: version bump
2689 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2694 * configure.ac: bump version
2695 * debian/changelog: updates
2696 * debian/control: bump gtk+ dependency
2698 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2700 * src/hildon-dialog.c: Mark as deprecated.
2701 * src/hildon-dialog.h: Mark as deprecated.
2702 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
2703 from HildonDialog and still work, even if
2704 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
2705 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
2707 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
2708 maemo changes) instead)
2710 2008-12-09 Alejandro G. Castro <alex@igalia.com>
2712 * src/hildon-pannable_area.h:
2713 * src/hildon-pannable_area.c:
2714 (hildon_pannable_area_class_init),
2715 (hildon_pannable_area_set_property),
2716 (hildon_pannable_area_get_property),
2717 (hildon_pannable_area_size_request),
2718 (hildon_pannable_area_get_size_request_policy),
2719 (hildon_pannable_area_set_size_request_policy): Added new API
2720 allowing applications to control the request policy. Now they can
2721 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
2722 children allocation (HILDON_MOVEMENT_CHILDREN).
2724 2008-12-09 Alberto Garcia <agarcia@igalia.com>
2728 (hildon_gtk_tree_view_set_ui_mode)
2729 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
2730 mode of treeviews and iconviews.
2732 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-touch-selector-entry.c:
2735 (hildon_touch_selector_entry_init): Use a HildonEntry instead
2736 of a GtkEntry to get proper theming.
2738 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
2739 widget, not GtkEntry)
2741 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-wizard-dialog.c: (response): Move forward if there is
2744 no HildonWizardDialogPageFunc.
2746 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
2748 Patch contributed by Iván Gómez (igomez@igalia.com)
2750 * src/hildon-app-menu.c:
2751 * src/hildon-button.c:
2752 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
2753 * src/hildon-stackable-window.c:
2754 * src/hildon-time-selector.c:
2755 * src/hildon-touch-selector.c:
2756 * src/hildon-window.c:
2758 Add more "since" tags to the new API in hildon 2.2.
2760 2008-12-05 Tim Janik <timj@imendio.com>
2762 Patch contributed by Christian Dywan (christian@imendio.com)
2764 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
2765 HildonSizeType, which are supplied by Gtk+ now.
2767 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
2769 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
2770 (with maemo changes) instead)
2772 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2774 Patch contributed by Iván Gómez (igomez@igalia.com)
2776 * src/hildon-pannable-area.c: Add "since" tags to the new API in
2779 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
2781 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
2782 (some_page_func), (main): Update the example to use a
2783 HildonWizardDialogPageFunc function.
2785 * src/hildon-wizard-dialog-private.h: Add private data for
2786 the HildonWizardDialogPageFunc function usage.
2788 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
2789 (destroy), (hildon_wizard_dialog_init), (response),
2790 (hildon_wizard_dialog_set_forward_page_func):
2791 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
2792 that applications can use to stop a HildonWizardDialog to jump to
2795 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
2798 2008-12-04 Alberto Garcia <agarcia@igalia.com>
2800 * src/hildon-program.h
2801 * src/hildon-program-private.h
2802 * src/hildon-program.c (hildon_program_init)
2803 (hildon_program_set_common_app_menu)
2804 (hildon_program_get_common_app_menu):
2805 New API for setting a common HildonAppMenu for all
2806 HildonStackableWindows registered with the HildonProgram.
2808 * src/hildon-stackable-window.c
2809 (hildon_stackable_window_toggle_menu):
2810 Use the common HildonAppMenu if a window doesn't have a specific
2813 * src/hildon-app-menu-private.h
2814 * src/hildon-app-menu.c
2815 (hildon_app_menu_get_parent_window):
2816 Function to obtain the window a HildonAppMenu is attached to.
2817 (hildon_app_menu_set_parent_window):
2818 Hide the menu if the parent window is set to NULL.
2820 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
2822 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
2823 set GtkTreeView::enable-search to FALSE, to avoid the interactive
2824 search widget to popup.
2826 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2828 * configure.ac: post release version bump
2829 * debian/changelog: version bump
2831 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
2836 * configure.ac: bump version
2837 * debian/changelog: updates
2839 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2841 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
2843 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
2844 (hildon_window_stack_window_realized)
2845 (hildon_window_stack_remove, _hildon_window_stack_do_push):
2846 Set the leader GdkWindow when a window is stacked and realized,
2847 unset it when it's unstacked.
2848 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
2850 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
2852 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2854 * src/hildon-stackable-window.h
2855 * src/hildon-window-stack.h:
2856 Protect definition of HildonWindowStack using the preprocessor.
2858 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2860 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
2861 Fix warning if all menu items are hidden.
2863 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
2865 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2867 * src/hildon-controlbar.c:
2868 * src/hildon-hvolumebar.c:
2869 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
2870 Multiple scale size defines updates.
2872 Fixes: NB#94322 (Scale Updates)
2874 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2876 * examples/hildon-app-menu-example.c (create_menu)
2877 Show items after adding them to the menu, as in the future the
2878 menu will no longer call gtk_widget_show() on the added items.
2880 * src/hildon-app-menu.c:
2881 Update example as explained above.
2883 2008-12-02 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-app-menu.c
2886 (hildon_app_menu_insert, hildon_app_menu_add_filter):
2887 Make sure that all menu items have finger height.
2889 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
2891 * src/hildon-picker-dialog.c:
2892 (_on_dialog_response), (_save_current_selection),
2893 (_restore_current_selection), (_clean_current_selection),
2894 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
2895 Defined new functions in order to save the current internal selector
2896 selection previous open the dialog, in case that the use cancel the
2897 interaction, so the widget restores the previous selection.
2899 Fixes: NB#92032 (In calendar application, date values in 'new event'
2902 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
2904 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-button.c: Add a reference to the button examples in
2907 hildon-button-example.c
2909 * examples/hildon-button-example.c: Added examples of the most
2910 common button layouts.
2912 2008-11-28 Alberto Garcia <agarcia@igalia.com>
2914 * src/hildon-app-menu.c (hildon_app_menu_show)
2915 (hildon_app_menu_class_init): Don't show the menu if it's empty.
2917 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
2919 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2921 * src/hildon-picker-dialog.c:
2922 (hildon_picker_dialog_init): Initialize the signal id for
2923 HildonTouchSelector::columns-changed.
2924 (+on_selector_columns_changed): Set up the interaction mode everytime a
2925 column is added or removed from the HildonTouchSelector.
2926 (_hildon_picker_dialog_set_selector): Connect to
2927 HildonTouchSelector::columns-changed and keep track of it.
2929 Make sure to update the interaction mode of the dialog everytime a
2930 column is added or removed in the HildonTouchSelector.
2932 Fixes: NB#93228 (Done button is not shown always in listpicker)
2934 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2936 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
2937 a new ::columns-changed signal.
2938 (hildon_touch_selector_append_column): Emit ::columns-changed.
2939 (hildon_touch_selector_remove_column): Emit ::columns-changed.
2941 Add a ::columns-changed signal, emitted when the number of columns in a
2942 HildonTouchSelector changes.
2944 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
2947 (_hildon_picker_dialog_set_selector): Factor out the code
2948 to set up the dialog interaction mode.
2950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2952 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
2953 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
2954 to signal_changed_id.
2956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2958 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2961 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
2963 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
2964 Updated the logical ids related to ampm format, as now it is required to
2965 show it correctly localized even on languages with no default
2966 abbreviations for am or pm
2967 (_check_am_pm_format): check correctly the 24h format gconf property
2969 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
2971 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2973 * src/hildon-button.c: Documentation updates.
2975 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2977 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
2978 * src/hildon-caption.c: (hildon_caption_class_init):
2979 * src/hildon-color-button.c: (hildon_color_button_class_init):
2980 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
2981 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
2982 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
2983 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
2985 Remove deprecated GTK+ marshalers and replace them with the ones
2986 provided by GLib, for those available, add a marshaler for
2987 BOOLEAN:VOID, which is not available in GLib, and use it.
2989 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
2991 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
2992 the text from the previous column if there is no
2993 HildonTouchSelectorColumn::text-property set.
2995 2008-11-27 Alberto Garcia <agarcia@igalia.com>
2997 * src/hildon-button.h
2998 * src/hildon-button.c (hildon_button_set_property)
2999 (hildon_button_get_property, hildon_button_class_init)
3000 (hildon_button_set_style, hildon_button_get_style):
3001 New "style" property to change the visual appearance of the
3004 * src/hildon-picker-button.c (hildon_picker_button_new):
3005 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
3007 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
3008 HildonButton look like PickerButton)
3010 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
3012 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
3013 column while building the default string.
3015 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3017 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
3018 scroll indicator by default.
3020 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
3022 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
3024 * src/hildon-main.c: Fix the documentation for hildon_init()
3026 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3028 * doc/hildon-docs.sgml
3032 * src/hildon-window-stack-private.h
3033 * src/hildon-window-stack.h
3034 * src/hildon-window-stack.c:
3035 New HildonWindowStack object, that adds support for multiple
3036 stacks of windows per process.
3038 * src/hildon-stackable-window-private.h
3039 * src/hildon-stackable-window.h
3040 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
3041 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
3042 (hildon_stackable_window_show, hildon_stackable_window_hide)
3043 (hildon_stackable_window_class_init)
3044 (hildon_stackable_window_init):
3045 Use HildonWindowStack for stack management.
3047 * src/hildon-program.c (hildon_program_pop_window_stack)
3048 (hildon_program_peek_window_stack)
3049 (hildon_program_go_to_root_window):
3050 Add a fallback implementation to the deprecated functions using
3053 * examples/hildon-stackable-window-example.c:
3054 Use the new HildonWindowStack API.
3056 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3058 * src/hildon-stackable-window-private.h
3059 * src/hildon-stackable-window.c (hildon_stackable_window_show)
3060 (hildon_stackable_window_hide, hildon_stackable_window_init):
3061 Remove all window stack management.
3063 * src/hildon-program-private.h
3064 * src/hildon-program.h
3065 * src/hildon-program.c (hildon_program_init)
3066 (hildon_program_pop_window_stack)
3067 (hildon_program_peek_window_stack)
3068 (hildon_program_go_to_root_window):
3069 Remove all window stack management and mark functions as
3072 2008-11-25 Alberto Garcia <agarcia@igalia.com>
3074 * src/hildon-app-menu.c (hildon_app_menu_realize):
3075 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
3077 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3079 * configure.ac: post release version bump
3080 * debian/changelog: version bump
3082 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3087 * configure.ac: bump version
3088 * debian/changelog: updates
3090 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
3092 Based on initial code by Christian Dywan (christian@imendio.com)
3094 * doc/hildon-docs.sgml: Add section for hildon-main.
3095 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
3096 * src/Makefile.am: Add new hildon-main.[ch]
3097 * src/hildon-defines.h: Update the icon sizes.
3098 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
3099 new library initialization files and register icon sizes.
3100 * src/hildon-main.h: New declarations.
3101 * src/hildon.h: Include hildon-main.h
3103 Add new initialization functions to the library. These methods
3104 will register the hildon specific icon sizes and can be used in the
3105 future for other hildon specific bits.
3107 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
3109 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3111 * src/hildon-window.c: (hildon_window_realize),
3112 (hildon_window_notify), (-hildon_window_update_title): Do not set
3113 the application name in the window title.
3115 Fixes: NB#89754 (Applications shouldn't display their names in the
3118 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
3120 * src/hildon-note-private.h:
3121 * src/hildon-note.c: (hildon_note_set_property),
3122 (hildon_note_get_property), (hildon_note_class_init),
3123 (hildon_note_init), (hildon_note_finalize),
3124 (hildon_note_new_confirmation_with_icon_name),
3125 (hildon_note_new_information_with_icon_name):
3127 No need to mark as deprecated the actual code. Revert
3128 to avoid missing symbols in widgets using deprecated API.
3130 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3132 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
3134 * src/hildon-volumebar.h
3135 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
3136 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
3138 * src/hildon-helper.h
3139 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
3140 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
3142 * examples/Makefile.am:
3143 Deprecate hildon-insensitive-example
3145 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
3147 2008-11-20 Alberto Garcia <agarcia@igalia.com>
3149 * examples/hildon-pannable-area-buttons-scroll-example.c:
3150 Make all buttons finger height
3152 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
3154 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
3156 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
3157 update the day model only if it is really required, and to avoid the
3158 full-reconstruction aproach. Now it only add or remove the required days.
3160 The purpose of this is avoid superfluous HildonTouchSelector::changed
3163 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
3164 with strange parameters)
3166 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
3168 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
3170 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
3171 the WINDOW_TYPE property.
3173 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
3175 2008-11-19 Alberto Garcia <agarcia@igalia.com>
3178 Fix dependency to allow parallel compilation with make -jX
3180 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
3182 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
3183 color frame and some minor tweaks to make it more consistent with
3186 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
3187 highlighted but not visible)
3189 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3191 * examples/Makefile.am: Fixed typo in the Makefile.am.
3193 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3195 Reviewed the use of MAEMO_GTK define, now we add the define in the
3196 compilation line, and we also add it to the pc file.
3198 * configure.ac: Added MAEMO_GTK define to the compilation command
3199 and removed it from the config.h.
3201 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
3202 do not have to take care about this define if the library was
3206 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
3208 2008-11-14 Alejandro G. Castro <alex@igalia.com>
3210 * examples/Makefile.am,
3211 * examples/hildon-pannable-area-buttons-scroll-example.c,
3212 * examples/hildon-pannable-area-gesture-signals-example.c,
3213 * examples/hildon-pannable-area-scroll-jump-example.c,
3214 * examples/hildon-pannable-area-tree-view-example.c:
3215 Renamed the pannable area examples, now they have more meaningful
3218 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
3220 * src/hildon-touch-selector.c:
3221 (hildon_touch_selector_set_column_selection_mode): Used of
3222 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
3223 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
3224 to avoid re-seting the same selection mode.
3226 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
3227 breaks HildonPickerDialog)
3229 2008-11-13 Alejandro G. Castro <alex@igalia.com>
3231 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
3232 conditional in the Makefile.am
3234 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
3236 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
3237 Remove unused methods.
3239 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-button.c (hildon_button_init):
3242 Make button images center-aligned by default
3244 2008-11-12 Alejandro G. Castro <alex@igalia.com>
3247 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
3248 activated, we have to think about how to deal with both defines
3249 MAEMO_GTK and MAEMO_CHANGES.
3251 2008-11-12 Alberto Garcia <agarcia@igalia.com>
3253 * examples/hildon-app-menu-example.c (create_menu): Make all
3254 buttons finger size.
3256 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3258 Fixed the compilation without maemo gtk adding ifdefs with
3259 MAEMO_GTK define to the code, we have to check this version more
3262 * examples/Makefile.am: Added control to avoid some examples that
3263 just make sense with maemo gtk.
3266 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
3267 hildon modes with the define.
3269 * examples/hildon-edit-toolbar-example.c,
3270 (create_icon_view): Create the icon view without hildon-gtk
3271 helpers if we are not using maemo gtk.
3273 * src/hildon-touch-selector.c,
3274 (_create_new_column): Create the treeview without hildon-gtk
3275 helpers if we are not using maemo gtk.
3277 2008-11-11 Alejandro G. Castro <alex@igalia.com>
3279 * src/hildon-pnnable-area.c,
3280 (hildon_pannable_area_dispose),
3281 (hildon_pannable_area_button_press_cb),
3282 (hildon_pannable_area_child_mapped),
3283 (hildon_pannable_area_add),
3284 (hildon_pannable_area_remove): Added code to control the position
3285 of the event_window when adding and removing children from the
3286 pannable. We have to raise the event window when the child is
3289 Fixes: NB#89811 (Not able to select first image thumbnail in multi
3290 selection mode using custom widget inside pannable)
3292 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3294 * configure.ac: post release version bump
3295 * debian/changelog: version bump
3297 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
3302 * configure.ac: bump version
3303 * debian/changelog: updates
3305 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
3307 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
3308 search mode, in order to avoid lose the focus on the treeview when
3309 a hw key (like enter) is pressed.
3311 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
3312 in HildonDateSelector dialog)
3314 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
3316 * debian/rules: Added --enable-maintainer-mode
3317 * Makefile.am: Added ACLOCAL_AMFLAGS
3319 This allows to properly regenerate the Makefiles if you modify the
3320 configure.ac or any Makefile.am.
3322 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3324 * examples/hildon-app-menu-example.c: (main): Do not set RC style
3325 properties, not needed at all.
3327 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-note-private.h: Add strings for the icon and stock_icon
3331 * src/hildon-note.c: (hildon_note_set_property),
3332 (hildon_note_get_property), (hildon_note_class_init),
3333 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
3334 (hildon_note_new_confirmation_add_buttons): Remove icons.
3335 (hildon_note_new_confirmation_with_icon_name): Deprecate.
3336 (hildon_note_new_information_with_icon_name): Deprecate.
3337 (hildon_note_new_confirmation): Act directly, without calling
3338 the deprecated constructor.
3339 (hildon_note_new_information): Act directly, without calling
3340 the deprecated constructor.
3341 * src/hildon-note.h: Mark deprecate methods as such.
3342 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
3343 not run tests on the deprecated methods if built with deprecation
3346 Fixes: NB#91688 (Never show icons in information notes/confirmation
3349 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
3351 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
3352 (hildon_app_menu_key_press): Remove leftover usage of the
3353 private structure in HildonAppMenu struct.
3354 * src/hildon-app-menu.h: Remove leftover private structure
3355 from the HildonAppMenu struct.
3357 Fixes a crasher when using the HildonAppMenu.
3359 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3361 * src/hildon-picker-dialog.c: Use appropriate logical id
3362 for the default "Done" text.
3364 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
3366 * configure.ac: post release version bump
3367 * debian/changelog: version bump
3369 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
3371 Modified the way to scroll to the current selection just when the touch
3372 selector is shown on the screen, avoiding a g_idle. Added too a property
3373 to configure this behaviour. See hildon_pannable_area_jump_to_child
3374 documentation for more information.
3376 * src/hildon-touch-selector.c
3377 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
3378 Added 'initial-scroll' property
3379 (hildon_touch_selector_set_property): Added
3380 (hildon_touch_selector_map): Removed as not required anymore
3381 (_hildon_touch_selector_on_selected_items): Modified in order to manage
3382 only a concrete column, instead of iterate along all the columns
3384 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3389 * configure.ac: bump version
3390 * debian/changelog: updates
3392 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3394 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
3395 compilation time warnings.
3397 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3399 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
3400 the default value for HildonPannableArea::mov-mode to
3401 HILDON_PANNABLE_AREA_MODE_VERT.
3403 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
3405 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3407 Reverting following commit:
3409 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3411 * src/hildon-app-menu-private.h
3412 * src/hildon-app-menu.[ch]
3413 * src/hildon-button.[ch]
3414 * src/hildon-check-button.[ch]
3415 * src/hildon-entry.[ch]
3416 * src/hildon-pannable-area.[ch]
3417 * src/hildon-text-view.[ch]:
3418 Added private field to the object's structure.
3420 because it causes an ABI breakage. We will need to introduce these
3421 changes later at some point. See NB#91636 for an extensive
3422 explanation and status.
3424 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
3426 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3428 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
3429 remove special cases that are no longer necessary.
3431 Fixes: NB#91016 (Change toolbar sizes, simplification)
3433 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3435 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
3436 is shown in the cancel note.
3438 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
3441 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
3442 (hildon_seekbar_init): Remove steppers, remove expose event.
3443 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
3445 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
3447 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
3449 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
3450 label font to "SmallSystemFont" for vertically arranged buttons.
3452 Fixes: NB#90662 (HildonButton "value" and "detail" text is
3455 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3457 * src/hildon-check-button.c
3458 (hildon_check_button_set_active, hildon_check_button_clicked):
3459 Don't access private parts directly, use getters instead.
3461 2008-10-31 Alberto Garcia <agarcia@igalia.com>
3463 * src/hildon-check-button.c (hildon_check_button_new):
3464 Align the contents of the check button to the left.
3466 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3468 * src/hildon-pannable-area.c,
3469 (hildon_pannable_area_scroll_to),
3470 (hildon_pannable_area_jump_to),
3471 (hildon_pannable_area_scroll_to_child),
3472 (hildon_pannable_area_jump_to_child): Replace the mapped
3473 precondition of these functions with the realized, it is the
3474 correct state of the widget in this case. Changed the
3475 documentation according to this modification.
3477 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3479 Added a new EXTRA_CFLAGS option to add the deprecated define to
3480 the compilation command. This way we can avoid using the define in
3481 the documentation compilation.
3483 * configure.ac: Defined EXTRA_CFLAGS.
3485 * examples/Makefile.am:
3487 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
3489 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
3491 * src/hildon-picker-dialog.c:
3492 Defined a utility macro with the desired touch selector height
3493 Removed currently unused separator, and title_label variables from
3495 (hildon_picker_dialog_init): Removed code related to the creation
3496 of unused private variables title_label and separator.
3497 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
3498 to ensure correct visualization of the touch selector inside the dialog.
3499 * src/hildon-touch-selector.c
3500 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
3501 ensure a concrete height of the widget.
3503 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3506 * tests/Makefile.am:
3508 Remove spurious whitespaces.
3510 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3512 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
3513 compilation warning after the cancel button removal.
3515 2008-10-30 Alejandro G. Castro <alex@igalia.com>
3517 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
3519 * configure.ac: Added an AM_CONDITIONAL in order to use in the
3520 Makefile.am, that way we can choose not to compile some examples
3521 and tests of the deprecated widgets.
3523 * examples/Makefile.am: Divided the sources in deprecated and
3526 * src/Makefile.am: Added undef statement of the deprecated
3527 symbol to the enums file generation process.
3529 * src/hildon-color-chooser-dialog.c
3530 * src/hildon-color-chooser-dialog.h
3531 * src/hildon-color-button.c
3532 * src/hildon-color-button.h
3533 * src/hildon-color-chooser.c
3534 * src/hildon-color-chooser.h
3535 * src/hildon-controlbar.c
3536 * src/hildon-controlbar.h
3537 * src/hildon-date-editor.c
3538 * src/hildon-date-editor.h
3539 * src/hildon-hvolumebar.c
3540 * src/hildon-hvolumebar.h
3541 * src/hildon-private.c
3542 * src/hildon-private.h
3543 * src/hildon-range-editor.c
3544 * src/hildon-range-editor.h
3545 * src/hildon-seekbar.c
3546 * src/hildon-seekbar.h
3547 * src/hildon-time-editor.c
3548 * src/hildon-time-editor.h
3549 * src/hildon-time-picker.c
3550 * src/hildon-time-picker.h
3551 * src/hildon-volumebar.c
3552 * src/hildon-volumebar.h
3553 * src/hildon-vvolumebar.c
3554 * src/hildon-vvolumebar.h
3555 * src/hildon-bread-crumb-trail.h
3556 * src/hildon-bread-crumb-trail.c
3557 * src/hildon-calendar-popup.c
3558 * src/hildon-calendar-popup.h
3559 * src/hildon-weekday-picker.c:
3560 * src/hildon-weekday-picker.h:
3561 * src/hildon-bread-crumb-widget.c:
3562 * src/hildon-bread-crumb-widget.h:
3563 * src/hildon-bread-crumb.c:
3564 * src/hildon-bread-crumb.h:
3565 * src/hildon-calendar.c:
3566 * src/hildon-calendar.h:
3567 * src/hildon-caption.c:
3568 * src/hildon-code-dialog.c:
3569 * src/hildon-code-dialog.h:
3570 * src/hildon-font-selection-dialog.c:
3571 * src/hildon-font-selection-dialog.h:
3572 * src/hildon-get-password-dialog.c:
3573 * src/hildon-get-password-dialog.h:
3574 * src/hildon-login-dialog.c:
3575 * src/hildon-login-dialog.h:
3576 * src/hildon-number-editor.c:
3577 * src/hildon-number-editor.h:
3578 * src/hildon-set-password-dialog.c:
3579 * src/hildon-set-password-dialog.h:
3580 * src/hildon-sort-dialog.c:
3581 * src/hildon-sort-dialog.h: This is the list of deprecated
3584 * src/hildon-touch-selector.c:
3585 * src/hildon-window.c: Added undef statement to avoid compilation
3588 * tests/Makefile.am: Divided the sources in deprecated and
3591 * tests/check_test.c,
3592 (configure_tests): Marked the deprecated code that was adding
3593 suites with deprecated tests.
3595 Fixes: NB#91135 (Deprecate legacy hildon widgets)
3597 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
3599 * src/hildon-touch-selector.c: (_default_print_func): Do not
3600 duplicate a string returned by gtk_tree_model_get(), it is already
3603 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
3606 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3608 * src/hildon-pannable-area.c
3609 (hildon_pannable_area_add_with_viewport): Reviewed the complete
3610 method, it had problems when adding a widget with viewport the
3611 second time. Now checks if it already has a viewport and uses it.
3613 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
3616 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3618 * src/hildon-pannable-area.c,
3619 (hildon_pannable_area_scroll_to),
3620 (hildon_pannable_area_jump_to),
3621 (hildon_pannable_area_scroll_to_child),
3622 (hildon_pannable_area_jump_to_child): Added a precondition to the
3623 scroll and jump to functions: the widget must be mapped before we
3624 can safely call these functions. We have also added documentation
3625 to the functions to explain how to use them in this situation.
3628 2008-10-28 Alejandro G. Castro <alex@igalia.com>
3630 Reviewed the threading handling of the pannable widget, we have
3631 used the gdk_threads_add_timeout function instead of the usual
3632 glib handlers. This avoids some problems with the threads.
3634 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
3635 (hildon_pannable_area_initial_effect),
3636 (hildon_pannable_area_scroll_indicator_fade),
3637 (hildon_pannable_area_button_press_cb),
3638 (hildon_pannable_area_timeout),
3639 (hildon_pannable_area_motion_notify_cb),
3640 (hildon_pannable_area_button_release_cb),
3641 (hildon_pannable_area_scroll_cb),
3642 (hildon_pannable_area_scroll_to): Removed the
3643 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
3644 gdk_threads_add_timeout.
3646 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
3648 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3653 * configure.ac: bump version
3654 * debian/changelog: updates
3656 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3658 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
3659 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
3660 * src/hildon-color-chooser-dialog.c:
3661 (hildon_color_chooser_dialog_init):
3662 * src/hildon-font-selection-dialog.c:
3663 (hildon_font_selection_dialog_init):
3664 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
3666 Remove all cancel/close-like dialogs, as these are not going to be
3669 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3671 * src/hildon-note.c: (hildon_note_rebuild),
3672 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
3675 Fixes: NB#90661 (Delete dialog is displayed without NO button)
3677 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
3679 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
3680 sure all buttons are shown, even the Cancel/Close-like ones.
3682 Fixes: NB#90861 (Custom Confirmation dialogs should be
3683 protected from cancel button removal)
3685 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3687 * debian/control: Change libhildon1-examples dependency from libhildon1
3689 * debian/libhildon1-examples.install
3691 * Makefile.am: Modified the final install directory for the examples on
3692 package libhildon1-examples
3693 * Makefile.static: Update clean target in order to remove all the binary
3696 Changes suggested by Claudio after review new libhildon1-examples package
3698 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
3700 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
3701 * src/hildon-touch-selector.c: Ditto.
3703 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
3705 * debian/control: Added new package libhildon1-examples, in order to pack
3706 the current hildon examples as documentation
3707 * debian/rules: Not to compress .c files, modify some includes on the
3708 examples (as normally are compiled locally, but when installed it will
3709 require to include the installed libhildon1 library), and rename
3711 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
3712 install all the example files on the new example package
3713 * examples/Makefile.static: Added static makefile that can be used to
3714 compile the examples, once installed the new example package
3715 * examples: Most of the examples were modified in order to grant that
3716 all use only '#include "hildon.h"', in order to be easy to prepare
3717 it on the example package
3719 2008-10-23 Alberto Garcia <agarcia@igalia.com>
3722 * debian/libhildon1-dev.install
3723 * debian/libhildon1-doc.install:
3724 Move all gtk-doc files to a separate libhildon1-doc package.
3726 2008-10-23 Daniel Borgmann <danielb@openismus.com>
3728 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
3730 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
3732 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
3734 * debian/rules: Fixed a error in order to avoid unnecessary calls
3735 to autogen.sh on package building
3737 2008-10-22 Alberto Garcia <agarcia@igalia.com>
3739 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
3741 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3743 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
3746 2008-10-21 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-picker-button.c
3749 (hildon_picker_button_finalize):
3750 Free priv->done_button_text
3752 * src/hildon-time-button.c
3753 (hildon_time_button_set_time)
3754 * src/hildon-picker-button.c
3755 (hildon_picker_button_clicked)
3756 (hildon_picker_button_selector_selection_changed)
3757 (hildon_picker_button_set_selector)
3758 * src/hildon-date-button.c
3759 (hildon_date_button_set_date):
3760 Free strings returned by hildon_touch_selector_get_current_text()
3762 * src/hildon-button.c (hildon_button_construct_child):
3763 Fix leaks in priv->image and priv->label_box
3765 Fixes: NB#90535 (Memory leak in picker button)
3767 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
3769 * src/hildon-button.c: (hildon_button_get_property): Do not access
3770 private elements directly, use getters instead.
3772 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3774 * src/hildon-app-menu-private.h
3775 * src/hildon-app-menu.c
3776 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
3777 Store the menu's parent window.
3779 * src/hildon-stackable-window.c
3780 (hildon_stackable_window_toggle_menu)
3781 (hildon_stackable_window_finalize):
3782 Set the menu's parent window when the menu is shown, unset it when
3785 * src/hildon-app-menu.c
3786 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
3787 (hildon_app_menu_class_init):
3788 Send unhandled keyboard accelerators to the parent window.
3790 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3792 * src/hildon-stackable-window.c
3793 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
3795 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3797 * configure.ac: post release version bump
3799 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3802 * configure.ac: Bump version
3803 * debian/changelog: Updates
3804 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
3807 2008-10-20 Alberto Garcia <agarcia@igalia.com>
3809 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3812 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
3813 GtkMenu with Hildon style.
3815 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3817 * src/hildon-picker-button.c:
3818 (hildon_picker_button_set_done_button_text): Set the dialog's
3819 done button text here as well.
3821 Fixes: NB#90232 (Picker button does not set the label on done button
3822 for the second time)
3824 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
3829 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3831 * src/hildon-app-menu.c (hildon_app_menu_insert)
3832 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
3833 the HildonAppMenu to be activatable using keyboard accelerators
3834 when the menu is not being shown.
3836 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
3838 2008-10-16 Alberto Garcia <agarcia@igalia.com>
3840 * src/hildon-stackable-window.c
3841 (hildon_stackable_window_show):
3842 Don't hide old windows automatically when new windows are shown:
3843 this is now a task for the window manager.
3844 (hildon_stackable_window_class_init)
3845 (hildon_stackable_window_hide):
3846 Remove windows from the stack everytime they're hidden.
3847 (hildon_stackable_window_realize):
3848 Don't change the _NET_WM_WINDOW_TYPE property. Use
3849 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
3850 it as a stackable window.
3852 * src/hildon-program.c
3853 (hildon_program_pop_window_stack):
3854 Just hide the window to remove it from the stack.
3855 (hildon_program_go_to_root_window):
3856 Don't call gtk_widget_show(), this is now a task for the window
3859 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
3861 2008-10-15 Alberto Garcia <agarcia@igalia.com>
3863 * src/hildon-button.c
3864 (hildon_button_construct_child):
3865 Don't pack anything in the button until text or image are
3866 set. This allows adding a custom child after creating the button
3867 with hildon_button_new().
3868 (hildon_button_finalize, hildon_button_class_init)
3869 (hildon_button_init, hildon_button_set_arrangement): Destroy the
3870 alignment and the label box even when they're not packed in the
3873 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
3875 * src/hildon-touch-selector.h:
3876 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
3877 currently the type definition was using GTK_TYPE_VBOX
3878 * src/hildon-touch-selector.c:
3879 Added some implementation notes in order to clarify that any other widget
3880 added without the column related API will not be included on the
3881 selection logic, and how the widget is freed, as some people ask about
3883 (hildon_touch_selector_remove): Reimplemented in order to free properly
3884 the column related data when you remove the private hbox.
3885 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
3886 to get a proper HildonTouchSelectorColumn documentation
3888 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-touch-selector-entry.c:
3891 (hildon_touch_selector_entry_print_func): Return NULL if there is no
3892 text in the GtkEntry and there is no item selected. Fixes a
3895 2008-10-13 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-app-menu-private.h
3898 * src/hildon-app-menu.[ch]
3899 * src/hildon-button.[ch]
3900 * src/hildon-check-button.[ch]
3901 * src/hildon-entry.[ch]
3902 * src/hildon-pannable-area.[ch]
3903 * src/hildon-text-view.[ch]:
3904 Added private field to the object's structure.
3906 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
3908 * configure.ac: post-release version bump
3910 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3914 * configure.ac: pre-release version bump
3916 * debian/changelog: updates.
3918 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
3920 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
3921 Disconnect the handler for HildonTouchSelector::changed.
3923 (hildon_picker_button_selector_selection_changed): Update the button
3924 value if the selection change was not triggered by the
3927 (hildon_picker_button_set_selector): connect to
3928 HildonTouchSelector::changed.
3930 Fixes: NB#89650 (Picker button is not updated, when selection in
3931 selector has changed)
3933 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
3935 * src/hildon-picker-dialog.c
3936 (hildon_picker_dialog_realize): Removed as not required
3937 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
3938 * src/hildon-picker-button.c
3939 (_current_selector_empty): New function, checks if the selector is empty
3940 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
3941 if the current selector is empty, in order to avoid to show the dialog
3942 close the dialog in this case (and shows a g_warning).
3944 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
3946 2008-10-09 Alejandro G. Castro <alex@igalia.com>
3948 * src/hildon-pannable-area.c,
3949 (hildon_pannable_area_scroll): Added clause to stop movement when
3950 the child of pannable is smaller than one page.
3951 (hildon_pannable_area_scroll_to): Added conditions to avoid
3952 starting the scrolling movement if the child is smaller than one
3953 page, the complete child is in the screen, we do not have to move.
3955 Fixes: NB#89632 (Picker button selection doesn't change on first click)
3957 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3959 * src/hildon-app-menu.c: Removed the 'columns' property, as now
3960 this is managed automatically by the widget when the size of the
3963 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3965 * src/hildon-picker-button.c
3966 (hildon_picker_button_set_done_button_text): Make a copy of the
3967 text, and free the previous value.
3969 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3971 * src/hildon-touch-selector-entry.c:
3972 (hildon_touch_selector_entry_print_func): Return the selected row's
3973 text if the entry is empty.
3975 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
3978 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
3980 * src/hildon-touch-selector-entry.c: Minor docs fixes.
3982 2008-10-09 Alberto Garcia <agarcia@igalia.com>
3985 * src/hildon-check-button.h
3986 * src/hildon-check-button.c
3987 * examples/hildon-check-button-example.c:
3988 HildonCheckButton is now a new widget. 'toggled' signal added.
3990 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3992 * src/hildon-program-private.h
3993 * src/hildon-program.c (hildon_program_init)
3994 (hildon_program_finalize): Removed unused variables group_leader
3995 and name from HildonProgramPrivate.
3997 2008-10-08 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-check-button.c (hildon_check_button_set_active)
4000 (hildon_check_button_get_active, hildon_check_button_new): Use
4001 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
4003 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
4005 * src/hildon-touch-selector.h
4006 (hildon_touch_selector_set_column_attributes): added deprecation
4007 guard HILDON_DISABLE_DEPRECATED
4008 * src/hildon-time-selector.c
4009 (hildon_time_selector_set_time)
4010 (hildon_time_selector_get_time): Fixed a typo on documentation
4011 * src/hildon-touch-selector.c: update HildonTouchSelector and
4012 HildonTouchSelectorColumn documentation
4013 * src/hildon-touch-selector-entry.c: update "text-column" property
4015 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
4016 to be added to the general documentation.
4018 2008-10-08 Alejandro G. Castro <alex@igalia.com>
4020 * examples/hildon-pannable-area-example-4.c,
4022 * examples/hildon-pannable-area-example.c,
4023 (main): Modified the code in order to use the container add, with
4024 viewport treeviews could have problems if they are really big.
4026 2008-10-06 Alejandro G. Castro <alex@igalia.com>
4028 * src/hildon-weekday-picker.c,
4029 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
4030 the agreement regarding deprecation in the library.
4032 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4034 * examples/hildon-picker-button-multicolumn-example.c:
4035 (main): Use custom "done" button text.
4037 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4038 (hildon_picker_button_set_property),
4039 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4040 (hildon_picker_button_init),
4041 (+hildon_picker_button_get_done_button_text),
4042 (+hildon_picker_button_set_done_button_text): New methods to customize
4043 the "done" button label in the launched HildonPickerDialog. Also,
4046 * src/hildon-picker-button.h: add the public API.
4048 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
4050 * src/hildon-date-selector.h:
4051 * src/hildon-picker-dialog.h:
4052 * src/hildon-time-selector.h:
4053 * src/hildon-touch-selector-column.h:
4054 * src/hildon-touch-selector.h:
4056 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
4057 declarations. Fixes gtk-doc warnings.
4059 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-picker-dialog.h
4062 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
4063 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
4065 Fixes: NB#89329 (selectors in picker dialog are not visible when a
4066 long text is set as label for done button)
4068 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4070 * src/hildon-dialog.c (hildon_dialog_add_button):
4071 Set fixed width to all buttons in the HildonDialog.
4073 2008-10-06 Alberto Garcia <agarcia@igalia.com>
4075 Patch contributed by Daniel Borgmann (danielb@openismus.com)
4077 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
4078 Set widget name using class name plus "-finger" or "-thumb".
4080 2008-10-03 Alberto Garcia <agarcia@igalia.com>
4082 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
4083 'clicked' when the state of the button is manually changed.
4085 2008-10-02 Alberto Garcia <agarcia@igalia.com>
4087 * src/hildon-app-menu.c (hildon_app_menu_realize)
4088 (hildon_app_menu_unrealize, hildon_app_menu_init)
4089 (hildon_app_menu_class_init, item_visibility_changed):
4090 Change the menu layout when the size of the screen changes.
4091 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
4092 Show warning only when changing the number of colums using the
4095 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
4097 * debian/compat: Set to 5
4098 * debian/control: Update dependencies.
4099 * debian/libhildon1-dbg.install: Remove.
4100 * debian/libhildon1-dev.install: Update according to cdbs paths.
4101 * debian/libhildon1.install: Update according to cdbs paths.
4102 * debian/rules: Switch to cdbs.
4104 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4106 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
4107 'item' variable renamed to 'filter'
4109 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4111 * src/hildon-app-menu.c (hildon_app_menu_insert)
4112 (hildon_app_menu_add_filter, remove_item_from_list)
4113 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
4114 Don't leak hidden items when the menu is destroyed.
4116 2008-10-01 Alberto Garcia <agarcia@igalia.com>
4118 * src/hildon-app-menu.c (hildon_app_menu_insert)
4119 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
4120 (hildon_app_menu_set_columns, item_visibility_changed)
4121 (filter_visibility_changed, hildon_app_menu_repack_filters)
4122 (hildon_app_menu_repack_items):
4123 Repack items and filters separately.
4125 Don't repack all items, change only the ones that are needed to
4128 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4130 * src/Makefile.am: added hildon-touch-selector-column.h
4132 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
4134 * src/hildon-touch-selector.c: added the property "text-column" to the
4135 class HildonTouchSelectorColumn, and related get/set functions
4136 (_default_printf_func): updated to use "text-column" property
4137 * src/hildon-touch-selector-entry.c: mark as deprecated the property
4138 "text-column" in his documentation, as this is now included on
4139 HildonTouchSelectorColumn. The get/set_property can still be used,
4140 working as a wrapper to the concrete column "text-column" property
4141 (_text_column_modified): callback added in order to handle the signal
4142 "notify::text-column" of the concrete HildonTouchSelectorColumn
4143 (hildon_touch_selector_entry_get_text_column)
4144 (hildon_touch_selector_entry_set_text_column): Added documentation, and
4145 modified in order to use the HildonTouchSelectorColumn "text-column"
4147 * src/hildon-time-selector.c:
4148 * src/hildon-date-selector.c:
4149 * examples/hildon-touch-selector-example.c
4150 * examples/hildon-touch-selector-multi-cells-example.c
4151 * examples/hildon-picker-button-multicolumn-example.c
4152 Set the right value to "text-column" property on the creation of a new
4153 column using hildon_touch_selector_append_column()
4155 Fixes: NB#88644 (Hardcoded first column of the model as text column)
4157 2008-09-30 Alberto Garcia <agarcia@igalia.com>
4159 * src/hildon-app-menu.c
4160 (hildon_app_menu_construct_child, hildon_app_menu_init): When
4161 updating the layout of the menu, don't create all widgets again,
4162 just repack the items in their new places.
4164 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
4166 * src/hildon-time-selector.c
4167 (hildon_time_selector_get_time)
4168 (hildon_time_selector_set_time)
4169 Added documentation of these public methods
4171 * src/hildon-date-button.h
4172 * src/hildon-touch-selector-column.h
4173 * src/hildon-time-button.h
4174 * src/hildon-picker-dialog.h
4175 * src/hildon-time-selector.h
4176 * src/hildon-picker-button.h
4177 * src/hildon-touch-selector.h
4178 * src/hildon-time-picker.h
4179 * src/hildon-date-selector.h
4180 * src/hildon-touch-selector-entry.h
4181 Modified in order to use hildon-widgets code style
4183 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4185 Added deprecated support to the compilation process using
4186 HILDON_DISABLE_DEPRECATED
4188 * configure.ac: Added the --disable-deprecated to the configure
4191 * src/hildon-weekday-picker.c:
4192 * src/hildon-weekday-picker.h: Deprecated widget, example of how
4193 to use the deprecated support. We will update the other deprecated
4194 widgets status in a new patch.
4196 2008-09-30 Alejandro G. Castro <alex@igalia.com>
4198 * configure.ac: Fixed typo with fatal warnings support, the
4199 variable name was not correct
4201 2008-09-29 Alberto Garcia <agarcia@igalia.com>
4203 * src/hildon-app-menu.c
4204 * src/hildon-program.c: Update documentation.
4206 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4208 * configure.ac: Post-release version bump.
4210 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4215 * configure.ac: Pre-release version bump.
4216 * debian/changelog: Updates.
4218 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
4220 * NEWS: Update news for previous releases.
4222 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4224 * examples/hildon-touch-selector-multi-cells-example.c:
4225 (create_selector): Update the example to use
4226 hildon_touch_selector_append_column() with a NULL renderer and set
4227 the renderers later.
4228 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
4229 passed a NULL renderer. This is documented behavior now.
4231 Allow passing a NULL renderer to hildon_touch_selector_append_column().
4232 This must be used if the developer wants full control on the layout of
4233 the renderers to be added to the column.
4235 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4237 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4239 * src/hildon-touch-selector.c: Documentation fixes.
4241 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
4243 * src/hildon-wizard-dialog-private.h: Remove image and box.
4244 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
4245 (hildon_wizard_dialog_set_property), (response): Completely remove
4246 image/icon support, and the containers required for the layout.
4248 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
4250 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4252 * src/hildon-app-menu.c: Updated documentation.
4254 * src/hildon-stackable-window.c
4255 (hildon_stackable_window_set_main_menu): Unref the old menu after
4256 ref'ing the new one.
4258 2008-09-25 Alberto Garcia <agarcia@igalia.com>
4260 * src/hildon-stackable-window.c
4261 (hildon_stackable_window_set_main_menu): Unref the previous menu
4262 instead of destroying it.
4264 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
4265 floating reference and set has_user_ref_count to FALSE to make
4266 HildonAppMenu act like a normal ref-counted widget and not a
4269 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
4272 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
4274 * src/hildon-touch-selector-column.h: new file
4275 * src/hildon-touch-selector.h
4276 * src/hildon-touch-selector.c
4277 Implemented GtkCellLayout interface, in order to allow to configure
4278 the cell layout on each individual selector column
4279 (hildon_touch_selector_set_column_attributes): marked as deprecated
4280 * examples/hildon-touch-selector-multi-cells-example.c
4281 Example of how to use the GtkCellLayout interface on the selector
4283 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
4285 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4287 * src/hildon-app-menu.h
4288 * src/hildon-app-menu.c
4289 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
4290 (hildon_app_menu_append, hildon_app_menu_prepend):
4291 New methods to prepend, insert and move items in the menu.
4293 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4295 * src/hildon-wizard-dialog.c:
4297 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
4299 (create_title): Update logical IDs and related code.
4300 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
4302 * src/hildon-wizard-dialog.h: Note that
4303 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
4304 point, as it is not used anymore.
4306 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
4308 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4310 * src/hildon-note.c:
4311 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
4312 shown. Do not display an icon in confirmation notes nor information
4314 (hildon_note_set_button_text): Update logical ID for cancel button.
4316 Fixes: NB#88850 (Update HildonNote button strings + signals)
4318 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4320 * src/hildon-stackable-window.c
4321 (hildon_stackable_window_set_main_menu): Fix compilation warning.
4323 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4325 * src/hildon-app-menu-private.h
4326 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
4327 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
4328 (hildon_app_menu_init, hildon_app_menu_class_init): Added
4329 temporary property 'columns' to change the number of columns.
4331 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
4333 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
4335 * examples/hildon-note-example.c: (on_information_clicked),
4336 (on_confirmation_clicked), (on_progress_clicked), (main): Add
4337 debugging information.
4338 * src/hildon-note-private.h: Remove close_if_pressed_outside,
4340 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
4341 (hildon_note_rebuild): Remove special handling of tapping outside/inside
4342 in order to close: this will be handled by the WM from now on.
4344 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
4346 2008-09-24 Alberto Garcia <agarcia@igalia.com>
4348 * src/hildon-app-menu-private.h
4349 * src/hildon-app-menu.c
4350 (hildon_app_menu_append, hildon_app_menu_add_filter)
4351 (button_visibility_changed, hildon_app_menu_apply_style)
4352 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
4353 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
4354 layout everytime a button (item or filter) is shown or hidden.
4356 * src/hildon-stackable-window.c
4357 (hildon_stackable_window_set_main_menu): Destroy the old menu when
4360 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
4362 * src/hildon-touch-selector.c:
4363 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
4364 that the treeview inside the touch selector is in fremantle hildon mode
4365 * examples/hildon-date-button-example.c
4366 * examples/hildon-picker-button-multicolumn-example.c
4367 * examples/hildon-touch-selector-entry-example.c
4368 * examples/hildon-touch-selector-example.c
4369 * examples/hildon-time-button-example.c
4370 * examples/hildon-picker-button-example.c:
4371 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
4373 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
4375 * examples/hildon-text-view-example.c: (main): Remove the
4376 gtkrc bits, now handled by the theme.
4378 2008-09-22 Alberto Garcia <agarcia@igalia.com>
4380 * src/hildon-picker-button.c (hildon_picker_button_set_active):
4383 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4385 * po/Makefile.am: Install properly the mo files.
4386 * po/en_GB.po: Update translation, to ease testing purposes.
4388 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4390 * examples/hildon-picker-button-example.c: (main): Select an item
4391 in the selector before setting it to the button.
4393 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4395 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
4396 Update button's value if the selector has an item active.
4398 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
4399 'value' with the selector)
4401 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
4403 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
4404 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
4405 (hildon_picker_button_class_init): Plug the finalize method.
4406 (hildon_picker_button_set_selector): If there's a previously set
4407 selector, unref'it before setting a new one.
4409 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
4410 HildonTouchSelector)
4412 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
4414 * src/hildon-touch-selector-entry.c:
4415 (hildon_touch_selector_entry_changed): Check if there is no text
4416 selected before setting the entry text.
4419 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4421 * src/hildon-touch-selector.h
4422 * src/hildon-touch-selector.c
4423 (hildon_touch_selector_get_active)
4424 (hildon_touch_selector_set_active): New methods to set/get the
4425 index of the selected item.
4427 * src/hildon-picker-button.h
4428 * src/hildon-picker-button.c
4429 (hildon_picker_button_get_active)
4430 (hildon_picker_button_set_active): New methods to set/get the
4431 index of the selected item.
4433 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4435 * configure.ac: post-release version bump.
4437 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
4441 * configure.ac: Pre-release version bump.
4442 * debian/changelog: Updates.
4443 * debian/control: Add myself as maintainer and depend on l10n
4446 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4448 * src/hildon-window.c
4449 (hildon_window_set_main_menu)
4450 * src/hildon-stackable-window.c
4451 (hildon_stackable_window_set_main_menu):
4452 Updated documentation.
4454 2008-09-15 Alberto Garcia <agarcia@igalia.com>
4456 * src/hildon-date-selector.c (hildon_date_selector_finalize):
4457 Don't free selector->priv manually.
4460 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4463 (hildon_gtk_window_set_progress_indicator):
4464 * src/hildon-gtk.h: Added the new API
4465 hildon_gtk_window_set_progress_indicator, it changes the state of
4466 the window progress hint.
4468 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4470 * src/hildon-button.c
4471 * src/hildon-stackable-window.c: Minor documentation updates.
4473 2008-09-12 Alberto Garcia <agarcia@igalia.com>
4475 * src/hildon-stackable-window.c: Updated documentation.
4477 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
4479 * src/hildon-defines.h: Update margins definitions
4480 to the Fremantle sizes.
4483 2008-09-12 Alejandro G. Castro <alex@igalia.com>
4485 * src/hildon-touch-selector.c,
4486 (_hildon_touch_selector_set_model): Cleaning the code after
4487 review, removed g_print and #if 0 from the code.
4489 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4491 * src/hildon-edit-toolbar.c: Update documentation.
4493 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4495 * src/hildon-check-button.h
4496 * src/hildon-check-button.c
4497 (hildon_check_button_set_label, hildon_check_button_get_label)
4498 * examples/hildon-check-button-example.c
4499 (button_clicked_cb):
4500 Removed deprecated methods.
4502 2008-09-11 Alberto Garcia <agarcia@igalia.com>
4504 * src/hildon-text-view.c:
4505 Add sample code to the documentation.
4507 * src/hildon-entry.h
4508 * src/hildon-text-view.h:
4509 Minor cosmetic changes.
4511 * src/hildon-entry.c:
4512 Add sample code to the documentation.
4513 (hildon_entry_init, hildon_entry_refresh_contents):
4514 Don't allow NULL values in the placeholder.
4516 2008-09-10 Alberto Garcia <agarcia@igalia.com>
4518 * doc/hildon-docs.sgml
4520 * examples/Makefile.am
4521 * examples/hildon-text-view-example.c
4523 * src/hildon-text-view.c
4524 * src/hildon-text-view.h
4526 New HildonTextView widget, with example.
4528 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4530 * po/POTFILES.in: Add missing files with translatable strings.
4531 Partially fixes NB#88287.
4533 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4535 * examples/hildon-pannable-area-example-2.c: (main): No need to
4536 set the cellrenderer height inside hildon touch lists, the theme does
4539 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
4541 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
4542 they are integrated in the theme.
4544 2008-09-09 Alberto Garcia <agarcia@igalia.com>
4546 * examples/hildon-entry-example.c: Update the example adding
4547 widgets to modify the text and the placeholder of the HildonEntry.
4549 * src/hildon-entry.c: Show the placeholder everytime the widget
4550 is empty and loses the focus.
4552 2008-09-09 Alejandro G. Castro <alex@igalia.com>
4554 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
4556 * src/hildon-pannable-area.c,
4557 (hildon_pannable_area_size_request): Fixed bug in height
4558 requisition, avoid increasing size and add border twice.
4560 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4562 * configure.ac: postrelease version bump.
4564 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
4568 * configure.ac: Prerelease version bump.
4569 * debian/changelog: update.
4570 * debian/rules: make -dbg package contain useful debugging symbols.
4572 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4574 * src/hildon-dialog.h
4575 * src/hildon-dialog.c
4576 (hildon_dialog_add_button, hildon_dialog_add_buttons):
4577 New methods to add buttons with finger size.
4578 (hildon_dialog_new_with_buttons):
4579 Create buttons with finger size.
4581 * examples/hildon-dialog-example.c (main): Use HildonDialog
4582 methods to add buttons.
4584 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4586 * src/hildon-entry.c: Updated HildonButton documentation.
4588 2008-09-08 Alberto Garcia <agarcia@igalia.com>
4590 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
4591 button value label with (FALSE, FALSE) to prevent NB#88126 from
4594 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4596 * examples/hildon-pannable-area-example.c,
4597 (main): Removed examples panning a vbox inside a pannable
4598 area. Check bug NB#87965
4600 2008-09-08 Alejandro G. Castro <alex@igalia.com>
4602 Patch contributed by Kris Rietveld (kris@imendio.com)
4604 * src/hildon-pannable-area.c,
4605 (hildon_pannable_area_get_topmost): replaced the get_geometry with
4606 get_size and get_position, this saves an X server roundtrip.
4608 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4610 * doc/hildon-docs.sgml
4612 * examples/Makefile.am
4613 * examples/hildon-entry-example.c
4615 * src/hildon-entry.c
4616 * src/hildon-entry.h
4618 New HildonEntry widget, with example.
4620 2008-09-05 Alberto Garcia <agarcia@igalia.com>
4622 * src/hildon-button.c (hildon_button_construct_child): Pack the
4623 image with expand == fill == FALSE. This is a workaround for a bug
4626 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
4628 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
4629 labels for the text column, to make it more look more dynamic.
4631 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4633 * src/hildon-time-selector.c
4634 Define gettext auxiliar macro N_
4635 (_create_minutes_model)
4636 (_create_hours_model)
4637 (_create_ampm_model): use of strftime in order to fill the model
4638 * src/hildon-date-selector.c
4639 (hildon_date_selector_finalize):
4640 (_locales_init): remove the logic related to get the name of the months
4641 using nl_langinfo, as it is not required anymore
4643 (_create_year_model)
4644 (_create_month_model)
4645 (_update_day_model): use of strftime in order to fill the model properly
4648 2008-09-04 Alberto Garcia <agarcia@igalia.com>
4650 * src/hildon-button.h
4651 * src/hildon-button.c (hildon_button_get_image): New method to
4654 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
4656 * src/hildon-touch-selector.c:
4657 (hildon_touch_selector_remove_column): Remove from the correct parent
4658 and also remove the list element and free it.
4661 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
4663 * src/hildon-time-selector.c
4664 (_create_hours_model): change the range on 12h ampm format in order to use
4665 a 12-11 range instead of previous 01-12 range
4666 (hildon_time_selector_set_time): change the way to select the current time
4667 on 12h ampm format, due the change on the range
4668 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
4671 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
4673 * src/hildon-touch-selector.c
4674 (hildon_date_touch_selector_get_selected): fix the selection mode check,
4675 in order to allow use this function on multiple row selection mode if
4676 the column is different that the first one
4679 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
4681 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
4682 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
4684 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4686 * src/hildon-date-selector.h: clean some comments, now on the .c
4687 * src/hildon-date-selector.c
4688 (hildon_date_selector_select_month): first implementation
4689 (hildon_date_selector_select_day): added documentation, reimplemented
4690 using hildon_date_selector_select_current_date to avoid repeat code
4693 2008-09-02 Alejandro G. Castro <alex@igalia.com>
4695 Reviewed interaction logic based on device experiences, refactored
4698 * src/hildon-pannable-area.c,
4699 (hildon_pannable_area_class_init): Updated default vmax speed.
4700 (hildon_pannable_area_calculate_velocity): Added this function, it
4701 avoids duplicate valocity calculation. Adjusted calculation to
4702 avoid problems with zero dist events.
4704 (hildon_pannable_area_motion_notify_cb): Now we use the
4705 calculate_velocity function.
4707 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4709 * src/hildon-date-selector.c
4710 (hildon_date_selector_select_current_date): fix the day range check
4711 as it failed using the last day of the current month
4714 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
4716 * src/hildon-touch-selector.c
4717 (hildon_touch_selector_get_num_columns): added a parameter validation
4720 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4722 * examples/Makefile.am
4723 * examples/hildon-edit-toolbar-example.c: Example of the
4724 HildonEditToolbar widget.
4726 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4728 * configure.ac: postrelease version bump.
4730 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4734 * configure.ac: prerelease version bump.
4735 * debian/changelog: update.
4737 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4739 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
4740 renderer to display stock icons in the touch list. Also, set the sizes
4741 to the recommended in the style guide.
4743 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4744 * src/hildon-touch-selector.h
4745 (hildon_touch_selector_set_active_iter): renamed, now is
4746 hildon_touch_selector_select_iter
4747 (hildon_touch_selector_get_active_iter): renamed, now is
4748 hildon_touch_selector_get_selected
4749 (hildon_touch_selector_unselect_iter): added
4750 * src/hildon-touch-selector.c
4751 Update after API modification (methods renamed)
4752 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
4753 order to avoid problems selecting multiple elements on the column
4754 (hildon_touch_selector_unselect_iter): added the implementation
4755 * src/hildon-time-selector.c
4756 * src/hildon-date-selector.c
4757 * src/hildon-touch-selector-entry.c
4758 Update methods calls after hildon-touch-selector.h API modification (methods
4761 2008-08-29 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-stackable-window.c
4764 (hildon_stackable_window_finalize): Call the parent class's finalize.
4766 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4768 * examples/hildon-touch-selector-example.c: (create_selector): Use
4769 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
4772 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
4774 * examples/hildon-touch-selector-example.c: (create_selector): Do not
4775 set a cell background color, to respect theming.
4777 2008-08-28 Alberto Garcia <agarcia@igalia.com>
4779 * doc/hildon-docs.sgml
4782 * src/hildon-edit-toolbar.c
4783 * src/hildon-edit-toolbar.h
4784 * src/hildon.h: New HildonEditToolbar widget.
4786 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
4788 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
4791 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4792 * src/hildon-touch-selector.c
4793 (_create_new_column): use g_object_set instead of two g_object_set_property
4795 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
4796 * src/hildon-touch-selector.c
4797 (_create_new_column): use of hildon_gtk_tree_view_new to create
4798 the treeview, instead of use directly g_object_new
4799 (_create_new_column): update the property name "vindicator-mode" for the
4800 new one "vscrollbar-policy"
4801 * examples/hildon-date-button-example.c
4802 * examples/hildon-picker-button-multicolumn-example.c
4803 * examples/hildon-touch-selector-entry-example.c
4804 * examples/hildon-touch-selector-example.c
4805 * examples/hildon-time-button-example.c
4806 * examples/hildon-picker-button-example.c
4807 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
4808 to all the treeviews inside a pannable area.
4810 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4812 * src/hildon-button.h
4813 * src/hildon-button.c (hildon_button_init)
4814 (hildon_button_set_arrangement, hildon_button_set_alignment)
4815 (hildon_button_set_title_alignment)
4816 (hildon_button_set_value_alignment)
4817 (hildon_button_set_image_alignment)
4818 (hildon_button_construct_child): New methods to set the alignment
4819 of the individual components of the button (title, value,
4820 image). Also, new method to alter the xscale and yscale properties
4821 of the GtkAlignment inside the button, so more complex layouts can
4824 2008-08-27 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-button.c (hildon_button_style_set)
4827 (hildon_button_class_init, hildon_button_set_arrangement)
4828 (hildon_button_construct_child): Apply style properties
4829 correctly. Use the 'image-spacing' style property too.
4831 2008-08-26 Alberto Garcia <agarcia@igalia.com>
4833 * src/hildon-app-menu.c (hildon_app_menu_style_set)
4834 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
4837 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4839 * src/hildon-pannable-area.c,
4840 (hildon_pannable_area_size_request): Fixed problem with
4841 pannable-area size_request.
4843 2008-08-26 Alejandro G. Castro <alex@igalia.com>
4845 Added management for the grab-focus to a child widget, like a
4846 range, we need to fade out the scrollbar when releasing.
4848 * src/hildon-pannable-area.c,
4849 (hildon_pannable_area_init): Connected the grab-focus signal to
4851 (hildon_pannable_area_grab_notify): Added this function in order
4852 to manage the situation when the grab-focus ends. We have to
4853 fade-out the scrollbar.
4855 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4857 * src/hildon-app-menu.c: Minor documentation update.
4859 2008-08-25 Alberto Garcia <agarcia@igalia.com>
4861 * src/hildon-app-menu.c
4862 * examples/hildon-app-menu-example.c (create_menu): Update
4863 examples and documentation to explain how to connect callbacks.
4865 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
4867 * examples/hildon-button-example.c
4868 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
4869 hildon_stackable_window_new instead of gtk_window_new
4871 2008-08-22 Alejandro G. Castro <alex@igalia.com>
4873 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
4874 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
4875 (hildon_pannable_area_set_property),
4876 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
4877 (hildon_pannable_area_unrealize),
4878 (hildon_pannable_area_size_request),
4879 (hildon_pannable_area_size_allocate),
4880 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
4881 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
4882 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
4883 (hildon_pannable_area_initial_effect),
4884 (hildon_pannable_area_redraw),
4885 (hildon_pannable_area_scroll_indicator_fade),
4886 (hildon_pannable_area_expose_event),
4887 (hildon_pannable_area_get_topmost), (synth_crossing),
4888 (hildon_pannable_area_button_press_cb),
4889 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
4890 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
4891 (hildon_pannable_area_motion_notify_cb),
4892 (hildon_pannable_area_button_release_cb),
4893 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
4894 (hildon_pannable_area_remove),
4895 (hildon_pannable_calculate_vel_factor): Widget refactorization,
4896 chage the code layout to a more GtkWidget like. Review the use of
4899 2008-08-21 Alejandro G. Castro <alex@igalia.com>
4901 * examples/hildon-pannable-area-example-4.c,
4902 (main): Modified the name of the hindicator_mode to
4905 * src/hildon-pannable-area.c,
4906 (hildon_pannable_area_class_init),
4907 (hildon_pannable_area_motion_notify_cb),
4908 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
4909 we have reduced the amount of signals and managed reviewed its
4910 rationale. Changed the default decelerate value.
4912 (hildon_pannable_area_add),
4913 (hildon_pannable_area_redraw): Refactored functions.
4915 (hildon_pannable_area_init),
4916 (hildon_pannable_area_get_property),
4917 (hildon_pannable_area_set_property):
4918 (hildon_pannable_draw_vscroll),
4919 (hildon_pannable_draw_hscroll),
4920 (hildon_pannable_area_initial_effect),
4921 (hildon_pannable_area_expose_event),
4922 (hildon_pannable_area_scroll),
4923 (hildon_pannable_area_button_press_cb),
4924 (hildon_pannable_area_realize): Replaced the names hindicator_mode
4925 and vindicator_mode with hscrollbar_policy and
4926 vscrollbar_policy. Replaced hscroll and vscroll with
4927 hscroll_visible and vscroll_visible.
4929 (hildon_pannable_area_refresh): Refactor the function, remove
4930 variables and check the calls to this function, added resize
4931 conditions in case the children change their layout.
4933 (hildon_pannable_area_size_request): Added more detailed
4934 size_request calculation.
4937 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
4939 * src/hildon-color-chooser.c
4940 (init_borders): use the correct gtk_border_free instead of g_free, to
4941 avoid a crash when this widget is used (ie: the three color selection
4944 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4946 * src/hildon-check-button.c,
4947 (hildon_check_button_set_active): Fixed problem when setting the
4948 active value, the widget was not redrawn.
4950 2008-08-20 Alejandro G. Castro <alex@igalia.com>
4952 * src/hildon-pannable-area.c,
4953 (hildon_pannable_area_refresh),
4954 (hildon_pannable_area_scroll),
4955 (hildon_pannable_area_motion_notify_cb): Small code style change.
4957 (hildon_pannable_area_class_init): Default initial_hint set to
4958 FALSE, it is not in the specs.
4960 (hildon_pannable_area_initial_effect),
4961 (hildon_pannable_area_expose_event),
4962 (hildon_pannable_area_map),
4963 (hildon_pannable_area_init): Moved the launching point of the
4964 initial effect, it was in map but the sizes where not correct in
4965 that method so we do not know if we have the reproduce it. Now it
4966 is placed in the expose_event method and uses a variable to
4967 reproduce it just once.
4969 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4971 * src/hildon-pannable-area.c,
4972 (hildon_pannable_draw_vscroll),
4973 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
4974 position allowed for the scrollbars.
4976 (hildon_pannable_area_size_allocate): Small style change.
4978 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4980 * src/hildon-pannable-area.c,
4981 (hildon_pannable_area_scroll_indicator_fade),
4982 (hildon_pannable_area_button_press_cb),
4983 (hildon_pannable_area_button_release_cb),
4984 (hildon_pannable_area_scroll_cb),
4985 (hildon_pannable_area_expose_event),
4986 (hildon_pannable_area_init): Added the define parameter
4987 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
4988 and refactor the fade variable.
4990 2008-08-19 Alejandro G. Castro <alex@igalia.com>
4992 * src/hildon-pannable-area.c,
4993 (hildon_pannable_area_redraw),
4994 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
4995 lines, we were reimplemeting the redraw code.
4997 2008-08-18 Alejandro G. Castro <alex@igalia.com>
4999 * src/hildon-pannable-area.c,
5000 (hildon_pannable_area_scroll_cb),
5001 (hildon_pannable_area_realize),
5002 (hildon_pannable_area_class_init): Added scroll_event management
5003 for pannable area, now we can scroll the usual desktop method.
5005 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
5006 initialization of the parameters should depend on idle_id.
5008 (hildon_pannable_area_init),
5009 (hildon_pannable_area_map): Small code style modifications
5011 2008-08-18 Alejandro G. Castro <alex@igalia.com>
5013 * src/hildon-pannable-area.c
5014 (hildon_pannable_area_button_press_cb),
5015 (hildon_pannable_area_motion_notify_cb),
5016 (hildon_pannable_area_button_release_cb),
5017 (hildon_pannable_area_size_allocate),
5018 (hildon_pannable_area_scroll_to): Improved the timeouts
5019 management, we avoid creating them each time.
5021 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5023 * src/hildon-pannable-area.c:
5024 (hildon_pannable_area_refresh),
5025 (hildon_pannable_area_motion_notify_cb),
5026 (hildon_pannable_area_class_init):
5027 * src/hildon-pannable-area.h:
5028 * src/hildon-touch-selector.c
5029 (_create_new_column):
5030 * examples/hildon-pannable-area-example-4.c:
5031 (horizontal_movement),
5032 (vertical_movement),
5034 Replaced the names of enums in the HildonPannableArea:
5035 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
5036 HILDON_MOVEMENT_MODE_*
5037 - HILDON_PANNABLE_AREA_MOV_* ->
5039 - Removed HildonPannableAreaIndicatorMode, now we
5042 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5044 * examples/hildon-pannable-area-touch-grid-example.c
5045 * examples/hildon-pannable-area-touch-list-example.c: Fix
5046 compilation warnings.
5048 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-gtk.c (hildon_gtk_button_new)
5051 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
5052 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
5053 images overriding the value of the "gtk-button-images" setting.
5055 2008-08-14 Alberto Garcia <agarcia@igalia.com>
5057 * src/hildon-check-button.c (hildon_check_button_new):
5058 Instead of using a custom container, display the label and the
5059 checkbox using the standard GtkButton API.
5061 * examples/hildon-check-button-example.c (main): Don't use
5062 hildon_check_button_set_label() anymore
5064 * src/hildon-check-button.h
5065 * src/hildon-check-button.c
5066 (hildon_check_button_set_label, hildon_check_button_get_label):
5067 Set as deprecated, now we're using gtk_button_{get,set}_label()
5069 2008-08-14 Alejandro G. Castro <alex@igalia.com>
5071 * src/hildon-pannable-area.c,
5072 (hildon_pannable_area_get_topmost): Fixed bug with click in the
5073 GtkTreeview first line we detected it after the inclusion of the
5074 GtkWindowImpl in gtk+. We now check if the window is visible, not
5075 just if the pointer is over the window.
5076 (hildon_pannable_axis_scroll),
5077 (hildon_pannable_area_expose_event): Small style changes.
5079 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5081 * src/hildon-button.c: Update documentation.
5083 2008-08-13 Alberto Garcia <agarcia@igalia.com>
5085 * examples/hildon-button-example.c: Add a switch to show images in
5088 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5090 * doc/hildon-docs.sgml: Some docs reorganization.
5092 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5094 * examples/hildon-pannable-area-touch-list-example.c
5096 * examples/hildon-pannable-area-touch-grid-example.c
5097 (create_icon_view): Use gtk_{tree,icon}_view_new() and
5098 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
5099 Fix memory leak when setting the tree model.
5101 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5105 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
5107 * doc/hildon.types: Remove duplicated hildon_window_get_type
5108 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
5109 documentation comment.
5111 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5113 * doc/Makefile.am: Complete list of private headers.
5115 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5117 * doc/hildon-docs.sgml
5118 * src/hildon-app-menu.c
5119 * src/hildon-bread-crumb.c
5120 * src/hildon-button.c
5122 * src/hildon-program.c
5123 * src/hildon-stackable-window.c
5124 * src/hildon-window.c: Lots of documentation updates.
5126 2008-08-12 Alberto Garcia <agarcia@igalia.com>
5128 * debian/control: Depend on Gtk 2:2.12.9-0osso3
5130 * configure.ac: Require Gtk+ 2.12.9 at least
5132 2008-08-12 Alejandro G. Castro <alex@igalia.com>
5134 * src/hildon-pannable-area.c
5135 (hildon_pannable_area_scroll_indicator_fade),
5136 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
5137 to protect the return of this timeout callbacks, avoiding deadlocks.
5139 2008-08-12 Christian Dywan <christian@imendio.com>
5142 * src/hildon-*.h: Ensure a consistent include order,
5143 include <gtk/gtk.h> instead of particular files and
5144 only include the topmost header in the gtk stack. See NB #39857
5146 2008-08-12 Christian Dywan <christian@imendio.com>
5148 * src/hildon-picker-dialog.c
5149 * src/hildon-touch-selector.c: Fix warnings about unused and
5150 uninitialized variables.
5152 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5154 * examples/Makefile.am
5155 * examples/hildon-check-button-example.c: Example of the hildon
5158 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-window.h
5161 * src/hildon-window.c (hildon_window_class_init)
5162 (hildon_window_unset_program): Don't make
5163 hildon_window_unset_program a virtual function anymore.
5165 * src/hildon-stackable-window.c: Update documentation
5167 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5170 * doc/hildon-docs.sgml
5171 * doc/visual_index.xml
5172 * src/hildon-defines.c
5174 * src/hildon-helper.c
5175 * src/hildon-range-editor.c: Lots of documentation fixes.
5177 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5179 * examples/hildon-picker-button-multicolumn-example.c
5180 (create_touch_selector): Fix compilation warning.
5182 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5184 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
5185 (hildon_pannable_area_button_release_cb)
5186 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
5188 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5190 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
5193 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5195 * src/hildon-bread-crumb-trail.h
5196 * src/hildon-date-editor.c
5197 * src/hildon-date-selector.c
5198 * src/hildon-pannable-area.c
5199 * src/hildon-picker-dialog.c
5200 * src/hildon-time-selector.c
5201 * src/hildon-touch-selector-entry.c
5202 * src/hildon-touch-selector.c
5203 * src/hildon-touch-selector.h: Misc documentation fixes
5205 2008-08-11 Alberto Garcia <agarcia@igalia.com>
5207 * examples/hildon-date-editor-example.c (main): Updated date
5210 * examples/hildon-note-example.c (on_confirmation_clicked):
5211 Updated confirmation note example.
5213 * src/hildon-date-editor.c
5214 * src/hildon-note.c: Updated sample programs in documentation.
5217 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-date-button.h:
5220 * src/hildon-picker-button.h:
5221 * src/hildon-time-button.c:
5222 * src/hildon-time-button.h:
5224 Some declarations changes to allow gtk-doc to document the widgets
5227 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5229 * src/hildon-date-button.c: Document the widget.
5230 * src/hildon-time-button.c: Document the widget.
5232 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-picker-button.c: Document the widget.
5235 * src/hildon-touch-selector-entry.c: Document the widget.
5237 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5239 * doc/hildon-docs.sgml
5242 * src/hildon-check-button.h
5243 * src/hildon-check-button.c: New functions to create the Hildon
5247 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
5249 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5251 * src/hildon-button.h
5252 * src/hildon-button.c
5253 (hildon_button_add_title_size_group)
5254 (hildon_button_add_value_size_group)
5255 (hildon_button_add_image_size_group)
5256 (hildon_button_add_size_groups): New functions to set size groups
5257 for the button labels and image.
5258 (hildon_button_new_full): Removed
5260 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
5262 * src/hildon-time-selector.c
5263 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
5264 in order to avoid a crash if gconf is not available
5266 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-button.c (hildon_button_set_arrangement)
5269 (hildon_button_construct_child): Don't construct the button child
5270 before setting the arrangement.
5272 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5274 * src/hildon-program-private.h
5275 * src/hildon-program.c
5276 * src/hildon-program.h
5277 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
5278 (hildon_program_peek_window_stack)
5279 (hildon_program_pop_window_stack)
5280 (hildon_program_go_to_root_window): HildonProgram now has a
5281 separate list for stackable windows. Functions are provided to
5282 manage that list with a stack-like API.
5284 * src/hildon-stackable-window.c: Stackable window management is
5285 now much simpler with the new HildonProgram API. Windows no
5286 longer need to be manually added to the program, they're
5287 automatically pushed to the top of the stack when shown.
5289 * examples/hildon-stackable-window-example.c: Updated example to
5290 reflect the API changes.
5292 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5294 * src/hildon-touch-selector.c: Comment out unimplemented
5295 hildon_touch_selector_insert_column() to avoid a compile warning.
5297 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
5299 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5300 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
5301 (hildon_touch_selector_set_column_selection_mode),
5302 (_hildon_touch_selector_set_model),
5303 (hildon_touch_selector_set_model):
5305 Complete review of HildonTouchSelector documentation.
5307 2008-08-08 Alberto Garcia <agarcia@igalia.com>
5309 * doc/hildon-docs.sgml
5313 * src/hildon-gtk.c: Convenience functions for standard Gtk
5314 widgets, used to easily perform frequent operations.
5316 * src/hildon-button-helpers.h
5317 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
5319 * src/hildon-helper.h
5320 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
5321 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
5323 * src/hildon-button.h
5324 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
5326 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5328 * src/hildon-button.c (hildon_button_init)
5329 (hildon_button_set_arrangement, hildon_button_construct_child):
5330 Pack the image and the labels inside the same GtkAlignment so
5331 gtk_button_set_alignment() can be used
5333 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5335 * src/hildon-button.h
5336 * src/hildon-button.c
5337 (hildon_button_init, hildon_button_set_image)
5338 (hildon_button_set_image_position)
5339 (hildon_button_construct_child): New functions to add an image to
5342 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5344 * src/hildon-date-button.c
5345 * src/hildon-picker-button.c
5346 * src/hildon-time-button.c
5347 * src/hildon-button.c:
5348 (hildon_button_class_init): "size-flags" renamed to "size"
5349 (hildon_button_set_title): Hide the title label if set to NULL.
5351 2008-08-07 Alberto Garcia <agarcia@igalia.com>
5353 HildonButtonFlags split into HildonButtonArrangement (to set the
5354 button layout) and HildonSizeType (which can be used for any
5357 * src/hildon-button.h
5358 * src/hildon-button.c
5359 (hildon_button_class_init)
5360 (hildon_button_set_arrangement)
5361 (hildon_button_set_property): New "size-flags"
5362 property. "arrangement-flags" renamed to "arrangement".
5363 (hildon_button_new, hildon_button_new_with_text)
5364 (hildon_button_new_full): Constructors updated to reflect type changes.
5366 * src/hildon-helper.h
5367 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
5368 to set the size of a widget.
5372 * src/hildon-button-helpers.c
5373 * src/hildon-button-helpers.h: New hildon-button-helpers module.
5375 * src/hildon-date-button.c
5376 * src/hildon-date-button.h
5377 * src/hildon-picker-button.c
5378 * src/hildon-picker-button.h
5379 * src/hildon-time-button.c
5380 * src/hildon-time-button.h: Updated widgets to reflect
5381 HildonButton API changes.
5383 * examples/hildon-button-example.c
5384 * examples/hildon-date-button-example.c
5385 * examples/hildon-picker-button-example.c
5386 * examples/hildon-picker-button-multicolumn-example.c
5387 * examples/hildon-time-button-example.c
5388 * examples/hildon-touch-selector-entry-example.c
5389 * examples/hildon-touch-selector-example.c: Updated examples to
5390 reflect HildonButton API changes.
5392 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5394 * doc/hildon-docs.sgml:
5396 * examples/Makefile.am:
5397 * examples/hildon-touch-selector-entry-example.c:
5399 * src/hildon-touch-selector-entry.c:
5400 * src/hildon-touch-selector-entry.h:
5403 Moved HildonTouchSelectorEntry from sandbox. Added its
5404 documentation and examples.
5406 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5408 * src/hildon-touch-selector.h:
5409 * examples/hildon-picker-button-multicolumn-example.c:
5410 (hildon_touch_selector_append_text_column): Add a gboolean
5411 parameter to determine if text must be centered in the column.
5413 * src/hildon-date-selector.c: (hildon_date_selector_init):
5414 * src/hildon-time-selector.c: (hildon_time_selector_init):
5415 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
5416 (create_touch_selector): Update widgets and example to reflect
5419 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
5421 * src/hildon-touch-selector.c:
5422 (hildon_touch_selector_set_active_iter): Set also the cursor in
5425 2008-08-06 Alberto Garcia <agarcia@igalia.com>
5427 * doc/hildon-docs.sgml
5430 * src/hildon-toggle-button.c
5431 * src/hildon-toggle-button.h
5432 * src/hildon.h: Removed HildonToggleButton widget, a derived
5433 class is not necessary for this.
5435 2008-08-06 Alejandro G. Castro <alex@igalia.com>
5437 * src/hildon-pannable-area.c,
5438 (hildon_pannable_area_realize),
5439 (hildon_pannable_area_size_allocate): Code refactoring, add tests
5442 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
5444 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
5445 "done" button the default widget for the dialog.
5447 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5449 * src/hildon-touch-selector.c:
5450 (hildon_touch_selector_class_init),
5451 (hildon_touch_selector_get_property),
5452 (_hildon_touch_selector_set_model),
5453 (_hildon_touch_selector_has_multiple_selection),
5454 (hildon_touch_selector_has_multiple_selection):
5455 Add a "has-multiple-selection" property with a virtual
5456 has_multiple_selection() method to allow derived classes to
5457 override the default value for it. See the method and property
5458 documentation for details.
5460 * src/hildon-touch-selector.h: Add the new API.
5462 * src/hildon-picker-dialog.c: (requires_done_button): Call
5463 hildon_touch_selector_has_multiple_selection() instead of
5464 determining the need for a button itself.
5466 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5468 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5469 (_hildon_touch_selector_set_model),
5470 (hildon_touch_selector_set_model): Move working code to
5471 _hildon_touch_selector_set_mode(). Call the class method instead.
5473 * src/hildon-touch-selector.h: Add (*set_model) to
5474 HildonTouchSelectorClass.
5476 Make hildon_touch_selector_set_model() a virtual method, so that
5477 derived classes can extend it and do fancy stuff with the model.
5479 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
5481 * configure.ac: Set back the tarname in AC_INIT to hildon.
5483 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
5487 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
5488 instead of libesd (NB#86876). Volume handling is still an open issue.
5490 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
5493 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5495 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
5496 (hildon_touch_selector_append_column): Make the widget a GtkVBox
5497 derived class to ease placement of an entry widget in
5498 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
5499 end, where the selector columns are packed now.
5501 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
5503 * src/hildon-picker-button.c: Removed the simple _text() API.
5504 * src/hildon-picker-button.h: Likewise.
5506 * src/hildon-touch-selector.h:
5507 * src/hildon-touch-selector.c:
5508 (hildon_touch_selector_new_text),
5509 (hildon_touch_selector_append_text),
5510 (hildon_touch_selector_prepend_text),
5511 (hildon_touch_selector_insert_text):
5513 Moved the simple _text() API from HildonPickerButton to
5514 HildonTouchPicker, to provide better escalability and not to tie
5515 that API to HildonPickerButton.
5517 * examples/hildon-picker-button-example.c: (main): Example updated.
5519 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5521 * src/hildon-button.c: Updated documentation.
5523 * examples/hildon-button-example.c: Add the posibility to create
5524 the buttons using horizontal layout for title and value.
5526 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5528 * src/hildon-app-menu-private.h
5529 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
5530 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
5531 GtkSizeGroup for the filters, use the 'homogeneous' property of
5534 2008-07-31 Alberto Garcia <agarcia@igalia.com>
5536 * examples/hildon-button-example.c: Updated example.
5538 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
5540 * doc/hildon-docs.sgml:
5543 Update documentation.
5545 * examples/Makefile.am: Update renamed examples.
5547 * examples/hildon-picker-button-multicolumn-example.c:
5548 (create_touch_selector), (main): Update after the rename.
5550 * examples/hildon-touch-picker-example.c: Removed.
5551 * examples/hildon-touch-selector-example.c: (value_changed),
5552 (create_selector), (get_visible_content), (main): Renamed from
5553 hildon-touch-picker-example.c
5555 * src/Makefile.am: Updated renamed files.
5557 * src/hildon-date-button.c: (hildon_date_button_init),
5558 (hildon_date_button_get_date), (hildon_date_button_set_date):
5559 * src/hildon-date-selector.c: (hildon_date_selector_init),
5560 (_custom_print_func), (_update_day_model),
5561 (_manage_selector_change_cb),
5562 (hildon_date_selector_select_current_date),
5563 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
5564 * src/hildon-date-selector.h:
5565 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
5566 (hildon_picker_button_set_property),
5567 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
5568 (hildon_picker_button_init), (hildon_picker_button_new_text),
5569 (hildon_picker_button_append_text),
5570 (hildon_picker_button_prepend_text),
5571 (hildon_picker_button_insert_text),
5572 (hildon_picker_button_set_selector),
5573 (hildon_picker_button_get_selector):
5574 * src/hildon-picker-button.h:
5575 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
5576 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
5577 (_update_title_on_selector_changed_cb), (requires_done_button),
5578 (_hildon_picker_dialog_set_selector),
5579 (hildon_picker_dialog_set_selector),
5580 (hildon_picker_dialog_get_selector):
5581 * src/hildon-picker-dialog.h:
5582 * src/hildon-time-button.c: (hildon_time_button_init),
5583 (hildon_time_button_get_time), (hildon_time_button_set_time):
5584 * src/hildon-time-selector.c: (hildon_time_selector_init),
5585 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
5586 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
5587 * src/hildon-time-selector.h:
5590 Massive code updates after the rename.
5592 * src/hildon-touch-picker.c: Removed.
5593 * src/hildon-touch-picker.h: Removed.
5595 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
5596 (hildon_touch_selector_init), (hildon_touch_selector_map),
5597 (hildon_touch_selector_remove), (_default_print_func),
5598 (_selection_changed_cb), (_create_new_column),
5599 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
5600 (hildon_touch_selector_append_text_column),
5601 (hildon_touch_selector_remove_column),
5602 (hildon_touch_selector_set_column_attributes),
5603 (hildon_touch_selector_insert_column),
5604 (hildon_touch_selector_get_num_columns),
5605 (hildon_touch_selector_get_column_selection_mode),
5606 (hildon_touch_selector_set_column_selection_mode),
5607 (hildon_touch_selector_set_print_func),
5608 (hildon_touch_selector_get_print_func),
5609 (hildon_touch_selector_get_active_iter),
5610 (hildon_touch_selector_set_active_iter),
5611 (hildon_touch_selector_get_selected_rows),
5612 (hildon_touch_selector_get_model),
5613 (hildon_touch_selector_set_model),
5614 (hildon_touch_selector_get_current_text),
5615 (_hildon_touch_selector_center_on_selected_items):
5616 * src/hildon-touch-selector.h: Renamed from
5617 hildon-touch-picker.[ch]
5619 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
5620 references, code examples, and related documentation.
5622 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5624 * doc/hildon-docs.sgml
5627 * src/hildon-toggle-button.c
5628 * src/hildon-toggle-button.h
5629 * src/hildon.h: New HildonToggleButton widget.
5631 2008-07-30 Alberto Garcia <agarcia@igalia.com>
5633 * src/hildon-button.c: Add API documentation.
5634 (hildon_button_set_size_groups): Check input parameters
5636 2008-07-30 Alejandro G. Castro <alex@igalia.com>
5638 * src/hildon-pannable-area.c
5639 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
5640 effect after reaching the movement thredshold. This way we start
5641 using the distance after passing the thredshold.
5643 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5645 * src/hildon-button.c: (hildon_button_set_property): Use the
5646 appropriate g_value_get_flags() method.
5648 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5650 * doc/hildon-docs.sgml:
5653 Add the touch pickers, picker dialogs, and picker button widgets
5654 to the documentation.
5656 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5658 * src/hildon-button.c: (hildon_button_set_property),
5659 (hildon_button_class_init): Make "arrangement-flags" a proper
5660 G_TYPE_FLAGS derived property.
5662 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5664 * examples/Makefile.am: Add below examples.
5665 * examples/hildon-date-button-example.c:
5666 * examples/hildon-picker-button-example.c:
5667 * examples/hildon-picker-button-multicolumn-example.c:
5668 * examples/hildon-time-button-example.c:
5669 * examples/hildon-touch-picker-example.c:
5671 Add examples for the recently added touch pickers,
5672 picker dialogs, and picker button widgets.
5674 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5676 * src/hildon-button.c: Add some API documentation
5678 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5680 * src/hildon-button.h
5681 * src/hildon-button.c
5683 (hildon_button_new_with_text): New constructor to create a button
5684 with no text at all.
5685 (hildon_button_init, hildon_button_set_arrangement)
5686 (hildon_button_set_title, hildon_button_set_value)
5687 (hildon_button_set_text)
5688 (hildon_button_construct_child): Hide the value when it's not used
5689 so the rest of the text is properly aligned.
5690 Allow creating buttons with arbitrary widgets inside (not just
5691 title/value labels).
5693 * examples/hildon-button-example.c (vertical_buttons_window)
5694 (horizontal_buttons_window): Update example to use new API.
5696 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5698 * src/Makefile.am: Added HildonTimeButton.
5699 * src/hildon-time-button.c: Added missing LGPL header.
5700 * src/hildon-time-button.h: Added missing LGPL header.
5701 * src/hildon.h: Add hildon-time-button.h
5703 Copied HildonTimeButton from sandbox to trunk. Future work on this
5704 widget must take place in trunk.
5706 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5708 * src/Makefile.am: Added HildonDateButton.
5709 * src/hildon-date-button.c: Update includes.
5710 * src/hildon.h: Add hildon-date-button.h
5712 Copied HildonDateButton from sandbox to trunk. Future work on this
5713 widget must take place in trunk.
5715 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5717 * src/Makefile.am: Added HildonPickerButton.
5718 * src/hildon-picker-button.h: Update includes.
5719 * src/hildon.h: Add hildon-picker-button.h
5721 Copied HildonPickerButton from sandbox to trunk. Future work on
5722 this widget must take place in trunk.
5724 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5726 * src/Makefile.am: Added HildonPickerDialog.
5727 * src/hildon-picker-dialog.c: Update includes.
5728 * src/hildon.h: Add hildon-picker-dialog.h
5730 Copied HildonPickerDialog from sandbox to trunk. Future work
5731 on this widget must take place in trunk.
5733 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5735 * src/Makefile.am: Added HildonTimeSelector.
5736 * src/hildon.h: Add hildon-time-selector.h
5738 Copied HildonTimeSelector widget from sandbox to trunk. Future
5739 work on this widget must happen in trunk.
5741 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5743 * src/Makefile.am: Added HildonDateSelector.
5744 * src/hildon.h: Add hildon-date-selector.h
5746 Copied HildonDateSelector widget from sandbox to trunk. Future
5747 work on this widget must happen in trunk.
5749 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5751 * src/Makefile.am: Added HildonTouchPicker.
5752 * src/hildon-touch-picker.c: Update includes.
5753 * src/hildon.h: Add hildon-touch-picker.h
5755 Copied HildonTouchPicker widget from sandbox to trunk. Future work
5756 on this widget must happen in trunk.
5758 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
5760 * src/hildon-pannable-area.c:
5761 (hildon_pannable_area_motion_notify_cb): Fix a typo.
5763 2008-07-29 Alberto Garcia <agarcia@igalia.com>
5765 * examples/hildon-app-menu-example.c (main): Let the window
5768 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5770 * src/hildon-pannable-area.c
5771 (hildon_pannable_area_class_init): Set the min value of the
5772 overshoot properties to zero, which points out that not
5773 overshooting allowed.
5775 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5777 Modified the procedure to get the widget at a point inside the
5778 pannable area when using the movement type signals. Now the user
5779 has to call a function to get the child, that way we just
5780 calculate the child in case the user really want to use it and not
5783 * src/hildon-marshalers.list: Modified the marshallers, now we do
5784 not have the widget as a parameter.
5786 * src/hildon-pannable-area.c
5787 (hildon_pannable_area_motion_notify_cb),
5788 (hildon_pannable_area_class_init),
5789 (hildon_pannable_get_child_widget_at): Removed the widget
5790 parameter from the signal callback. We have also refactored the
5791 emission of the signals.
5793 * src/hildon-pannable-area.h: Added a new method to the API to
5794 calculate a widget at a point inside the pannable area,
5795 hildon_pannable_get_child_widget_at.
5797 * examples/hildon-pannable-area-example-4.c
5798 (horizontal_movement): Modified the example to use the new API,
5799 added condition to control which widget is under the event. This
5800 way we can avoid scrolling laterally over other widgets.
5802 2008-07-29 Alejandro G. Castro <alex@igalia.com>
5804 * src/hildon-pannable-area.c
5805 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
5806 modes, we stop getting the pointer events due to returning the
5807 callback without properly calling the get pointer again. Fixed
5808 also an error using the hscroll and vscroll.
5810 2008-07-28 Alberto Garcia <agarcia@igalia.com>
5812 * src/hildon-app-menu-private.h
5813 * src/hildon-app-menu.c (hildon_app_menu_button_press)
5814 (hildon_app_menu_button_release, hildon_app_menu_init)
5815 (hildon_app_menu_class_init): Don't hide the menu on button
5816 release if the user didn't press outside first.
5818 * src/hildon-window.h
5819 * src/hildon-window.c (hildon_window_toggle_menu)
5820 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
5821 hildon_window_toggle_menu a virtual function for the stackable
5822 window to override it.
5824 * src/hildon-stackable-window.h
5825 * src/hildon-stackable-window-private.h
5826 * src/hildon-stackable-window.c
5827 (hildon_stackable_window_realize)
5828 (hildon_stackable_window_finalize)
5829 (hildon_stackable_window_class_init)
5830 (hildon_stackable_window_init)
5831 (hildon_stackable_window_set_main_menu): New function to set the
5832 app menu of a HildonStackableWindow.
5834 * examples/hildon-app-menu-example.c: Remove the button to show
5835 the app menu, now it'll be shown when clicking on the title bar
5838 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5840 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
5841 set the widget name if the arrangement flags do not specify
5844 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
5846 * src/hildon-button.c: (hildon_button_set_property),
5847 (hildon_button_class_init), (hildon_button_new_full),
5848 (hildon_button_set_arrangement): Added "arrangement-flags"
5851 Make the HildonButtonFlags a construction-only property, to allow
5852 subclasses to set them properly.
5854 2008-07-21 Tim Janik <timj@imendio.com>
5856 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
5857 insertion position after backspace, so additional digits are appended,
5860 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5862 * src/hildon-pannable-area.c,
5863 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
5864 TODO list, it was complete and removed the g_debug and g_print
5867 2008-07-17 Alejandro G. Castro <alex@igalia.com>
5869 Added the movement modes to the hildon-pannable-area, with this
5870 modes the developers can control in which directions the widget
5871 can scroll. They can also connect to signals in order to do
5872 something when that happens, allowing applications scroll. There
5873 is an example uploaded showing how to use it.
5875 * examples/Makefile.am:
5876 * examples/hildon-pannable-area-example-4.c: Added this example of
5877 an application using the modes.
5879 * src/hildon-marshalers.list: Added a new marshaller for the new
5882 * src/hildon-pannable-area.h: Added new enumerations and flags in
5883 order to control the movement modes and the new signals to warn
5884 about the movements in the area.
5886 * src/hildon-pannable-area.c:
5887 (hildon_pannable_axis_scroll),
5888 (hildon_pannable_area_scroll),
5889 (hildon_pannable_area_motion_notify_cb),
5890 (hildon_pannable_area_get_property),
5891 (hildon_pannable_area_set_property),
5892 (hildon_pannable_area_map),
5893 (hildon_pannable_area_class_init),
5894 (hildon_pannable_area_init),
5895 (hildon_pannable_area_jump_to): Added the modes to control the
5896 movement in the widget. We have added properties to control it,
5897 signals to warn about the movements and refactored some code.
5899 2008-07-15 Alejandro G. Castro <alex@igalia.com>
5901 Changes required in order to allow vfast_factor set to zero to
5904 * src/hildon-pannable-area.c:
5905 (hildon_pannable_area_button_press_cb): Changed the condition, it
5906 is required for not allowing click when vfast_factor is zero.
5907 (hildon_pannable_area_timeout): Initialized velocity variables
5908 when we stop moving, it was less than 1 but not zero and we need
5909 to check zero in some situations.
5910 (hildon_pannable_area_class_init): Changed the default value of
5911 the speed factor, now the button_press is just sent in case the
5912 speed is 2 per cent of the max speed.
5913 (hildon_pannable_area_init): Initialization with 0.
5915 2008-07-04 Alejandro G. Castro <alex@igalia.com>
5917 * src/hildon-pannable-area.c,
5918 (hildon_pannable_area_get_topmost): replaced
5919 gdk_window_get_children with gdk_window_peek_children, this way we
5920 do not have to free the list because it is not a copy.
5922 (hildon_pannable_axis_scroll),
5923 (hildon_pannable_area_scroll),
5924 (hildon_pannable_area_timeout),
5925 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
5926 two parameters that were only used inside the
5927 hildon_pannable_area_scroll function.
5929 * examples/hildon-pannable-area-example.c,
5930 (get_sawtooth_label): Fixed small memory leak.
5932 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5934 More checks for the case where the overshoot is bigger than the
5937 * src/hildon-pannable-area.c:
5938 (hildon_pannable_draw_vscroll),
5939 (hildon_pannable_draw_hscroll): with this new calculation we avoid
5940 to draw the slider of the scrollbar under the other scrollbar.
5941 (hildon_pannable_area_expose_event): added new checks to control
5942 the drawing of the overshooting area rectangle, in case it is too
5943 big for the area of the widget.
5944 (hildon_pannable_area_size_allocate): add more checks to avoid
5945 setting a position to the child widget outside the area.
5947 2008-07-03 Alejandro G. Castro <alex@igalia.com>
5949 * src/hildon-pannable-area.c
5950 (hildon_pannable_area_size_allocate): Added conditions to control
5951 when overshooting is bigger than the allocated space for the
5952 children, this avoids negative allocations.
5954 2008-07-02 Alberto Garcia <agarcia@igalia.com>
5956 * doc/hildon-docs.sgml
5958 * examples/Makefile.am
5959 * examples/hildon-button-example.c
5961 * src/hildon-button.c
5962 * src/hildon-button.h
5963 * src/hildon.h: Initial version of the new HildonButton widget,
5966 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
5968 * src/hildon-pannable-area.c:
5969 (hildon_pannable_area_button_press_cb),
5970 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
5971 (hildon_pannable_area_motion_notify_cb),
5972 (hildon_pannable_area_button_release_cb),
5973 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
5974 (hildon_pannable_area_jump_to_child):
5976 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
5978 2008-07-01 Alberto Garcia <agarcia@igalia.com>
5980 * examples/Makefile.am
5981 * examples/hildon-pannable-area-touch-grid-example.c
5982 * examples/hildon-pannable-area-touch-list-example.c: Examples of
5983 the Hildon Touch List and Hildon Touch Grid using the
5984 HildonPannableArea widget.
5986 2008-06-27 Alejandro G. Castro <alex@igalia.com>
5988 * src/hildon-pannable-area.c,
5989 (hildon_pannable_area_button_press_cb),
5990 (hildon_pannable_area_refresh),
5991 (hildon_pannable_area_scroll),
5992 (hildon_pannable_area_motion_notify_cb),
5993 (hildon_pannable_area_button_release_cb),
5994 (hildon_pannable_area_expose_event),
5995 (hildon_pannable_area_add),
5996 (hildon_pannable_area_remove),
5997 (hildon_pannable_area_realize),
5998 (hildon_pannable_area_size_allocate),
5999 (hildon_pannable_area_class_init),
6000 (hildon_pannable_area_init),
6001 (hildon_pannable_area_scroll_to_child),
6002 (hildon_pannable_area_jump_to_child): Fixed the problem of
6003 removing the child from the GtkBin, we have rearranged the widget
6004 hierarchy, now there is no GtkAlignment which was not doing
6005 anything interesting but breaking some of the assumptions of
6006 GtkContainer. Now developers if they want to add a GtkAlignment
6007 they could, but it is not inside the area.
6009 We had to review the whole allocation/expose process, now it is
6010 improved and we save at least three signals which would be saving
6011 some time when rendering the widget. The allocation of the
6012 scrollbars is now made in the allocate method as usual.
6014 We have also added some conditions in order to control when there
6015 is no child of the pannable area. Maybe we will need more work
6018 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6020 * src/hildon-pannable-area.c,
6021 (hildon_pannable_area_dispose): Released the fade-out timeout when
6022 disposing the widget.
6024 2008-06-27 Alejandro G. Castro <alex@igalia.com>
6026 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
6027 zero, we are going to use that property in order to deactivate the
6029 (hildon_pannable_axis_scroll),
6030 (hildon_pannable_area_size_allocate): Added conditions to control
6031 when overshoot_max is zero. Moved the gtk_adjustment_set_value
6032 call, now it is called in all situations and we can remove calls
6033 in the allocate method.
6034 (hildon_pannable_area_map): Control the situation when
6035 overshoot_max is zero, we do not need the timeout.
6036 (hildon_pannable_area_class_init): Added documentation in order to
6037 point out that setting zero to overshoot_max means deactivate
6040 NOTE: removed trailing whitespaces from my previous comments of
6043 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6045 * src/hildon-pannable-area.c
6046 (hildon_pannable_area_get_property),
6047 (hildon_pannable_area_set_property),
6048 (hildon_pannable_area_map),
6049 (hildon_pannable_area_class_init),
6050 (hildon_pannable_area_init): Add a boolean "initial-hint" property
6051 to cause the widget give a hint about its panning abilities upon
6054 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
6056 * src/hildon-pannable-area.c: Several documentation improvements.
6058 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6060 * src/hildon-program.c
6061 * src/hildon-stackable-window.c: Update documentation.
6063 2008-06-26 Alberto Garcia <agarcia@igalia.com>
6065 * src/hildon-stackable-window.c (get_previous_window_if_last):
6066 Renamed get_last_window()
6067 (hildon_stackable_window_map, hildon_stackable_window_unmap)
6068 (hildon_stackable_window_unset_program):
6070 (get_previous_window_if_last):
6071 Detect if the window hasn't been added to a HildonProgram.
6073 2008-06-26 Alejandro G. Castro <alex@igalia.com>
6075 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
6077 * src/hildon-pannable-area.c
6078 (hildon_pannable_area_button_press_cb),
6079 (hildon_pannable_axis_scroll),
6080 (hildon_pannable_area_scroll),
6081 (hildon_pannable_area_timeout),
6082 (hildon_pannable_calculate_vel_factor),
6083 (hildon_pannable_area_get_property),
6084 (hildon_pannable_area_set_property),
6085 (hildon_pannable_area_class_init),
6086 (hildon_pannable_area_init),
6087 (hildon_pannable_area_scroll_to),
6088 (hildon_pannable_area_jump_to),
6089 (hildon_pannable_area_scroll_to_child),
6090 (hildon_pannable_area_jump_to_child):
6091 * src/hildon-pannable-area.h: Added the new API functions:
6092 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
6093 hildon_pannable_area_scroll_to_child,
6094 hildon_pannable_area_jump_to_child
6097 * examples/Makefile.am
6098 * examples/hildon-pannable-area-example-2.c
6099 * examples/hildon-pannable-area-example-3.c: Added these two new
6100 examples in order to test and show how the new APIs work.
6102 2008-06-25 Alberto Garcia <agarcia@igalia.com>
6104 * examples/hildon-stackable-window-example.c (new_window):
6105 * src/Makefile.am (noinst_HEADERS):
6106 * src/hildon-program.c (hildon_program_go_to_root_window):
6107 * src/hildon-program.h:
6108 * src/hildon-stackable-window-private.h:
6109 * src/hildon-stackable-window.c:
6110 * src/hildon-stackable-window.h:
6111 Create hildon-stackable-window-private.h
6112 Move hildon_stackable_window_go_to_root_window() to HildonProgram
6114 * examples/hildon-app-menu-example.c (create_menu):
6115 * examples/hildon-hvolumebar-insensitive-example.c (main):
6116 * examples/hildon-hvolumebar-timer-example.c (on_idle):
6117 * examples/hildon-toolbar-seekbar-example.c (main):
6118 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
6119 * src/hildon-banner.c (hildon_banner_set_property):
6120 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
6121 Fix compilation warnings
6123 * src/hildon-window.c:
6126 2008-06-24 Alberto Garcia <agarcia@igalia.com>
6128 * src/hildon-stackable-window.c
6129 (hildon_stackable_window_unset_program):
6130 Calculate correctly whether to show the previous window if the
6131 last one is removed from the stack.
6132 (hildon_stackable_window_go_to_root_window):
6133 Send delete events starting from the topmost window.
6134 Stop if one of the windows is not destroyed.
6136 (hildon_stackable_window_delete_event)
6137 (hildon_stackable_window_class_init):
6138 Ignore the delete event if the window is not the topmost one.
6140 2008-06-24 Alejandro G. Castro <alex@igalia.com>
6142 * src/hildon-pannable-area.c
6143 (hildon_pannable_area_expose_event): Fixed a problem when
6144 selecting the background color of the scrollbars.
6146 2008-06-23 Alberto Garcia <agarcia@igalia.com>
6148 * examples/hildon-stackable-window-example.c
6149 * src/hildon-stackable-window.c
6150 * src/hildon-stackable-window.h
6151 hildon_stackable_window_go_home() renamed to
6152 hildon_stackable_window_go_to_root_window()
6153 Send delete events to windows rather than closing them with
6154 gtk_widget_destroy()
6156 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6158 * src/hildon-pannable-area.c
6159 (hildon_pannable_area_button_release_cb): Fix overshooting in
6162 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6164 * src/hildon-pannable-area.c
6165 (hildon_pannable_area_init): Initially show the scroll indicators.
6166 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
6168 Add initial effect showing the widget is pannable.
6170 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6172 * src/hildon-pannable-area.c
6173 (hildon_pannable_area_class_init)
6174 (hildon_pannable_area_set_property)
6175 (hildon_pannable_area_get_property)
6176 (hildon_pannable_area_button_press_cb):
6177 New 'velocity_fast_factor' property to decide which velocity is
6180 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
6182 * src/hildon-pannable-area.c
6183 (hildon_pannable_draw_hscroll)
6184 (hildon_pannable_draw_vscroll):
6185 Use float variables to calculate the size of the scrollbars to
6186 avoid error propagation and resizing during scrolling.
6188 2008-06-19 Alberto Garcia <agarcia@igalia.com>
6190 * src/hildon-pannable-area.c
6191 (hildon_pannable_draw_vscroll)
6192 (hildon_pannable_draw_hscroll):
6193 Define a minimum size for the scroll bars
6195 * src/hildon-stackable-window.c
6196 (hildon_stackable_window_go_home): Fix compilation warning
6197 (get_last_window): Minor optimizations
6198 (hildon_stackable_window_class_init): Fix initialization of
6201 2008-06-18 Alberto Garcia <agarcia@igalia.com>
6203 * src/hildon-stackable-window.c: Fixed typos in doc
6205 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
6207 * src/hildon-pannable-area.c
6208 (hildon_pannable_area_scroll):
6209 Calculate here whether we need to scroll instead of using the booleans
6210 that tell us whether to /draw/ the scrolling bars.
6212 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
6214 * src/hildon-app-menu.h
6216 * src/hildon-app-menu.c
6217 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
6218 multiple filter groups related code and API. Now we support only
6220 * examples/hildon-app-menu-example.c:
6222 Update to reflect API changes.
6224 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
6226 * src/hildon-stackable-window.c
6227 (hildon_stackable_window_class_init):
6228 Add hildon_stackable_window_realize.
6229 (hildon_stackable_window_realize):
6230 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
6231 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
6232 to apply theming and behavior specific to HildonStackableWindow
6235 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6237 * src/hildon-note.c (hildon_note_button_release):
6238 Close information notes also when tapping on them
6240 2008-06-12 Alejandro G. Castro <alex@igalia.com>
6242 Added BOUNCE_STEPS define to control the overshoot effect. Removed
6243 ELASTICITY, refactor and review, fix some issues with drawing
6246 * src/hildon-pannable-area.c:
6247 (hildon_pannable_area_button_press_cb): removed the conditions to
6248 avoid clicks when overshooting. It is not required
6250 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
6251 define. Refatored and reviewed the code, now we do not need to
6252 manage velocity in motion_notify.
6254 (hildon_pannable_area_motion_notify_cb): We have moved the code
6255 that controls the area_scroll to the axis_scroll function and get
6256 rid of duplicated code.
6258 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
6260 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
6262 (hildon_pannable_draw_vscroll),
6263 (hildon_pannable_draw_hscroll): Fixed the problems with the
6264 scrollbar drawing, now we do not use two surfaces, it is easier
6265 and saves resources.
6267 (hildon_pannable_area_get_property): Style modification.
6269 (hildon_pannable_area_class_init): Changed some default values.
6271 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
6273 * src/hildon-stackable-window.c: Fix some typos in the
6276 2008-06-12 Alberto Garcia <agarcia@igalia.com>
6278 * src/hildon-dialog.c:
6279 Change indentation style
6282 (hildon_note_button_release):
6283 Use root coordinates to check if the release event happened
6286 * src/hildon-app-menu.c
6287 (hildon_app_menu_button_release):
6288 Remove unnecessary check
6290 * examples/hildon-app-menu-example.c
6292 Add cast to fix warning
6294 * src/hildon-app-menu.c
6295 (hildon_app_menu_class_init):
6296 New inner-border style property.
6297 Set all default spacings to 16
6298 (hildon_app_menu_init):
6299 Use vertical-spacing to set the space between filter buttons and
6300 regular menu buttons.
6301 Set the default container border using the inner-border value.
6303 * examples/hildon-app-menu-example.c
6305 Don't set the menu border explicitly, now we have the inner-border
6306 style property for that.
6308 2008-06-11 Alberto Garcia <agarcia@igalia.com>
6310 * src/hildon-app-menu.c (hildon_app_menu_init):
6311 Make the window modal
6313 * src/hildon-note.c (hildon_note_map)
6314 * src/hildon-app-menu.c (hildon_app_menu_map):
6315 Destroy the grab window if we're unable to grab the pointer
6317 * src/hildon-app-menu-private.h
6318 * src/hildon-app-menu.c
6319 (hildon_app_menu_init, hildon_app_menu_finalize)
6320 (hildon_app_menu_map, hildon_app_menu_unmap)
6321 (hildon_app_menu_button_release)
6322 (grab_transfer_window_get):
6323 Bring back the grab window
6324 (hildon_app_menu_realize):
6325 Decorate the window, set WM hint for Matchbox
6327 * src/hildon-note.c (hildon_note_realize):
6328 * src/hildon-banner.c (hildon_banner_realize):
6329 Add WM hints for Matchbox
6331 2008-06-10 Alberto Garcia <agarcia@igalia.com>
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 Remove the grab window, it's not needed anymore
6340 * src/hildon-program.c
6341 Fixed typo in documentation
6343 * src/hildon-app-menu.h
6344 * src/hildon-app-menu.c
6345 * examples/hildon-app-menu-example.c
6346 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
6348 2008-06-09 Alberto Garcia <agarcia@igalia.com>
6351 Added new transfer_window and close_if_pressed_outside private
6353 (hildon_note_rebuild):
6354 Don't add a cancel button to the information note. It will be
6355 closed when tapping outside
6356 Remove the comment about the OK button in the documentation
6357 (hildon_note_realize):
6358 Set the notification type hint
6359 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
6360 Grab/ungrab pointer and keyboard if the note has to be closed when
6362 (hildon_note_button_release):
6363 Close the note when tapping outside (if applicable)
6365 * src/hildon-app-menu.c
6366 Grab/ungrab pointer and keyboard on map/unmap
6367 (hildon_app_menu_button_release, hildon_app_menu_class_init):
6368 Close the menu on button release, not button press
6370 * src/hildon-banner.c
6371 (hildon_banner_set_property)
6372 (hildon_banner_check_position):
6373 Make the banner use the full width of the screen
6374 (hildon_banner_show_information)
6375 (hildon_banner_show_information_with_markup):
6376 Don't display an icon by default
6378 2008-06-09 Alejandro G. Castro <alex@igalia.com>
6380 Added fading scrollbars and adapted all the overshooting code to
6381 horizontal scrolling. We have also fixed bugs with overshooting
6382 and current fading implementation.
6384 * src/hildon-pannable-area.c
6385 (hildon_pannable_area_scroll_indicator_fade): Time out function
6386 used to change the transparency of the scrollbars.
6388 (hildon_pannable_area_button_press_cb): Added horizontal overshot
6389 control and fixed a problem with fading, we now remove the fade
6390 timeout before adding a new one.
6392 (hildon_pannable_axis_scroll):
6393 (hildon_pannable_area_scroll):
6394 (hildon_pannable_area_timeout): Added this functions so we can use
6395 the scroll code both for vertical and horizontal.
6397 (hildon_pannable_area_motion_notify_cb):
6398 (hildon_pannable_area_button_release_cb): Added the horizontal
6399 scrolling control, fixed a problem with the overshooting timeout.
6401 (rgb_from_gdkcolor): Added this function, it is used in the cairo
6402 painting of the scrolls.
6404 (hildon_pannable_draw_vscroll):
6405 (hildon_pannable_draw_hscroll):
6406 (hildon_pannable_area_expose_event):
6407 Draw both scrollbars and rectangles in the overshooting area.
6409 (hildon_pannable_area_get_property):
6410 (hildon_pannable_area_set_property):
6411 Modified the overshoot property to overshoot_max
6413 (hildon_pannable_area_map):
6414 Replaced the comments symbols.
6416 (hildon_pannable_area_size_allocate):
6417 (hildon_pannable_area_class_init):
6418 (hildon_pannable_area_init): Added horizontal scroll, fading
6419 effect properties, fixed a problem when overshooting in the bottom
6422 * examples/hildon-pannable-area-example.c:
6423 (get_sawtooth_label): Now we use smaller sawtooths, the effect
6424 looks better in the example.
6426 2008-06-03 Alberto Garcia <agarcia@igalia.com>
6428 * src/hildon-window.c
6429 * src/hildon-window.h
6430 (hildon_window_class_init)
6431 (hildon_window_unset_program)
6432 (hildon_window_unset_program_real):
6433 Make unset_program a virtual function
6435 * src/hildon-stackable-window.c
6436 * src/hildon-stackable-window.h
6437 Added hildon_stackable_window_go_home()
6439 * examples/Makefile.am
6440 * examples/hildon-stackable-window-example.c
6441 HildonStackableWindow example
6443 2008-06-03 Alejandro G. Castro <alex@igalia.com>
6445 * hildon-pannable-area.c: Added the overshoot property and removed
6446 the OVERSHOOT define. Fixed an indent style error.
6447 (hildon_pannable_area_motion_notify_cb):
6448 (hildon_pannable_area_get_property):
6449 (hildon_pannable_area_set_property): Add overshoot property.
6451 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
6454 (hildon_pannable_area_class_init): Installed the new property.
6456 * hildon-pannable-area-example.c: Added a sawtooth function, this
6457 way it is easier to check the movement in the pannable.
6458 (get_sawtooth_label): Added this function.
6459 (main): Now we get the labels from the new get_sawtooth_label
6462 2008-05-26 Alberto Garcia <agarcia@igalia.com>
6464 * src/hildon-app-menu.h
6465 * src/hildon-app-menu.c
6466 Renamed API variables for consistency
6468 (hildon_app_menu_popup): Use also the default window size to
6469 decide where to place the menu
6471 (hildon_app_menu_init, hildon_app_menu_class_init): New
6472 external-border style property
6474 2008-05-26 Michael Natterer <mitch@imendio.com>
6476 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
6477 widget_class->tap_and_hold_setup signal slot doesn't exist any
6478 longer, stop overriding it.
6480 (hildon_time_editor_init): g_signal_connect() to the
6481 tap-and-hold-setup signal instead.
6483 (hildon_time_editor_entry_keypress): add cast to fix warning.
6485 2008-05-23 Alberto Garcia <agarcia@igalia.com>
6487 * doc/hildon-docs.sgml
6489 * examples/Makefile.am
6490 * examples/hildon-app-menu-example.c
6492 * src/hildon-app-menu-private.h
6493 * src/hildon-app-menu.c
6494 * src/hildon-app-menu.h
6496 New HildonAppMenu widget
6498 2008-05-21 Alejandro G. Castro <alex@igalia.com>
6500 Rearranged the inheritance of the pannable area, now it inherits
6501 from GtkBin. This will allow us to control the event_window and
6502 the allocation process of the widget, required for some effects.
6504 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
6505 GtkBin structures. * src/hildon-pannable-area.c: Added the
6506 event_window variable.
6507 (hildon_pannable_area_button_press_cb):
6508 (hildon_pannable_area_button_release_cb):
6509 (hildon_pannable_area_motion_notify_cb):
6510 Changed the signature of the method, now we override the event
6511 callback instead of connecting to the signal.
6513 (hildon_pannable_area_realize):
6514 (hildon_pannable_area_unrealize):
6515 (hildon_pannable_area_map):
6516 (hildon_pannable_area_unmap):
6517 (hildon_pannable_area_size_allocate):
6518 Added functions to control the widget construction. We add a
6519 INPUT_ONLY window and we put it over the widgets inside the
6520 container, this event_window handles the events.
6522 (hildon_pannable_area_class_init):
6523 Replaced the signal connections with overrides of the event
6526 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6528 Bouncing effect added when touching the borders, you can change
6529 the elasticity of the border changing the ELASTICITY define.
6531 * src/hildon-pannable-area.c: Added ELASTICITY define.
6532 (hildon_pannable_area_timeout): Added inverse velocity when
6533 touching the border of the child widget, that causes a bounce.
6535 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6537 Improved performance, we now do not go to the X server in order to
6538 get the list of window children. Apparently the effect is the
6539 same, we have to be careful and check if this breaks something in
6542 * src/hildon-pannable-area.c:
6543 (get_ordered_children): Removed this function.
6544 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
6545 the children windows function with gdk_window_get_children.
6547 2008-05-20 Alejandro G. Castro <alex@igalia.com>
6549 * src/hildon-pannable-area.c:
6550 (hildon_pannable_area_dispose): Fixed a crash when closing the
6551 window and kinetics is activated.
6553 2008-05-19 Alberto Garcia <agarcia@igalia.com>
6555 * src/hildon-pannable-area.h
6556 * src/hildon-pannable-area.c
6557 Changed indentation style to meet the one used in Hildon
6559 2008-05-19 Alejandro G. Castro <alex@igalia.com>
6561 Reviewed the interaction of the AUTO mode, now we use the time
6562 attribute of the events and calculate the velocity in the motion,
6563 doing a gimp like calculation. The velocity is calculated in each
6564 motion event using the last velocity and the current one, the
6565 SMOOTH_FACTOR controls the percentage of the new velocity we use.
6567 * src/hildon-pannable-area.c: Replaced the time based algorithm
6569 (hildon_pannable_area_motion_notify_cb): now we do not launch the
6570 timeout for the AUTO mode when we are still moving the cursor. We
6571 added also the velocity calculation in this function.
6572 (hildon_pannable_area_button_release_cb): launch the timeout in
6573 case we are in AUTO mode. There are still some constants here that
6574 come from the old implementation that should be reviewed and
6577 2008-05-15 Alberto Garcia <agarcia@igalia.com>
6579 * doc/hildon-docs.sgml
6582 * src/hildon-stackable-window.c
6583 * src/hildon-stackable-window.h
6585 New HildonStackableWindow widget
6587 * examples/hildon-dialog-example.c
6588 * examples/hildon-pannable-area-example.c
6591 2008-05-14 Alberto Garcia <agarcia@igalia.com>
6593 * src/hildon-dialog.c
6594 (hildon_dialog_new_with_buttons): New constructor.
6596 * examples/hildon-dialog-example.c
6597 (main): Update the example to use the new
6598 hildon_dialog_new_with_buttons().
6600 * examples/hildon-pannable-area-example.c
6601 (main): Update example.
6603 2008-05-13 Alberto Garcia <agarcia@igalia.com>
6605 * doc/hildon-docs.sgml
6607 Added HildonPannableArea to the documentation.
6609 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
6611 * doc/visual_index.xml
6612 Fix reference to HildonLoginDialog in documentation
6614 * doc/hildon-docs.sgml
6616 * examples/Makefile.am
6617 * examples/hildon-dialog-example.c
6619 * src/hildon-dialog.c
6620 * src/hildon-dialog.h
6622 New HildonDialog widget.
6624 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6626 * src/hildon-pannable-area.c
6627 Merge latest changes (r4318, r4342) from libmokoui trunk
6629 2008-05-09 Alberto Garcia <agarcia@igalia.com>
6631 * examples/Makefile.am
6632 * examples/hildon-pannable-area-example.c
6634 * src/hildon-pannable-area.c
6635 * src/hildon-pannable-area.h
6637 New HildonPannableArea widget.
6639 2008-04-15 18:05:19 <timj@imendio.com>
6641 * src/hildon-banner.c: revert the recent change, that introduced
6642 gtk_window_present() calls. this reopens:
6643 Bug 78481 - [freetest] information banners are hidden under browser menu
6644 But resolves another variant of:
6645 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6647 2008-04-15 13:21:13 <timj@imendio.com>
6649 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
6650 recreated its layout, spotted by Kris. this fixes all remaining
6651 artefacts and stability issues with the banner code. in particular:
6652 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6654 2008-04-14 16:52:59 <timj@imendio.com>
6656 * src/hildon-banner.c: guard force_to_wrap_truncated() against
6657 operating on unrealized widgets, fixes:
6658 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
6660 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
6662 2008-04-09 Kristian Rietveld <kris@imendio.com>
6664 Fixes: NB#77775: Media Player, Save Now playing list, too long name
6665 makes banner disappear.
6666 Fixes: NB#79182: info banner flickering with certain message lengts.
6668 * src/hildon-banner.c (hildon_banner_constructor),
6669 (hildon_banner_init), (hildon_banner_set_text),
6670 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
6671 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
6672 FALSE, reset size requests of label and banner,
6673 (force_to_wrap_truncated): when the text is too wide, always enforce
6674 the maximum possible width instead of recalculating it from the
6675 layout; enforce the maximum banner height of 3 lines,
6676 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
6677 nicer wrapping and no truncated chars if space gets tight.
6679 * src/hildon-banner-private.h: add has_been_wrapped and
6680 has_been_truncated fields.
6682 2008-04-07 Sven Herzberg <sven@imendio.com>
6684 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
6685 local values in hildon_date_editor_size_allocate
6687 * src/hildon-date-editor.c: moved the real allocation code into the
6690 2008-04-07 Sven Herzberg <sven@imendio.com>
6692 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6693 local values in hildon_date_editor_size_allocate
6695 * src/hildon-date-editor.c: merged the two if() branches together
6697 2008-04-07 Sven Herzberg <sven@imendio.com>
6699 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6700 local values in hildon_date_editor_size_allocate
6702 * src/hildon-date-editor.c: changed the arguments of the if()
6705 2008-04-07 Sven Herzberg <sven@imendio.com>
6707 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
6708 local values in hildon_date_editor_size_allocate
6710 * src/hildon-date-editor.c: split the calculation of the allocation
6711 from the real allocation
6713 2008-03-27 Michael Natterer <mitch@imendio.com>
6715 Fixes: NB#81696: The passcode is not overwritten even after
6718 * src/hildon-code-dialog.c
6719 (hildon_code_dialog_button_clicked)
6720 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
6721 because that doesn't overwrite selected text. Instead, emit the
6722 "commit" signal on the entry's im_context so the entry's normal
6723 insert logic is triggered. Set the cursor to the end of the entry
6724 after each insert operation so that we *only* insert in the middle
6725 of the text if something was selected.
6727 2008-03-27 Michael Natterer <mitch@imendio.com>
6729 Enable fixing: NB#79916 and NB#79918: The help topic for Color
6730 selector cannot be opened
6732 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
6733 when the popup color selector is created. Please connect to this
6734 signal in order to set the dialog's help ID.
6736 2008-03-25 Sven Herzberg <sven@imendio.com>
6738 Fixes: MB#1212: Hide info banners (infoprints) on click
6740 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
6741 extracted the close event simulation into an extra function
6742 (hildon_banner_button_press_event): simulate a close event and destroy
6743 the widget if the event wasn't handled
6744 (hildon_banner_class_init): added the button_press_event handler
6745 (hildon_banner_init): added button-press events to the widget
6747 2008-03-25 Sven Herzberg <sven@imendio.com>
6749 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
6750 Patch from: Mohammad Anwari <mdamt@maemo.org>
6752 * src/hildon-banner.c: let the HildonBanners pop up on the left side
6753 instead of the right in RTL mode
6754 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
6755 breadcrumb button list in RTL mode
6756 * src/hildon-caption.c: mirror the appearance of the caption widget in
6758 * src/hildon-date-editor.c: mirror appearance of the date editor in
6760 * src/hildon-time-editor.c: mirror appearance of the time editor in
6762 * src/hildon-window.c: fix the position of the popup in RTL mode
6764 2008-03-25 Sven Herzberg <sven@imendio.com>
6766 Amendment to the fix of NB#22072. Fix compilation.
6768 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
6770 2008-03-19 Sven Herzberg <sven@imendio.com>
6772 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
6775 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
6776 timeout id properly when the timeout will disappear this leaves no
6777 artifacts around in the destroy(); there will only be the timeout
6778 created by hildon_banner_ensure_timeout() and adding a new timeout
6779 will also work if the timeout gets removed because the timeout_handler
6782 2008-03-19 Michael Natterer <mitch@imendio.com>
6784 Fixes: NB#79791: Cannot set focus to Master volume using stylus
6786 * src/hildon-volumebar.c
6787 * src/hildon-vvolumebar.c
6788 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
6789 the widget becomes focussable at all.
6791 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
6792 set the focus to wither the mute button or the volumebar.
6794 Remove own "can-focus" property and instead listen to
6795 notify::can-focus in order to update the widget's state.
6797 Implement GtkWidget::focus() and make sure we can also *leave* the
6798 widget, not only enter it, depending on volumebar orientation and
6799 requested focus direction.
6801 Clean up set_mute() to cooperate nicely with all the above.
6803 2008-03-04 Michael Natterer <mitch@imendio.com>
6805 Fixes: NB#78481: information banners are hidden under browser menu
6807 * src/hildon-banner.c: call gtk_window_present() on the banners so
6808 they are risen if they are already visible.
6810 2008-03-03 Sven Herzberg <sven@imendio.com>
6812 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
6814 * examples/hildon-window-menu-example.c: (main): extended the window
6815 menu example to serve as a testcase for automatically added
6816 accelerator groups, too
6817 * src/hildon-window.c: (hildon_window_add_accel_group),
6818 (hildon_window_set_menu): added patch by Tommi Komulainen
6820 2008-03-03 Sven Herzberg <sven@imendio.com>
6822 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
6824 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
6825 knowledge about the border allocators used within GTK+
6827 2008-02-26 Sven Herzberg <sven@imendio.com>
6829 Fixes: MB#2981: Build with asserts broken
6831 * src/hildon-date-editor.c,
6832 * src/hildon-number-editor.c,
6833 * src/hildon-time-editor.c,
6834 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
6835 the proper GType instance check
6837 2008-02-25 Sven Herzberg <sven@imendio.com>
6839 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
6841 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
6842 * examples/hildon-window-menu-example.c: (main): explicitly show
6844 * src/hildon-window.c:
6845 (hildon_window_set_main_menu): moved most of the code from set_menu()
6846 to this place; skipped the call to gtk_widget_show_all(); also didn't
6847 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
6848 (hildon_window_set_menu): removed most of the code, just keep the
6849 questionable gtk_widget_show_all()
6850 * src/hildon-window.h: added the new function and deprecate the old
6853 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6859 * debian/changelog: Updating.
6861 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
6864 * pkgconfig/Makefile.am:
6865 * pkgconfig/hildon.pc.in:
6868 Do not use PACKAGE_VERSION_MAJOR as the API revision,
6869 use newly created API_MAJOR_VERSION.
6871 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6877 * debian/changelog: Updating.
6879 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
6881 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
6883 Add outer_border style property, we use it but don't define it (!).
6887 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
6889 * examples/hildon-bread-crumb-trail-example.c (main):
6893 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
6895 Fix logic for the bread crumb trail node removal.
6899 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6905 * debian/changelog: Updating.
6907 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6909 Patch by Alejandro to get/set passwords dialogs accesibility.
6911 * hildon-1/src/hildon-get-password-dialog.c:
6912 * hildon-1/src/hildon-set-password-dialog.c:
6913 Set atk_set_name to the passwd entries in order to allow
6914 accessibility by name on this entries.
6916 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6921 * debian/control: Updating gtk dep.
6923 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
6925 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
6926 USE_MAEMO_GTK is enabled.
6928 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
6930 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
6931 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
6933 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6939 * debian/changelog: Updating.
6941 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6943 * examples/Makefile.am:
6944 * examples/hildon-logical-color-example.c:
6945 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
6946 applied + adding a test case. Fixes: NB#71660.
6948 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
6950 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
6951 to be visible, fixes warning on map for windows without toolbars.
6953 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
6955 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
6956 2.11.0, add a check for that besides the MAEMO_GTK check.
6958 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6964 * debian/changelog: Updating.
6966 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6968 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
6969 visibility. Fixes: NB#70842 and MB#615.
6971 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6973 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
6974 set the separator as no-show-all so it doesn't unintentionally appear when
6975 someone does a show_all.
6977 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
6979 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
6980 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
6981 toplevel item. Fixes: NB#62031
6983 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
6985 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
6986 fix the name of the function in the docs.
6988 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6994 * debian/changelog: Updating.
6996 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6998 * examples/hildon-banner-long-example.c: Adding a test-case for long
7001 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
7003 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7005 * src/hildon-color-chooser-dialog.c:
7006 * src/hildon-color-chooser.c:
7007 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
7008 memory leaks in font selector and color selector. Fixes: NB#70499 and
7011 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
7013 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
7015 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7017 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
7018 little bit bigger. Fixes: #NB63694.
7020 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7026 * debian/changelog: Updating.
7028 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7031 * doc/hildon-docs.sgml:
7032 * doc/images/bread-crumb-trail.png:
7033 * doc/images/calendar-popup.png:
7034 * doc/images/caption.png:
7035 * doc/images/code-dialog.png:
7036 * doc/images/color-button.png:
7037 * doc/images/color-chooser-dialog.png:
7038 * doc/images/color-chooser.png:
7039 * doc/images/controlbar.png:
7040 * doc/images/date-editor.png:
7041 * doc/images/font-selection-dialog.png:
7042 * doc/images/get-password-dialog.png:
7043 * doc/images/hvolumebar.png:
7044 * doc/images/login-dialog.png:
7045 * doc/images/note.png:
7046 * doc/images/number-editor.png:
7047 * doc/images/range-editor.png:
7048 * doc/images/seekbar.png:
7049 * doc/images/set-password-dialog.png:
7050 * doc/images/sort-dialog.png:
7051 * doc/images/time-editor.png:
7052 * doc/images/time-picker.png:
7053 * doc/images/vvolumebar.png:
7054 * doc/images/weekday-picker.png: Adding the new generated widget shots.
7055 Adding the bread-crumb-trial and helpers to the documentation.
7057 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7059 * examples/hildon-find-toolbar-example.c:
7060 * src/hildon-find-toolbar.c:
7061 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
7062 actually continue firing the other handlers if connected. Adding a new
7064 hildon_find_toolbar_get_last_index that gets the index of the most
7065 recently added (last) item. Fixes: NB#52301.
7067 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7069 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
7070 behaviour. Fixes: NB#68610.
7072 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7074 * src/hildon-banner.c: Actually reverting the previous change. It somehow
7077 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7079 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
7080 when realizing the banner. Should make the infonbanner effect a bit more
7083 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7085 * src/hildon-volumebar.c:
7086 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
7087 hildon_volumebar_set_range_insensitive_message and
7088 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
7090 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7092 * src/hildon-window.c: Fixing the border freeing on destroy.
7094 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7096 * src/hildon-code-dialog-private.h:
7097 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
7098 kw keyboard support in HildonCodeDialog.
7100 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7106 * debian/changelog: Updating.
7108 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7110 * src/hildon-date-editor.c:
7111 * src/hildon-number-editor.c:
7112 * src/hildon-private.c:
7113 * src/hildon-private.h:
7114 * src/hildon-time-editor.c:
7115 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
7116 handling in subclassed composite widgets. Fixes: NB#66628.
7118 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7120 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
7121 from destroy_ callback as it introduces problems in async dbus signal
7122 handlers. Fixes NB#66673.
7124 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7126 * examples/hildon-hvolumebar-example.c:
7127 * src/hildon-volumebar.c: Improving the focus handling in the
7128 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
7129 set_property accessor so that "mute" property can be actually set. I'm
7130 scared that nobody noticed it's totally broken.
7132 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7134 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
7137 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7139 * src/hildon-calendar.c:
7140 * src/hildon-number-editor.c:
7141 * src/hildon-time-picker.c: Changing the timeout repeat so that it
7142 matches the spec of 6 chars per second. Fixes: NB#60489.
7144 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7146 * src/hildon-helper.c: Really fixing NB#58352. Looks like
7147 gtk_style_lookup_color sometime returns FALSE even though color was
7148 found and values were filled properly. Weird. Removing the warning for the
7151 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7153 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
7154 expand vertically. Adding some extra space to the find toolbar buttons to
7155 make them thumbable. Fixes NB#66060.
7157 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7159 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
7160 popup with "Ok" and "Cancel". Fixes NB#59299.
7162 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7164 * src/hildon-calendar.c: Process all window updates before executing next
7165 timeout. Fixes: NB#54146.
7167 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7173 * debian/changelog: Updating.
7175 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7177 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
7178 the client event and ignore it, since we use the delete event to close
7181 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7183 * src/hildon-helper.c: Remove the bogus warning about color not being
7184 found. Fixes NB#58352.
7186 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7188 * examples/Makefile.am:
7189 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
7190 HildonSeekbar widget inside a toolbar.
7192 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
7194 * src/hildon-banner.c (hildon_banner_init): mark the banners as
7195 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
7196 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
7197 don't want to be closed by non-temporary windows on map.
7199 Also use G_DEFINE_TYPE instead of manually typed code.
7201 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7208 * debian/rules: Updating.
7210 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7212 * examples/Makefile.am:
7213 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
7214 bug NB#61128. Strangely it works.
7216 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7218 * src/hildon-date-editor.c: When the date editor entry has been changed
7219 but the numbers of characters < max, turn off the skip validation flag.
7220 Prevents a situation when we enter first a valid year and later re-write
7221 it with an invalid one. Fixes NB#60154.
7223 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7225 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
7226 code dialog. Fixes NB#64355.
7228 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7230 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
7231 switching the page. Fixes NB#49374.
7233 * examples/Makefile.am:
7234 * examples/hildon-wizard-dialog-example.c: Adding an example for
7235 HildonWizardDialog that shows how to handle manual sensitivity setting on
7238 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7242 * src/hildon-version.h.in:
7243 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
7245 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7247 * src/hildon-volumebar.c: Updating the docs.
7249 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7255 * debian/changelog: Updating.
7257 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7259 * src/hildon-find-toolbar.c:
7260 * src/hildon-find-toolbar.h: Adding a few new functions to control the
7261 selected item: hildon_find_toolbar_set_active,
7262 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
7263 hildon_find_toolbar_get_active_iter . They correspond to respective
7264 GtkComboBox functions.
7266 * examples/Makefile.am:
7267 * examples/hildon-find-toolbar-example.c: Adding the example to test the
7270 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7272 * examples/Makefile.am:
7273 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
7276 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
7277 when font size > 32 and we pack a focusable widget inside. Actually using
7278 the default response would work too, but since we don't show default
7279 response state in any way (no theming) it would not be visible to the
7280 user. Fixes NB#63430.
7282 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7284 * src/hildon-date-editor.c: Adding the missing variable setter in the
7285 set_property handler. Fixes NB#54182.
7287 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7289 * src/hildon-window.h: Changing the long key press time from 1500ms to
7290 800ms as requested in NB#63700. I have a bad feeling about this, let's
7291 see... Fixes NB#63700.
7293 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
7295 * src/hildon-time-picker.c (hildon_time_picker_class_init,
7296 hildon_time_picker_map, hildon_time_picker_realize,
7297 hildon_time_picker_style_set): Split the contents of map to more
7298 appropriate functions; set window decorations on realize and update
7299 arrows' size requisitions on style-set. Avoids unnecessary resizing.
7301 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
7306 * debian/changelog: Updating.
7308 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
7310 * src/Makefile.am: fixed installation of the header files
7312 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7318 * debian/changelog: Updating.
7320 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7322 * configure.ac: Removing some remaining of --enable-xan.
7324 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
7326 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
7327 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
7329 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
7330 2.10.12-osso6 because the move-focus signal needs to be available in
7333 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7335 * examples/Makefile.am:
7336 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
7337 that makes a HildonVolumebar insensitive before mapping it. Seems to work
7338 fine. Prolly NB#61128 is fixed now.
7340 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7342 * src/hildon-volumebar.c:
7343 * src/hildon-volumebar.h: Adding the
7344 hildon_volumebar_set_range_insensitive_message and
7345 hildon_volumebar_set_range_insensitive_messagef functions to set
7346 insensitive message on the slider of the volumebar. Fixes NB#61129.
7348 * examples/Makefile.am:
7349 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
7350 test the new insensitive messsage functionality on HildonVolumebar.
7352 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
7354 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
7357 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
7359 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
7360 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
7361 button on after clearing the trail.
7363 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7365 * src/hildon-code-dialog.c: Removing the separator from the dialog.
7367 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7369 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
7370 by splitting the installed headers in generated and non-generated groups. Use
7371 only the non-generated headers to create the hildon-enum-types.h file.
7373 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
7375 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7377 * src/hildon-window.c: Hide the window before performing the destroy.
7378 Should make the app closing a little tiny bit more snappy.
7380 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
7382 * src/hildon-seekbar.c: add gtkrange.h header
7383 * src/hildon-caption.c: remove unused variable
7385 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
7387 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
7390 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7396 * debian/changelog: Updating.
7398 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
7400 * src/hildon-window.c (hildon_window_window_state_event,
7401 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
7402 escape timeout on focus-out-event rather than notify::is-topmost; the
7403 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
7405 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7407 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
7408 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
7410 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7412 * src/hildon-window: actually, you need to use the macro always, there's
7413 no private pointer in the instance structure. We should have cleaned this up
7414 when we had the chance...
7416 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
7418 * src/hildon-window.c: do not get the private date from HildonWindow before
7419 it passes the g_return_if_fail check. Once it's passed the test, there's no
7420 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
7421 if you are only going to access the data once. Whitespace cleanups.
7423 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
7425 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
7426 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
7428 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7434 * debian/changelog: Updating.
7436 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7438 * src/hildon-window.c: When destroying the window, remove (if exists) the
7439 escape timeout handler. Fixes #NB59276.
7441 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7443 * src/hildon-banner.c: When realizing the widget, set the window
7444 transiency. Setting the transiency in the gobject constructor is not
7445 good, as the widget is not realized at that point. Fixes: #NB56624.
7447 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7449 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
7450 Add padding for future expansions.
7452 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7454 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
7455 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
7456 will fake an activation on the previous to the last item of the trail, so
7457 the effect can be overrided by the developer as usual.
7458 Also change the callback for the back button to do the same thing, so its
7459 effect can be overrided too. Fixes: NB#58982
7461 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7463 * src/hildon-caption.c: Implementing the proper focus grabbing in the
7464 HildonCaption. Fixes NB#52379.
7466 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
7468 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
7469 the internal state of the trail after the user has had the chance of executing
7470 his handler for the signal. Specifically, it may happen that the activated button
7471 is removed and the user still lets the default handler run. This would segfault
7474 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7476 * src/hildon-font-selection-dialog.c: When the font is really big, add the
7477 scrollbar to the preview dialog. Fixes NB#54147.
7479 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7481 * src/hildon-date-editor.c: Changing the default max year to 2037. The
7482 max/min year properties can be altered, so the client can modify it
7483 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
7485 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7487 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
7488 hildonlike by default. Fixing a problem with disappearing arrows when
7489 scrolling through months and years. Fixes NB#54127.
7491 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7493 * examples/hildon-date-editor-example.c: Adding error callback to the date
7496 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7502 * configure.ac: Updating.
7504 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7506 * configure.ac: Adding a special '--enable-xan' configure option that
7507 turns off the -Werror compilation setting. Usefull for development.
7509 * src/hildon-calendar.c:
7510 * src/hildon-number-editor.c:
7511 * src/hildon-time-picker.c: Adding the 5* multiplier to
7514 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
7516 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
7517 instead of g_object_ref + gtk_object_sink.
7519 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7525 * debian/changelog: Updating.
7527 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7529 * src/hildon-color-chooser-dialog.c:
7530 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
7531 straight from Tommi labs.
7533 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7535 * examples/hildon-finger-example.c: Correcting the header file path.
7537 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
7538 the changed signal. Fixes a small memory leak.
7540 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7544 * src/hildon-banner.c: Importing several usefull fixes from the
7545 ubuntu-mobile branch.
7547 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7549 * examples/Makefile.am:
7550 * examples/hildon-finger-example.c: Adding a finger-checking code
7553 * src/hildon-font-selection-dialog.c: Do not allocate the color
7554 structure using the g_new. Fixes NB#54061.
7556 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7558 * src/hildon-helper.c: Correcting tabs in file.
7560 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
7562 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
7563 control the visibility of the children.
7565 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
7567 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7573 * debian/changelog: Updating.
7575 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7577 * src/hildon-bread-crumb-trail.c:
7578 (hildon_bread_crumb_trail_size_allocate):
7580 Make the back button always a square.
7582 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
7584 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
7585 from the .c file as it's a private file.
7587 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7589 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
7590 uses slightly bigger height.
7592 * src/hildon-font-selection-dialog.c: Adding some checks before
7593 freeing memory in the font selection dialog.
7595 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7597 * src/hildon-font-selection-dialog.c: Adding a small check when
7600 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
7601 buttons sensitivity on page switching.
7603 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
7605 * src/hildon-bread-crumb-trail.c: make the add method handle all the
7606 internal details of adding a bread crumb to the trail.
7608 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7614 * debian/changelog: Updating.
7616 * src/hildon-bread-crumb-trail.h:
7617 * src/hildon-bread-crumb.h: Changing the API guard to
7618 HILDON_ENABLE_UNSTABLE_API.
7620 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7628 * src/hildon-helper.h: Updating.
7630 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7638 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7642 * src/hildon-helper.h: Small fix to make the package actually compile.
7644 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7646 * src/hildon-bread-crumb-trail.h:
7647 * src/hildon-bread-crumb.h:
7649 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
7650 to define ENABLE_UNSTABLE_API in the code that includes these headers.
7652 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
7654 * examples/hildon-bread-crumb-trail-example.c:
7656 * src/hildon-bread-crumb-trail.c:
7657 * src/hildon-bread-crumb-trail.h:
7658 * src/hildon-bread-crumb.c:
7659 * src/hildon-bread-crumb.h:
7660 * src/hildon-marshalers.list:
7661 * src/hildon-bread-crumb-widget.c:
7662 * src/hildon-bread-crumb-widget.h:
7664 Slight change in the widget design. The bread crumb trail API is
7665 unchanged, but HildonBreadCrumb is now an interface. A *private*
7666 implementation, hildon-bread-crumb-widget, is provided and used
7667 internally by the trail for the push_text/push_icon functions.
7669 The generic push API is still available, so anyone can implement
7670 and use its own bread crumb widget.
7672 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7674 * debian/rules: Fixing the shlibs.
7676 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7678 * src/hildon-banner.c: Fixing a problem with timed banners having
7679 their parrent destroyed before they are.
7681 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
7683 * src/hildon-bread-crumb.c:
7684 * src/hildon-bread-crumb.h:
7686 Make the get_natural_size function a vfunc.
7688 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7690 * src/hildon-bread-crumb.c:
7691 * src/hildon-bread-crumb-trail.c:
7695 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7702 * debian/changelog: Updating for release.
7704 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7706 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
7707 don't leak the pango layout.
7709 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
7712 * examples/hildon-bread-crumb-trail-example.c:
7716 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7718 * debian/changelog: Removing the bug-fixed entries that were actually
7719 resolved as WONTFIX.
7721 * src/hildon-date-editor.c: Removing a redundant check. Fixes
7724 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7726 * src/hildon-bread-crumb-trail.c:
7727 * src/hildon-bread-crumb-trail.h:
7728 * src/hildon-bread-crumb.c:
7729 * src/hildon-bread-crumb.h:
7733 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
7735 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
7736 until it's passed the type check.
7738 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7740 * examples/hildon-bread-crumb-trail-example.c
7744 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
7746 * examples/Makefile.am
7747 * examples/hildon-bread-crumb-trail-example.c
7749 * src/hildon-bread-crumb-trail.c
7750 * src/hildon-bread-crumb-trail.h
7751 * src/hildon-bread-crumb.c
7752 * src/hildon-bread-crumb.h
7754 New HildonBreadCrumbTrail widget.
7756 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
7758 * src/hildon-range-editor.c (hildon_range_editor_init),
7759 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
7760 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
7761 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
7762 hildon_time_editor_class_init, hildon_time_editor_init),
7763 src/hildon-get-password-dialog.c (invalid_input,
7764 hildon_get_password_set_property, hildon_get_password_get_property,
7765 create_contents, hildon_get_password_dialog_set_max_characters),
7766 src/hildon-set-password-dialog.c (create_contents),
7767 src/hildon-date-editor.c (hildon_date_editor_init),
7768 src/hildon-login-dialog.c (hildon_login_dialog_init),
7769 src/hildon-number-editor.c (hildon_number_editor_init),
7770 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
7771 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
7772 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
7773 configure option and adding the respective checks in the code.
7774 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
7775 hildon_calendar_drag_data_received): fixed some build warnings.
7777 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7779 * debian/changelog: A 1.0.0 release notes.