1 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
6 * configure.ac: Bump version.
7 * debian/changelog: Updates.
9 2009-03-02 Claudio Saavedra <csaavedra@igalia.com>
11 * examples/hildon-remote-texture-example.c: Include
12 hildon-remote-texture.h explicitely.
13 * src/hildon.h: Remove hildon-remote-texture.h to avoid breaking
14 applications not defining _XOPEN_SOURCE which don't require this header.
16 2009-02-27 Alberto Garcia <agarcia@igalia.com>
18 * doc/hildon-sections.txt
19 * src/hildon-app-menu.h
20 * src/hildon-app-menu.c (+hildon_app_menu_popup):
21 New function to pop up a HildonAppMenu
23 * src/hildon-stackable-window.c
24 (hildon_stackable_window_toggle_menu):
25 Use hildon_app_menu_popup() to show the menu.
27 2009-02-27 Alberto Garcia <agarcia@igalia.com>
29 * src/hildon-app-menu.c (hildon_app_menu_show)
30 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
31 menu if there's another window between it and its parent window.
33 Fixes: NB#100468 (Application menu window is launched even when a
34 new secondary-window/dialog is pending to be shown/realized)
36 2009-02-27 Alberto Garcia <agarcia@igalia.com>
38 * src/hildon-window-stack.c (hildon_window_stack_push)
39 (hildon_window_stack_pop_and_push):
40 Don't forget to push/pop the first window.
41 Reverse the window list before calling _push_list()
43 2009-02-27 Alberto Garcia <agarcia@igalia.com>
45 * src/hildon-picker-button.h
46 * src/hildon-picker-button.c (hildon_picker_button_class_init):
47 Remove "value_changed" slot to avoid ABI breakage
49 2009-02-26 Alejandro G. Castro <alex@igalia.com>
51 * src/hildon-pannable-area.c,
52 (hildon_pannable_area_realize),
53 (hildon_pannable_area_unrealize),
54 (hildon_pannable_draw_vscroll),
55 (hildon_pannable_draw_hscroll): Changed the method to handle the
56 GC used to draw the transparent scrollbar, this way we avoid
57 creating the GC all the time when drawing the scrollbars.
59 2009-02-26 Alejandro G. Castro <alex@igalia.com>
61 * src/hildon-pannable-area.c,
62 (hildon_pannable_area_init),
63 (hildon_pannable_area_remove): Removed some unnecessary casts.
64 (hildon_pannable_area_dispose): Disconnected some signals before
65 releasing the adjustments.
67 2009-02-26 Alberto Garcia <agarcia@igalia.com>
69 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
70 Make sure that all widgets contained in the toolbar are shown.
72 2009-02-25 Alberto Garcia <agarcia@igalia.com>
74 * doc/hildon-sections.txt
75 * src/hildon-picker-button.h
76 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
77 (_selection_changed, hildon_picker_button_on_dialog_response)
78 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
79 New hildon_picker_button_value_changed() method.
82 * src/hildon-picker-button-private.h
83 * src/hildon-picker-button.c (hildon_picker_button_init)
84 (+hildon_picker_button_disable_value_changed): Add protected
85 function for disabling the "value-changed" signal.
87 * src/hildon-date-button.c (hildon_date_button_set_date):
88 Don't emit "value-changed" for each one of the three columns.
90 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
91 before actual change of values)
93 2009-02-24 Alejandro G. Castro <alex@igalia.com>
95 * src/hildon-pannable-area.c,
96 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
97 for the treeview overshooting.
99 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
101 * src/hildon-banner.c (+hildon_banner_bind_style):
102 Renamed from hildon_banner_bind_label_style(), now naming the
103 banner itself as well.
104 (hildon_banner_show_information),
105 (hildon_banner_show_information_with_markup),
106 (hildon_banner_show_animation), (hildon_banner_show_progress):
107 Name the widgets and labels, based on their type.
109 See NB#98597 (Hildon Note and Hildon Banner should use themeable
112 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-note.c (hildon_note_set_property): call
115 hildon_note_rename() on HildonNote:note-type set.
116 (hildon_note_rename): Name the note and its label, based on the
117 HildonNote:note-type property.
119 See NB#98597 (Hildon Note and Hildon Banner should use themeable
122 2009-02-24 Alejandro G. Castro <alex@igalia.com>
124 * src/hildon-pannable-area.c,
125 (hildon_pannable_area_class_init),
126 (hildon_pannable_area_motion_notify_cb): Reviewed the default
127 panning parameters, increased SPS and deceleration factor. Added
128 also a margin to control fake directions.
130 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
132 Patch by Sven Herzberg (sven@imendio.com)
134 * configure.ac: Add missing AM_PROG_CC_C_0
135 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
137 See NB#101420 (Update unit tests and fix make check)
139 2009-02-23 Alejandro G. Castro <alex@igalia.com>
141 This patch was applied before but reverted because it caused
142 problems, we have changed the main condition and tested the
143 regressions we detected before and they work ok. We have done a
144 complete review of the topmost algorithm in order to get a more
147 * src/hildon-pannable-area.c,
148 (hildon_pannable_area_get_topmost): Added a new parameter to
149 filter the the windows that do not include those events.
150 (hildon_pannable_area_button_press_cb),
151 (hildon_pannable_area_button_release_cb),
152 (hildon_pannable_get_child_widget_at): Reviewed the call the the
153 topmost function, we have added the new parameter.
155 Fixes: NB#97458 (Pannable area prevents propagation of button
158 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
161 if all columns in the selector have an item selected.
162 (_on_dialog_response): Stop "response" signal emission if there is
163 any selector column without selected items.
165 Fixes: NB#101889 (Picker dialog should not close when nothing is
166 selected in multiple selection list)
168 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
170 * src/hildon-font-selection-dialog.c
171 (hildon_font_selection_dialog_class_init),
172 (hildon_font_selection_dialog_init): Remove the preview
173 button and dialog, since previewing with default theming is likely
174 to be overcomplicated. The :preview property has now no effect.
175 Update documentation blurbs to inform about this.
177 Fixes: NB#92297 (Preview content is not clearly visible for
180 2009-02-20 Alejandro G. Castro <alex@igalia.com>
182 Reviewed the geometry that handles the children size and
183 scrollbar, now it tries a size and reviews the results depending
184 on the scrollbars visibility.
186 * src/hildon-pannable-area.c,
187 (hildon_pannable_area_realize): Fixed a typo.
188 (hildon_pannable_area_child_allocate_calculate): Added this
189 function to calculate the child allocation.
190 (hildon_pannable_area_size_allocate): Reviewed the allocation
192 (hildon_pannable_area_check_scrollbars),
193 (hildon_pannable_area_refresh): Refactored refresh function, this
194 way we can call the code handling the scrollbars without causing a
195 size_request, it is interesting in the allocate.
196 (hildon_pannable_area_init): Replace the callbacks of the
197 value_changed and changed signals to propertly deal with the
199 (hildon_pannable_area_grab_notify),
200 (hildon_pannable_area_initial_effect),
201 (hildon_pannable_area_launch_fade_timeout),
202 (hildon_pannable_area_adjust_changed),
203 (hildon_pannable_area_adjust_value_changed),
204 (hildon_pannable_area_redraw),
205 (hildon_pannable_area_button_press_cb),
206 (hildon_pannable_area_button_release_cb),
207 (hildon_pannable_area_scroll_cb),
208 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
209 code and use the new functions adjust_changed and
210 adjust_value_changed.
212 Fixes: NB#101603 (Focus is not even for the text entry boxes in
213 Contact editor dialog)
215 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
220 * configure.ac: Bump version.
221 * debian/changelog: Updates.
223 2009-02-20 Alejandro G. Castro <alex@igalia.com>
225 * src/hildon-pannable-area.c,
226 (hildon_pannable_area_get_topmost),
227 (hildon_pannable_area_button_press_cb),
228 (hildon_pannable_area_button_release_cb),
229 (hildon_pannable_get_child_widget_at): Reverted the patch for the
230 topmost function adding the event mask. We have to try a
231 differente approach because it is still causing problems (NB#9745,
234 2009-02-19 Alberto Garcia <agarcia@igalia.com>
236 * src/hildon-banner.c:
237 Update the maximum width of timed banners.
238 (force_to_wrap_truncated): Enforce the maximum text width if the
241 Fixes: NB#102413 (The text margins (wrapping) in information
242 banner should be HILDON_MARGIN_TRIPLE)
244 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
246 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
248 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
249 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
250 bound when calculating the scroll indicator position.
252 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
253 treat ->lower correctly)
255 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
257 * src/hildon-caption.c (hildon_caption_class_init): Remove the
258 expose event handling, since it is not necessary to draw the focus
261 Fixes: NB#102467 (Do not show highlight on the text in
264 2009-02-18 Alberto Garcia <agarcia@igalia.com>
266 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
267 full height of the toolbar for the button and the label.
269 2009-02-18 Alberto Garcia <agarcia@igalia.com>
271 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
272 padding before the label and after the button.
274 2009-02-18 Alberto Garcia <agarcia@igalia.com>
276 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
278 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
279 Add a GtkVSeparator between the button and the back arrow.
280 Let the button have automatic size.
281 Set a name to the widget for theming handling.
283 Fixes: NB#101793 (Make edit toolbar the same height as window
284 title bar (use title area theming))
286 2009-02-18 Alberto Garcia <agarcia@igalia.com>
288 * src/hildon-helper.c (attach_new_color_element): Fix memory
291 Fixes: NB#102262 (memory leak in hildon_button_set_style())
293 2009-02-18 Alberto Garcia <agarcia@igalia.com>
295 * examples/hildon-button-example.c (common_buttons_window): Don't
298 2009-02-18 Alberto Garcia <agarcia@igalia.com>
300 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
301 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
303 2009-02-18 Alberto Garcia <agarcia@igalia.com>
305 * src/hildon-gtk.c: Check that the window is realized.
307 Fixes: NB#102225 (Crash setting the progress indicator to a non
310 2009-02-17 Alberto Garcia <agarcia@igalia.com>
312 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
313 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
314 instead of modifying the one in the widget style.
316 Fixes: NB#101043 (Second row of all the command button are
317 displayed in transparent mode.)
319 2009-02-17 Alberto Garcia <agarcia@igalia.com>
321 * src/hildon-date-button.c
322 * src/hildon-time-button.c: Add gettext macros
324 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
326 * src/hildon-date-button.c (hildon_date_button_new):
327 * src/hildon-time-button.c (hildon_time_button_new_step):
328 Use new logical strings to set the button default title.
330 Fixes: NB#99915 (Date and Time options are not localised in Date
333 2009-02-16 Alejandro G. Castro <alex@igalia.com>
335 * src/hildon-pannable-area.c
336 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
337 the PANNING_THRESHOLD.
339 2009-02-16 Alejandro G. Castro <alex@igalia.com>
341 * src/hildon-pannable-area.c,
342 (hildon_pannable_area_class_init): Increased the maximum speed.
343 (hildon_pannable_area_get_property),
344 (hildon_pannable_area_set_property),
345 (hildon_pannable_area_timeout): Added a new low friction mode, it
346 allows the user avoid friction when launching the widget fast
347 enough. It is interesting to traverse long lists.
349 2009-02-16 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
352 (+hildon_stackable_window_delete_event): Ignore delete events if
353 the window is not the topmost one.
355 Fixes: NB#101698 (Back button long press and delete-event handling)
357 2009-02-16 Alejandro G. Castro <alex@igalia.com>
359 * src/hildon-pannable-area.c,
360 (hildon_pannable_area_motion_notify_cb): Removed the use of the
361 gtk-dnd-drag-threshold, it was too big. We have defined our own
362 dnd define and set a smaller value: PANNIG_THRESHOLD.
364 2009-02-16 Alberto Garcia <agarcia@igalia.com>
366 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
367 user-defined icons, use always the default one.
369 Fixes: NB#101916 (Do not allow custom icons on animation banner)
371 2009-02-13 Alejandro G. Castro <alex@igalia.com>
373 This patch was applied before but reverted because it caused
374 problems, we have changed the main condition and tested the
375 regressions we detected before and they work ok.
377 * src/hildon-pannable-area.c,
378 (hildon_pannable_area_get_topmost): Added a new parameter to
379 filter the the windows that do not include those events. Added
380 also a condition when finding the window to filter windows that do
381 not ask for those events.
382 (hildon_pannable_area_button_press_cb),
383 (hildon_pannable_area_button_release_cb),
384 (hildon_pannable_get_child_widget_at): Reviewed the call the the
385 topmost function, we have added the new parameter.
387 Fixes: NB#97458 (Pannable area prevents propagation of button
390 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
392 * tests/check-hildon-color-button.c (START_TEST): do not leak
395 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
397 * src/hildon-font-selection-dialog.c
398 (hildon_font_selection_dialog_get_preview_text): Return NULL
399 instead of FALSE on the g_return_val_if_fail().
401 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
403 * src/hildon-time-selector.c (hildon_time_selector_set_time):
404 * src/hildon-date-selector.c
405 (hildon_date_selector_select_current_date):
406 Do not compare unsigned integers to be greater than or equal 0,
407 because it's always TRUE.
409 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
411 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
412 (hildon_date_selector_constructor): Do not select the current
413 date until we are handle the "changed" signal, to avoid having bogus
414 elements in the days model.
416 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
418 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
419 for num_days, since _month_days() can return a negative value.
421 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
423 * src/hildon-caption.c (hildon_caption_size_allocate):
424 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
425 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
427 Initialize allocation variables to 0, to avoid eventually using
428 unitialized variables.
430 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
432 * src/hildon-bread-crumb-trail.c
433 (hildon_bread_crumb_trail_size_allocate):
434 * src/hildon-calendar.c (hildon_calendar_set_background):
435 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
436 * src/hildon-range-editor.c (hildon_range_editor_get_range):
437 * src/hildon-seekbar.c (hildon_seekbar_init):
438 * src/hildon-time-editor.c (hildon_time_editor_get_time):
439 * src/hildon-time-selector.c (hildon_time_selector_finalize):
440 * src/hildon-touch-selector-entry.c
441 (hildon_touch_selector_get_text_from_model):
442 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
443 * src/hildon-window.c (hildon_window_finalize):
445 Remove many unused variables.
447 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
449 * src/hildon-seekbar.c: (hildon_seekbar_init),
450 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
452 Remove unnecessary g_assert() calls.
454 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
456 * src/hildon-caption.c: (hildon_caption_expose),
457 (hildon_caption_set_property), (hildon_caption_init),
458 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
459 (hildon_caption_size_request), (hildon_caption_size_allocate),
460 (hildon_caption_forall), (hildon_caption_set_separator),
461 (hildon_caption_activate), (hildon_caption_set_child_expand),
462 (hildon_caption_set_label_text),
463 (hildon_caption_get_label_alignment):
465 Remove unnecessary g_assert() calls.
467 2009-02-12 Alberto Garcia <agarcia@igalia.com>
469 * src/hildon-banner.c
470 (hildon_banner_map, hildon_banner_init): Make banner temporary
471 before mapping it to avoid closing other temporary windows, but
472 make it non-temporary afterwards to avoid being closed by other
473 non-temporary windows.
474 (-hildon_banner_client_event, hildon_banner_init):
475 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
477 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
480 2009-02-11 Alberto Garcia <agarcia@igalia.com>
482 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
485 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
487 * src/hildon-remote-texture.c
488 * src/hildon-remote-texture.h
489 * src/hildon-remote-texture-private.h
490 * examples/hildon-remote-texture-example.c:
491 Updates/fixes to remote-texture and its example.
493 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
495 Patch by Mox Soini (ext-mox.soini@nokia.com)
497 * src/hildon-code-dialog.c: Update logical id.
498 * src/hildon-set-password-dialog.c: Update logical id.
500 Fixes: NB#100646 (Logical strings is shown for ok in set
501 password,Password needed dialogs)
503 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
506 * src/hildon-remote-texture.c
507 * src/hildon-remote-texture.h
508 * src/hildon-remote-texture-private.h
510 Added remote texture widget (for Clutter shared memory textures)
512 * examples/hildon-remote-texture-example.c
513 * examples/Makefile.am
514 Added example file for remote texture usage
516 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
518 * configure.ac: post release version bump.
519 * debian/changelog: version bump.
521 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
526 * configure.ac: Bump version.
527 * debian/changelog: Updates.
529 2009-02-06 Alberto Garcia <agarcia@igalia.com>
531 * src/hildon-date-selector.c (hildon_date_selector_init)
532 (hildon_date_selector_constructor): Don't connect to the "changed"
533 signal until the selector is completely constructed.
535 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
537 * src/hildon-touch-selector.c: (_create_new_column),
538 (hildon_touch_selector_append_column),
539 (hildon_touch_selector_set_column_selection_mode),
540 (hildon_touch_selector_set_active),
541 (hildon_touch_selector_select_iter):
542 Emit the HildonTouchSelector::changed signal every time selection
543 is changed in any of the methods above. This behavior was already
544 documented but not fully functional.
546 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
547 selection is programmatically changed)
549 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
551 * doc/hildon-sections.txt: Remove obsolete icon
552 sizes from here as well.
554 2009-02-05 Alberto Garcia <agarcia@igalia.com>
556 * examples/hildon-stackable-window-example.c (add_window): Remove
559 2009-02-05 Alberto Garcia <agarcia@igalia.com>
561 * src/hildon-app-menu.c
562 (hildon_app_menu_show): Check whether the parent window of a menu
563 is topmost before popping it up.
565 Fixes: NB#100468 (Application menu window is launched even when a
566 new secondary-window/dialog is pending to be shown/realized.)
568 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
570 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
573 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
575 Patch by Mox Soini (ext-mox.soini@nokia.com)
577 * src/hildon-banner.c: (hildon_banner_show_animation):
578 use stylus size instead of obsolete note size.
579 * src/hildon-defines.h: Update icon sizes.
581 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
583 * src/hildon-touch-selector-entry.c:
584 (hildon_touch_selector_entry_init): Disable unsupported
586 (hildon_touch_selector_entry_get_text_column): Emit a warning
587 if an unsupported input modes is used and explicitile state
588 these modes in the documentation.
590 Fixes: NB#99802 (Hildon touch selector entry not working properly
591 for some of the input modes)
593 2009-02-05 Alejandro G. Castro <alex@igalia.com>
595 * src/hildon-pannable-area.c,
596 (hildon_pannable_area_init): Added the changed signal handlers of
599 Fixes: NB#100320 (HildonPannableArea does not listen to
600 GtkAdjustment "change" signals)
602 2009-02-04 Alberto Garcia <agarcia@igalia.com>
604 * doc/hildon-sections.txt
605 * src/hildon-window-private.h
606 * src/hildon-window.h
607 * src/hildon-window.c (hildon_window_init)
608 (hildon_window_realize, hildon_window_unrealize)
609 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
610 (hildon_window_size_request, hildon_window_size_allocate)
611 (hildon_window_forall, hildon_window_show_all)
612 (hildon_window_destroy, +paint_edit_toolbar)
613 (+hildon_window_set_edit_toolbar):
614 New hildon_window_set_edit_toolbar() method, to add a
615 HildonEditToolbar to a window without having to pack it manually.
617 Reorganize hildon_window_size_allocate()
619 * src/hildon-edit-toolbar.c: Update documentation.
621 * examples/hildon-edit-toolbar-example.c (edit_window): Update
622 example to use the new API.
624 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
626 2009-02-04 Alberto Garcia <agarcia@igalia.com>
628 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
629 Remove from stack before calling parent's hide.
631 2009-02-04 Alberto Garcia <agarcia@igalia.com>
633 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
634 window is removed from the middle of the stack, update the
635 transiency of the previous one.
637 Fixes: NB#100487 (HildonStackableWindow transiency becomes
640 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
642 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
643 block/unblock the signal handler if it's not actually being used.
644 Fixes some critical warnings.
646 2009-02-02 Alberto Garcia <agarcia@igalia.com>
648 Based on a patch by Iván Gómez (igomez@igalia.com)
650 * src/hildon-banner.c
654 * src/hildon-pannable-area.c
655 * src/hildon-picker-dialog.c
656 * src/hildon-wizard-dialog.h
657 * src/hildon-wizard-dialog.c: Documentation updates.
659 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
660 gtk_dialog_add_button() instead of hildon_dialog_add_button().
662 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
664 * configure.ac: post release version bump.
665 * debian/changelog: version bump.
667 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
672 * configure.ac: Bump version.
673 * debian/changelog: Updates.
675 2009-01-29 Alberto Garcia <agarcia@igalia.com>
677 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
678 a stock icon nor change the relief of the back arrow.
680 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
683 2009-01-29 Alberto Garcia <agarcia@igalia.com>
685 * src/hildon-button.c (hildon_button_set_alignment): Use
686 priv->alignment if the button has no child yet.
688 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-button.c: (hildon_button_init): Set the
691 button style during initialization to give it the proper
694 Fixes: NB#99713 (HildonButton value label color is wrong)
696 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
698 * src/hildon-touch-selector.c: Document
699 hildon_touch_selector_center_on_selected()
701 2009-01-28 Alberto Garcia <agarcia@igalia.com>
703 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
704 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
705 all menu items, but not the menu itself.
706 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
707 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
708 items after adding them to the menu so keyboard accelerators work.
709 (hildon_app_menu_show): Don't show the menu if it contains items
710 but none of them are visible.
712 * examples/hildon-app-menu-example.c (create_menu): Use
713 gtk_widget_show_all() to show all menu items.
715 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
717 * src/hildon-picker-dialog.c:
718 (-_update_title_on_selector_changed_cb),
719 (-_dialog_update_title): Removed.
720 (_select_on_selector_changed_cb), (_on_dialog_response),
721 (on_selector_columns_changed): Do not update the dialog title.
722 (setup_interaction_mode): Do not connect to
723 HildonTouchSelector::changed signal if there's a "done" button, as
724 the dialog title doesn't need to be updated.
726 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
729 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
731 Patch by Kristian Rietveld (kris@imendio.com)
733 * src/hildon-touch-selector.c: (_create_new_column): Use new
734 GtkTreeView::hildon-row-tapped signal to react to user interactions
735 instead of ::changed.
737 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
738 with some dynamic tree model)
740 2009-01-27 Alberto Garcia <agarcia@igalia.com>
742 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
743 (+screen_size_changed, +label_size_request)
744 (hildon_note_class_init): Make the Hildon information note have a
745 minimum height, and make its text hvae a maximum width.
747 Fixes: NB#98614 (Hildon information note (background) should have
748 minimum height and maximum text width)
750 2009-01-26 Alberto Garcia <agarcia@igalia.com>
752 * src/hildon-banner.h
753 * src/hildon-banner.c (hildon_banner_show_information)
754 (hildon_banner_show_informationf)
755 (hildon_banner_show_information_with_markup): Update documentation
756 to reflect that the icon_name parameter is not used anymore.
757 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
758 Remove all code from these functions and mark them as deprecated.
759 (hildon_banner_show_progress): Mark as deprecated.
761 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
763 2009-01-26 Alejandro G. Castro <alex@igalia.com>
765 * src/hildon-pannable-area.c,
766 (hildon_pannable_area_class_init),
768 (hildon_pannable_draw_vscroll),
769 (hildon_pannable_draw_hscroll),
770 (hildon_pannable_area_expose_event): Added a new way to render the
771 scrollbars of the pannable area avoiding using cairo at all. This
772 way we improve the performance of the pannable area rendering. The
773 cairo rendering procedure is still in the code, we can control
774 which one to use changing the value of the define
775 USE_CAIRO_SCROLLBARS.
777 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
779 * configure.ac: post release version bump.
780 * debian/changelog: version bump.
782 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
787 * configure.ac: Bump version.
788 * debian/changelog: Updates.
790 2009-01-23 Alberto Garcia <agarcia@igalia.com>
792 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
793 banners instead of destroying them when they receive a button
796 2009-01-23 Alejandro G. Castro <alex@igalia.com>
798 Reverted commit 34028, it was causing regressions, probably the
799 topmost condition is not correct, we have to check it in more
800 detail. We have reponed the bug: NB#97458 (Pannable area prevents
801 propagation of button press events)
803 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
805 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
806 that the selection is not empty before attempting to retrieve the
807 current ampm selection.
809 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
811 * src/hildon-picker-button.c:
812 (hildon_picker_button_on_dialog_response): Directly update the
813 button contents when required instead of calling _selection_changed.
815 2009-01-23 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-program.c (hildon_program_update_top_most): Update
818 'is-topmost' property also when wm_hints is not set.
820 Fixes: NB#98383 (is-topmost signal is not emitted when task
821 switcher is clicked.)
823 2009-01-23 Alejandro G. Castro <alex@igalia.com>
825 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
829 * src/hildon-animation-actor.c,
830 * src/hildon-animation-actor.h: Added the animation actor class,
831 this widget represents an animation actor for WM-assisted
832 animation effects in the Hildon framework.
834 2009-01-23 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-window-stack-private.h
837 * src/hildon-window-stack.c
838 * src/hildon-stackable-window.c (hildon_stackable_window_show):
839 Avoid calling gtk_widget_show() again indirectly from
840 hildon_stackable_window_show()
842 2009-01-23 Alberto Garcia <agarcia@igalia.com>
844 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
847 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
849 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
850 (hildon_time_selector_init): Move the construction of the hours and
851 ampm columns to the constructor to preserve the order the columns
854 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
856 * src/hildon-picker-dialog.c:
857 (hildon_picker_dialog_class_init): Connect a realize method.
858 (+hildon_picker_dialog_realize): Setup the interaction mode here
860 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
861 yet, do it during the realize instead.
862 (_on_dialog_response):
863 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
864 if the widget is not realized, to avoid the dialog response before it
867 Avoid premature responses in the HildonPickerDialog that can cause it
868 to be hidden before it's even shown.
870 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
873 (on_selector_columns_changed), (requires_done_button),
874 (+prepare_action_area), (setup_interaction_mode),
875 (_hildon_picker_dialog_set_selector):
877 Split the interaction mode setup into preparation of the
878 action area (prepare_action_area()) and the connection of
879 the signals in setup_interaction_mode() and update the code to
882 2009-01-22 Alejandro G. Castro <alex@igalia.com>
884 * src/hildon-pannable-area.c,
885 (hildon_pannable_area_class_init): Reduced the amount of scrolls
886 per second to 15, we will check if this is ok regarding
889 2009-01-22 Alejandro G. Castro <alex@igalia.com>
891 * src/hildon-pannable-area.c,
892 (hildon_pannable_axis_scroll): Avoid resize if we already have
893 reached overshoot_max.
895 2009-01-22 Alejandro G. Castro <alex@igalia.com>
897 * src/hildon-pannable-area.c,
898 (hildon_pannable_area_init),
899 (hildon_pannable_area_realize),
900 (hildon_pannable_area_size_allocate),
901 (hildon_pannable_area_map),
902 (hildon_pannable_area_unmap),
903 (hildon_pannable_draw_vscroll),
904 (hildon_pannable_draw_hscroll),
905 (hildon_pannable_area_expose_event),
906 (hildon_pannable_area_refresh): Added a new GdkWindow to the
907 pannable are to avoid the expose events go to the window and
908 redraw the window. We save this way that part of the stack and the
909 paint_boxes. We had to change the positions of the elements when
912 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
914 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
915 * src/hildon-color-chooser-dialog.c:
916 (hildon_color_chooser_dialog_init):
917 * src/hildon-font-selection-dialog.c:
918 (hildon_font_selection_dialog_init),
919 (hildon_font_selection_dialog_show_preview):
920 * src/hildon-get-password-dialog.c:
921 * src/hildon-login-dialog.c:
922 * src/hildon-set-password-dialog.c:
923 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
924 * src/hildon-time-picker.c: (hildon_time_picker_init):
926 Remove obsolete logical string IDs and update to the appropriate ones.
928 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
930 2009-01-21 Alberto Garcia <agarcia@igalia.com>
932 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
933 that happens if the window hasn't been realized yet.
935 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
936 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
938 2009-01-20 Alberto Garcia <agarcia@igalia.com>
940 * src/hildon-app-menu.c (hildon_app_menu_class_init)
941 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
944 Fixes: NB#98537 (Device hangs in account settings dialog)
946 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
948 * configure.ac: post release version bump.
949 * debian/changelog: version bump
951 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
956 * configure.ac: Bump version.
957 * debian/changelog: Updates.
959 2009-01-20 Alejandro G. Castro <alex@igalia.com>
961 Added a new function to the HildonTimeButton widget that allows to
962 change the step of the minutes in the selector associated with the
963 button: hildon_time_button_new_step
965 * src/hildon-time-button.c,
966 (hildon_time_button_init),
967 (hildon_time_button_new),
968 (hildon_time_button_new_step):
969 * src/hildon-time-button.h: Added the new function and refactored
971 * examples/hildon-time-button-example.c,
972 (main): We have replaced the function without parameters with the
973 function with the steps set to 5
975 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
977 2009-01-20 Alejandro G. Castro <alex@igalia.com>
979 * src/hildon-time-selector.c,
980 (hildon_time_selector_class_init),
981 (hildon_time_selector_constructor),
982 (hildon_time_selector_get_property),
983 (hildon_time_selector_set_property),
984 (_create_minutes_model),
985 (hildon_time_selector_new_step),
986 (hildon_time_selector_set_time),
987 * src/hildon-time-selector.h: Added a new property to the
988 HildonTimeSelector (minutes-step), we use that property to control
989 the steps between the minutes in the list of the selector. We have
990 added a new function to the API to create a widget changing the
991 step: hildon_time_selector_new_step.
993 2009-01-20 Alejandro G. Castro <alex@igalia.com>
995 * src/hildon-time-selector.c,
996 (hildon_time_selector_class_init),
997 (hildon_time_selector_constructor),
998 (hildon_time_selector_init): Overrided the construct function when
999 creating the time selector object. We have moved the minutes model
1000 handling code from the init to the new construction function:
1001 hildon_time_selector_constructor.
1003 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1005 * examples/hildon-date-button-example.c: (main): Use the new
1006 hildon_date_button_new_with_year_range() method in the example.
1007 * src/hildon-date-button.c:
1008 (+hildon_date_button_new_with_year_range): New public method
1009 to conveniently create a HildonDateButton with a custom year range
1010 in its HildonDateSelector.
1011 * src/hildon-date-button.h: Add the new public method definition.
1013 Fixes: NB#97908 (Not possible to change the year range in
1014 HildonDateSelector/HildonDateButton)
1016 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-date-selector.c:
1019 (+hildon_date_selector_set_property),
1020 (+hildon_date_selector_get_property),
1021 (hildon_date_selector_class_init): Install new properties "min-year"
1022 and "max-year" to define boundaries for the year column.
1023 (_create_year_model): Use the boundary properties to populate the model.
1024 (+hildon_date_selector_new_with_year_range): New public method to
1025 create a HildonDateSelector with a user defined year range.
1026 (hildon_date_selector_select_current_date): Use the new boundaries to
1027 calculate the iterator of current year.
1028 * src/hildon-date-selector.h: Add the new public method definition.
1030 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1033 Install a constructor method.
1034 (+hildon_date_selector_construct_ui): construct the widget.
1035 (+hildon_date_selector_constructor): new constructor.
1036 (+hildon_date_selector_init): move out widget construction code to
1037 the new constructor.
1039 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1041 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1042 that there's actually a month or year selected before obtaining them.
1043 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1044 of the HildonTouchSelector::changed signal, as it was emitted on every
1045 single item selection.
1047 Fix some warnings and possible crashers due to the selection restoring.
1049 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1051 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1052 the signal handlers only after creating the dialog instead of on every
1055 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1057 * src/hildon-button.c (hildon_button_init)
1058 * src/hildon-check-button.c (hildon_check_button_init)
1059 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1060 focus when clicked by default.
1062 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1064 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1067 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1069 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1070 Alejandro G. Castro (alex@igalia.com)
1072 * src/hildon-picker-dialog.c:
1073 (hildon_picker_dialog_class_init): install new "center-on-show"
1075 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1076 (hildon_picker_dialog_set_property): add setter code for the new
1078 (hildon_picker_dialog_get_property): add getter code for the new
1080 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1081 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1084 Fixes: NB#92849 (Selected item is not always visible when
1085 HildonTouchSelector is shown)
1087 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1089 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1090 Alejandro G. Castro (alex@igalia.com)
1092 * src/hildon-touch-selector.c:
1093 (_create_new_column): Do not connect to the "realize" signal of the
1095 (hildon_touch_selector_append_column): center on the selected items
1096 when a new column is appended.
1097 (hildon_touch_selector_select_iter): Factor out the code to select a
1098 column to hildon_touch_selector_scroll_to().
1099 (+search_nearest_element): Method to retrieve the nearest selected
1100 element to the visible area of the pannable area in a column.
1101 (+on_realize_cb): scroll to the initially selected item.
1102 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1103 the pannable area is realized, otherwise delay this until it is.
1104 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1105 selected items of a given column.
1106 (+hildon_touch_selector_center_on_selected): Public method to center
1107 all columns on the nearest selected item.
1108 * src/hildon-touch-selector.h: Add definition for
1109 hildon_touch_selector_center_on_selected().
1111 Implement public API to ensure visibility of all selected items in
1112 a HildonTouchSelector.
1114 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1116 Fixed a problem in the fading when calling the scroll_to API, and
1117 improve scrollbar fading handling.
1119 * src/hildon-pannable-area.c,
1120 (hildon_pannable_area_grab_notify): avoid the timeout when the
1122 (hildon_pannable_area_button_press_cb),
1123 (hildon_pannable_area_motion_notify_cb): Code style changes.
1124 (hildon_pannable_area_button_release_cb): Review the conditions
1125 when releasing the mouse button to avoid unrequired fading
1127 (hildon_pannable_area_scroll_to): Do not calculate and set the
1128 velocity if the scroll is not required.
1130 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1133 Don't check whether the new selector is NULL: it cannot be.
1134 Hold a reference to the selector while doing the replacement.
1136 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1138 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1139 unnecessary size_request in a removed widget.
1141 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1143 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1144 an unnecessary reference tracking that was leaking.
1146 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1148 Added delayed motion notify event handling, this way we can
1149 discard redrawing if more than 25 events arrive per second.
1151 * src/hildon-pannable-area.c,
1152 (hildon_pannable_area_init): Initialized the new private atributes
1153 controlling this timeout
1154 (hildon_pannable_area_dispose): Remove the timeout that controls
1155 the motion notify events.
1156 (hildon_pannable_area_scroll): Added a condition to control the
1157 use of the acceleration.
1158 (hildon_pannable_area_motion_event_scroll_timeout),
1159 (hildon_pannable_area_motion_event_scroll): Added this two
1160 functions, they handle the motion notify events inside the
1162 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1163 to the scroll method with the new function.
1164 (hildon_pannable_area_button_release_cb): We have to remove the
1165 timeout handler and move to the last position if the last motion
1166 events were not handled.
1168 Fixes: NB#97028 (Pannable area updates on every motion event)
1170 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1172 * src/hildon-pannable-area.c,
1173 (hildon_pannable_area_get_topmost): Added a new parameter to
1174 filter the the windows that do not include those events. Added
1175 also a condition when finding the window to filter windows that do
1176 not ask for those events.
1177 (hildon_pannable_area_button_press_cb),
1178 (hildon_pannable_area_button_release_cb),
1179 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1180 topmost function, we have added the new parameter.
1182 Fixes: NB#97458 (Pannable area prevents propagation of button
1185 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1187 * src/hildon-pannable-area.c,
1188 (hildon_pannable_area_initial_effect): Added controls before
1189 launching the timeout and the idle functions.
1190 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1191 of the method, in some situations it can return with TRUE and 0 in
1193 (hildon_pannable_area_button_press_cb): We do not need to set
1194 DELAY for fading out here.
1196 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1198 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1200 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1201 post-cleaning if the selection is not NULL.
1203 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1205 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1206 all items before restoring the selection.
1208 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1210 * src/hildon-touch-selector.c:
1211 (+hildon_touch_selector_unselect_all):
1212 * src/hildon-touch-selector.h: New API to unselect all items in a
1213 column of the touch selector.
1215 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1217 * src/hildon-pannable-area.c,
1218 (hildon_pannable_area_redraw): Added a call to the refresh
1219 function inside the redraw because apparently in some cases the
1220 change in the adjustment does not imply a size allocate.
1222 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1223 despite the view not being scrollable)
1225 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1227 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1228 leak. Check for NULL before attempting to set the window title.
1230 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1232 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1233 whether to show or not the 'Done' button each time the dialog is
1234 shown, as it depends on the HildonTouchSelector selection mode.
1236 Fixes: NB#96226 (In multiple selection mode Done button is shown
1237 sometimes in listpicker)
1239 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1241 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1242 for the number of columns in the HildonTouchSelector more than once.
1244 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1246 * src/hildon-touch-selector.c: Minor documentation fixes.
1248 * src/hildon-picker-dialog.c (+_dialog_update_title)
1249 (_select_on_selector_changed_cb)
1250 (_update_title_on_selector_changed_cb)
1251 (on_selector_columns_changed): Update dialog title when there's no
1252 'Done' button and also when the number of columns in the selector
1256 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1257 (+_selection_changed, hildon_picker_button_on_dialog_response)
1258 (hildon_picker_button_selector_selection_changed)
1259 (+hildon_picker_button_selector_columns_changed)
1260 (hildon_picker_button_set_selector): Update button value and emit
1261 'value-changed' when the number of columns in the selector
1265 Fixes: NB#96225 (Dialog titles are not shown according to the
1266 values selected in the list picker)
1268 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1271 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1272 New "arrow-width" and "arrow-height" style properties to set the
1273 size of the arrow button.
1274 Set name of arrow button ("hildon-edit-toolbar-arrow").
1276 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1277 graphics from theme)
1279 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-picker-button.c:
1282 (hildon_picker_button_selector_selection_changed): Use
1283 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1284 the dialog is present.
1286 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1287 the selection is accepted in the dialog)
1289 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1291 * src/hildon-color-chooser.h
1292 * src/hildon-color-chooser-dialog.h:
1293 Added G_BEGIN_DECLS and G_END_DECLS
1295 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1297 (_clean_current_selection): plug a leak in the list.
1299 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1301 * src/hildon-picker-dialog.c:
1302 (+free_path_list): Method to free a GList of GtkTreePaths.
1303 (_clean_current_selection), (_save_current_selection),
1304 (_restore_current_selection): Save the current selection in
1305 as a list of lists, to support multiple selection properly.
1307 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1309 patch by Claudio Saavedra (csaavedra@igalia.com)
1311 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1312 Store the press position.
1313 (+hildon_text_view_button_release_event): If the release position is
1314 close enough to the press position, move the cursor here. Otherwise,
1316 (hildon_text_view_class_init): Override GtkTextView press, release, and
1317 motion event handlers, disabling this way text selection through
1318 pointer interaction, and allowing the container widget to handle the
1321 Fixes: NB#95828 (HildonTextView functionality)
1323 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1325 Based on a patch by Iván Gómez (igomez@igalia.com)
1327 * src/hildon-button.[ch]
1328 * src/hildon-calendar.c
1329 * src/hildon-check-button.c
1330 * src/hildon-date-editor.c
1331 * src/hildon-date-selector.c
1332 * src/hildon-picker-button.c
1333 * src/hildon-time-editor.c
1334 * src/hildon-time-selector.c
1335 * src/hildon-touch-selector.[ch]:
1336 Documentation updates
1338 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1340 * src/hildon-pannable-area.c,
1341 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1342 threshold, it was required due to X events handling.
1344 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1346 * src/hildon-pannable-area.c,
1347 (hildon_pannable_area_grab_notify),
1348 (hildon_pannable_area_initial_effect),
1349 (hildon_pannable_area_button_press_cb),
1350 (hildon_pannable_area_button_release_cb),
1351 (hildon_pannable_area_scroll_cb),
1352 (hildon_pannable_area_scroll_to): Review the timeout management of
1353 the scrollbar, the frecuency was incorrectly set.
1355 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1357 * src/hildon-picker-button.c:
1358 (+hildon_picker_button_on_dialog_response),
1359 (hildon_picker_button_clicked): Present the dialog instead of
1360 running it with gtk_dialog_run().
1362 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1365 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1367 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1368 (hildon_app_menu_finalize): When a window is hidden it doesn't
1369 emit notify::is-topmost, so make sure than the menu also
1370 disappears in that case.
1371 (parent_window_topmost_notify): Renamed from parent_window_hidden
1373 Fixes: NB#94460 (stackable window's menu is not closed when its
1376 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1378 * src/hildon-touch-selector-entry.c:
1379 (+hildon_touch_selector_entry_set_input_mode),
1380 (+hildon_touch_selector_entry_get_input_mode):
1381 * src/hildon-touch-selector-entry.h: New methods to access the input
1382 mode in the selector's entry.
1384 Fixes: NB#93410 (API required for setting IM mode in
1385 HildonTouchSelectorEntry)
1387 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1389 * configure.ac: post release version bump.
1390 * debian/changelog: version bump
1392 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1397 * configure.ac: Bump version.
1398 * debian/changelog: Updates.
1400 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1402 * src/hildon-touch-selector.c:
1403 (_hildon_touch_selector_has_multiple_selection): No need
1404 to initialize the variables here.
1406 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1408 * src/hildon-note-private.h
1409 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1410 (hildon_note_finalize, hildon_note_rebuild): Close information
1411 notes when they receive a button press.
1413 Fixes: NB#89890 (Information notes does not get disappeared after
1416 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1418 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1419 mark from the wizard title, as it's not really necessary. Also,
1420 do not display the page title if not set.
1422 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1424 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1425 (parent_window_hidden): Use the window's "is-topmost" property to
1426 detect when to hide the menu.
1428 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1430 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1431 (hildon_app_menu_finalize): If the parent window of the menu is
1432 hidden, hide the menu too.
1434 Fixes: NB#94460 (stackable window's menu is not closed when its
1437 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1440 * debian/libhildon1-examples.install
1442 * examples/Makefile.am:
1443 Use dh_install to install all examples.
1444 Use DEB_SRCDIR instead of defining SOURCE_DIR
1446 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1448 * configure.ac: post release version bump.
1449 * debian/changelog: version bump
1451 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1456 * configure.ac: bump version
1457 * debian/changelog: updates
1458 * debian/control: bump gtk+ dependency
1460 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1462 patch by Christian Dywan (christian@imendio.com)
1464 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1465 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1467 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1469 * src/hildon-check-button.c (hildon_check_button_init)
1470 (hildon_check_button_class_init, hildon_check_button_style_set)
1471 (hildon_check_button_apply_style):
1472 New "checkbox-size" style property.
1474 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1475 larger / configurable size)
1477 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1479 * configure.ac: post release version bump.
1480 * debian/changelog: version bump
1482 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1487 * configure.ac: bump version
1488 * debian/changelog: updates
1490 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1492 * doc/hildon-sections.txt
1493 * src/hildon-pannable-area.c
1494 * src/hildon-program.c
1495 * src/hildon-time-editor.c
1496 * src/hildon-touch-selector-entry.c:
1498 More documentation updates.
1500 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1502 * doc/hildon-sections.txt
1503 * src/hildon-caption.c
1504 * src/hildon-code-dialog.c
1505 * src/hildon-color-button.c
1506 * src/hildon-controlbar.c
1507 * src/hildon-date-editor.c
1508 * src/hildon-date-selector.c
1509 * src/hildon-edit-toolbar.c
1510 * src/hildon-find-toolbar.c
1511 * src/hildon-font-selection-dialog.c
1513 * src/hildon-program.c
1514 * src/hildon-range-editor.c
1515 * src/hildon-seekbar.c
1516 * src/hildon-time-editor.c
1517 * src/hildon-time-selector.c
1518 * src/hildon-volumebar-range.c
1519 * src/hildon-volumebar.c
1520 * src/hildon-vvolumebar.c
1521 * src/hildon-weekday-picker.c
1522 * src/hildon-window.c
1523 * src/hildon-wizard-dialog.c:
1525 Lots of documentation fixes.
1527 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1529 Patch contributed by Iván Gómez (igomez@igalia.com)
1531 * src/hildon-check-button.c:
1532 * src/hildon-date-button.c:
1533 * src/hildon-date-selector.c:
1534 * src/hildon-dialog.c:
1535 * src/hildon-edit-toolbar.c:
1536 * src/hildon-entry.c:
1537 * src/hildon-picker-button.c:
1538 * src/hildon-program.c:
1539 * src/hildon-text-view.c:
1540 * src/hildon-time-button.c:
1541 * src/hildon-touch-selector-entry.c:
1542 * src/hildon-window-stack.c:
1544 Add more "since" tags to the new API.
1546 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1548 * doc/hildon-sections.txt: Add below method.
1549 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1550 version for the hildonized scale.
1551 * src/hildon-gtk.h: Add the definition.
1553 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1555 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1557 * doc/hildon-sections.txt: Add missing entries for new methods.
1559 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1561 Added API to pannable are in order to get its adjustments. We
1562 added two properties to manage the values we had in the private
1565 * src/hildon-pannable-area.c:
1566 (hildon_pannable_area_class_init): Added hadjustment and
1567 vadjustment properties in order to expose horizontal and vertical
1569 (hildon_pannable_area_get_property),
1570 (hildon_pannable_area_set_property): Added code to handle the new
1572 (hildon_pannable_area_get_hadjustment),
1573 (hildon_pannable_area_get_vadjustment): API functions to get the
1575 * src/hildon-pannable-area.h:
1576 (hildon_pannable_area_get_hadjustment),
1577 (hildon_pannable_area_get_vadjustment): API functions to get the
1580 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1582 Fixed some leaks, after valgrinding.
1584 * src/hildon-touch-selector.c:
1585 (_default_print_func): Fixed a leak.
1586 (hildon_touch_selector_append_column): Fixed a leak.
1587 * src/hildon-date-button.c:
1588 (hildon_date_button_init): Fixed a leak.
1589 * src/hildon-date-selector.c
1590 (hildon_date_selector_finalize): Fixed a leak.
1592 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1594 Based on a patch by Christian Dywan (christian@imendio.com)
1596 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1598 * src/hildon-gtk.h: Add definition.
1600 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1602 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/hildon-picker-button.c: (hildon_picker_button_init),
1605 (hildon_picker_button_new): Set the HildonButton::style property
1606 in the init method, to propagate the value to the derived classes.
1608 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1610 * src/hildon-button.c: (hildon_button_class_init): Do not make
1611 the "style" property a construct property.
1613 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1615 * src/hildon-wizard-dialog.h
1616 * src/hildon-wizard-dialog.c
1617 (hildon_wizard_dialog_set_forward_page_func)
1618 * src/hildon-pannable-area.h
1619 * src/hildon-pannable-area.c
1620 (hildon_pannable_area_set_size_request_policy):
1621 Documentation fixes.
1623 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1625 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1627 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1629 * doc/hildon-sections.txt: Added sections file.
1631 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1634 * src/*.[ch]: Updates.
1636 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1638 * examples/hildon-progress-indicator-example.c: new file
1639 * examples/Makefile.am: include the new example program
1641 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1643 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1645 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1647 * configure.ac: post release version bump
1648 * debian/changelog: version bump
1650 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1655 * configure.ac: bump version
1656 * debian/changelog: updates
1657 * debian/control: bump gtk+ dependency
1659 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1661 * src/hildon-dialog.c: Mark as deprecated.
1662 * src/hildon-dialog.h: Mark as deprecated.
1663 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1664 from HildonDialog and still work, even if
1665 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1666 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1668 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1669 maemo changes) instead)
1671 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1673 * src/hildon-pannable_area.h:
1674 * src/hildon-pannable_area.c:
1675 (hildon_pannable_area_class_init),
1676 (hildon_pannable_area_set_property),
1677 (hildon_pannable_area_get_property),
1678 (hildon_pannable_area_size_request),
1679 (hildon_pannable_area_get_size_request_policy),
1680 (hildon_pannable_area_set_size_request_policy): Added new API
1681 allowing applications to control the request policy. Now they can
1682 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1683 children allocation (HILDON_MOVEMENT_CHILDREN).
1685 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1689 (hildon_gtk_tree_view_set_ui_mode)
1690 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1691 mode of treeviews and iconviews.
1693 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1695 * src/hildon-touch-selector-entry.c:
1696 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1697 of a GtkEntry to get proper theming.
1699 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1700 widget, not GtkEntry)
1702 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1704 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1705 no HildonWizardDialogPageFunc.
1707 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1709 Patch contributed by Iván Gómez (igomez@igalia.com)
1711 * src/hildon-app-menu.c:
1712 * src/hildon-button.c:
1713 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1714 * src/hildon-stackable-window.c:
1715 * src/hildon-time-selector.c:
1716 * src/hildon-touch-selector.c:
1717 * src/hildon-window.c:
1719 Add more "since" tags to the new API in hildon 2.2.
1721 2008-12-05 Tim Janik <timj@imendio.com>
1723 Patch contributed by Christian Dywan (christian@imendio.com)
1725 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1726 HildonSizeType, which are supplied by Gtk+ now.
1728 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1730 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1731 (with maemo changes) instead)
1733 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1735 Patch contributed by Iván Gómez (igomez@igalia.com)
1737 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1740 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1742 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1743 (some_page_func), (main): Update the example to use a
1744 HildonWizardDialogPageFunc function.
1746 * src/hildon-wizard-dialog-private.h: Add private data for
1747 the HildonWizardDialogPageFunc function usage.
1749 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1750 (destroy), (hildon_wizard_dialog_init), (response),
1751 (hildon_wizard_dialog_set_forward_page_func):
1752 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1753 that applications can use to stop a HildonWizardDialog to jump to
1756 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1759 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1761 * src/hildon-program.h
1762 * src/hildon-program-private.h
1763 * src/hildon-program.c (hildon_program_init)
1764 (hildon_program_set_common_app_menu)
1765 (hildon_program_get_common_app_menu):
1766 New API for setting a common HildonAppMenu for all
1767 HildonStackableWindows registered with the HildonProgram.
1769 * src/hildon-stackable-window.c
1770 (hildon_stackable_window_toggle_menu):
1771 Use the common HildonAppMenu if a window doesn't have a specific
1774 * src/hildon-app-menu-private.h
1775 * src/hildon-app-menu.c
1776 (hildon_app_menu_get_parent_window):
1777 Function to obtain the window a HildonAppMenu is attached to.
1778 (hildon_app_menu_set_parent_window):
1779 Hide the menu if the parent window is set to NULL.
1781 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1784 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1785 search widget to popup.
1787 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1789 * configure.ac: post release version bump
1790 * debian/changelog: version bump
1792 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1797 * configure.ac: bump version
1798 * debian/changelog: updates
1800 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1802 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1804 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1805 (hildon_window_stack_window_realized)
1806 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1807 Set the leader GdkWindow when a window is stacked and realized,
1808 unset it when it's unstacked.
1809 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1811 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1813 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1815 * src/hildon-stackable-window.h
1816 * src/hildon-window-stack.h:
1817 Protect definition of HildonWindowStack using the preprocessor.
1819 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1821 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1822 Fix warning if all menu items are hidden.
1824 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1826 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1828 * src/hildon-controlbar.c:
1829 * src/hildon-hvolumebar.c:
1830 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1831 Multiple scale size defines updates.
1833 Fixes: NB#94322 (Scale Updates)
1835 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1837 * examples/hildon-app-menu-example.c (create_menu)
1838 Show items after adding them to the menu, as in the future the
1839 menu will no longer call gtk_widget_show() on the added items.
1841 * src/hildon-app-menu.c:
1842 Update example as explained above.
1844 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1846 * src/hildon-app-menu.c
1847 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1848 Make sure that all menu items have finger height.
1850 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1852 * src/hildon-picker-dialog.c:
1853 (_on_dialog_response), (_save_current_selection),
1854 (_restore_current_selection), (_clean_current_selection),
1855 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1856 Defined new functions in order to save the current internal selector
1857 selection previous open the dialog, in case that the use cancel the
1858 interaction, so the widget restores the previous selection.
1860 Fixes: NB#92032 (In calendar application, date values in 'new event'
1863 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1865 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1867 * src/hildon-button.c: Add a reference to the button examples in
1868 hildon-button-example.c
1870 * examples/hildon-button-example.c: Added examples of the most
1871 common button layouts.
1873 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1875 * src/hildon-app-menu.c (hildon_app_menu_show)
1876 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1878 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1880 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-picker-dialog.c:
1883 (hildon_picker_dialog_init): Initialize the signal id for
1884 HildonTouchSelector::columns-changed.
1885 (+on_selector_columns_changed): Set up the interaction mode everytime a
1886 column is added or removed from the HildonTouchSelector.
1887 (_hildon_picker_dialog_set_selector): Connect to
1888 HildonTouchSelector::columns-changed and keep track of it.
1890 Make sure to update the interaction mode of the dialog everytime a
1891 column is added or removed in the HildonTouchSelector.
1893 Fixes: NB#93228 (Done button is not shown always in listpicker)
1895 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1897 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1898 a new ::columns-changed signal.
1899 (hildon_touch_selector_append_column): Emit ::columns-changed.
1900 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1902 Add a ::columns-changed signal, emitted when the number of columns in a
1903 HildonTouchSelector changes.
1905 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1908 (_hildon_picker_dialog_set_selector): Factor out the code
1909 to set up the dialog interaction mode.
1911 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1913 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1914 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1915 to signal_changed_id.
1917 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1919 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1922 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1924 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1925 Updated the logical ids related to ampm format, as now it is required to
1926 show it correctly localized even on languages with no default
1927 abbreviations for am or pm
1928 (_check_am_pm_format): check correctly the 24h format gconf property
1930 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1932 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1934 * src/hildon-button.c: Documentation updates.
1936 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1938 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1939 * src/hildon-caption.c: (hildon_caption_class_init):
1940 * src/hildon-color-button.c: (hildon_color_button_class_init):
1941 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1942 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1943 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1944 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1946 Remove deprecated GTK+ marshalers and replace them with the ones
1947 provided by GLib, for those available, add a marshaler for
1948 BOOLEAN:VOID, which is not available in GLib, and use it.
1950 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1952 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1953 the text from the previous column if there is no
1954 HildonTouchSelectorColumn::text-property set.
1956 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-button.h
1959 * src/hildon-button.c (hildon_button_set_property)
1960 (hildon_button_get_property, hildon_button_class_init)
1961 (hildon_button_set_style, hildon_button_get_style):
1962 New "style" property to change the visual appearance of the
1965 * src/hildon-picker-button.c (hildon_picker_button_new):
1966 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1968 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1969 HildonButton look like PickerButton)
1971 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1973 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1974 column while building the default string.
1976 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1978 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1979 scroll indicator by default.
1981 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1983 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-main.c: Fix the documentation for hildon_init()
1987 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1989 * doc/hildon-docs.sgml
1993 * src/hildon-window-stack-private.h
1994 * src/hildon-window-stack.h
1995 * src/hildon-window-stack.c:
1996 New HildonWindowStack object, that adds support for multiple
1997 stacks of windows per process.
1999 * src/hildon-stackable-window-private.h
2000 * src/hildon-stackable-window.h
2001 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
2002 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
2003 (hildon_stackable_window_show, hildon_stackable_window_hide)
2004 (hildon_stackable_window_class_init)
2005 (hildon_stackable_window_init):
2006 Use HildonWindowStack for stack management.
2008 * src/hildon-program.c (hildon_program_pop_window_stack)
2009 (hildon_program_peek_window_stack)
2010 (hildon_program_go_to_root_window):
2011 Add a fallback implementation to the deprecated functions using
2014 * examples/hildon-stackable-window-example.c:
2015 Use the new HildonWindowStack API.
2017 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2019 * src/hildon-stackable-window-private.h
2020 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2021 (hildon_stackable_window_hide, hildon_stackable_window_init):
2022 Remove all window stack management.
2024 * src/hildon-program-private.h
2025 * src/hildon-program.h
2026 * src/hildon-program.c (hildon_program_init)
2027 (hildon_program_pop_window_stack)
2028 (hildon_program_peek_window_stack)
2029 (hildon_program_go_to_root_window):
2030 Remove all window stack management and mark functions as
2033 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2035 * src/hildon-app-menu.c (hildon_app_menu_realize):
2036 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2038 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2040 * configure.ac: post release version bump
2041 * debian/changelog: version bump
2043 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2048 * configure.ac: bump version
2049 * debian/changelog: updates
2051 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2053 Based on initial code by Christian Dywan (christian@imendio.com)
2055 * doc/hildon-docs.sgml: Add section for hildon-main.
2056 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2057 * src/Makefile.am: Add new hildon-main.[ch]
2058 * src/hildon-defines.h: Update the icon sizes.
2059 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2060 new library initialization files and register icon sizes.
2061 * src/hildon-main.h: New declarations.
2062 * src/hildon.h: Include hildon-main.h
2064 Add new initialization functions to the library. These methods
2065 will register the hildon specific icon sizes and can be used in the
2066 future for other hildon specific bits.
2068 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2070 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-window.c: (hildon_window_realize),
2073 (hildon_window_notify), (-hildon_window_update_title): Do not set
2074 the application name in the window title.
2076 Fixes: NB#89754 (Applications shouldn't display their names in the
2079 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-note-private.h:
2082 * src/hildon-note.c: (hildon_note_set_property),
2083 (hildon_note_get_property), (hildon_note_class_init),
2084 (hildon_note_init), (hildon_note_finalize),
2085 (hildon_note_new_confirmation_with_icon_name),
2086 (hildon_note_new_information_with_icon_name):
2088 No need to mark as deprecated the actual code. Revert
2089 to avoid missing symbols in widgets using deprecated API.
2091 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2093 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2095 * src/hildon-volumebar.h
2096 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2097 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2099 * src/hildon-helper.h
2100 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2101 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2103 * examples/Makefile.am:
2104 Deprecate hildon-insensitive-example
2106 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2108 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2110 * examples/hildon-pannable-area-buttons-scroll-example.c:
2111 Make all buttons finger height
2113 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2115 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2117 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2118 update the day model only if it is really required, and to avoid the
2119 full-reconstruction aproach. Now it only add or remove the required days.
2121 The purpose of this is avoid superfluous HildonTouchSelector::changed
2124 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2125 with strange parameters)
2127 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2129 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2131 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2132 the WINDOW_TYPE property.
2134 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2136 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2139 Fix dependency to allow parallel compilation with make -jX
2141 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2143 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2144 color frame and some minor tweaks to make it more consistent with
2147 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2148 highlighted but not visible)
2150 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2152 * examples/Makefile.am: Fixed typo in the Makefile.am.
2154 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2156 Reviewed the use of MAEMO_GTK define, now we add the define in the
2157 compilation line, and we also add it to the pc file.
2159 * configure.ac: Added MAEMO_GTK define to the compilation command
2160 and removed it from the config.h.
2162 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2163 do not have to take care about this define if the library was
2167 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2169 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2171 * examples/Makefile.am,
2172 * examples/hildon-pannable-area-buttons-scroll-example.c,
2173 * examples/hildon-pannable-area-gesture-signals-example.c,
2174 * examples/hildon-pannable-area-scroll-jump-example.c,
2175 * examples/hildon-pannable-area-tree-view-example.c:
2176 Renamed the pannable area examples, now they have more meaningful
2179 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2181 * src/hildon-touch-selector.c:
2182 (hildon_touch_selector_set_column_selection_mode): Used of
2183 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2184 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2185 to avoid re-seting the same selection mode.
2187 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2188 breaks HildonPickerDialog)
2190 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2192 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2193 conditional in the Makefile.am
2195 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2197 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2198 Remove unused methods.
2200 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2202 * src/hildon-button.c (hildon_button_init):
2203 Make button images center-aligned by default
2205 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2208 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2209 activated, we have to think about how to deal with both defines
2210 MAEMO_GTK and MAEMO_CHANGES.
2212 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2214 * examples/hildon-app-menu-example.c (create_menu): Make all
2215 buttons finger size.
2217 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2219 Fixed the compilation without maemo gtk adding ifdefs with
2220 MAEMO_GTK define to the code, we have to check this version more
2223 * examples/Makefile.am: Added control to avoid some examples that
2224 just make sense with maemo gtk.
2227 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2228 hildon modes with the define.
2230 * examples/hildon-edit-toolbar-example.c,
2231 (create_icon_view): Create the icon view without hildon-gtk
2232 helpers if we are not using maemo gtk.
2234 * src/hildon-touch-selector.c,
2235 (_create_new_column): Create the treeview without hildon-gtk
2236 helpers if we are not using maemo gtk.
2238 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2240 * src/hildon-pnnable-area.c,
2241 (hildon_pannable_area_dispose),
2242 (hildon_pannable_area_button_press_cb),
2243 (hildon_pannable_area_child_mapped),
2244 (hildon_pannable_area_add),
2245 (hildon_pannable_area_remove): Added code to control the position
2246 of the event_window when adding and removing children from the
2247 pannable. We have to raise the event window when the child is
2250 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2251 selection mode using custom widget inside pannable)
2253 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2255 * configure.ac: post release version bump
2256 * debian/changelog: version bump
2258 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2263 * configure.ac: bump version
2264 * debian/changelog: updates
2266 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2268 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2269 search mode, in order to avoid lose the focus on the treeview when
2270 a hw key (like enter) is pressed.
2272 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2273 in HildonDateSelector dialog)
2275 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2277 * debian/rules: Added --enable-maintainer-mode
2278 * Makefile.am: Added ACLOCAL_AMFLAGS
2280 This allows to properly regenerate the Makefiles if you modify the
2281 configure.ac or any Makefile.am.
2283 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2285 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2286 properties, not needed at all.
2288 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2290 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2292 * src/hildon-note.c: (hildon_note_set_property),
2293 (hildon_note_get_property), (hildon_note_class_init),
2294 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2295 (hildon_note_new_confirmation_add_buttons): Remove icons.
2296 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2297 (hildon_note_new_information_with_icon_name): Deprecate.
2298 (hildon_note_new_confirmation): Act directly, without calling
2299 the deprecated constructor.
2300 (hildon_note_new_information): Act directly, without calling
2301 the deprecated constructor.
2302 * src/hildon-note.h: Mark deprecate methods as such.
2303 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2304 not run tests on the deprecated methods if built with deprecation
2307 Fixes: NB#91688 (Never show icons in information notes/confirmation
2310 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2312 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2313 (hildon_app_menu_key_press): Remove leftover usage of the
2314 private structure in HildonAppMenu struct.
2315 * src/hildon-app-menu.h: Remove leftover private structure
2316 from the HildonAppMenu struct.
2318 Fixes a crasher when using the HildonAppMenu.
2320 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-picker-dialog.c: Use appropriate logical id
2323 for the default "Done" text.
2325 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2327 * configure.ac: post release version bump
2328 * debian/changelog: version bump
2330 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2332 Modified the way to scroll to the current selection just when the touch
2333 selector is shown on the screen, avoiding a g_idle. Added too a property
2334 to configure this behaviour. See hildon_pannable_area_jump_to_child
2335 documentation for more information.
2337 * src/hildon-touch-selector.c
2338 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2339 Added 'initial-scroll' property
2340 (hildon_touch_selector_set_property): Added
2341 (hildon_touch_selector_map): Removed as not required anymore
2342 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2343 only a concrete column, instead of iterate along all the columns
2345 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2350 * configure.ac: bump version
2351 * debian/changelog: updates
2353 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2355 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2356 compilation time warnings.
2358 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2361 the default value for HildonPannableArea::mov-mode to
2362 HILDON_PANNABLE_AREA_MODE_VERT.
2364 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2366 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2368 Reverting following commit:
2370 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-app-menu-private.h
2373 * src/hildon-app-menu.[ch]
2374 * src/hildon-button.[ch]
2375 * src/hildon-check-button.[ch]
2376 * src/hildon-entry.[ch]
2377 * src/hildon-pannable-area.[ch]
2378 * src/hildon-text-view.[ch]:
2379 Added private field to the object's structure.
2381 because it causes an ABI breakage. We will need to introduce these
2382 changes later at some point. See NB#91636 for an extensive
2383 explanation and status.
2385 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2387 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2389 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2390 remove special cases that are no longer necessary.
2392 Fixes: NB#91016 (Change toolbar sizes, simplification)
2394 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2396 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2397 is shown in the cancel note.
2399 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2401 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2402 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2403 (hildon_seekbar_init): Remove steppers, remove expose event.
2404 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2406 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2408 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2410 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2411 label font to "SmallSystemFont" for vertically arranged buttons.
2413 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2416 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-check-button.c
2419 (hildon_check_button_set_active, hildon_check_button_clicked):
2420 Don't access private parts directly, use getters instead.
2422 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-check-button.c (hildon_check_button_new):
2425 Align the contents of the check button to the left.
2427 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2429 * src/hildon-pannable-area.c,
2430 (hildon_pannable_area_scroll_to),
2431 (hildon_pannable_area_jump_to),
2432 (hildon_pannable_area_scroll_to_child),
2433 (hildon_pannable_area_jump_to_child): Replace the mapped
2434 precondition of these functions with the realized, it is the
2435 correct state of the widget in this case. Changed the
2436 documentation according to this modification.
2438 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2440 Added a new EXTRA_CFLAGS option to add the deprecated define to
2441 the compilation command. This way we can avoid using the define in
2442 the documentation compilation.
2444 * configure.ac: Defined EXTRA_CFLAGS.
2446 * examples/Makefile.am:
2448 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2450 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2452 * src/hildon-picker-dialog.c:
2453 Defined a utility macro with the desired touch selector height
2454 Removed currently unused separator, and title_label variables from
2456 (hildon_picker_dialog_init): Removed code related to the creation
2457 of unused private variables title_label and separator.
2458 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2459 to ensure correct visualization of the touch selector inside the dialog.
2460 * src/hildon-touch-selector.c
2461 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2462 ensure a concrete height of the widget.
2464 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2467 * tests/Makefile.am:
2469 Remove spurious whitespaces.
2471 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2473 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2474 compilation warning after the cancel button removal.
2476 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2478 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2480 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2481 Makefile.am, that way we can choose not to compile some examples
2482 and tests of the deprecated widgets.
2484 * examples/Makefile.am: Divided the sources in deprecated and
2487 * src/Makefile.am: Added undef statement of the deprecated
2488 symbol to the enums file generation process.
2490 * src/hildon-color-chooser-dialog.c
2491 * src/hildon-color-chooser-dialog.h
2492 * src/hildon-color-button.c
2493 * src/hildon-color-button.h
2494 * src/hildon-color-chooser.c
2495 * src/hildon-color-chooser.h
2496 * src/hildon-controlbar.c
2497 * src/hildon-controlbar.h
2498 * src/hildon-date-editor.c
2499 * src/hildon-date-editor.h
2500 * src/hildon-hvolumebar.c
2501 * src/hildon-hvolumebar.h
2502 * src/hildon-private.c
2503 * src/hildon-private.h
2504 * src/hildon-range-editor.c
2505 * src/hildon-range-editor.h
2506 * src/hildon-seekbar.c
2507 * src/hildon-seekbar.h
2508 * src/hildon-time-editor.c
2509 * src/hildon-time-editor.h
2510 * src/hildon-time-picker.c
2511 * src/hildon-time-picker.h
2512 * src/hildon-volumebar.c
2513 * src/hildon-volumebar.h
2514 * src/hildon-vvolumebar.c
2515 * src/hildon-vvolumebar.h
2516 * src/hildon-bread-crumb-trail.h
2517 * src/hildon-bread-crumb-trail.c
2518 * src/hildon-calendar-popup.c
2519 * src/hildon-calendar-popup.h
2520 * src/hildon-weekday-picker.c:
2521 * src/hildon-weekday-picker.h:
2522 * src/hildon-bread-crumb-widget.c:
2523 * src/hildon-bread-crumb-widget.h:
2524 * src/hildon-bread-crumb.c:
2525 * src/hildon-bread-crumb.h:
2526 * src/hildon-calendar.c:
2527 * src/hildon-calendar.h:
2528 * src/hildon-caption.c:
2529 * src/hildon-code-dialog.c:
2530 * src/hildon-code-dialog.h:
2531 * src/hildon-font-selection-dialog.c:
2532 * src/hildon-font-selection-dialog.h:
2533 * src/hildon-get-password-dialog.c:
2534 * src/hildon-get-password-dialog.h:
2535 * src/hildon-login-dialog.c:
2536 * src/hildon-login-dialog.h:
2537 * src/hildon-number-editor.c:
2538 * src/hildon-number-editor.h:
2539 * src/hildon-set-password-dialog.c:
2540 * src/hildon-set-password-dialog.h:
2541 * src/hildon-sort-dialog.c:
2542 * src/hildon-sort-dialog.h: This is the list of deprecated
2545 * src/hildon-touch-selector.c:
2546 * src/hildon-window.c: Added undef statement to avoid compilation
2549 * tests/Makefile.am: Divided the sources in deprecated and
2552 * tests/check_test.c,
2553 (configure_tests): Marked the deprecated code that was adding
2554 suites with deprecated tests.
2556 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2558 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2560 * src/hildon-touch-selector.c: (_default_print_func): Do not
2561 duplicate a string returned by gtk_tree_model_get(), it is already
2564 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2567 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2569 * src/hildon-pannable-area.c
2570 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2571 method, it had problems when adding a widget with viewport the
2572 second time. Now checks if it already has a viewport and uses it.
2574 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2577 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2579 * src/hildon-pannable-area.c,
2580 (hildon_pannable_area_scroll_to),
2581 (hildon_pannable_area_jump_to),
2582 (hildon_pannable_area_scroll_to_child),
2583 (hildon_pannable_area_jump_to_child): Added a precondition to the
2584 scroll and jump to functions: the widget must be mapped before we
2585 can safely call these functions. We have also added documentation
2586 to the functions to explain how to use them in this situation.
2589 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2591 Reviewed the threading handling of the pannable widget, we have
2592 used the gdk_threads_add_timeout function instead of the usual
2593 glib handlers. This avoids some problems with the threads.
2595 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2596 (hildon_pannable_area_initial_effect),
2597 (hildon_pannable_area_scroll_indicator_fade),
2598 (hildon_pannable_area_button_press_cb),
2599 (hildon_pannable_area_timeout),
2600 (hildon_pannable_area_motion_notify_cb),
2601 (hildon_pannable_area_button_release_cb),
2602 (hildon_pannable_area_scroll_cb),
2603 (hildon_pannable_area_scroll_to): Removed the
2604 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2605 gdk_threads_add_timeout.
2607 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2609 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2614 * configure.ac: bump version
2615 * debian/changelog: updates
2617 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2620 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2621 * src/hildon-color-chooser-dialog.c:
2622 (hildon_color_chooser_dialog_init):
2623 * src/hildon-font-selection-dialog.c:
2624 (hildon_font_selection_dialog_init):
2625 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2627 Remove all cancel/close-like dialogs, as these are not going to be
2630 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2632 * src/hildon-note.c: (hildon_note_rebuild),
2633 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2636 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2638 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2641 sure all buttons are shown, even the Cancel/Close-like ones.
2643 Fixes: NB#90861 (Custom Confirmation dialogs should be
2644 protected from cancel button removal)
2646 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2648 * debian/control: Change libhildon1-examples dependency from libhildon1
2650 * debian/libhildon1-examples.install
2652 * Makefile.am: Modified the final install directory for the examples on
2653 package libhildon1-examples
2654 * Makefile.static: Update clean target in order to remove all the binary
2657 Changes suggested by Claudio after review new libhildon1-examples package
2659 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2661 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2662 * src/hildon-touch-selector.c: Ditto.
2664 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2666 * debian/control: Added new package libhildon1-examples, in order to pack
2667 the current hildon examples as documentation
2668 * debian/rules: Not to compress .c files, modify some includes on the
2669 examples (as normally are compiled locally, but when installed it will
2670 require to include the installed libhildon1 library), and rename
2672 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2673 install all the example files on the new example package
2674 * examples/Makefile.static: Added static makefile that can be used to
2675 compile the examples, once installed the new example package
2676 * examples: Most of the examples were modified in order to grant that
2677 all use only '#include "hildon.h"', in order to be easy to prepare
2678 it on the example package
2680 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2683 * debian/libhildon1-dev.install
2684 * debian/libhildon1-doc.install:
2685 Move all gtk-doc files to a separate libhildon1-doc package.
2687 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2689 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2693 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2695 * debian/rules: Fixed a error in order to avoid unnecessary calls
2696 to autogen.sh on package building
2698 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2700 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2702 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2704 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2707 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-picker-button.c
2710 (hildon_picker_button_finalize):
2711 Free priv->done_button_text
2713 * src/hildon-time-button.c
2714 (hildon_time_button_set_time)
2715 * src/hildon-picker-button.c
2716 (hildon_picker_button_clicked)
2717 (hildon_picker_button_selector_selection_changed)
2718 (hildon_picker_button_set_selector)
2719 * src/hildon-date-button.c
2720 (hildon_date_button_set_date):
2721 Free strings returned by hildon_touch_selector_get_current_text()
2723 * src/hildon-button.c (hildon_button_construct_child):
2724 Fix leaks in priv->image and priv->label_box
2726 Fixes: NB#90535 (Memory leak in picker button)
2728 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-button.c: (hildon_button_get_property): Do not access
2731 private elements directly, use getters instead.
2733 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2735 * src/hildon-app-menu-private.h
2736 * src/hildon-app-menu.c
2737 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2738 Store the menu's parent window.
2740 * src/hildon-stackable-window.c
2741 (hildon_stackable_window_toggle_menu)
2742 (hildon_stackable_window_finalize):
2743 Set the menu's parent window when the menu is shown, unset it when
2746 * src/hildon-app-menu.c
2747 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2748 (hildon_app_menu_class_init):
2749 Send unhandled keyboard accelerators to the parent window.
2751 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-stackable-window.c
2754 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2756 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: post release version bump
2760 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2763 * configure.ac: Bump version
2764 * debian/changelog: Updates
2765 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2768 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2770 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2773 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2774 GtkMenu with Hildon style.
2776 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-picker-button.c:
2779 (hildon_picker_button_set_done_button_text): Set the dialog's
2780 done button text here as well.
2782 Fixes: NB#90232 (Picker button does not set the label on done button
2783 for the second time)
2785 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2787 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2790 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2792 * src/hildon-app-menu.c (hildon_app_menu_insert)
2793 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2794 the HildonAppMenu to be activatable using keyboard accelerators
2795 when the menu is not being shown.
2797 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2799 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2801 * src/hildon-stackable-window.c
2802 (hildon_stackable_window_show):
2803 Don't hide old windows automatically when new windows are shown:
2804 this is now a task for the window manager.
2805 (hildon_stackable_window_class_init)
2806 (hildon_stackable_window_hide):
2807 Remove windows from the stack everytime they're hidden.
2808 (hildon_stackable_window_realize):
2809 Don't change the _NET_WM_WINDOW_TYPE property. Use
2810 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2811 it as a stackable window.
2813 * src/hildon-program.c
2814 (hildon_program_pop_window_stack):
2815 Just hide the window to remove it from the stack.
2816 (hildon_program_go_to_root_window):
2817 Don't call gtk_widget_show(), this is now a task for the window
2820 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2822 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2824 * src/hildon-button.c
2825 (hildon_button_construct_child):
2826 Don't pack anything in the button until text or image are
2827 set. This allows adding a custom child after creating the button
2828 with hildon_button_new().
2829 (hildon_button_finalize, hildon_button_class_init)
2830 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2831 alignment and the label box even when they're not packed in the
2834 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2836 * src/hildon-touch-selector.h:
2837 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2838 currently the type definition was using GTK_TYPE_VBOX
2839 * src/hildon-touch-selector.c:
2840 Added some implementation notes in order to clarify that any other widget
2841 added without the column related API will not be included on the
2842 selection logic, and how the widget is freed, as some people ask about
2844 (hildon_touch_selector_remove): Reimplemented in order to free properly
2845 the column related data when you remove the private hbox.
2846 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2847 to get a proper HildonTouchSelectorColumn documentation
2849 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2851 * src/hildon-touch-selector-entry.c:
2852 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2853 text in the GtkEntry and there is no item selected. Fixes a
2856 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2858 * src/hildon-app-menu-private.h
2859 * src/hildon-app-menu.[ch]
2860 * src/hildon-button.[ch]
2861 * src/hildon-check-button.[ch]
2862 * src/hildon-entry.[ch]
2863 * src/hildon-pannable-area.[ch]
2864 * src/hildon-text-view.[ch]:
2865 Added private field to the object's structure.
2867 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2869 * configure.ac: post-release version bump
2871 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2875 * configure.ac: pre-release version bump
2877 * debian/changelog: updates.
2879 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2881 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2882 Disconnect the handler for HildonTouchSelector::changed.
2884 (hildon_picker_button_selector_selection_changed): Update the button
2885 value if the selection change was not triggered by the
2888 (hildon_picker_button_set_selector): connect to
2889 HildonTouchSelector::changed.
2891 Fixes: NB#89650 (Picker button is not updated, when selection in
2892 selector has changed)
2894 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2896 * src/hildon-picker-dialog.c
2897 (hildon_picker_dialog_realize): Removed as not required
2898 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2899 * src/hildon-picker-button.c
2900 (_current_selector_empty): New function, checks if the selector is empty
2901 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2902 if the current selector is empty, in order to avoid to show the dialog
2903 close the dialog in this case (and shows a g_warning).
2905 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2907 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2909 * src/hildon-pannable-area.c,
2910 (hildon_pannable_area_scroll): Added clause to stop movement when
2911 the child of pannable is smaller than one page.
2912 (hildon_pannable_area_scroll_to): Added conditions to avoid
2913 starting the scrolling movement if the child is smaller than one
2914 page, the complete child is in the screen, we do not have to move.
2916 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2918 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2921 this is managed automatically by the widget when the size of the
2924 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2926 * src/hildon-picker-button.c
2927 (hildon_picker_button_set_done_button_text): Make a copy of the
2928 text, and free the previous value.
2930 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2932 * src/hildon-touch-selector-entry.c:
2933 (hildon_touch_selector_entry_print_func): Return the selected row's
2934 text if the entry is empty.
2936 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2939 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2943 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2946 * src/hildon-check-button.h
2947 * src/hildon-check-button.c
2948 * examples/hildon-check-button-example.c:
2949 HildonCheckButton is now a new widget. 'toggled' signal added.
2951 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-program-private.h
2954 * src/hildon-program.c (hildon_program_init)
2955 (hildon_program_finalize): Removed unused variables group_leader
2956 and name from HildonProgramPrivate.
2958 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2960 * src/hildon-check-button.c (hildon_check_button_set_active)
2961 (hildon_check_button_get_active, hildon_check_button_new): Use
2962 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2964 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2966 * src/hildon-touch-selector.h
2967 (hildon_touch_selector_set_column_attributes): added deprecation
2968 guard HILDON_DISABLE_DEPRECATED
2969 * src/hildon-time-selector.c
2970 (hildon_time_selector_set_time)
2971 (hildon_time_selector_get_time): Fixed a typo on documentation
2972 * src/hildon-touch-selector.c: update HildonTouchSelector and
2973 HildonTouchSelectorColumn documentation
2974 * src/hildon-touch-selector-entry.c: update "text-column" property
2976 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2977 to be added to the general documentation.
2979 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2981 * examples/hildon-pannable-area-example-4.c,
2983 * examples/hildon-pannable-area-example.c,
2984 (main): Modified the code in order to use the container add, with
2985 viewport treeviews could have problems if they are really big.
2987 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2989 * src/hildon-weekday-picker.c,
2990 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2991 the agreement regarding deprecation in the library.
2993 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2995 * examples/hildon-picker-button-multicolumn-example.c:
2996 (main): Use custom "done" button text.
2998 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2999 (hildon_picker_button_set_property),
3000 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3001 (hildon_picker_button_init),
3002 (+hildon_picker_button_get_done_button_text),
3003 (+hildon_picker_button_set_done_button_text): New methods to customize
3004 the "done" button label in the launched HildonPickerDialog. Also,
3007 * src/hildon-picker-button.h: add the public API.
3009 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
3011 * src/hildon-date-selector.h:
3012 * src/hildon-picker-dialog.h:
3013 * src/hildon-time-selector.h:
3014 * src/hildon-touch-selector-column.h:
3015 * src/hildon-touch-selector.h:
3017 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3018 declarations. Fixes gtk-doc warnings.
3020 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3022 * src/hildon-picker-dialog.h
3023 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3024 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3026 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3027 long text is set as label for done button)
3029 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3031 * src/hildon-dialog.c (hildon_dialog_add_button):
3032 Set fixed width to all buttons in the HildonDialog.
3034 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3036 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3038 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3039 Set widget name using class name plus "-finger" or "-thumb".
3041 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3044 'clicked' when the state of the button is manually changed.
3046 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3048 * src/hildon-app-menu.c (hildon_app_menu_realize)
3049 (hildon_app_menu_unrealize, hildon_app_menu_init)
3050 (hildon_app_menu_class_init, item_visibility_changed):
3051 Change the menu layout when the size of the screen changes.
3052 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3053 Show warning only when changing the number of colums using the
3056 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3058 * debian/compat: Set to 5
3059 * debian/control: Update dependencies.
3060 * debian/libhildon1-dbg.install: Remove.
3061 * debian/libhildon1-dev.install: Update according to cdbs paths.
3062 * debian/libhildon1.install: Update according to cdbs paths.
3063 * debian/rules: Switch to cdbs.
3065 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3067 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3068 'item' variable renamed to 'filter'
3070 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3072 * src/hildon-app-menu.c (hildon_app_menu_insert)
3073 (hildon_app_menu_add_filter, remove_item_from_list)
3074 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3075 Don't leak hidden items when the menu is destroyed.
3077 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-app-menu.c (hildon_app_menu_insert)
3080 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3081 (hildon_app_menu_set_columns, item_visibility_changed)
3082 (filter_visibility_changed, hildon_app_menu_repack_filters)
3083 (hildon_app_menu_repack_items):
3084 Repack items and filters separately.
3086 Don't repack all items, change only the ones that are needed to
3089 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3091 * src/Makefile.am: added hildon-touch-selector-column.h
3093 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3095 * src/hildon-touch-selector.c: added the property "text-column" to the
3096 class HildonTouchSelectorColumn, and related get/set functions
3097 (_default_printf_func): updated to use "text-column" property
3098 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3099 "text-column" in his documentation, as this is now included on
3100 HildonTouchSelectorColumn. The get/set_property can still be used,
3101 working as a wrapper to the concrete column "text-column" property
3102 (_text_column_modified): callback added in order to handle the signal
3103 "notify::text-column" of the concrete HildonTouchSelectorColumn
3104 (hildon_touch_selector_entry_get_text_column)
3105 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3106 modified in order to use the HildonTouchSelectorColumn "text-column"
3108 * src/hildon-time-selector.c:
3109 * src/hildon-date-selector.c:
3110 * examples/hildon-touch-selector-example.c
3111 * examples/hildon-touch-selector-multi-cells-example.c
3112 * examples/hildon-picker-button-multicolumn-example.c
3113 Set the right value to "text-column" property on the creation of a new
3114 column using hildon_touch_selector_append_column()
3116 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3118 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-app-menu.c
3121 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3122 updating the layout of the menu, don't create all widgets again,
3123 just repack the items in their new places.
3125 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3127 * src/hildon-time-selector.c
3128 (hildon_time_selector_get_time)
3129 (hildon_time_selector_set_time)
3130 Added documentation of these public methods
3132 * src/hildon-date-button.h
3133 * src/hildon-touch-selector-column.h
3134 * src/hildon-time-button.h
3135 * src/hildon-picker-dialog.h
3136 * src/hildon-time-selector.h
3137 * src/hildon-picker-button.h
3138 * src/hildon-touch-selector.h
3139 * src/hildon-time-picker.h
3140 * src/hildon-date-selector.h
3141 * src/hildon-touch-selector-entry.h
3142 Modified in order to use hildon-widgets code style
3144 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3146 Added deprecated support to the compilation process using
3147 HILDON_DISABLE_DEPRECATED
3149 * configure.ac: Added the --disable-deprecated to the configure
3152 * src/hildon-weekday-picker.c:
3153 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3154 to use the deprecated support. We will update the other deprecated
3155 widgets status in a new patch.
3157 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3159 * configure.ac: Fixed typo with fatal warnings support, the
3160 variable name was not correct
3162 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3164 * src/hildon-app-menu.c
3165 * src/hildon-program.c: Update documentation.
3167 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3169 * configure.ac: Post-release version bump.
3171 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3176 * configure.ac: Pre-release version bump.
3177 * debian/changelog: Updates.
3179 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3181 * NEWS: Update news for previous releases.
3183 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3185 * examples/hildon-touch-selector-multi-cells-example.c:
3186 (create_selector): Update the example to use
3187 hildon_touch_selector_append_column() with a NULL renderer and set
3188 the renderers later.
3189 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3190 passed a NULL renderer. This is documented behavior now.
3192 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3193 This must be used if the developer wants full control on the layout of
3194 the renderers to be added to the column.
3196 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3198 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-touch-selector.c: Documentation fixes.
3202 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3204 * src/hildon-wizard-dialog-private.h: Remove image and box.
3205 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3206 (hildon_wizard_dialog_set_property), (response): Completely remove
3207 image/icon support, and the containers required for the layout.
3209 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3211 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-app-menu.c: Updated documentation.
3215 * src/hildon-stackable-window.c
3216 (hildon_stackable_window_set_main_menu): Unref the old menu after
3217 ref'ing the new one.
3219 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3221 * src/hildon-stackable-window.c
3222 (hildon_stackable_window_set_main_menu): Unref the previous menu
3223 instead of destroying it.
3225 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3226 floating reference and set has_user_ref_count to FALSE to make
3227 HildonAppMenu act like a normal ref-counted widget and not a
3230 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3233 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3235 * src/hildon-touch-selector-column.h: new file
3236 * src/hildon-touch-selector.h
3237 * src/hildon-touch-selector.c
3238 Implemented GtkCellLayout interface, in order to allow to configure
3239 the cell layout on each individual selector column
3240 (hildon_touch_selector_set_column_attributes): marked as deprecated
3241 * examples/hildon-touch-selector-multi-cells-example.c
3242 Example of how to use the GtkCellLayout interface on the selector
3244 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3246 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3248 * src/hildon-app-menu.h
3249 * src/hildon-app-menu.c
3250 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3251 (hildon_app_menu_append, hildon_app_menu_prepend):
3252 New methods to prepend, insert and move items in the menu.
3254 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-wizard-dialog.c:
3258 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3260 (create_title): Update logical IDs and related code.
3261 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3263 * src/hildon-wizard-dialog.h: Note that
3264 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3265 point, as it is not used anymore.
3267 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3269 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3271 * src/hildon-note.c:
3272 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3273 shown. Do not display an icon in confirmation notes nor information
3275 (hildon_note_set_button_text): Update logical ID for cancel button.
3277 Fixes: NB#88850 (Update HildonNote button strings + signals)
3279 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-stackable-window.c
3282 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3284 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-app-menu-private.h
3287 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3288 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3289 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3290 temporary property 'columns' to change the number of columns.
3292 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3294 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3296 * examples/hildon-note-example.c: (on_information_clicked),
3297 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3298 debugging information.
3299 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3301 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3302 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3303 in order to close: this will be handled by the WM from now on.
3305 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3307 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-app-menu-private.h
3310 * src/hildon-app-menu.c
3311 (hildon_app_menu_append, hildon_app_menu_add_filter)
3312 (button_visibility_changed, hildon_app_menu_apply_style)
3313 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3314 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3315 layout everytime a button (item or filter) is shown or hidden.
3317 * src/hildon-stackable-window.c
3318 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3321 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3323 * src/hildon-touch-selector.c:
3324 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3325 that the treeview inside the touch selector is in fremantle hildon mode
3326 * examples/hildon-date-button-example.c
3327 * examples/hildon-picker-button-multicolumn-example.c
3328 * examples/hildon-touch-selector-entry-example.c
3329 * examples/hildon-touch-selector-example.c
3330 * examples/hildon-time-button-example.c
3331 * examples/hildon-picker-button-example.c:
3332 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3334 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3336 * examples/hildon-text-view-example.c: (main): Remove the
3337 gtkrc bits, now handled by the theme.
3339 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3344 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3346 * po/Makefile.am: Install properly the mo files.
3347 * po/en_GB.po: Update translation, to ease testing purposes.
3349 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3351 * examples/hildon-picker-button-example.c: (main): Select an item
3352 in the selector before setting it to the button.
3354 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3356 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3357 Update button's value if the selector has an item active.
3359 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3360 'value' with the selector)
3362 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3364 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3365 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3366 (hildon_picker_button_class_init): Plug the finalize method.
3367 (hildon_picker_button_set_selector): If there's a previously set
3368 selector, unref'it before setting a new one.
3370 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3371 HildonTouchSelector)
3373 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3375 * src/hildon-touch-selector-entry.c:
3376 (hildon_touch_selector_entry_changed): Check if there is no text
3377 selected before setting the entry text.
3380 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3382 * src/hildon-touch-selector.h
3383 * src/hildon-touch-selector.c
3384 (hildon_touch_selector_get_active)
3385 (hildon_touch_selector_set_active): New methods to set/get the
3386 index of the selected item.
3388 * src/hildon-picker-button.h
3389 * src/hildon-picker-button.c
3390 (hildon_picker_button_get_active)
3391 (hildon_picker_button_set_active): New methods to set/get the
3392 index of the selected item.
3394 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3396 * configure.ac: post-release version bump.
3398 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: Pre-release version bump.
3403 * debian/changelog: Updates.
3404 * debian/control: Add myself as maintainer and depend on l10n
3407 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-window.c
3410 (hildon_window_set_main_menu)
3411 * src/hildon-stackable-window.c
3412 (hildon_stackable_window_set_main_menu):
3413 Updated documentation.
3415 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3418 Don't free selector->priv manually.
3421 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3424 (hildon_gtk_window_set_progress_indicator):
3425 * src/hildon-gtk.h: Added the new API
3426 hildon_gtk_window_set_progress_indicator, it changes the state of
3427 the window progress hint.
3429 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-button.c
3432 * src/hildon-stackable-window.c: Minor documentation updates.
3434 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3436 * src/hildon-stackable-window.c: Updated documentation.
3438 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3440 * src/hildon-defines.h: Update margins definitions
3441 to the Fremantle sizes.
3444 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3446 * src/hildon-touch-selector.c,
3447 (_hildon_touch_selector_set_model): Cleaning the code after
3448 review, removed g_print and #if 0 from the code.
3450 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-edit-toolbar.c: Update documentation.
3454 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3456 * src/hildon-check-button.h
3457 * src/hildon-check-button.c
3458 (hildon_check_button_set_label, hildon_check_button_get_label)
3459 * examples/hildon-check-button-example.c
3460 (button_clicked_cb):
3461 Removed deprecated methods.
3463 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3465 * src/hildon-text-view.c:
3466 Add sample code to the documentation.
3468 * src/hildon-entry.h
3469 * src/hildon-text-view.h:
3470 Minor cosmetic changes.
3472 * src/hildon-entry.c:
3473 Add sample code to the documentation.
3474 (hildon_entry_init, hildon_entry_refresh_contents):
3475 Don't allow NULL values in the placeholder.
3477 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3479 * doc/hildon-docs.sgml
3481 * examples/Makefile.am
3482 * examples/hildon-text-view-example.c
3484 * src/hildon-text-view.c
3485 * src/hildon-text-view.h
3487 New HildonTextView widget, with example.
3489 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3491 * po/POTFILES.in: Add missing files with translatable strings.
3492 Partially fixes NB#88287.
3494 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3496 * examples/hildon-pannable-area-example-2.c: (main): No need to
3497 set the cellrenderer height inside hildon touch lists, the theme does
3500 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3502 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3503 they are integrated in the theme.
3505 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3507 * examples/hildon-entry-example.c: Update the example adding
3508 widgets to modify the text and the placeholder of the HildonEntry.
3510 * src/hildon-entry.c: Show the placeholder everytime the widget
3511 is empty and loses the focus.
3513 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3515 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3517 * src/hildon-pannable-area.c,
3518 (hildon_pannable_area_size_request): Fixed bug in height
3519 requisition, avoid increasing size and add border twice.
3521 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3523 * configure.ac: postrelease version bump.
3525 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3529 * configure.ac: Prerelease version bump.
3530 * debian/changelog: update.
3531 * debian/rules: make -dbg package contain useful debugging symbols.
3533 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3535 * src/hildon-dialog.h
3536 * src/hildon-dialog.c
3537 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3538 New methods to add buttons with finger size.
3539 (hildon_dialog_new_with_buttons):
3540 Create buttons with finger size.
3542 * examples/hildon-dialog-example.c (main): Use HildonDialog
3543 methods to add buttons.
3545 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3547 * src/hildon-entry.c: Updated HildonButton documentation.
3549 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3551 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3552 button value label with (FALSE, FALSE) to prevent NB#88126 from
3555 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3557 * examples/hildon-pannable-area-example.c,
3558 (main): Removed examples panning a vbox inside a pannable
3559 area. Check bug NB#87965
3561 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3563 Patch contributed by Kris Rietveld (kris@imendio.com)
3565 * src/hildon-pannable-area.c,
3566 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3567 get_size and get_position, this saves an X server roundtrip.
3569 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3571 * doc/hildon-docs.sgml
3573 * examples/Makefile.am
3574 * examples/hildon-entry-example.c
3576 * src/hildon-entry.c
3577 * src/hildon-entry.h
3579 New HildonEntry widget, with example.
3581 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3583 * src/hildon-button.c (hildon_button_construct_child): Pack the
3584 image with expand == fill == FALSE. This is a workaround for a bug
3587 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3589 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3590 labels for the text column, to make it more look more dynamic.
3592 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3594 * src/hildon-time-selector.c
3595 Define gettext auxiliar macro N_
3596 (_create_minutes_model)
3597 (_create_hours_model)
3598 (_create_ampm_model): use of strftime in order to fill the model
3599 * src/hildon-date-selector.c
3600 (hildon_date_selector_finalize):
3601 (_locales_init): remove the logic related to get the name of the months
3602 using nl_langinfo, as it is not required anymore
3604 (_create_year_model)
3605 (_create_month_model)
3606 (_update_day_model): use of strftime in order to fill the model properly
3609 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3611 * src/hildon-button.h
3612 * src/hildon-button.c (hildon_button_get_image): New method to
3615 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3617 * src/hildon-touch-selector.c:
3618 (hildon_touch_selector_remove_column): Remove from the correct parent
3619 and also remove the list element and free it.
3622 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3624 * src/hildon-time-selector.c
3625 (_create_hours_model): change the range on 12h ampm format in order to use
3626 a 12-11 range instead of previous 01-12 range
3627 (hildon_time_selector_set_time): change the way to select the current time
3628 on 12h ampm format, due the change on the range
3629 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3632 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3634 * src/hildon-touch-selector.c
3635 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3636 in order to allow use this function on multiple row selection mode if
3637 the column is different that the first one
3640 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3642 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3643 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3645 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3647 * src/hildon-date-selector.h: clean some comments, now on the .c
3648 * src/hildon-date-selector.c
3649 (hildon_date_selector_select_month): first implementation
3650 (hildon_date_selector_select_day): added documentation, reimplemented
3651 using hildon_date_selector_select_current_date to avoid repeat code
3654 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3656 Reviewed interaction logic based on device experiences, refactored
3659 * src/hildon-pannable-area.c,
3660 (hildon_pannable_area_class_init): Updated default vmax speed.
3661 (hildon_pannable_area_calculate_velocity): Added this function, it
3662 avoids duplicate valocity calculation. Adjusted calculation to
3663 avoid problems with zero dist events.
3665 (hildon_pannable_area_motion_notify_cb): Now we use the
3666 calculate_velocity function.
3668 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3670 * src/hildon-date-selector.c
3671 (hildon_date_selector_select_current_date): fix the day range check
3672 as it failed using the last day of the current month
3675 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3677 * src/hildon-touch-selector.c
3678 (hildon_touch_selector_get_num_columns): added a parameter validation
3681 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3683 * examples/Makefile.am
3684 * examples/hildon-edit-toolbar-example.c: Example of the
3685 HildonEditToolbar widget.
3687 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3689 * configure.ac: postrelease version bump.
3691 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3695 * configure.ac: prerelease version bump.
3696 * debian/changelog: update.
3698 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3700 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3701 renderer to display stock icons in the touch list. Also, set the sizes
3702 to the recommended in the style guide.
3704 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3705 * src/hildon-touch-selector.h
3706 (hildon_touch_selector_set_active_iter): renamed, now is
3707 hildon_touch_selector_select_iter
3708 (hildon_touch_selector_get_active_iter): renamed, now is
3709 hildon_touch_selector_get_selected
3710 (hildon_touch_selector_unselect_iter): added
3711 * src/hildon-touch-selector.c
3712 Update after API modification (methods renamed)
3713 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3714 order to avoid problems selecting multiple elements on the column
3715 (hildon_touch_selector_unselect_iter): added the implementation
3716 * src/hildon-time-selector.c
3717 * src/hildon-date-selector.c
3718 * src/hildon-touch-selector-entry.c
3719 Update methods calls after hildon-touch-selector.h API modification (methods
3722 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-stackable-window.c
3725 (hildon_stackable_window_finalize): Call the parent class's finalize.
3727 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3729 * examples/hildon-touch-selector-example.c: (create_selector): Use
3730 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3733 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3735 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3736 set a cell background color, to respect theming.
3738 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3740 * doc/hildon-docs.sgml
3743 * src/hildon-edit-toolbar.c
3744 * src/hildon-edit-toolbar.h
3745 * src/hildon.h: New HildonEditToolbar widget.
3747 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3749 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3752 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3753 * src/hildon-touch-selector.c
3754 (_create_new_column): use g_object_set instead of two g_object_set_property
3756 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3757 * src/hildon-touch-selector.c
3758 (_create_new_column): use of hildon_gtk_tree_view_new to create
3759 the treeview, instead of use directly g_object_new
3760 (_create_new_column): update the property name "vindicator-mode" for the
3761 new one "vscrollbar-policy"
3762 * examples/hildon-date-button-example.c
3763 * examples/hildon-picker-button-multicolumn-example.c
3764 * examples/hildon-touch-selector-entry-example.c
3765 * examples/hildon-touch-selector-example.c
3766 * examples/hildon-time-button-example.c
3767 * examples/hildon-picker-button-example.c
3768 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3769 to all the treeviews inside a pannable area.
3771 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3773 * src/hildon-button.h
3774 * src/hildon-button.c (hildon_button_init)
3775 (hildon_button_set_arrangement, hildon_button_set_alignment)
3776 (hildon_button_set_title_alignment)
3777 (hildon_button_set_value_alignment)
3778 (hildon_button_set_image_alignment)
3779 (hildon_button_construct_child): New methods to set the alignment
3780 of the individual components of the button (title, value,
3781 image). Also, new method to alter the xscale and yscale properties
3782 of the GtkAlignment inside the button, so more complex layouts can
3785 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-button.c (hildon_button_style_set)
3788 (hildon_button_class_init, hildon_button_set_arrangement)
3789 (hildon_button_construct_child): Apply style properties
3790 correctly. Use the 'image-spacing' style property too.
3792 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3794 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3795 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3798 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3800 * src/hildon-pannable-area.c,
3801 (hildon_pannable_area_size_request): Fixed problem with
3802 pannable-area size_request.
3804 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3806 Added management for the grab-focus to a child widget, like a
3807 range, we need to fade out the scrollbar when releasing.
3809 * src/hildon-pannable-area.c,
3810 (hildon_pannable_area_init): Connected the grab-focus signal to
3812 (hildon_pannable_area_grab_notify): Added this function in order
3813 to manage the situation when the grab-focus ends. We have to
3814 fade-out the scrollbar.
3816 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3818 * src/hildon-app-menu.c: Minor documentation update.
3820 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3822 * src/hildon-app-menu.c
3823 * examples/hildon-app-menu-example.c (create_menu): Update
3824 examples and documentation to explain how to connect callbacks.
3826 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3828 * examples/hildon-button-example.c
3829 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3830 hildon_stackable_window_new instead of gtk_window_new
3832 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3834 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3835 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3836 (hildon_pannable_area_set_property),
3837 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3838 (hildon_pannable_area_unrealize),
3839 (hildon_pannable_area_size_request),
3840 (hildon_pannable_area_size_allocate),
3841 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3842 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3843 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3844 (hildon_pannable_area_initial_effect),
3845 (hildon_pannable_area_redraw),
3846 (hildon_pannable_area_scroll_indicator_fade),
3847 (hildon_pannable_area_expose_event),
3848 (hildon_pannable_area_get_topmost), (synth_crossing),
3849 (hildon_pannable_area_button_press_cb),
3850 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3851 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3852 (hildon_pannable_area_motion_notify_cb),
3853 (hildon_pannable_area_button_release_cb),
3854 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3855 (hildon_pannable_area_remove),
3856 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3857 chage the code layout to a more GtkWidget like. Review the use of
3860 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3862 * examples/hildon-pannable-area-example-4.c,
3863 (main): Modified the name of the hindicator_mode to
3866 * src/hildon-pannable-area.c,
3867 (hildon_pannable_area_class_init),
3868 (hildon_pannable_area_motion_notify_cb),
3869 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3870 we have reduced the amount of signals and managed reviewed its
3871 rationale. Changed the default decelerate value.
3873 (hildon_pannable_area_add),
3874 (hildon_pannable_area_redraw): Refactored functions.
3876 (hildon_pannable_area_init),
3877 (hildon_pannable_area_get_property),
3878 (hildon_pannable_area_set_property):
3879 (hildon_pannable_draw_vscroll),
3880 (hildon_pannable_draw_hscroll),
3881 (hildon_pannable_area_initial_effect),
3882 (hildon_pannable_area_expose_event),
3883 (hildon_pannable_area_scroll),
3884 (hildon_pannable_area_button_press_cb),
3885 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3886 and vindicator_mode with hscrollbar_policy and
3887 vscrollbar_policy. Replaced hscroll and vscroll with
3888 hscroll_visible and vscroll_visible.
3890 (hildon_pannable_area_refresh): Refactor the function, remove
3891 variables and check the calls to this function, added resize
3892 conditions in case the children change their layout.
3894 (hildon_pannable_area_size_request): Added more detailed
3895 size_request calculation.
3898 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3900 * src/hildon-color-chooser.c
3901 (init_borders): use the correct gtk_border_free instead of g_free, to
3902 avoid a crash when this widget is used (ie: the three color selection
3905 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3907 * src/hildon-check-button.c,
3908 (hildon_check_button_set_active): Fixed problem when setting the
3909 active value, the widget was not redrawn.
3911 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3913 * src/hildon-pannable-area.c,
3914 (hildon_pannable_area_refresh),
3915 (hildon_pannable_area_scroll),
3916 (hildon_pannable_area_motion_notify_cb): Small code style change.
3918 (hildon_pannable_area_class_init): Default initial_hint set to
3919 FALSE, it is not in the specs.
3921 (hildon_pannable_area_initial_effect),
3922 (hildon_pannable_area_expose_event),
3923 (hildon_pannable_area_map),
3924 (hildon_pannable_area_init): Moved the launching point of the
3925 initial effect, it was in map but the sizes where not correct in
3926 that method so we do not know if we have the reproduce it. Now it
3927 is placed in the expose_event method and uses a variable to
3928 reproduce it just once.
3930 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3932 * src/hildon-pannable-area.c,
3933 (hildon_pannable_draw_vscroll),
3934 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3935 position allowed for the scrollbars.
3937 (hildon_pannable_area_size_allocate): Small style change.
3939 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3941 * src/hildon-pannable-area.c,
3942 (hildon_pannable_area_scroll_indicator_fade),
3943 (hildon_pannable_area_button_press_cb),
3944 (hildon_pannable_area_button_release_cb),
3945 (hildon_pannable_area_scroll_cb),
3946 (hildon_pannable_area_expose_event),
3947 (hildon_pannable_area_init): Added the define parameter
3948 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3949 and refactor the fade variable.
3951 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3953 * src/hildon-pannable-area.c,
3954 (hildon_pannable_area_redraw),
3955 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3956 lines, we were reimplemeting the redraw code.
3958 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3960 * src/hildon-pannable-area.c,
3961 (hildon_pannable_area_scroll_cb),
3962 (hildon_pannable_area_realize),
3963 (hildon_pannable_area_class_init): Added scroll_event management
3964 for pannable area, now we can scroll the usual desktop method.
3966 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3967 initialization of the parameters should depend on idle_id.
3969 (hildon_pannable_area_init),
3970 (hildon_pannable_area_map): Small code style modifications
3972 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3974 * src/hildon-pannable-area.c
3975 (hildon_pannable_area_button_press_cb),
3976 (hildon_pannable_area_motion_notify_cb),
3977 (hildon_pannable_area_button_release_cb),
3978 (hildon_pannable_area_size_allocate),
3979 (hildon_pannable_area_scroll_to): Improved the timeouts
3980 management, we avoid creating them each time.
3982 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3984 * src/hildon-pannable-area.c:
3985 (hildon_pannable_area_refresh),
3986 (hildon_pannable_area_motion_notify_cb),
3987 (hildon_pannable_area_class_init):
3988 * src/hildon-pannable-area.h:
3989 * src/hildon-touch-selector.c
3990 (_create_new_column):
3991 * examples/hildon-pannable-area-example-4.c:
3992 (horizontal_movement),
3993 (vertical_movement),
3995 Replaced the names of enums in the HildonPannableArea:
3996 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3997 HILDON_MOVEMENT_MODE_*
3998 - HILDON_PANNABLE_AREA_MOV_* ->
4000 - Removed HildonPannableAreaIndicatorMode, now we
4003 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4005 * examples/hildon-pannable-area-touch-grid-example.c
4006 * examples/hildon-pannable-area-touch-list-example.c: Fix
4007 compilation warnings.
4009 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4011 * src/hildon-gtk.c (hildon_gtk_button_new)
4012 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
4013 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
4014 images overriding the value of the "gtk-button-images" setting.
4016 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4018 * src/hildon-check-button.c (hildon_check_button_new):
4019 Instead of using a custom container, display the label and the
4020 checkbox using the standard GtkButton API.
4022 * examples/hildon-check-button-example.c (main): Don't use
4023 hildon_check_button_set_label() anymore
4025 * src/hildon-check-button.h
4026 * src/hildon-check-button.c
4027 (hildon_check_button_set_label, hildon_check_button_get_label):
4028 Set as deprecated, now we're using gtk_button_{get,set}_label()
4030 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4032 * src/hildon-pannable-area.c,
4033 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4034 GtkTreeview first line we detected it after the inclusion of the
4035 GtkWindowImpl in gtk+. We now check if the window is visible, not
4036 just if the pointer is over the window.
4037 (hildon_pannable_axis_scroll),
4038 (hildon_pannable_area_expose_event): Small style changes.
4040 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4042 * src/hildon-button.c: Update documentation.
4044 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4046 * examples/hildon-button-example.c: Add a switch to show images in
4049 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4051 * doc/hildon-docs.sgml: Some docs reorganization.
4053 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4055 * examples/hildon-pannable-area-touch-list-example.c
4057 * examples/hildon-pannable-area-touch-grid-example.c
4058 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4059 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4060 Fix memory leak when setting the tree model.
4062 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4066 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4068 * doc/hildon.types: Remove duplicated hildon_window_get_type
4069 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4070 documentation comment.
4072 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4074 * doc/Makefile.am: Complete list of private headers.
4076 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4078 * doc/hildon-docs.sgml
4079 * src/hildon-app-menu.c
4080 * src/hildon-bread-crumb.c
4081 * src/hildon-button.c
4083 * src/hildon-program.c
4084 * src/hildon-stackable-window.c
4085 * src/hildon-window.c: Lots of documentation updates.
4087 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4089 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4091 * configure.ac: Require Gtk+ 2.12.9 at least
4093 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4095 * src/hildon-pannable-area.c
4096 (hildon_pannable_area_scroll_indicator_fade),
4097 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4098 to protect the return of this timeout callbacks, avoiding deadlocks.
4100 2008-08-12 Christian Dywan <christian@imendio.com>
4103 * src/hildon-*.h: Ensure a consistent include order,
4104 include <gtk/gtk.h> instead of particular files and
4105 only include the topmost header in the gtk stack. See NB #39857
4107 2008-08-12 Christian Dywan <christian@imendio.com>
4109 * src/hildon-picker-dialog.c
4110 * src/hildon-touch-selector.c: Fix warnings about unused and
4111 uninitialized variables.
4113 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4115 * examples/Makefile.am
4116 * examples/hildon-check-button-example.c: Example of the hildon
4119 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4121 * src/hildon-window.h
4122 * src/hildon-window.c (hildon_window_class_init)
4123 (hildon_window_unset_program): Don't make
4124 hildon_window_unset_program a virtual function anymore.
4126 * src/hildon-stackable-window.c: Update documentation
4128 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4131 * doc/hildon-docs.sgml
4132 * doc/visual_index.xml
4133 * src/hildon-defines.c
4135 * src/hildon-helper.c
4136 * src/hildon-range-editor.c: Lots of documentation fixes.
4138 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4140 * examples/hildon-picker-button-multicolumn-example.c
4141 (create_touch_selector): Fix compilation warning.
4143 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4145 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4146 (hildon_pannable_area_button_release_cb)
4147 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4149 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4154 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4156 * src/hildon-bread-crumb-trail.h
4157 * src/hildon-date-editor.c
4158 * src/hildon-date-selector.c
4159 * src/hildon-pannable-area.c
4160 * src/hildon-picker-dialog.c
4161 * src/hildon-time-selector.c
4162 * src/hildon-touch-selector-entry.c
4163 * src/hildon-touch-selector.c
4164 * src/hildon-touch-selector.h: Misc documentation fixes
4166 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4168 * examples/hildon-date-editor-example.c (main): Updated date
4171 * examples/hildon-note-example.c (on_confirmation_clicked):
4172 Updated confirmation note example.
4174 * src/hildon-date-editor.c
4175 * src/hildon-note.c: Updated sample programs in documentation.
4178 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-date-button.h:
4181 * src/hildon-picker-button.h:
4182 * src/hildon-time-button.c:
4183 * src/hildon-time-button.h:
4185 Some declarations changes to allow gtk-doc to document the widgets
4188 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-date-button.c: Document the widget.
4191 * src/hildon-time-button.c: Document the widget.
4193 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4195 * src/hildon-picker-button.c: Document the widget.
4196 * src/hildon-touch-selector-entry.c: Document the widget.
4198 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4200 * doc/hildon-docs.sgml
4203 * src/hildon-check-button.h
4204 * src/hildon-check-button.c: New functions to create the Hildon
4208 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4210 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4212 * src/hildon-button.h
4213 * src/hildon-button.c
4214 (hildon_button_add_title_size_group)
4215 (hildon_button_add_value_size_group)
4216 (hildon_button_add_image_size_group)
4217 (hildon_button_add_size_groups): New functions to set size groups
4218 for the button labels and image.
4219 (hildon_button_new_full): Removed
4221 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4223 * src/hildon-time-selector.c
4224 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4225 in order to avoid a crash if gconf is not available
4227 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4229 * src/hildon-button.c (hildon_button_set_arrangement)
4230 (hildon_button_construct_child): Don't construct the button child
4231 before setting the arrangement.
4233 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4235 * src/hildon-program-private.h
4236 * src/hildon-program.c
4237 * src/hildon-program.h
4238 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4239 (hildon_program_peek_window_stack)
4240 (hildon_program_pop_window_stack)
4241 (hildon_program_go_to_root_window): HildonProgram now has a
4242 separate list for stackable windows. Functions are provided to
4243 manage that list with a stack-like API.
4245 * src/hildon-stackable-window.c: Stackable window management is
4246 now much simpler with the new HildonProgram API. Windows no
4247 longer need to be manually added to the program, they're
4248 automatically pushed to the top of the stack when shown.
4250 * examples/hildon-stackable-window-example.c: Updated example to
4251 reflect the API changes.
4253 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-touch-selector.c: Comment out unimplemented
4256 hildon_touch_selector_insert_column() to avoid a compile warning.
4258 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4260 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4261 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4262 (hildon_touch_selector_set_column_selection_mode),
4263 (_hildon_touch_selector_set_model),
4264 (hildon_touch_selector_set_model):
4266 Complete review of HildonTouchSelector documentation.
4268 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4270 * doc/hildon-docs.sgml
4274 * src/hildon-gtk.c: Convenience functions for standard Gtk
4275 widgets, used to easily perform frequent operations.
4277 * src/hildon-button-helpers.h
4278 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4280 * src/hildon-helper.h
4281 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4282 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4284 * src/hildon-button.h
4285 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4287 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4289 * src/hildon-button.c (hildon_button_init)
4290 (hildon_button_set_arrangement, hildon_button_construct_child):
4291 Pack the image and the labels inside the same GtkAlignment so
4292 gtk_button_set_alignment() can be used
4294 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4296 * src/hildon-button.h
4297 * src/hildon-button.c
4298 (hildon_button_init, hildon_button_set_image)
4299 (hildon_button_set_image_position)
4300 (hildon_button_construct_child): New functions to add an image to
4303 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4305 * src/hildon-date-button.c
4306 * src/hildon-picker-button.c
4307 * src/hildon-time-button.c
4308 * src/hildon-button.c:
4309 (hildon_button_class_init): "size-flags" renamed to "size"
4310 (hildon_button_set_title): Hide the title label if set to NULL.
4312 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4314 HildonButtonFlags split into HildonButtonArrangement (to set the
4315 button layout) and HildonSizeType (which can be used for any
4318 * src/hildon-button.h
4319 * src/hildon-button.c
4320 (hildon_button_class_init)
4321 (hildon_button_set_arrangement)
4322 (hildon_button_set_property): New "size-flags"
4323 property. "arrangement-flags" renamed to "arrangement".
4324 (hildon_button_new, hildon_button_new_with_text)
4325 (hildon_button_new_full): Constructors updated to reflect type changes.
4327 * src/hildon-helper.h
4328 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4329 to set the size of a widget.
4333 * src/hildon-button-helpers.c
4334 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4336 * src/hildon-date-button.c
4337 * src/hildon-date-button.h
4338 * src/hildon-picker-button.c
4339 * src/hildon-picker-button.h
4340 * src/hildon-time-button.c
4341 * src/hildon-time-button.h: Updated widgets to reflect
4342 HildonButton API changes.
4344 * examples/hildon-button-example.c
4345 * examples/hildon-date-button-example.c
4346 * examples/hildon-picker-button-example.c
4347 * examples/hildon-picker-button-multicolumn-example.c
4348 * examples/hildon-time-button-example.c
4349 * examples/hildon-touch-selector-entry-example.c
4350 * examples/hildon-touch-selector-example.c: Updated examples to
4351 reflect HildonButton API changes.
4353 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4355 * doc/hildon-docs.sgml:
4357 * examples/Makefile.am:
4358 * examples/hildon-touch-selector-entry-example.c:
4360 * src/hildon-touch-selector-entry.c:
4361 * src/hildon-touch-selector-entry.h:
4364 Moved HildonTouchSelectorEntry from sandbox. Added its
4365 documentation and examples.
4367 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4369 * src/hildon-touch-selector.h:
4370 * examples/hildon-picker-button-multicolumn-example.c:
4371 (hildon_touch_selector_append_text_column): Add a gboolean
4372 parameter to determine if text must be centered in the column.
4374 * src/hildon-date-selector.c: (hildon_date_selector_init):
4375 * src/hildon-time-selector.c: (hildon_time_selector_init):
4376 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4377 (create_touch_selector): Update widgets and example to reflect
4380 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4382 * src/hildon-touch-selector.c:
4383 (hildon_touch_selector_set_active_iter): Set also the cursor in
4386 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4388 * doc/hildon-docs.sgml
4391 * src/hildon-toggle-button.c
4392 * src/hildon-toggle-button.h
4393 * src/hildon.h: Removed HildonToggleButton widget, a derived
4394 class is not necessary for this.
4396 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4398 * src/hildon-pannable-area.c,
4399 (hildon_pannable_area_realize),
4400 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4403 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4405 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4406 "done" button the default widget for the dialog.
4408 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4410 * src/hildon-touch-selector.c:
4411 (hildon_touch_selector_class_init),
4412 (hildon_touch_selector_get_property),
4413 (_hildon_touch_selector_set_model),
4414 (_hildon_touch_selector_has_multiple_selection),
4415 (hildon_touch_selector_has_multiple_selection):
4416 Add a "has-multiple-selection" property with a virtual
4417 has_multiple_selection() method to allow derived classes to
4418 override the default value for it. See the method and property
4419 documentation for details.
4421 * src/hildon-touch-selector.h: Add the new API.
4423 * src/hildon-picker-dialog.c: (requires_done_button): Call
4424 hildon_touch_selector_has_multiple_selection() instead of
4425 determining the need for a button itself.
4427 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4429 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4430 (_hildon_touch_selector_set_model),
4431 (hildon_touch_selector_set_model): Move working code to
4432 _hildon_touch_selector_set_mode(). Call the class method instead.
4434 * src/hildon-touch-selector.h: Add (*set_model) to
4435 HildonTouchSelectorClass.
4437 Make hildon_touch_selector_set_model() a virtual method, so that
4438 derived classes can extend it and do fancy stuff with the model.
4440 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4442 * configure.ac: Set back the tarname in AC_INIT to hildon.
4444 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4448 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4449 instead of libesd (NB#86876). Volume handling is still an open issue.
4451 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4454 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4456 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4457 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4458 derived class to ease placement of an entry widget in
4459 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4460 end, where the selector columns are packed now.
4462 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4464 * src/hildon-picker-button.c: Removed the simple _text() API.
4465 * src/hildon-picker-button.h: Likewise.
4467 * src/hildon-touch-selector.h:
4468 * src/hildon-touch-selector.c:
4469 (hildon_touch_selector_new_text),
4470 (hildon_touch_selector_append_text),
4471 (hildon_touch_selector_prepend_text),
4472 (hildon_touch_selector_insert_text):
4474 Moved the simple _text() API from HildonPickerButton to
4475 HildonTouchPicker, to provide better escalability and not to tie
4476 that API to HildonPickerButton.
4478 * examples/hildon-picker-button-example.c: (main): Example updated.
4480 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4482 * src/hildon-button.c: Updated documentation.
4484 * examples/hildon-button-example.c: Add the posibility to create
4485 the buttons using horizontal layout for title and value.
4487 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4489 * src/hildon-app-menu-private.h
4490 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4491 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4492 GtkSizeGroup for the filters, use the 'homogeneous' property of
4495 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4497 * examples/hildon-button-example.c: Updated example.
4499 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4501 * doc/hildon-docs.sgml:
4504 Update documentation.
4506 * examples/Makefile.am: Update renamed examples.
4508 * examples/hildon-picker-button-multicolumn-example.c:
4509 (create_touch_selector), (main): Update after the rename.
4511 * examples/hildon-touch-picker-example.c: Removed.
4512 * examples/hildon-touch-selector-example.c: (value_changed),
4513 (create_selector), (get_visible_content), (main): Renamed from
4514 hildon-touch-picker-example.c
4516 * src/Makefile.am: Updated renamed files.
4518 * src/hildon-date-button.c: (hildon_date_button_init),
4519 (hildon_date_button_get_date), (hildon_date_button_set_date):
4520 * src/hildon-date-selector.c: (hildon_date_selector_init),
4521 (_custom_print_func), (_update_day_model),
4522 (_manage_selector_change_cb),
4523 (hildon_date_selector_select_current_date),
4524 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4525 * src/hildon-date-selector.h:
4526 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4527 (hildon_picker_button_set_property),
4528 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4529 (hildon_picker_button_init), (hildon_picker_button_new_text),
4530 (hildon_picker_button_append_text),
4531 (hildon_picker_button_prepend_text),
4532 (hildon_picker_button_insert_text),
4533 (hildon_picker_button_set_selector),
4534 (hildon_picker_button_get_selector):
4535 * src/hildon-picker-button.h:
4536 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4537 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4538 (_update_title_on_selector_changed_cb), (requires_done_button),
4539 (_hildon_picker_dialog_set_selector),
4540 (hildon_picker_dialog_set_selector),
4541 (hildon_picker_dialog_get_selector):
4542 * src/hildon-picker-dialog.h:
4543 * src/hildon-time-button.c: (hildon_time_button_init),
4544 (hildon_time_button_get_time), (hildon_time_button_set_time):
4545 * src/hildon-time-selector.c: (hildon_time_selector_init),
4546 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4547 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4548 * src/hildon-time-selector.h:
4551 Massive code updates after the rename.
4553 * src/hildon-touch-picker.c: Removed.
4554 * src/hildon-touch-picker.h: Removed.
4556 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4557 (hildon_touch_selector_init), (hildon_touch_selector_map),
4558 (hildon_touch_selector_remove), (_default_print_func),
4559 (_selection_changed_cb), (_create_new_column),
4560 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4561 (hildon_touch_selector_append_text_column),
4562 (hildon_touch_selector_remove_column),
4563 (hildon_touch_selector_set_column_attributes),
4564 (hildon_touch_selector_insert_column),
4565 (hildon_touch_selector_get_num_columns),
4566 (hildon_touch_selector_get_column_selection_mode),
4567 (hildon_touch_selector_set_column_selection_mode),
4568 (hildon_touch_selector_set_print_func),
4569 (hildon_touch_selector_get_print_func),
4570 (hildon_touch_selector_get_active_iter),
4571 (hildon_touch_selector_set_active_iter),
4572 (hildon_touch_selector_get_selected_rows),
4573 (hildon_touch_selector_get_model),
4574 (hildon_touch_selector_set_model),
4575 (hildon_touch_selector_get_current_text),
4576 (_hildon_touch_selector_center_on_selected_items):
4577 * src/hildon-touch-selector.h: Renamed from
4578 hildon-touch-picker.[ch]
4580 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4581 references, code examples, and related documentation.
4583 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4585 * doc/hildon-docs.sgml
4588 * src/hildon-toggle-button.c
4589 * src/hildon-toggle-button.h
4590 * src/hildon.h: New HildonToggleButton widget.
4592 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4594 * src/hildon-button.c: Add API documentation.
4595 (hildon_button_set_size_groups): Check input parameters
4597 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4599 * src/hildon-pannable-area.c
4600 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4601 effect after reaching the movement thredshold. This way we start
4602 using the distance after passing the thredshold.
4604 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4606 * src/hildon-button.c: (hildon_button_set_property): Use the
4607 appropriate g_value_get_flags() method.
4609 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4611 * doc/hildon-docs.sgml:
4614 Add the touch pickers, picker dialogs, and picker button widgets
4615 to the documentation.
4617 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4619 * src/hildon-button.c: (hildon_button_set_property),
4620 (hildon_button_class_init): Make "arrangement-flags" a proper
4621 G_TYPE_FLAGS derived property.
4623 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4625 * examples/Makefile.am: Add below examples.
4626 * examples/hildon-date-button-example.c:
4627 * examples/hildon-picker-button-example.c:
4628 * examples/hildon-picker-button-multicolumn-example.c:
4629 * examples/hildon-time-button-example.c:
4630 * examples/hildon-touch-picker-example.c:
4632 Add examples for the recently added touch pickers,
4633 picker dialogs, and picker button widgets.
4635 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4637 * src/hildon-button.c: Add some API documentation
4639 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4641 * src/hildon-button.h
4642 * src/hildon-button.c
4644 (hildon_button_new_with_text): New constructor to create a button
4645 with no text at all.
4646 (hildon_button_init, hildon_button_set_arrangement)
4647 (hildon_button_set_title, hildon_button_set_value)
4648 (hildon_button_set_text)
4649 (hildon_button_construct_child): Hide the value when it's not used
4650 so the rest of the text is properly aligned.
4651 Allow creating buttons with arbitrary widgets inside (not just
4652 title/value labels).
4654 * examples/hildon-button-example.c (vertical_buttons_window)
4655 (horizontal_buttons_window): Update example to use new API.
4657 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/Makefile.am: Added HildonTimeButton.
4660 * src/hildon-time-button.c: Added missing LGPL header.
4661 * src/hildon-time-button.h: Added missing LGPL header.
4662 * src/hildon.h: Add hildon-time-button.h
4664 Copied HildonTimeButton from sandbox to trunk. Future work on this
4665 widget must take place in trunk.
4667 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/Makefile.am: Added HildonDateButton.
4670 * src/hildon-date-button.c: Update includes.
4671 * src/hildon.h: Add hildon-date-button.h
4673 Copied HildonDateButton from sandbox to trunk. Future work on this
4674 widget must take place in trunk.
4676 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4678 * src/Makefile.am: Added HildonPickerButton.
4679 * src/hildon-picker-button.h: Update includes.
4680 * src/hildon.h: Add hildon-picker-button.h
4682 Copied HildonPickerButton from sandbox to trunk. Future work on
4683 this widget must take place in trunk.
4685 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4687 * src/Makefile.am: Added HildonPickerDialog.
4688 * src/hildon-picker-dialog.c: Update includes.
4689 * src/hildon.h: Add hildon-picker-dialog.h
4691 Copied HildonPickerDialog from sandbox to trunk. Future work
4692 on this widget must take place in trunk.
4694 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/Makefile.am: Added HildonTimeSelector.
4697 * src/hildon.h: Add hildon-time-selector.h
4699 Copied HildonTimeSelector widget from sandbox to trunk. Future
4700 work on this widget must happen in trunk.
4702 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/Makefile.am: Added HildonDateSelector.
4705 * src/hildon.h: Add hildon-date-selector.h
4707 Copied HildonDateSelector widget from sandbox to trunk. Future
4708 work on this widget must happen in trunk.
4710 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4712 * src/Makefile.am: Added HildonTouchPicker.
4713 * src/hildon-touch-picker.c: Update includes.
4714 * src/hildon.h: Add hildon-touch-picker.h
4716 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4717 on this widget must happen in trunk.
4719 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4721 * src/hildon-pannable-area.c:
4722 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4724 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4726 * examples/hildon-app-menu-example.c (main): Let the window
4729 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4731 * src/hildon-pannable-area.c
4732 (hildon_pannable_area_class_init): Set the min value of the
4733 overshoot properties to zero, which points out that not
4734 overshooting allowed.
4736 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4738 Modified the procedure to get the widget at a point inside the
4739 pannable area when using the movement type signals. Now the user
4740 has to call a function to get the child, that way we just
4741 calculate the child in case the user really want to use it and not
4744 * src/hildon-marshalers.list: Modified the marshallers, now we do
4745 not have the widget as a parameter.
4747 * src/hildon-pannable-area.c
4748 (hildon_pannable_area_motion_notify_cb),
4749 (hildon_pannable_area_class_init),
4750 (hildon_pannable_get_child_widget_at): Removed the widget
4751 parameter from the signal callback. We have also refactored the
4752 emission of the signals.
4754 * src/hildon-pannable-area.h: Added a new method to the API to
4755 calculate a widget at a point inside the pannable area,
4756 hildon_pannable_get_child_widget_at.
4758 * examples/hildon-pannable-area-example-4.c
4759 (horizontal_movement): Modified the example to use the new API,
4760 added condition to control which widget is under the event. This
4761 way we can avoid scrolling laterally over other widgets.
4763 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4765 * src/hildon-pannable-area.c
4766 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4767 modes, we stop getting the pointer events due to returning the
4768 callback without properly calling the get pointer again. Fixed
4769 also an error using the hscroll and vscroll.
4771 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-app-menu-private.h
4774 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4775 (hildon_app_menu_button_release, hildon_app_menu_init)
4776 (hildon_app_menu_class_init): Don't hide the menu on button
4777 release if the user didn't press outside first.
4779 * src/hildon-window.h
4780 * src/hildon-window.c (hildon_window_toggle_menu)
4781 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4782 hildon_window_toggle_menu a virtual function for the stackable
4783 window to override it.
4785 * src/hildon-stackable-window.h
4786 * src/hildon-stackable-window-private.h
4787 * src/hildon-stackable-window.c
4788 (hildon_stackable_window_realize)
4789 (hildon_stackable_window_finalize)
4790 (hildon_stackable_window_class_init)
4791 (hildon_stackable_window_init)
4792 (hildon_stackable_window_set_main_menu): New function to set the
4793 app menu of a HildonStackableWindow.
4795 * examples/hildon-app-menu-example.c: Remove the button to show
4796 the app menu, now it'll be shown when clicking on the title bar
4799 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4801 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4802 set the widget name if the arrangement flags do not specify
4805 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4807 * src/hildon-button.c: (hildon_button_set_property),
4808 (hildon_button_class_init), (hildon_button_new_full),
4809 (hildon_button_set_arrangement): Added "arrangement-flags"
4812 Make the HildonButtonFlags a construction-only property, to allow
4813 subclasses to set them properly.
4815 2008-07-21 Tim Janik <timj@imendio.com>
4817 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4818 insertion position after backspace, so additional digits are appended,
4821 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4823 * src/hildon-pannable-area.c,
4824 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4825 TODO list, it was complete and removed the g_debug and g_print
4828 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4830 Added the movement modes to the hildon-pannable-area, with this
4831 modes the developers can control in which directions the widget
4832 can scroll. They can also connect to signals in order to do
4833 something when that happens, allowing applications scroll. There
4834 is an example uploaded showing how to use it.
4836 * examples/Makefile.am:
4837 * examples/hildon-pannable-area-example-4.c: Added this example of
4838 an application using the modes.
4840 * src/hildon-marshalers.list: Added a new marshaller for the new
4843 * src/hildon-pannable-area.h: Added new enumerations and flags in
4844 order to control the movement modes and the new signals to warn
4845 about the movements in the area.
4847 * src/hildon-pannable-area.c:
4848 (hildon_pannable_axis_scroll),
4849 (hildon_pannable_area_scroll),
4850 (hildon_pannable_area_motion_notify_cb),
4851 (hildon_pannable_area_get_property),
4852 (hildon_pannable_area_set_property),
4853 (hildon_pannable_area_map),
4854 (hildon_pannable_area_class_init),
4855 (hildon_pannable_area_init),
4856 (hildon_pannable_area_jump_to): Added the modes to control the
4857 movement in the widget. We have added properties to control it,
4858 signals to warn about the movements and refactored some code.
4860 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4862 Changes required in order to allow vfast_factor set to zero to
4865 * src/hildon-pannable-area.c:
4866 (hildon_pannable_area_button_press_cb): Changed the condition, it
4867 is required for not allowing click when vfast_factor is zero.
4868 (hildon_pannable_area_timeout): Initialized velocity variables
4869 when we stop moving, it was less than 1 but not zero and we need
4870 to check zero in some situations.
4871 (hildon_pannable_area_class_init): Changed the default value of
4872 the speed factor, now the button_press is just sent in case the
4873 speed is 2 per cent of the max speed.
4874 (hildon_pannable_area_init): Initialization with 0.
4876 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4878 * src/hildon-pannable-area.c,
4879 (hildon_pannable_area_get_topmost): replaced
4880 gdk_window_get_children with gdk_window_peek_children, this way we
4881 do not have to free the list because it is not a copy.
4883 (hildon_pannable_axis_scroll),
4884 (hildon_pannable_area_scroll),
4885 (hildon_pannable_area_timeout),
4886 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4887 two parameters that were only used inside the
4888 hildon_pannable_area_scroll function.
4890 * examples/hildon-pannable-area-example.c,
4891 (get_sawtooth_label): Fixed small memory leak.
4893 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4895 More checks for the case where the overshoot is bigger than the
4898 * src/hildon-pannable-area.c:
4899 (hildon_pannable_draw_vscroll),
4900 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4901 to draw the slider of the scrollbar under the other scrollbar.
4902 (hildon_pannable_area_expose_event): added new checks to control
4903 the drawing of the overshooting area rectangle, in case it is too
4904 big for the area of the widget.
4905 (hildon_pannable_area_size_allocate): add more checks to avoid
4906 setting a position to the child widget outside the area.
4908 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4910 * src/hildon-pannable-area.c
4911 (hildon_pannable_area_size_allocate): Added conditions to control
4912 when overshooting is bigger than the allocated space for the
4913 children, this avoids negative allocations.
4915 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4917 * doc/hildon-docs.sgml
4919 * examples/Makefile.am
4920 * examples/hildon-button-example.c
4922 * src/hildon-button.c
4923 * src/hildon-button.h
4924 * src/hildon.h: Initial version of the new HildonButton widget,
4927 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4929 * src/hildon-pannable-area.c:
4930 (hildon_pannable_area_button_press_cb),
4931 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4932 (hildon_pannable_area_motion_notify_cb),
4933 (hildon_pannable_area_button_release_cb),
4934 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4935 (hildon_pannable_area_jump_to_child):
4937 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4939 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4941 * examples/Makefile.am
4942 * examples/hildon-pannable-area-touch-grid-example.c
4943 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4944 the Hildon Touch List and Hildon Touch Grid using the
4945 HildonPannableArea widget.
4947 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4949 * src/hildon-pannable-area.c,
4950 (hildon_pannable_area_button_press_cb),
4951 (hildon_pannable_area_refresh),
4952 (hildon_pannable_area_scroll),
4953 (hildon_pannable_area_motion_notify_cb),
4954 (hildon_pannable_area_button_release_cb),
4955 (hildon_pannable_area_expose_event),
4956 (hildon_pannable_area_add),
4957 (hildon_pannable_area_remove),
4958 (hildon_pannable_area_realize),
4959 (hildon_pannable_area_size_allocate),
4960 (hildon_pannable_area_class_init),
4961 (hildon_pannable_area_init),
4962 (hildon_pannable_area_scroll_to_child),
4963 (hildon_pannable_area_jump_to_child): Fixed the problem of
4964 removing the child from the GtkBin, we have rearranged the widget
4965 hierarchy, now there is no GtkAlignment which was not doing
4966 anything interesting but breaking some of the assumptions of
4967 GtkContainer. Now developers if they want to add a GtkAlignment
4968 they could, but it is not inside the area.
4970 We had to review the whole allocation/expose process, now it is
4971 improved and we save at least three signals which would be saving
4972 some time when rendering the widget. The allocation of the
4973 scrollbars is now made in the allocate method as usual.
4975 We have also added some conditions in order to control when there
4976 is no child of the pannable area. Maybe we will need more work
4979 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4981 * src/hildon-pannable-area.c,
4982 (hildon_pannable_area_dispose): Released the fade-out timeout when
4983 disposing the widget.
4985 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4987 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4988 zero, we are going to use that property in order to deactivate the
4990 (hildon_pannable_axis_scroll),
4991 (hildon_pannable_area_size_allocate): Added conditions to control
4992 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4993 call, now it is called in all situations and we can remove calls
4994 in the allocate method.
4995 (hildon_pannable_area_map): Control the situation when
4996 overshoot_max is zero, we do not need the timeout.
4997 (hildon_pannable_area_class_init): Added documentation in order to
4998 point out that setting zero to overshoot_max means deactivate
5001 NOTE: removed trailing whitespaces from my previous comments of
5004 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5006 * src/hildon-pannable-area.c
5007 (hildon_pannable_area_get_property),
5008 (hildon_pannable_area_set_property),
5009 (hildon_pannable_area_map),
5010 (hildon_pannable_area_class_init),
5011 (hildon_pannable_area_init): Add a boolean "initial-hint" property
5012 to cause the widget give a hint about its panning abilities upon
5015 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5017 * src/hildon-pannable-area.c: Several documentation improvements.
5019 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5021 * src/hildon-program.c
5022 * src/hildon-stackable-window.c: Update documentation.
5024 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5026 * src/hildon-stackable-window.c (get_previous_window_if_last):
5027 Renamed get_last_window()
5028 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5029 (hildon_stackable_window_unset_program):
5031 (get_previous_window_if_last):
5032 Detect if the window hasn't been added to a HildonProgram.
5034 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5036 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5038 * src/hildon-pannable-area.c
5039 (hildon_pannable_area_button_press_cb),
5040 (hildon_pannable_axis_scroll),
5041 (hildon_pannable_area_scroll),
5042 (hildon_pannable_area_timeout),
5043 (hildon_pannable_calculate_vel_factor),
5044 (hildon_pannable_area_get_property),
5045 (hildon_pannable_area_set_property),
5046 (hildon_pannable_area_class_init),
5047 (hildon_pannable_area_init),
5048 (hildon_pannable_area_scroll_to),
5049 (hildon_pannable_area_jump_to),
5050 (hildon_pannable_area_scroll_to_child),
5051 (hildon_pannable_area_jump_to_child):
5052 * src/hildon-pannable-area.h: Added the new API functions:
5053 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5054 hildon_pannable_area_scroll_to_child,
5055 hildon_pannable_area_jump_to_child
5058 * examples/Makefile.am
5059 * examples/hildon-pannable-area-example-2.c
5060 * examples/hildon-pannable-area-example-3.c: Added these two new
5061 examples in order to test and show how the new APIs work.
5063 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5065 * examples/hildon-stackable-window-example.c (new_window):
5066 * src/Makefile.am (noinst_HEADERS):
5067 * src/hildon-program.c (hildon_program_go_to_root_window):
5068 * src/hildon-program.h:
5069 * src/hildon-stackable-window-private.h:
5070 * src/hildon-stackable-window.c:
5071 * src/hildon-stackable-window.h:
5072 Create hildon-stackable-window-private.h
5073 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5075 * examples/hildon-app-menu-example.c (create_menu):
5076 * examples/hildon-hvolumebar-insensitive-example.c (main):
5077 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5078 * examples/hildon-toolbar-seekbar-example.c (main):
5079 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5080 * src/hildon-banner.c (hildon_banner_set_property):
5081 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5082 Fix compilation warnings
5084 * src/hildon-window.c:
5087 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5089 * src/hildon-stackable-window.c
5090 (hildon_stackable_window_unset_program):
5091 Calculate correctly whether to show the previous window if the
5092 last one is removed from the stack.
5093 (hildon_stackable_window_go_to_root_window):
5094 Send delete events starting from the topmost window.
5095 Stop if one of the windows is not destroyed.
5097 (hildon_stackable_window_delete_event)
5098 (hildon_stackable_window_class_init):
5099 Ignore the delete event if the window is not the topmost one.
5101 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5103 * src/hildon-pannable-area.c
5104 (hildon_pannable_area_expose_event): Fixed a problem when
5105 selecting the background color of the scrollbars.
5107 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5109 * examples/hildon-stackable-window-example.c
5110 * src/hildon-stackable-window.c
5111 * src/hildon-stackable-window.h
5112 hildon_stackable_window_go_home() renamed to
5113 hildon_stackable_window_go_to_root_window()
5114 Send delete events to windows rather than closing them with
5115 gtk_widget_destroy()
5117 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5119 * src/hildon-pannable-area.c
5120 (hildon_pannable_area_button_release_cb): Fix overshooting in
5123 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5125 * src/hildon-pannable-area.c
5126 (hildon_pannable_area_init): Initially show the scroll indicators.
5127 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5129 Add initial effect showing the widget is pannable.
5131 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-pannable-area.c
5134 (hildon_pannable_area_class_init)
5135 (hildon_pannable_area_set_property)
5136 (hildon_pannable_area_get_property)
5137 (hildon_pannable_area_button_press_cb):
5138 New 'velocity_fast_factor' property to decide which velocity is
5141 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5143 * src/hildon-pannable-area.c
5144 (hildon_pannable_draw_hscroll)
5145 (hildon_pannable_draw_vscroll):
5146 Use float variables to calculate the size of the scrollbars to
5147 avoid error propagation and resizing during scrolling.
5149 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5151 * src/hildon-pannable-area.c
5152 (hildon_pannable_draw_vscroll)
5153 (hildon_pannable_draw_hscroll):
5154 Define a minimum size for the scroll bars
5156 * src/hildon-stackable-window.c
5157 (hildon_stackable_window_go_home): Fix compilation warning
5158 (get_last_window): Minor optimizations
5159 (hildon_stackable_window_class_init): Fix initialization of
5162 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5164 * src/hildon-stackable-window.c: Fixed typos in doc
5166 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5168 * src/hildon-pannable-area.c
5169 (hildon_pannable_area_scroll):
5170 Calculate here whether we need to scroll instead of using the booleans
5171 that tell us whether to /draw/ the scrolling bars.
5173 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5175 * src/hildon-app-menu.h
5177 * src/hildon-app-menu.c
5178 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5179 multiple filter groups related code and API. Now we support only
5181 * examples/hildon-app-menu-example.c:
5183 Update to reflect API changes.
5185 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5187 * src/hildon-stackable-window.c
5188 (hildon_stackable_window_class_init):
5189 Add hildon_stackable_window_realize.
5190 (hildon_stackable_window_realize):
5191 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5192 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5193 to apply theming and behavior specific to HildonStackableWindow
5196 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5198 * src/hildon-note.c (hildon_note_button_release):
5199 Close information notes also when tapping on them
5201 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5203 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5204 ELASTICITY, refactor and review, fix some issues with drawing
5207 * src/hildon-pannable-area.c:
5208 (hildon_pannable_area_button_press_cb): removed the conditions to
5209 avoid clicks when overshooting. It is not required
5211 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5212 define. Refatored and reviewed the code, now we do not need to
5213 manage velocity in motion_notify.
5215 (hildon_pannable_area_motion_notify_cb): We have moved the code
5216 that controls the area_scroll to the axis_scroll function and get
5217 rid of duplicated code.
5219 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5221 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5223 (hildon_pannable_draw_vscroll),
5224 (hildon_pannable_draw_hscroll): Fixed the problems with the
5225 scrollbar drawing, now we do not use two surfaces, it is easier
5226 and saves resources.
5228 (hildon_pannable_area_get_property): Style modification.
5230 (hildon_pannable_area_class_init): Changed some default values.
5232 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5234 * src/hildon-stackable-window.c: Fix some typos in the
5237 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5239 * src/hildon-dialog.c:
5240 Change indentation style
5243 (hildon_note_button_release):
5244 Use root coordinates to check if the release event happened
5247 * src/hildon-app-menu.c
5248 (hildon_app_menu_button_release):
5249 Remove unnecessary check
5251 * examples/hildon-app-menu-example.c
5253 Add cast to fix warning
5255 * src/hildon-app-menu.c
5256 (hildon_app_menu_class_init):
5257 New inner-border style property.
5258 Set all default spacings to 16
5259 (hildon_app_menu_init):
5260 Use vertical-spacing to set the space between filter buttons and
5261 regular menu buttons.
5262 Set the default container border using the inner-border value.
5264 * examples/hildon-app-menu-example.c
5266 Don't set the menu border explicitly, now we have the inner-border
5267 style property for that.
5269 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5271 * src/hildon-app-menu.c (hildon_app_menu_init):
5272 Make the window modal
5274 * src/hildon-note.c (hildon_note_map)
5275 * src/hildon-app-menu.c (hildon_app_menu_map):
5276 Destroy the grab window if we're unable to grab the pointer
5278 * src/hildon-app-menu-private.h
5279 * src/hildon-app-menu.c
5280 (hildon_app_menu_init, hildon_app_menu_finalize)
5281 (hildon_app_menu_map, hildon_app_menu_unmap)
5282 (hildon_app_menu_button_release)
5283 (grab_transfer_window_get):
5284 Bring back the grab window
5285 (hildon_app_menu_realize):
5286 Decorate the window, set WM hint for Matchbox
5288 * src/hildon-note.c (hildon_note_realize):
5289 * src/hildon-banner.c (hildon_banner_realize):
5290 Add WM hints for Matchbox
5292 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5294 * src/hildon-app-menu-private.h
5295 * src/hildon-app-menu.c
5296 (hildon_app_menu_init, hildon_app_menu_finalize)
5297 (hildon_app_menu_map, hildon_app_menu_unmap)
5298 (hildon_app_menu_button_release):
5299 Remove the grab window, it's not needed anymore
5301 * src/hildon-program.c
5302 Fixed typo in documentation
5304 * src/hildon-app-menu.h
5305 * src/hildon-app-menu.c
5306 * examples/hildon-app-menu-example.c
5307 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5309 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5312 Added new transfer_window and close_if_pressed_outside private
5314 (hildon_note_rebuild):
5315 Don't add a cancel button to the information note. It will be
5316 closed when tapping outside
5317 Remove the comment about the OK button in the documentation
5318 (hildon_note_realize):
5319 Set the notification type hint
5320 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5321 Grab/ungrab pointer and keyboard if the note has to be closed when
5323 (hildon_note_button_release):
5324 Close the note when tapping outside (if applicable)
5326 * src/hildon-app-menu.c
5327 Grab/ungrab pointer and keyboard on map/unmap
5328 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5329 Close the menu on button release, not button press
5331 * src/hildon-banner.c
5332 (hildon_banner_set_property)
5333 (hildon_banner_check_position):
5334 Make the banner use the full width of the screen
5335 (hildon_banner_show_information)
5336 (hildon_banner_show_information_with_markup):
5337 Don't display an icon by default
5339 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5341 Added fading scrollbars and adapted all the overshooting code to
5342 horizontal scrolling. We have also fixed bugs with overshooting
5343 and current fading implementation.
5345 * src/hildon-pannable-area.c
5346 (hildon_pannable_area_scroll_indicator_fade): Time out function
5347 used to change the transparency of the scrollbars.
5349 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5350 control and fixed a problem with fading, we now remove the fade
5351 timeout before adding a new one.
5353 (hildon_pannable_axis_scroll):
5354 (hildon_pannable_area_scroll):
5355 (hildon_pannable_area_timeout): Added this functions so we can use
5356 the scroll code both for vertical and horizontal.
5358 (hildon_pannable_area_motion_notify_cb):
5359 (hildon_pannable_area_button_release_cb): Added the horizontal
5360 scrolling control, fixed a problem with the overshooting timeout.
5362 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5363 painting of the scrolls.
5365 (hildon_pannable_draw_vscroll):
5366 (hildon_pannable_draw_hscroll):
5367 (hildon_pannable_area_expose_event):
5368 Draw both scrollbars and rectangles in the overshooting area.
5370 (hildon_pannable_area_get_property):
5371 (hildon_pannable_area_set_property):
5372 Modified the overshoot property to overshoot_max
5374 (hildon_pannable_area_map):
5375 Replaced the comments symbols.
5377 (hildon_pannable_area_size_allocate):
5378 (hildon_pannable_area_class_init):
5379 (hildon_pannable_area_init): Added horizontal scroll, fading
5380 effect properties, fixed a problem when overshooting in the bottom
5383 * examples/hildon-pannable-area-example.c:
5384 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5385 looks better in the example.
5387 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5389 * src/hildon-window.c
5390 * src/hildon-window.h
5391 (hildon_window_class_init)
5392 (hildon_window_unset_program)
5393 (hildon_window_unset_program_real):
5394 Make unset_program a virtual function
5396 * src/hildon-stackable-window.c
5397 * src/hildon-stackable-window.h
5398 Added hildon_stackable_window_go_home()
5400 * examples/Makefile.am
5401 * examples/hildon-stackable-window-example.c
5402 HildonStackableWindow example
5404 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5406 * hildon-pannable-area.c: Added the overshoot property and removed
5407 the OVERSHOOT define. Fixed an indent style error.
5408 (hildon_pannable_area_motion_notify_cb):
5409 (hildon_pannable_area_get_property):
5410 (hildon_pannable_area_set_property): Add overshoot property.
5412 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5415 (hildon_pannable_area_class_init): Installed the new property.
5417 * hildon-pannable-area-example.c: Added a sawtooth function, this
5418 way it is easier to check the movement in the pannable.
5419 (get_sawtooth_label): Added this function.
5420 (main): Now we get the labels from the new get_sawtooth_label
5423 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5425 * src/hildon-app-menu.h
5426 * src/hildon-app-menu.c
5427 Renamed API variables for consistency
5429 (hildon_app_menu_popup): Use also the default window size to
5430 decide where to place the menu
5432 (hildon_app_menu_init, hildon_app_menu_class_init): New
5433 external-border style property
5435 2008-05-26 Michael Natterer <mitch@imendio.com>
5437 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5438 widget_class->tap_and_hold_setup signal slot doesn't exist any
5439 longer, stop overriding it.
5441 (hildon_time_editor_init): g_signal_connect() to the
5442 tap-and-hold-setup signal instead.
5444 (hildon_time_editor_entry_keypress): add cast to fix warning.
5446 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5448 * doc/hildon-docs.sgml
5450 * examples/Makefile.am
5451 * examples/hildon-app-menu-example.c
5453 * src/hildon-app-menu-private.h
5454 * src/hildon-app-menu.c
5455 * src/hildon-app-menu.h
5457 New HildonAppMenu widget
5459 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5461 Rearranged the inheritance of the pannable area, now it inherits
5462 from GtkBin. This will allow us to control the event_window and
5463 the allocation process of the widget, required for some effects.
5465 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5466 GtkBin structures. * src/hildon-pannable-area.c: Added the
5467 event_window variable.
5468 (hildon_pannable_area_button_press_cb):
5469 (hildon_pannable_area_button_release_cb):
5470 (hildon_pannable_area_motion_notify_cb):
5471 Changed the signature of the method, now we override the event
5472 callback instead of connecting to the signal.
5474 (hildon_pannable_area_realize):
5475 (hildon_pannable_area_unrealize):
5476 (hildon_pannable_area_map):
5477 (hildon_pannable_area_unmap):
5478 (hildon_pannable_area_size_allocate):
5479 Added functions to control the widget construction. We add a
5480 INPUT_ONLY window and we put it over the widgets inside the
5481 container, this event_window handles the events.
5483 (hildon_pannable_area_class_init):
5484 Replaced the signal connections with overrides of the event
5487 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5489 Bouncing effect added when touching the borders, you can change
5490 the elasticity of the border changing the ELASTICITY define.
5492 * src/hildon-pannable-area.c: Added ELASTICITY define.
5493 (hildon_pannable_area_timeout): Added inverse velocity when
5494 touching the border of the child widget, that causes a bounce.
5496 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5498 Improved performance, we now do not go to the X server in order to
5499 get the list of window children. Apparently the effect is the
5500 same, we have to be careful and check if this breaks something in
5503 * src/hildon-pannable-area.c:
5504 (get_ordered_children): Removed this function.
5505 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5506 the children windows function with gdk_window_get_children.
5508 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5510 * src/hildon-pannable-area.c:
5511 (hildon_pannable_area_dispose): Fixed a crash when closing the
5512 window and kinetics is activated.
5514 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-pannable-area.h
5517 * src/hildon-pannable-area.c
5518 Changed indentation style to meet the one used in Hildon
5520 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5522 Reviewed the interaction of the AUTO mode, now we use the time
5523 attribute of the events and calculate the velocity in the motion,
5524 doing a gimp like calculation. The velocity is calculated in each
5525 motion event using the last velocity and the current one, the
5526 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5528 * src/hildon-pannable-area.c: Replaced the time based algorithm
5530 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5531 timeout for the AUTO mode when we are still moving the cursor. We
5532 added also the velocity calculation in this function.
5533 (hildon_pannable_area_button_release_cb): launch the timeout in
5534 case we are in AUTO mode. There are still some constants here that
5535 come from the old implementation that should be reviewed and
5538 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5540 * doc/hildon-docs.sgml
5543 * src/hildon-stackable-window.c
5544 * src/hildon-stackable-window.h
5546 New HildonStackableWindow widget
5548 * examples/hildon-dialog-example.c
5549 * examples/hildon-pannable-area-example.c
5552 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5554 * src/hildon-dialog.c
5555 (hildon_dialog_new_with_buttons): New constructor.
5557 * examples/hildon-dialog-example.c
5558 (main): Update the example to use the new
5559 hildon_dialog_new_with_buttons().
5561 * examples/hildon-pannable-area-example.c
5562 (main): Update example.
5564 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5566 * doc/hildon-docs.sgml
5568 Added HildonPannableArea to the documentation.
5570 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5572 * doc/visual_index.xml
5573 Fix reference to HildonLoginDialog in documentation
5575 * doc/hildon-docs.sgml
5577 * examples/Makefile.am
5578 * examples/hildon-dialog-example.c
5580 * src/hildon-dialog.c
5581 * src/hildon-dialog.h
5583 New HildonDialog widget.
5585 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5587 * src/hildon-pannable-area.c
5588 Merge latest changes (r4318, r4342) from libmokoui trunk
5590 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5592 * examples/Makefile.am
5593 * examples/hildon-pannable-area-example.c
5595 * src/hildon-pannable-area.c
5596 * src/hildon-pannable-area.h
5598 New HildonPannableArea widget.
5600 2008-04-15 18:05:19 <timj@imendio.com>
5602 * src/hildon-banner.c: revert the recent change, that introduced
5603 gtk_window_present() calls. this reopens:
5604 Bug 78481 - [freetest] information banners are hidden under browser menu
5605 But resolves another variant of:
5606 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5608 2008-04-15 13:21:13 <timj@imendio.com>
5610 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5611 recreated its layout, spotted by Kris. this fixes all remaining
5612 artefacts and stability issues with the banner code. in particular:
5613 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5615 2008-04-14 16:52:59 <timj@imendio.com>
5617 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5618 operating on unrealized widgets, fixes:
5619 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5621 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5623 2008-04-09 Kristian Rietveld <kris@imendio.com>
5625 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5626 makes banner disappear.
5627 Fixes: NB#79182: info banner flickering with certain message lengts.
5629 * src/hildon-banner.c (hildon_banner_constructor),
5630 (hildon_banner_init), (hildon_banner_set_text),
5631 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5632 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5633 FALSE, reset size requests of label and banner,
5634 (force_to_wrap_truncated): when the text is too wide, always enforce
5635 the maximum possible width instead of recalculating it from the
5636 layout; enforce the maximum banner height of 3 lines,
5637 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5638 nicer wrapping and no truncated chars if space gets tight.
5640 * src/hildon-banner-private.h: add has_been_wrapped and
5641 has_been_truncated fields.
5643 2008-04-07 Sven Herzberg <sven@imendio.com>
5645 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5646 local values in hildon_date_editor_size_allocate
5648 * src/hildon-date-editor.c: moved the real allocation code into the
5651 2008-04-07 Sven Herzberg <sven@imendio.com>
5653 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5654 local values in hildon_date_editor_size_allocate
5656 * src/hildon-date-editor.c: merged the two if() branches together
5658 2008-04-07 Sven Herzberg <sven@imendio.com>
5660 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5661 local values in hildon_date_editor_size_allocate
5663 * src/hildon-date-editor.c: changed the arguments of the if()
5666 2008-04-07 Sven Herzberg <sven@imendio.com>
5668 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5669 local values in hildon_date_editor_size_allocate
5671 * src/hildon-date-editor.c: split the calculation of the allocation
5672 from the real allocation
5674 2008-03-27 Michael Natterer <mitch@imendio.com>
5676 Fixes: NB#81696: The passcode is not overwritten even after
5679 * src/hildon-code-dialog.c
5680 (hildon_code_dialog_button_clicked)
5681 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5682 because that doesn't overwrite selected text. Instead, emit the
5683 "commit" signal on the entry's im_context so the entry's normal
5684 insert logic is triggered. Set the cursor to the end of the entry
5685 after each insert operation so that we *only* insert in the middle
5686 of the text if something was selected.
5688 2008-03-27 Michael Natterer <mitch@imendio.com>
5690 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5691 selector cannot be opened
5693 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5694 when the popup color selector is created. Please connect to this
5695 signal in order to set the dialog's help ID.
5697 2008-03-25 Sven Herzberg <sven@imendio.com>
5699 Fixes: MB#1212: Hide info banners (infoprints) on click
5701 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5702 extracted the close event simulation into an extra function
5703 (hildon_banner_button_press_event): simulate a close event and destroy
5704 the widget if the event wasn't handled
5705 (hildon_banner_class_init): added the button_press_event handler
5706 (hildon_banner_init): added button-press events to the widget
5708 2008-03-25 Sven Herzberg <sven@imendio.com>
5710 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5711 Patch from: Mohammad Anwari <mdamt@maemo.org>
5713 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5714 instead of the right in RTL mode
5715 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5716 breadcrumb button list in RTL mode
5717 * src/hildon-caption.c: mirror the appearance of the caption widget in
5719 * src/hildon-date-editor.c: mirror appearance of the date editor in
5721 * src/hildon-time-editor.c: mirror appearance of the time editor in
5723 * src/hildon-window.c: fix the position of the popup in RTL mode
5725 2008-03-25 Sven Herzberg <sven@imendio.com>
5727 Amendment to the fix of NB#22072. Fix compilation.
5729 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5731 2008-03-19 Sven Herzberg <sven@imendio.com>
5733 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5736 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5737 timeout id properly when the timeout will disappear this leaves no
5738 artifacts around in the destroy(); there will only be the timeout
5739 created by hildon_banner_ensure_timeout() and adding a new timeout
5740 will also work if the timeout gets removed because the timeout_handler
5743 2008-03-19 Michael Natterer <mitch@imendio.com>
5745 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5747 * src/hildon-volumebar.c
5748 * src/hildon-vvolumebar.c
5749 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5750 the widget becomes focussable at all.
5752 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5753 set the focus to wither the mute button or the volumebar.
5755 Remove own "can-focus" property and instead listen to
5756 notify::can-focus in order to update the widget's state.
5758 Implement GtkWidget::focus() and make sure we can also *leave* the
5759 widget, not only enter it, depending on volumebar orientation and
5760 requested focus direction.
5762 Clean up set_mute() to cooperate nicely with all the above.
5764 2008-03-04 Michael Natterer <mitch@imendio.com>
5766 Fixes: NB#78481: information banners are hidden under browser menu
5768 * src/hildon-banner.c: call gtk_window_present() on the banners so
5769 they are risen if they are already visible.
5771 2008-03-03 Sven Herzberg <sven@imendio.com>
5773 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5775 * examples/hildon-window-menu-example.c: (main): extended the window
5776 menu example to serve as a testcase for automatically added
5777 accelerator groups, too
5778 * src/hildon-window.c: (hildon_window_add_accel_group),
5779 (hildon_window_set_menu): added patch by Tommi Komulainen
5781 2008-03-03 Sven Herzberg <sven@imendio.com>
5783 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5785 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5786 knowledge about the border allocators used within GTK+
5788 2008-02-26 Sven Herzberg <sven@imendio.com>
5790 Fixes: MB#2981: Build with asserts broken
5792 * src/hildon-date-editor.c,
5793 * src/hildon-number-editor.c,
5794 * src/hildon-time-editor.c,
5795 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5796 the proper GType instance check
5798 2008-02-25 Sven Herzberg <sven@imendio.com>
5800 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5802 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5803 * examples/hildon-window-menu-example.c: (main): explicitly show
5805 * src/hildon-window.c:
5806 (hildon_window_set_main_menu): moved most of the code from set_menu()
5807 to this place; skipped the call to gtk_widget_show_all(); also didn't
5808 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5809 (hildon_window_set_menu): removed most of the code, just keep the
5810 questionable gtk_widget_show_all()
5811 * src/hildon-window.h: added the new function and deprecate the old
5814 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5820 * debian/changelog: Updating.
5822 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5825 * pkgconfig/Makefile.am:
5826 * pkgconfig/hildon.pc.in:
5829 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5830 use newly created API_MAJOR_VERSION.
5832 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5838 * debian/changelog: Updating.
5840 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5842 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5844 Add outer_border style property, we use it but don't define it (!).
5848 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5850 * examples/hildon-bread-crumb-trail-example.c (main):
5854 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5856 Fix logic for the bread crumb trail node removal.
5860 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5866 * debian/changelog: Updating.
5868 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5870 Patch by Alejandro to get/set passwords dialogs accesibility.
5872 * hildon-1/src/hildon-get-password-dialog.c:
5873 * hildon-1/src/hildon-set-password-dialog.c:
5874 Set atk_set_name to the passwd entries in order to allow
5875 accessibility by name on this entries.
5877 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5882 * debian/control: Updating gtk dep.
5884 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5886 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5887 USE_MAEMO_GTK is enabled.
5889 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5891 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5892 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5894 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5900 * debian/changelog: Updating.
5902 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5904 * examples/Makefile.am:
5905 * examples/hildon-logical-color-example.c:
5906 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5907 applied + adding a test case. Fixes: NB#71660.
5909 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5911 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5912 to be visible, fixes warning on map for windows without toolbars.
5914 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5916 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5917 2.11.0, add a check for that besides the MAEMO_GTK check.
5919 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5925 * debian/changelog: Updating.
5927 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5929 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5930 visibility. Fixes: NB#70842 and MB#615.
5932 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5934 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5935 set the separator as no-show-all so it doesn't unintentionally appear when
5936 someone does a show_all.
5938 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5940 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5941 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5942 toplevel item. Fixes: NB#62031
5944 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5946 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5947 fix the name of the function in the docs.
5949 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5955 * debian/changelog: Updating.
5957 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5959 * examples/hildon-banner-long-example.c: Adding a test-case for long
5962 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5964 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5966 * src/hildon-color-chooser-dialog.c:
5967 * src/hildon-color-chooser.c:
5968 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5969 memory leaks in font selector and color selector. Fixes: NB#70499 and
5972 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5974 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5976 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5978 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5979 little bit bigger. Fixes: #NB63694.
5981 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5987 * debian/changelog: Updating.
5989 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5992 * doc/hildon-docs.sgml:
5993 * doc/images/bread-crumb-trail.png:
5994 * doc/images/calendar-popup.png:
5995 * doc/images/caption.png:
5996 * doc/images/code-dialog.png:
5997 * doc/images/color-button.png:
5998 * doc/images/color-chooser-dialog.png:
5999 * doc/images/color-chooser.png:
6000 * doc/images/controlbar.png:
6001 * doc/images/date-editor.png:
6002 * doc/images/font-selection-dialog.png:
6003 * doc/images/get-password-dialog.png:
6004 * doc/images/hvolumebar.png:
6005 * doc/images/login-dialog.png:
6006 * doc/images/note.png:
6007 * doc/images/number-editor.png:
6008 * doc/images/range-editor.png:
6009 * doc/images/seekbar.png:
6010 * doc/images/set-password-dialog.png:
6011 * doc/images/sort-dialog.png:
6012 * doc/images/time-editor.png:
6013 * doc/images/time-picker.png:
6014 * doc/images/vvolumebar.png:
6015 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6016 Adding the bread-crumb-trial and helpers to the documentation.
6018 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6020 * examples/hildon-find-toolbar-example.c:
6021 * src/hildon-find-toolbar.c:
6022 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6023 actually continue firing the other handlers if connected. Adding a new
6025 hildon_find_toolbar_get_last_index that gets the index of the most
6026 recently added (last) item. Fixes: NB#52301.
6028 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6030 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6031 behaviour. Fixes: NB#68610.
6033 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6035 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6038 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6040 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6041 when realizing the banner. Should make the infonbanner effect a bit more
6044 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6046 * src/hildon-volumebar.c:
6047 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6048 hildon_volumebar_set_range_insensitive_message and
6049 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6051 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6053 * src/hildon-window.c: Fixing the border freeing on destroy.
6055 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6057 * src/hildon-code-dialog-private.h:
6058 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6059 kw keyboard support in HildonCodeDialog.
6061 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6067 * debian/changelog: Updating.
6069 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6071 * src/hildon-date-editor.c:
6072 * src/hildon-number-editor.c:
6073 * src/hildon-private.c:
6074 * src/hildon-private.h:
6075 * src/hildon-time-editor.c:
6076 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6077 handling in subclassed composite widgets. Fixes: NB#66628.
6079 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6081 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6082 from destroy_ callback as it introduces problems in async dbus signal
6083 handlers. Fixes NB#66673.
6085 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6087 * examples/hildon-hvolumebar-example.c:
6088 * src/hildon-volumebar.c: Improving the focus handling in the
6089 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6090 set_property accessor so that "mute" property can be actually set. I'm
6091 scared that nobody noticed it's totally broken.
6093 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6098 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6100 * src/hildon-calendar.c:
6101 * src/hildon-number-editor.c:
6102 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6103 matches the spec of 6 chars per second. Fixes: NB#60489.
6105 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6107 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6108 gtk_style_lookup_color sometime returns FALSE even though color was
6109 found and values were filled properly. Weird. Removing the warning for the
6112 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6114 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6115 expand vertically. Adding some extra space to the find toolbar buttons to
6116 make them thumbable. Fixes NB#66060.
6118 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6120 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6121 popup with "Ok" and "Cancel". Fixes NB#59299.
6123 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6125 * src/hildon-calendar.c: Process all window updates before executing next
6126 timeout. Fixes: NB#54146.
6128 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6134 * debian/changelog: Updating.
6136 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6138 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6139 the client event and ignore it, since we use the delete event to close
6142 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6144 * src/hildon-helper.c: Remove the bogus warning about color not being
6145 found. Fixes NB#58352.
6147 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6149 * examples/Makefile.am:
6150 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6151 HildonSeekbar widget inside a toolbar.
6153 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6155 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6156 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6157 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6158 don't want to be closed by non-temporary windows on map.
6160 Also use G_DEFINE_TYPE instead of manually typed code.
6162 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6169 * debian/rules: Updating.
6171 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6173 * examples/Makefile.am:
6174 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6175 bug NB#61128. Strangely it works.
6177 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6179 * src/hildon-date-editor.c: When the date editor entry has been changed
6180 but the numbers of characters < max, turn off the skip validation flag.
6181 Prevents a situation when we enter first a valid year and later re-write
6182 it with an invalid one. Fixes NB#60154.
6184 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6186 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6187 code dialog. Fixes NB#64355.
6189 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6191 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6192 switching the page. Fixes NB#49374.
6194 * examples/Makefile.am:
6195 * examples/hildon-wizard-dialog-example.c: Adding an example for
6196 HildonWizardDialog that shows how to handle manual sensitivity setting on
6199 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6203 * src/hildon-version.h.in:
6204 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6206 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6208 * src/hildon-volumebar.c: Updating the docs.
6210 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6216 * debian/changelog: Updating.
6218 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6220 * src/hildon-find-toolbar.c:
6221 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6222 selected item: hildon_find_toolbar_set_active,
6223 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6224 hildon_find_toolbar_get_active_iter . They correspond to respective
6225 GtkComboBox functions.
6227 * examples/Makefile.am:
6228 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6231 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6233 * examples/Makefile.am:
6234 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6237 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6238 when font size > 32 and we pack a focusable widget inside. Actually using
6239 the default response would work too, but since we don't show default
6240 response state in any way (no theming) it would not be visible to the
6241 user. Fixes NB#63430.
6243 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6245 * src/hildon-date-editor.c: Adding the missing variable setter in the
6246 set_property handler. Fixes NB#54182.
6248 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6250 * src/hildon-window.h: Changing the long key press time from 1500ms to
6251 800ms as requested in NB#63700. I have a bad feeling about this, let's
6252 see... Fixes NB#63700.
6254 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6256 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6257 hildon_time_picker_map, hildon_time_picker_realize,
6258 hildon_time_picker_style_set): Split the contents of map to more
6259 appropriate functions; set window decorations on realize and update
6260 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6262 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6267 * debian/changelog: Updating.
6269 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6271 * src/Makefile.am: fixed installation of the header files
6273 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6279 * debian/changelog: Updating.
6281 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6283 * configure.ac: Removing some remaining of --enable-xan.
6285 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6287 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6288 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6290 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6291 2.10.12-osso6 because the move-focus signal needs to be available in
6294 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6296 * examples/Makefile.am:
6297 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6298 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6299 fine. Prolly NB#61128 is fixed now.
6301 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6303 * src/hildon-volumebar.c:
6304 * src/hildon-volumebar.h: Adding the
6305 hildon_volumebar_set_range_insensitive_message and
6306 hildon_volumebar_set_range_insensitive_messagef functions to set
6307 insensitive message on the slider of the volumebar. Fixes NB#61129.
6309 * examples/Makefile.am:
6310 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6311 test the new insensitive messsage functionality on HildonVolumebar.
6313 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6315 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6318 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6320 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6321 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6322 button on after clearing the trail.
6324 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6326 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6328 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6330 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6331 by splitting the installed headers in generated and non-generated groups. Use
6332 only the non-generated headers to create the hildon-enum-types.h file.
6334 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6336 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6338 * src/hildon-window.c: Hide the window before performing the destroy.
6339 Should make the app closing a little tiny bit more snappy.
6341 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6343 * src/hildon-seekbar.c: add gtkrange.h header
6344 * src/hildon-caption.c: remove unused variable
6346 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6348 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6351 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6357 * debian/changelog: Updating.
6359 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6361 * src/hildon-window.c (hildon_window_window_state_event,
6362 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6363 escape timeout on focus-out-event rather than notify::is-topmost; the
6364 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6366 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6368 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6369 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6371 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6373 * src/hildon-window: actually, you need to use the macro always, there's
6374 no private pointer in the instance structure. We should have cleaned this up
6375 when we had the chance...
6377 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6379 * src/hildon-window.c: do not get the private date from HildonWindow before
6380 it passes the g_return_if_fail check. Once it's passed the test, there's no
6381 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6382 if you are only going to access the data once. Whitespace cleanups.
6384 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6386 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6387 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6389 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6395 * debian/changelog: Updating.
6397 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6399 * src/hildon-window.c: When destroying the window, remove (if exists) the
6400 escape timeout handler. Fixes #NB59276.
6402 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6404 * src/hildon-banner.c: When realizing the widget, set the window
6405 transiency. Setting the transiency in the gobject constructor is not
6406 good, as the widget is not realized at that point. Fixes: #NB56624.
6408 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6410 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6411 Add padding for future expansions.
6413 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6415 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6416 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6417 will fake an activation on the previous to the last item of the trail, so
6418 the effect can be overrided by the developer as usual.
6419 Also change the callback for the back button to do the same thing, so its
6420 effect can be overrided too. Fixes: NB#58982
6422 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6424 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6425 HildonCaption. Fixes NB#52379.
6427 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6429 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6430 the internal state of the trail after the user has had the chance of executing
6431 his handler for the signal. Specifically, it may happen that the activated button
6432 is removed and the user still lets the default handler run. This would segfault
6435 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6437 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6438 scrollbar to the preview dialog. Fixes NB#54147.
6440 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6442 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6443 max/min year properties can be altered, so the client can modify it
6444 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6446 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6448 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6449 hildonlike by default. Fixing a problem with disappearing arrows when
6450 scrolling through months and years. Fixes NB#54127.
6452 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6454 * examples/hildon-date-editor-example.c: Adding error callback to the date
6457 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6463 * configure.ac: Updating.
6465 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6467 * configure.ac: Adding a special '--enable-xan' configure option that
6468 turns off the -Werror compilation setting. Usefull for development.
6470 * src/hildon-calendar.c:
6471 * src/hildon-number-editor.c:
6472 * src/hildon-time-picker.c: Adding the 5* multiplier to
6475 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6477 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6478 instead of g_object_ref + gtk_object_sink.
6480 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6486 * debian/changelog: Updating.
6488 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * src/hildon-color-chooser-dialog.c:
6491 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6492 straight from Tommi labs.
6494 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6496 * examples/hildon-finger-example.c: Correcting the header file path.
6498 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6499 the changed signal. Fixes a small memory leak.
6501 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6505 * src/hildon-banner.c: Importing several usefull fixes from the
6506 ubuntu-mobile branch.
6508 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6510 * examples/Makefile.am:
6511 * examples/hildon-finger-example.c: Adding a finger-checking code
6514 * src/hildon-font-selection-dialog.c: Do not allocate the color
6515 structure using the g_new. Fixes NB#54061.
6517 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6519 * src/hildon-helper.c: Correcting tabs in file.
6521 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6523 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6524 control the visibility of the children.
6526 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6528 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6534 * debian/changelog: Updating.
6536 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6538 * src/hildon-bread-crumb-trail.c:
6539 (hildon_bread_crumb_trail_size_allocate):
6541 Make the back button always a square.
6543 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6545 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6546 from the .c file as it's a private file.
6548 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6550 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6551 uses slightly bigger height.
6553 * src/hildon-font-selection-dialog.c: Adding some checks before
6554 freeing memory in the font selection dialog.
6556 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6558 * src/hildon-font-selection-dialog.c: Adding a small check when
6561 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6562 buttons sensitivity on page switching.
6564 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6566 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6567 internal details of adding a bread crumb to the trail.
6569 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6575 * debian/changelog: Updating.
6577 * src/hildon-bread-crumb-trail.h:
6578 * src/hildon-bread-crumb.h: Changing the API guard to
6579 HILDON_ENABLE_UNSTABLE_API.
6581 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6589 * src/hildon-helper.h: Updating.
6591 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6599 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6603 * src/hildon-helper.h: Small fix to make the package actually compile.
6605 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6607 * src/hildon-bread-crumb-trail.h:
6608 * src/hildon-bread-crumb.h:
6610 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6611 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6613 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6615 * examples/hildon-bread-crumb-trail-example.c:
6617 * src/hildon-bread-crumb-trail.c:
6618 * src/hildon-bread-crumb-trail.h:
6619 * src/hildon-bread-crumb.c:
6620 * src/hildon-bread-crumb.h:
6621 * src/hildon-marshalers.list:
6622 * src/hildon-bread-crumb-widget.c:
6623 * src/hildon-bread-crumb-widget.h:
6625 Slight change in the widget design. The bread crumb trail API is
6626 unchanged, but HildonBreadCrumb is now an interface. A *private*
6627 implementation, hildon-bread-crumb-widget, is provided and used
6628 internally by the trail for the push_text/push_icon functions.
6630 The generic push API is still available, so anyone can implement
6631 and use its own bread crumb widget.
6633 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6635 * debian/rules: Fixing the shlibs.
6637 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6639 * src/hildon-banner.c: Fixing a problem with timed banners having
6640 their parrent destroyed before they are.
6642 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6644 * src/hildon-bread-crumb.c:
6645 * src/hildon-bread-crumb.h:
6647 Make the get_natural_size function a vfunc.
6649 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6651 * src/hildon-bread-crumb.c:
6652 * src/hildon-bread-crumb-trail.c:
6656 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6663 * debian/changelog: Updating for release.
6665 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6667 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6668 don't leak the pango layout.
6670 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6673 * examples/hildon-bread-crumb-trail-example.c:
6677 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6679 * debian/changelog: Removing the bug-fixed entries that were actually
6680 resolved as WONTFIX.
6682 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6685 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6687 * src/hildon-bread-crumb-trail.c:
6688 * src/hildon-bread-crumb-trail.h:
6689 * src/hildon-bread-crumb.c:
6690 * src/hildon-bread-crumb.h:
6694 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6696 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6697 until it's passed the type check.
6699 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6701 * examples/hildon-bread-crumb-trail-example.c
6705 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6707 * examples/Makefile.am
6708 * examples/hildon-bread-crumb-trail-example.c
6710 * src/hildon-bread-crumb-trail.c
6711 * src/hildon-bread-crumb-trail.h
6712 * src/hildon-bread-crumb.c
6713 * src/hildon-bread-crumb.h
6715 New HildonBreadCrumbTrail widget.
6717 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6719 * src/hildon-range-editor.c (hildon_range_editor_init),
6720 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6721 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6722 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6723 hildon_time_editor_class_init, hildon_time_editor_init),
6724 src/hildon-get-password-dialog.c (invalid_input,
6725 hildon_get_password_set_property, hildon_get_password_get_property,
6726 create_contents, hildon_get_password_dialog_set_max_characters),
6727 src/hildon-set-password-dialog.c (create_contents),
6728 src/hildon-date-editor.c (hildon_date_editor_init),
6729 src/hildon-login-dialog.c (hildon_login_dialog_init),
6730 src/hildon-number-editor.c (hildon_number_editor_init),
6731 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6732 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6733 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6734 configure option and adding the respective checks in the code.
6735 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6736 hildon_calendar_drag_data_received): fixed some build warnings.
6738 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6740 * debian/changelog: A 1.0.0 release notes.