1 2009-02-27 Alberto Garcia <agarcia@igalia.com>
3 * doc/hildon-sections.txt
4 * src/hildon-app-menu.h
5 * src/hildon-app-menu.c (+hildon_app_menu_popup):
6 New function to pop up a HildonAppMenu
8 * src/hildon-stackable-window.c
9 (hildon_stackable_window_toggle_menu):
10 Use hildon_app_menu_popup() to show the menu.
12 2009-02-27 Alberto Garcia <agarcia@igalia.com>
14 * src/hildon-app-menu.c (hildon_app_menu_show)
15 (hildon_app_menu_map, +hildon_app_menu_find_intruder): Hide the
16 menu if there's another window between it and its parent window.
18 Fixes: NB#100468 (Application menu window is launched even when a
19 new secondary-window/dialog is pending to be shown/realized)
21 2009-02-27 Alberto Garcia <agarcia@igalia.com>
23 * src/hildon-window-stack.c (hildon_window_stack_push)
24 (hildon_window_stack_pop_and_push):
25 Don't forget to push/pop the first window.
26 Reverse the window list before calling _push_list()
28 2009-02-27 Alberto Garcia <agarcia@igalia.com>
30 * src/hildon-picker-button.h
31 * src/hildon-picker-button.c (hildon_picker_button_class_init):
32 Remove "value_changed" slot to avoid ABI breakage
34 2009-02-26 Alejandro G. Castro <alex@igalia.com>
36 * src/hildon-pannable-area.c,
37 (hildon_pannable_area_realize),
38 (hildon_pannable_area_unrealize),
39 (hildon_pannable_draw_vscroll),
40 (hildon_pannable_draw_hscroll): Changed the method to handle the
41 GC used to draw the transparent scrollbar, this way we avoid
42 creating the GC all the time when drawing the scrollbars.
44 2009-02-26 Alejandro G. Castro <alex@igalia.com>
46 * src/hildon-pannable-area.c,
47 (hildon_pannable_area_init),
48 (hildon_pannable_area_remove): Removed some unnecessary casts.
49 (hildon_pannable_area_dispose): Disconnected some signals before
50 releasing the adjustments.
52 2009-02-26 Alberto Garcia <agarcia@igalia.com>
54 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
55 Make sure that all widgets contained in the toolbar are shown.
57 2009-02-25 Alberto Garcia <agarcia@igalia.com>
59 * doc/hildon-sections.txt
60 * src/hildon-picker-button.h
61 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
62 (_selection_changed, hildon_picker_button_on_dialog_response)
63 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
64 New hildon_picker_button_value_changed() method.
67 * src/hildon-picker-button-private.h
68 * src/hildon-picker-button.c (hildon_picker_button_init)
69 (+hildon_picker_button_disable_value_changed): Add protected
70 function for disabling the "value-changed" signal.
72 * src/hildon-date-button.c (hildon_date_button_set_date):
73 Don't emit "value-changed" for each one of the three columns.
75 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
76 before actual change of values)
78 2009-02-24 Alejandro G. Castro <alex@igalia.com>
80 * src/hildon-pannable-area.c,
81 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
82 for the treeview overshooting.
84 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-banner.c (+hildon_banner_bind_style):
87 Renamed from hildon_banner_bind_label_style(), now naming the
88 banner itself as well.
89 (hildon_banner_show_information),
90 (hildon_banner_show_information_with_markup),
91 (hildon_banner_show_animation), (hildon_banner_show_progress):
92 Name the widgets and labels, based on their type.
94 See NB#98597 (Hildon Note and Hildon Banner should use themeable
97 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
99 * src/hildon-note.c (hildon_note_set_property): call
100 hildon_note_rename() on HildonNote:note-type set.
101 (hildon_note_rename): Name the note and its label, based on the
102 HildonNote:note-type property.
104 See NB#98597 (Hildon Note and Hildon Banner should use themeable
107 2009-02-24 Alejandro G. Castro <alex@igalia.com>
109 * src/hildon-pannable-area.c,
110 (hildon_pannable_area_class_init),
111 (hildon_pannable_area_motion_notify_cb): Reviewed the default
112 panning parameters, increased SPS and deceleration factor. Added
113 also a margin to control fake directions.
115 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
117 Patch by Sven Herzberg (sven@imendio.com)
119 * configure.ac: Add missing AM_PROG_CC_C_0
120 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
122 See NB#101420 (Update unit tests and fix make check)
124 2009-02-23 Alejandro G. Castro <alex@igalia.com>
126 This patch was applied before but reverted because it caused
127 problems, we have changed the main condition and tested the
128 regressions we detected before and they work ok. We have done a
129 complete review of the topmost algorithm in order to get a more
132 * src/hildon-pannable-area.c,
133 (hildon_pannable_area_get_topmost): Added a new parameter to
134 filter the the windows that do not include those events.
135 (hildon_pannable_area_button_press_cb),
136 (hildon_pannable_area_button_release_cb),
137 (hildon_pannable_get_child_widget_at): Reviewed the call the the
138 topmost function, we have added the new parameter.
140 Fixes: NB#97458 (Pannable area prevents propagation of button
143 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
145 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
146 if all columns in the selector have an item selected.
147 (_on_dialog_response): Stop "response" signal emission if there is
148 any selector column without selected items.
150 Fixes: NB#101889 (Picker dialog should not close when nothing is
151 selected in multiple selection list)
153 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
155 * src/hildon-font-selection-dialog.c
156 (hildon_font_selection_dialog_class_init),
157 (hildon_font_selection_dialog_init): Remove the preview
158 button and dialog, since previewing with default theming is likely
159 to be overcomplicated. The :preview property has now no effect.
160 Update documentation blurbs to inform about this.
162 Fixes: NB#92297 (Preview content is not clearly visible for
165 2009-02-20 Alejandro G. Castro <alex@igalia.com>
167 Reviewed the geometry that handles the children size and
168 scrollbar, now it tries a size and reviews the results depending
169 on the scrollbars visibility.
171 * src/hildon-pannable-area.c,
172 (hildon_pannable_area_realize): Fixed a typo.
173 (hildon_pannable_area_child_allocate_calculate): Added this
174 function to calculate the child allocation.
175 (hildon_pannable_area_size_allocate): Reviewed the allocation
177 (hildon_pannable_area_check_scrollbars),
178 (hildon_pannable_area_refresh): Refactored refresh function, this
179 way we can call the code handling the scrollbars without causing a
180 size_request, it is interesting in the allocate.
181 (hildon_pannable_area_init): Replace the callbacks of the
182 value_changed and changed signals to propertly deal with the
184 (hildon_pannable_area_grab_notify),
185 (hildon_pannable_area_initial_effect),
186 (hildon_pannable_area_launch_fade_timeout),
187 (hildon_pannable_area_adjust_changed),
188 (hildon_pannable_area_adjust_value_changed),
189 (hildon_pannable_area_redraw),
190 (hildon_pannable_area_button_press_cb),
191 (hildon_pannable_area_button_release_cb),
192 (hildon_pannable_area_scroll_cb),
193 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
194 code and use the new functions adjust_changed and
195 adjust_value_changed.
197 Fixes: NB#101603 (Focus is not even for the text entry boxes in
198 Contact editor dialog)
200 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
205 * configure.ac: Bump version.
206 * debian/changelog: Updates.
208 2009-02-20 Alejandro G. Castro <alex@igalia.com>
210 * src/hildon-pannable-area.c,
211 (hildon_pannable_area_get_topmost),
212 (hildon_pannable_area_button_press_cb),
213 (hildon_pannable_area_button_release_cb),
214 (hildon_pannable_get_child_widget_at): Reverted the patch for the
215 topmost function adding the event mask. We have to try a
216 differente approach because it is still causing problems (NB#9745,
219 2009-02-19 Alberto Garcia <agarcia@igalia.com>
221 * src/hildon-banner.c:
222 Update the maximum width of timed banners.
223 (force_to_wrap_truncated): Enforce the maximum text width if the
226 Fixes: NB#102413 (The text margins (wrapping) in information
227 banner should be HILDON_MARGIN_TRIPLE)
229 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
231 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
233 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
234 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
235 bound when calculating the scroll indicator position.
237 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
238 treat ->lower correctly)
240 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
242 * src/hildon-caption.c (hildon_caption_class_init): Remove the
243 expose event handling, since it is not necessary to draw the focus
246 Fixes: NB#102467 (Do not show highlight on the text in
249 2009-02-18 Alberto Garcia <agarcia@igalia.com>
251 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
252 full height of the toolbar for the button and the label.
254 2009-02-18 Alberto Garcia <agarcia@igalia.com>
256 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
257 padding before the label and after the button.
259 2009-02-18 Alberto Garcia <agarcia@igalia.com>
261 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
263 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
264 Add a GtkVSeparator between the button and the back arrow.
265 Let the button have automatic size.
266 Set a name to the widget for theming handling.
268 Fixes: NB#101793 (Make edit toolbar the same height as window
269 title bar (use title area theming))
271 2009-02-18 Alberto Garcia <agarcia@igalia.com>
273 * src/hildon-helper.c (attach_new_color_element): Fix memory
276 Fixes: NB#102262 (memory leak in hildon_button_set_style())
278 2009-02-18 Alberto Garcia <agarcia@igalia.com>
280 * examples/hildon-button-example.c (common_buttons_window): Don't
283 2009-02-18 Alberto Garcia <agarcia@igalia.com>
285 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
286 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
288 2009-02-18 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-gtk.c: Check that the window is realized.
292 Fixes: NB#102225 (Crash setting the progress indicator to a non
295 2009-02-17 Alberto Garcia <agarcia@igalia.com>
297 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
298 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
299 instead of modifying the one in the widget style.
301 Fixes: NB#101043 (Second row of all the command button are
302 displayed in transparent mode.)
304 2009-02-17 Alberto Garcia <agarcia@igalia.com>
306 * src/hildon-date-button.c
307 * src/hildon-time-button.c: Add gettext macros
309 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
311 * src/hildon-date-button.c (hildon_date_button_new):
312 * src/hildon-time-button.c (hildon_time_button_new_step):
313 Use new logical strings to set the button default title.
315 Fixes: NB#99915 (Date and Time options are not localised in Date
318 2009-02-16 Alejandro G. Castro <alex@igalia.com>
320 * src/hildon-pannable-area.c
321 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
322 the PANNING_THRESHOLD.
324 2009-02-16 Alejandro G. Castro <alex@igalia.com>
326 * src/hildon-pannable-area.c,
327 (hildon_pannable_area_class_init): Increased the maximum speed.
328 (hildon_pannable_area_get_property),
329 (hildon_pannable_area_set_property),
330 (hildon_pannable_area_timeout): Added a new low friction mode, it
331 allows the user avoid friction when launching the widget fast
332 enough. It is interesting to traverse long lists.
334 2009-02-16 Alberto Garcia <agarcia@igalia.com>
336 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
337 (+hildon_stackable_window_delete_event): Ignore delete events if
338 the window is not the topmost one.
340 Fixes: NB#101698 (Back button long press and delete-event handling)
342 2009-02-16 Alejandro G. Castro <alex@igalia.com>
344 * src/hildon-pannable-area.c,
345 (hildon_pannable_area_motion_notify_cb): Removed the use of the
346 gtk-dnd-drag-threshold, it was too big. We have defined our own
347 dnd define and set a smaller value: PANNIG_THRESHOLD.
349 2009-02-16 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
352 user-defined icons, use always the default one.
354 Fixes: NB#101916 (Do not allow custom icons on animation banner)
356 2009-02-13 Alejandro G. Castro <alex@igalia.com>
358 This patch was applied before but reverted because it caused
359 problems, we have changed the main condition and tested the
360 regressions we detected before and they work ok.
362 * src/hildon-pannable-area.c,
363 (hildon_pannable_area_get_topmost): Added a new parameter to
364 filter the the windows that do not include those events. Added
365 also a condition when finding the window to filter windows that do
366 not ask for those events.
367 (hildon_pannable_area_button_press_cb),
368 (hildon_pannable_area_button_release_cb),
369 (hildon_pannable_get_child_widget_at): Reviewed the call the the
370 topmost function, we have added the new parameter.
372 Fixes: NB#97458 (Pannable area prevents propagation of button
375 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
377 * tests/check-hildon-color-button.c (START_TEST): do not leak
380 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-font-selection-dialog.c
383 (hildon_font_selection_dialog_get_preview_text): Return NULL
384 instead of FALSE on the g_return_val_if_fail().
386 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
388 * src/hildon-time-selector.c (hildon_time_selector_set_time):
389 * src/hildon-date-selector.c
390 (hildon_date_selector_select_current_date):
391 Do not compare unsigned integers to be greater than or equal 0,
392 because it's always TRUE.
394 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
397 (hildon_date_selector_constructor): Do not select the current
398 date until we are handle the "changed" signal, to avoid having bogus
399 elements in the days model.
401 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
403 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
404 for num_days, since _month_days() can return a negative value.
406 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
408 * src/hildon-caption.c (hildon_caption_size_allocate):
409 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
410 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
412 Initialize allocation variables to 0, to avoid eventually using
413 unitialized variables.
415 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
417 * src/hildon-bread-crumb-trail.c
418 (hildon_bread_crumb_trail_size_allocate):
419 * src/hildon-calendar.c (hildon_calendar_set_background):
420 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
421 * src/hildon-range-editor.c (hildon_range_editor_get_range):
422 * src/hildon-seekbar.c (hildon_seekbar_init):
423 * src/hildon-time-editor.c (hildon_time_editor_get_time):
424 * src/hildon-time-selector.c (hildon_time_selector_finalize):
425 * src/hildon-touch-selector-entry.c
426 (hildon_touch_selector_get_text_from_model):
427 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
428 * src/hildon-window.c (hildon_window_finalize):
430 Remove many unused variables.
432 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
434 * src/hildon-seekbar.c: (hildon_seekbar_init),
435 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
437 Remove unnecessary g_assert() calls.
439 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
441 * src/hildon-caption.c: (hildon_caption_expose),
442 (hildon_caption_set_property), (hildon_caption_init),
443 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
444 (hildon_caption_size_request), (hildon_caption_size_allocate),
445 (hildon_caption_forall), (hildon_caption_set_separator),
446 (hildon_caption_activate), (hildon_caption_set_child_expand),
447 (hildon_caption_set_label_text),
448 (hildon_caption_get_label_alignment):
450 Remove unnecessary g_assert() calls.
452 2009-02-12 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-banner.c
455 (hildon_banner_map, hildon_banner_init): Make banner temporary
456 before mapping it to avoid closing other temporary windows, but
457 make it non-temporary afterwards to avoid being closed by other
458 non-temporary windows.
459 (-hildon_banner_client_event, hildon_banner_init):
460 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
462 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
465 2009-02-11 Alberto Garcia <agarcia@igalia.com>
467 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
470 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
472 * src/hildon-remote-texture.c
473 * src/hildon-remote-texture.h
474 * src/hildon-remote-texture-private.h
475 * examples/hildon-remote-texture-example.c:
476 Updates/fixes to remote-texture and its example.
478 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
480 Patch by Mox Soini (ext-mox.soini@nokia.com)
482 * src/hildon-code-dialog.c: Update logical id.
483 * src/hildon-set-password-dialog.c: Update logical id.
485 Fixes: NB#100646 (Logical strings is shown for ok in set
486 password,Password needed dialogs)
488 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
491 * src/hildon-remote-texture.c
492 * src/hildon-remote-texture.h
493 * src/hildon-remote-texture-private.h
495 Added remote texture widget (for Clutter shared memory textures)
497 * examples/hildon-remote-texture-example.c
498 * examples/Makefile.am
499 Added example file for remote texture usage
501 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
503 * configure.ac: post release version bump.
504 * debian/changelog: version bump.
506 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
511 * configure.ac: Bump version.
512 * debian/changelog: Updates.
514 2009-02-06 Alberto Garcia <agarcia@igalia.com>
516 * src/hildon-date-selector.c (hildon_date_selector_init)
517 (hildon_date_selector_constructor): Don't connect to the "changed"
518 signal until the selector is completely constructed.
520 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
522 * src/hildon-touch-selector.c: (_create_new_column),
523 (hildon_touch_selector_append_column),
524 (hildon_touch_selector_set_column_selection_mode),
525 (hildon_touch_selector_set_active),
526 (hildon_touch_selector_select_iter):
527 Emit the HildonTouchSelector::changed signal every time selection
528 is changed in any of the methods above. This behavior was already
529 documented but not fully functional.
531 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
532 selection is programmatically changed)
534 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
536 * doc/hildon-sections.txt: Remove obsolete icon
537 sizes from here as well.
539 2009-02-05 Alberto Garcia <agarcia@igalia.com>
541 * examples/hildon-stackable-window-example.c (add_window): Remove
544 2009-02-05 Alberto Garcia <agarcia@igalia.com>
546 * src/hildon-app-menu.c
547 (hildon_app_menu_show): Check whether the parent window of a menu
548 is topmost before popping it up.
550 Fixes: NB#100468 (Application menu window is launched even when a
551 new secondary-window/dialog is pending to be shown/realized.)
553 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
555 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
558 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
560 Patch by Mox Soini (ext-mox.soini@nokia.com)
562 * src/hildon-banner.c: (hildon_banner_show_animation):
563 use stylus size instead of obsolete note size.
564 * src/hildon-defines.h: Update icon sizes.
566 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
568 * src/hildon-touch-selector-entry.c:
569 (hildon_touch_selector_entry_init): Disable unsupported
571 (hildon_touch_selector_entry_get_text_column): Emit a warning
572 if an unsupported input modes is used and explicitile state
573 these modes in the documentation.
575 Fixes: NB#99802 (Hildon touch selector entry not working properly
576 for some of the input modes)
578 2009-02-05 Alejandro G. Castro <alex@igalia.com>
580 * src/hildon-pannable-area.c,
581 (hildon_pannable_area_init): Added the changed signal handlers of
584 Fixes: NB#100320 (HildonPannableArea does not listen to
585 GtkAdjustment "change" signals)
587 2009-02-04 Alberto Garcia <agarcia@igalia.com>
589 * doc/hildon-sections.txt
590 * src/hildon-window-private.h
591 * src/hildon-window.h
592 * src/hildon-window.c (hildon_window_init)
593 (hildon_window_realize, hildon_window_unrealize)
594 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
595 (hildon_window_size_request, hildon_window_size_allocate)
596 (hildon_window_forall, hildon_window_show_all)
597 (hildon_window_destroy, +paint_edit_toolbar)
598 (+hildon_window_set_edit_toolbar):
599 New hildon_window_set_edit_toolbar() method, to add a
600 HildonEditToolbar to a window without having to pack it manually.
602 Reorganize hildon_window_size_allocate()
604 * src/hildon-edit-toolbar.c: Update documentation.
606 * examples/hildon-edit-toolbar-example.c (edit_window): Update
607 example to use the new API.
609 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
611 2009-02-04 Alberto Garcia <agarcia@igalia.com>
613 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
614 Remove from stack before calling parent's hide.
616 2009-02-04 Alberto Garcia <agarcia@igalia.com>
618 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
619 window is removed from the middle of the stack, update the
620 transiency of the previous one.
622 Fixes: NB#100487 (HildonStackableWindow transiency becomes
625 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
627 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
628 block/unblock the signal handler if it's not actually being used.
629 Fixes some critical warnings.
631 2009-02-02 Alberto Garcia <agarcia@igalia.com>
633 Based on a patch by Iván Gómez (igomez@igalia.com)
635 * src/hildon-banner.c
639 * src/hildon-pannable-area.c
640 * src/hildon-picker-dialog.c
641 * src/hildon-wizard-dialog.h
642 * src/hildon-wizard-dialog.c: Documentation updates.
644 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
645 gtk_dialog_add_button() instead of hildon_dialog_add_button().
647 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
649 * configure.ac: post release version bump.
650 * debian/changelog: version bump.
652 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
657 * configure.ac: Bump version.
658 * debian/changelog: Updates.
660 2009-01-29 Alberto Garcia <agarcia@igalia.com>
662 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
663 a stock icon nor change the relief of the back arrow.
665 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
668 2009-01-29 Alberto Garcia <agarcia@igalia.com>
670 * src/hildon-button.c (hildon_button_set_alignment): Use
671 priv->alignment if the button has no child yet.
673 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
675 * src/hildon-button.c: (hildon_button_init): Set the
676 button style during initialization to give it the proper
679 Fixes: NB#99713 (HildonButton value label color is wrong)
681 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
683 * src/hildon-touch-selector.c: Document
684 hildon_touch_selector_center_on_selected()
686 2009-01-28 Alberto Garcia <agarcia@igalia.com>
688 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
689 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
690 all menu items, but not the menu itself.
691 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
692 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
693 items after adding them to the menu so keyboard accelerators work.
694 (hildon_app_menu_show): Don't show the menu if it contains items
695 but none of them are visible.
697 * examples/hildon-app-menu-example.c (create_menu): Use
698 gtk_widget_show_all() to show all menu items.
700 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
702 * src/hildon-picker-dialog.c:
703 (-_update_title_on_selector_changed_cb),
704 (-_dialog_update_title): Removed.
705 (_select_on_selector_changed_cb), (_on_dialog_response),
706 (on_selector_columns_changed): Do not update the dialog title.
707 (setup_interaction_mode): Do not connect to
708 HildonTouchSelector::changed signal if there's a "done" button, as
709 the dialog title doesn't need to be updated.
711 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
714 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
716 Patch by Kristian Rietveld (kris@imendio.com)
718 * src/hildon-touch-selector.c: (_create_new_column): Use new
719 GtkTreeView::hildon-row-tapped signal to react to user interactions
720 instead of ::changed.
722 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
723 with some dynamic tree model)
725 2009-01-27 Alberto Garcia <agarcia@igalia.com>
727 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
728 (+screen_size_changed, +label_size_request)
729 (hildon_note_class_init): Make the Hildon information note have a
730 minimum height, and make its text hvae a maximum width.
732 Fixes: NB#98614 (Hildon information note (background) should have
733 minimum height and maximum text width)
735 2009-01-26 Alberto Garcia <agarcia@igalia.com>
737 * src/hildon-banner.h
738 * src/hildon-banner.c (hildon_banner_show_information)
739 (hildon_banner_show_informationf)
740 (hildon_banner_show_information_with_markup): Update documentation
741 to reflect that the icon_name parameter is not used anymore.
742 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
743 Remove all code from these functions and mark them as deprecated.
744 (hildon_banner_show_progress): Mark as deprecated.
746 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
748 2009-01-26 Alejandro G. Castro <alex@igalia.com>
750 * src/hildon-pannable-area.c,
751 (hildon_pannable_area_class_init),
753 (hildon_pannable_draw_vscroll),
754 (hildon_pannable_draw_hscroll),
755 (hildon_pannable_area_expose_event): Added a new way to render the
756 scrollbars of the pannable area avoiding using cairo at all. This
757 way we improve the performance of the pannable area rendering. The
758 cairo rendering procedure is still in the code, we can control
759 which one to use changing the value of the define
760 USE_CAIRO_SCROLLBARS.
762 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
764 * configure.ac: post release version bump.
765 * debian/changelog: version bump.
767 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
772 * configure.ac: Bump version.
773 * debian/changelog: Updates.
775 2009-01-23 Alberto Garcia <agarcia@igalia.com>
777 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
778 banners instead of destroying them when they receive a button
781 2009-01-23 Alejandro G. Castro <alex@igalia.com>
783 Reverted commit 34028, it was causing regressions, probably the
784 topmost condition is not correct, we have to check it in more
785 detail. We have reponed the bug: NB#97458 (Pannable area prevents
786 propagation of button press events)
788 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
790 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
791 that the selection is not empty before attempting to retrieve the
792 current ampm selection.
794 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
796 * src/hildon-picker-button.c:
797 (hildon_picker_button_on_dialog_response): Directly update the
798 button contents when required instead of calling _selection_changed.
800 2009-01-23 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-program.c (hildon_program_update_top_most): Update
803 'is-topmost' property also when wm_hints is not set.
805 Fixes: NB#98383 (is-topmost signal is not emitted when task
806 switcher is clicked.)
808 2009-01-23 Alejandro G. Castro <alex@igalia.com>
810 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
814 * src/hildon-animation-actor.c,
815 * src/hildon-animation-actor.h: Added the animation actor class,
816 this widget represents an animation actor for WM-assisted
817 animation effects in the Hildon framework.
819 2009-01-23 Alberto Garcia <agarcia@igalia.com>
821 * src/hildon-window-stack-private.h
822 * src/hildon-window-stack.c
823 * src/hildon-stackable-window.c (hildon_stackable_window_show):
824 Avoid calling gtk_widget_show() again indirectly from
825 hildon_stackable_window_show()
827 2009-01-23 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
832 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
834 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
835 (hildon_time_selector_init): Move the construction of the hours and
836 ampm columns to the constructor to preserve the order the columns
839 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-picker-dialog.c:
842 (hildon_picker_dialog_class_init): Connect a realize method.
843 (+hildon_picker_dialog_realize): Setup the interaction mode here
845 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
846 yet, do it during the realize instead.
847 (_on_dialog_response):
848 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
849 if the widget is not realized, to avoid the dialog response before it
852 Avoid premature responses in the HildonPickerDialog that can cause it
853 to be hidden before it's even shown.
855 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
857 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
858 (on_selector_columns_changed), (requires_done_button),
859 (+prepare_action_area), (setup_interaction_mode),
860 (_hildon_picker_dialog_set_selector):
862 Split the interaction mode setup into preparation of the
863 action area (prepare_action_area()) and the connection of
864 the signals in setup_interaction_mode() and update the code to
867 2009-01-22 Alejandro G. Castro <alex@igalia.com>
869 * src/hildon-pannable-area.c,
870 (hildon_pannable_area_class_init): Reduced the amount of scrolls
871 per second to 15, we will check if this is ok regarding
874 2009-01-22 Alejandro G. Castro <alex@igalia.com>
876 * src/hildon-pannable-area.c,
877 (hildon_pannable_axis_scroll): Avoid resize if we already have
878 reached overshoot_max.
880 2009-01-22 Alejandro G. Castro <alex@igalia.com>
882 * src/hildon-pannable-area.c,
883 (hildon_pannable_area_init),
884 (hildon_pannable_area_realize),
885 (hildon_pannable_area_size_allocate),
886 (hildon_pannable_area_map),
887 (hildon_pannable_area_unmap),
888 (hildon_pannable_draw_vscroll),
889 (hildon_pannable_draw_hscroll),
890 (hildon_pannable_area_expose_event),
891 (hildon_pannable_area_refresh): Added a new GdkWindow to the
892 pannable are to avoid the expose events go to the window and
893 redraw the window. We save this way that part of the stack and the
894 paint_boxes. We had to change the positions of the elements when
897 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
899 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
900 * src/hildon-color-chooser-dialog.c:
901 (hildon_color_chooser_dialog_init):
902 * src/hildon-font-selection-dialog.c:
903 (hildon_font_selection_dialog_init),
904 (hildon_font_selection_dialog_show_preview):
905 * src/hildon-get-password-dialog.c:
906 * src/hildon-login-dialog.c:
907 * src/hildon-set-password-dialog.c:
908 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
909 * src/hildon-time-picker.c: (hildon_time_picker_init):
911 Remove obsolete logical string IDs and update to the appropriate ones.
913 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
915 2009-01-21 Alberto Garcia <agarcia@igalia.com>
917 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
918 that happens if the window hasn't been realized yet.
920 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
921 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
923 2009-01-20 Alberto Garcia <agarcia@igalia.com>
925 * src/hildon-app-menu.c (hildon_app_menu_class_init)
926 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
929 Fixes: NB#98537 (Device hangs in account settings dialog)
931 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
933 * configure.ac: post release version bump.
934 * debian/changelog: version bump
936 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
941 * configure.ac: Bump version.
942 * debian/changelog: Updates.
944 2009-01-20 Alejandro G. Castro <alex@igalia.com>
946 Added a new function to the HildonTimeButton widget that allows to
947 change the step of the minutes in the selector associated with the
948 button: hildon_time_button_new_step
950 * src/hildon-time-button.c,
951 (hildon_time_button_init),
952 (hildon_time_button_new),
953 (hildon_time_button_new_step):
954 * src/hildon-time-button.h: Added the new function and refactored
956 * examples/hildon-time-button-example.c,
957 (main): We have replaced the function without parameters with the
958 function with the steps set to 5
960 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
962 2009-01-20 Alejandro G. Castro <alex@igalia.com>
964 * src/hildon-time-selector.c,
965 (hildon_time_selector_class_init),
966 (hildon_time_selector_constructor),
967 (hildon_time_selector_get_property),
968 (hildon_time_selector_set_property),
969 (_create_minutes_model),
970 (hildon_time_selector_new_step),
971 (hildon_time_selector_set_time),
972 * src/hildon-time-selector.h: Added a new property to the
973 HildonTimeSelector (minutes-step), we use that property to control
974 the steps between the minutes in the list of the selector. We have
975 added a new function to the API to create a widget changing the
976 step: hildon_time_selector_new_step.
978 2009-01-20 Alejandro G. Castro <alex@igalia.com>
980 * src/hildon-time-selector.c,
981 (hildon_time_selector_class_init),
982 (hildon_time_selector_constructor),
983 (hildon_time_selector_init): Overrided the construct function when
984 creating the time selector object. We have moved the minutes model
985 handling code from the init to the new construction function:
986 hildon_time_selector_constructor.
988 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
990 * examples/hildon-date-button-example.c: (main): Use the new
991 hildon_date_button_new_with_year_range() method in the example.
992 * src/hildon-date-button.c:
993 (+hildon_date_button_new_with_year_range): New public method
994 to conveniently create a HildonDateButton with a custom year range
995 in its HildonDateSelector.
996 * src/hildon-date-button.h: Add the new public method definition.
998 Fixes: NB#97908 (Not possible to change the year range in
999 HildonDateSelector/HildonDateButton)
1001 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1003 * src/hildon-date-selector.c:
1004 (+hildon_date_selector_set_property),
1005 (+hildon_date_selector_get_property),
1006 (hildon_date_selector_class_init): Install new properties "min-year"
1007 and "max-year" to define boundaries for the year column.
1008 (_create_year_model): Use the boundary properties to populate the model.
1009 (+hildon_date_selector_new_with_year_range): New public method to
1010 create a HildonDateSelector with a user defined year range.
1011 (hildon_date_selector_select_current_date): Use the new boundaries to
1012 calculate the iterator of current year.
1013 * src/hildon-date-selector.h: Add the new public method definition.
1015 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
1018 Install a constructor method.
1019 (+hildon_date_selector_construct_ui): construct the widget.
1020 (+hildon_date_selector_constructor): new constructor.
1021 (+hildon_date_selector_init): move out widget construction code to
1022 the new constructor.
1024 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1026 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
1027 that there's actually a month or year selected before obtaining them.
1028 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
1029 of the HildonTouchSelector::changed signal, as it was emitted on every
1030 single item selection.
1032 Fix some warnings and possible crashers due to the selection restoring.
1034 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1036 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
1037 the signal handlers only after creating the dialog instead of on every
1040 2009-01-19 Alberto Garcia <agarcia@igalia.com>
1042 * src/hildon-button.c (hildon_button_init)
1043 * src/hildon-check-button.c (hildon_check_button_init)
1044 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
1045 focus when clicked by default.
1047 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
1049 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
1052 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1054 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1055 Alejandro G. Castro (alex@igalia.com)
1057 * src/hildon-picker-dialog.c:
1058 (hildon_picker_dialog_class_init): install new "center-on-show"
1060 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1061 (hildon_picker_dialog_set_property): add setter code for the new
1063 (hildon_picker_dialog_get_property): add getter code for the new
1065 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1066 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1069 Fixes: NB#92849 (Selected item is not always visible when
1070 HildonTouchSelector is shown)
1072 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1074 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1075 Alejandro G. Castro (alex@igalia.com)
1077 * src/hildon-touch-selector.c:
1078 (_create_new_column): Do not connect to the "realize" signal of the
1080 (hildon_touch_selector_append_column): center on the selected items
1081 when a new column is appended.
1082 (hildon_touch_selector_select_iter): Factor out the code to select a
1083 column to hildon_touch_selector_scroll_to().
1084 (+search_nearest_element): Method to retrieve the nearest selected
1085 element to the visible area of the pannable area in a column.
1086 (+on_realize_cb): scroll to the initially selected item.
1087 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1088 the pannable area is realized, otherwise delay this until it is.
1089 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1090 selected items of a given column.
1091 (+hildon_touch_selector_center_on_selected): Public method to center
1092 all columns on the nearest selected item.
1093 * src/hildon-touch-selector.h: Add definition for
1094 hildon_touch_selector_center_on_selected().
1096 Implement public API to ensure visibility of all selected items in
1097 a HildonTouchSelector.
1099 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1101 Fixed a problem in the fading when calling the scroll_to API, and
1102 improve scrollbar fading handling.
1104 * src/hildon-pannable-area.c,
1105 (hildon_pannable_area_grab_notify): avoid the timeout when the
1107 (hildon_pannable_area_button_press_cb),
1108 (hildon_pannable_area_motion_notify_cb): Code style changes.
1109 (hildon_pannable_area_button_release_cb): Review the conditions
1110 when releasing the mouse button to avoid unrequired fading
1112 (hildon_pannable_area_scroll_to): Do not calculate and set the
1113 velocity if the scroll is not required.
1115 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1117 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1118 Don't check whether the new selector is NULL: it cannot be.
1119 Hold a reference to the selector while doing the replacement.
1121 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1123 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1124 unnecessary size_request in a removed widget.
1126 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1128 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1129 an unnecessary reference tracking that was leaking.
1131 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1133 Added delayed motion notify event handling, this way we can
1134 discard redrawing if more than 25 events arrive per second.
1136 * src/hildon-pannable-area.c,
1137 (hildon_pannable_area_init): Initialized the new private atributes
1138 controlling this timeout
1139 (hildon_pannable_area_dispose): Remove the timeout that controls
1140 the motion notify events.
1141 (hildon_pannable_area_scroll): Added a condition to control the
1142 use of the acceleration.
1143 (hildon_pannable_area_motion_event_scroll_timeout),
1144 (hildon_pannable_area_motion_event_scroll): Added this two
1145 functions, they handle the motion notify events inside the
1147 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1148 to the scroll method with the new function.
1149 (hildon_pannable_area_button_release_cb): We have to remove the
1150 timeout handler and move to the last position if the last motion
1151 events were not handled.
1153 Fixes: NB#97028 (Pannable area updates on every motion event)
1155 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1157 * src/hildon-pannable-area.c,
1158 (hildon_pannable_area_get_topmost): Added a new parameter to
1159 filter the the windows that do not include those events. Added
1160 also a condition when finding the window to filter windows that do
1161 not ask for those events.
1162 (hildon_pannable_area_button_press_cb),
1163 (hildon_pannable_area_button_release_cb),
1164 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1165 topmost function, we have added the new parameter.
1167 Fixes: NB#97458 (Pannable area prevents propagation of button
1170 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1172 * src/hildon-pannable-area.c,
1173 (hildon_pannable_area_initial_effect): Added controls before
1174 launching the timeout and the idle functions.
1175 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1176 of the method, in some situations it can return with TRUE and 0 in
1178 (hildon_pannable_area_button_press_cb): We do not need to set
1179 DELAY for fading out here.
1181 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1183 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1185 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1186 post-cleaning if the selection is not NULL.
1188 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1191 all items before restoring the selection.
1193 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1195 * src/hildon-touch-selector.c:
1196 (+hildon_touch_selector_unselect_all):
1197 * src/hildon-touch-selector.h: New API to unselect all items in a
1198 column of the touch selector.
1200 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1202 * src/hildon-pannable-area.c,
1203 (hildon_pannable_area_redraw): Added a call to the refresh
1204 function inside the redraw because apparently in some cases the
1205 change in the adjustment does not imply a size allocate.
1207 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1208 despite the view not being scrollable)
1210 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1212 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1213 leak. Check for NULL before attempting to set the window title.
1215 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1217 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1218 whether to show or not the 'Done' button each time the dialog is
1219 shown, as it depends on the HildonTouchSelector selection mode.
1221 Fixes: NB#96226 (In multiple selection mode Done button is shown
1222 sometimes in listpicker)
1224 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1226 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1227 for the number of columns in the HildonTouchSelector more than once.
1229 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1231 * src/hildon-touch-selector.c: Minor documentation fixes.
1233 * src/hildon-picker-dialog.c (+_dialog_update_title)
1234 (_select_on_selector_changed_cb)
1235 (_update_title_on_selector_changed_cb)
1236 (on_selector_columns_changed): Update dialog title when there's no
1237 'Done' button and also when the number of columns in the selector
1241 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1242 (+_selection_changed, hildon_picker_button_on_dialog_response)
1243 (hildon_picker_button_selector_selection_changed)
1244 (+hildon_picker_button_selector_columns_changed)
1245 (hildon_picker_button_set_selector): Update button value and emit
1246 'value-changed' when the number of columns in the selector
1250 Fixes: NB#96225 (Dialog titles are not shown according to the
1251 values selected in the list picker)
1253 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1255 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1256 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1257 New "arrow-width" and "arrow-height" style properties to set the
1258 size of the arrow button.
1259 Set name of arrow button ("hildon-edit-toolbar-arrow").
1261 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1262 graphics from theme)
1264 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1266 * src/hildon-picker-button.c:
1267 (hildon_picker_button_selector_selection_changed): Use
1268 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1269 the dialog is present.
1271 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1272 the selection is accepted in the dialog)
1274 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1276 * src/hildon-color-chooser.h
1277 * src/hildon-color-chooser-dialog.h:
1278 Added G_BEGIN_DECLS and G_END_DECLS
1280 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1282 (_clean_current_selection): plug a leak in the list.
1284 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1286 * src/hildon-picker-dialog.c:
1287 (+free_path_list): Method to free a GList of GtkTreePaths.
1288 (_clean_current_selection), (_save_current_selection),
1289 (_restore_current_selection): Save the current selection in
1290 as a list of lists, to support multiple selection properly.
1292 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1294 patch by Claudio Saavedra (csaavedra@igalia.com)
1296 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1297 Store the press position.
1298 (+hildon_text_view_button_release_event): If the release position is
1299 close enough to the press position, move the cursor here. Otherwise,
1301 (hildon_text_view_class_init): Override GtkTextView press, release, and
1302 motion event handlers, disabling this way text selection through
1303 pointer interaction, and allowing the container widget to handle the
1306 Fixes: NB#95828 (HildonTextView functionality)
1308 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1310 Based on a patch by Iván Gómez (igomez@igalia.com)
1312 * src/hildon-button.[ch]
1313 * src/hildon-calendar.c
1314 * src/hildon-check-button.c
1315 * src/hildon-date-editor.c
1316 * src/hildon-date-selector.c
1317 * src/hildon-picker-button.c
1318 * src/hildon-time-editor.c
1319 * src/hildon-time-selector.c
1320 * src/hildon-touch-selector.[ch]:
1321 Documentation updates
1323 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1325 * src/hildon-pannable-area.c,
1326 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1327 threshold, it was required due to X events handling.
1329 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1331 * src/hildon-pannable-area.c,
1332 (hildon_pannable_area_grab_notify),
1333 (hildon_pannable_area_initial_effect),
1334 (hildon_pannable_area_button_press_cb),
1335 (hildon_pannable_area_button_release_cb),
1336 (hildon_pannable_area_scroll_cb),
1337 (hildon_pannable_area_scroll_to): Review the timeout management of
1338 the scrollbar, the frecuency was incorrectly set.
1340 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1342 * src/hildon-picker-button.c:
1343 (+hildon_picker_button_on_dialog_response),
1344 (hildon_picker_button_clicked): Present the dialog instead of
1345 running it with gtk_dialog_run().
1347 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1350 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1353 (hildon_app_menu_finalize): When a window is hidden it doesn't
1354 emit notify::is-topmost, so make sure than the menu also
1355 disappears in that case.
1356 (parent_window_topmost_notify): Renamed from parent_window_hidden
1358 Fixes: NB#94460 (stackable window's menu is not closed when its
1361 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1363 * src/hildon-touch-selector-entry.c:
1364 (+hildon_touch_selector_entry_set_input_mode),
1365 (+hildon_touch_selector_entry_get_input_mode):
1366 * src/hildon-touch-selector-entry.h: New methods to access the input
1367 mode in the selector's entry.
1369 Fixes: NB#93410 (API required for setting IM mode in
1370 HildonTouchSelectorEntry)
1372 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1374 * configure.ac: post release version bump.
1375 * debian/changelog: version bump
1377 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1382 * configure.ac: Bump version.
1383 * debian/changelog: Updates.
1385 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1387 * src/hildon-touch-selector.c:
1388 (_hildon_touch_selector_has_multiple_selection): No need
1389 to initialize the variables here.
1391 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-note-private.h
1394 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1395 (hildon_note_finalize, hildon_note_rebuild): Close information
1396 notes when they receive a button press.
1398 Fixes: NB#89890 (Information notes does not get disappeared after
1401 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1403 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1404 mark from the wizard title, as it's not really necessary. Also,
1405 do not display the page title if not set.
1407 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1409 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1410 (parent_window_hidden): Use the window's "is-topmost" property to
1411 detect when to hide the menu.
1413 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1415 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1416 (hildon_app_menu_finalize): If the parent window of the menu is
1417 hidden, hide the menu too.
1419 Fixes: NB#94460 (stackable window's menu is not closed when its
1422 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1425 * debian/libhildon1-examples.install
1427 * examples/Makefile.am:
1428 Use dh_install to install all examples.
1429 Use DEB_SRCDIR instead of defining SOURCE_DIR
1431 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1433 * configure.ac: post release version bump.
1434 * debian/changelog: version bump
1436 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1441 * configure.ac: bump version
1442 * debian/changelog: updates
1443 * debian/control: bump gtk+ dependency
1445 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1447 patch by Christian Dywan (christian@imendio.com)
1449 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1450 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1452 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1454 * src/hildon-check-button.c (hildon_check_button_init)
1455 (hildon_check_button_class_init, hildon_check_button_style_set)
1456 (hildon_check_button_apply_style):
1457 New "checkbox-size" style property.
1459 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1460 larger / configurable size)
1462 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1464 * configure.ac: post release version bump.
1465 * debian/changelog: version bump
1467 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1472 * configure.ac: bump version
1473 * debian/changelog: updates
1475 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1477 * doc/hildon-sections.txt
1478 * src/hildon-pannable-area.c
1479 * src/hildon-program.c
1480 * src/hildon-time-editor.c
1481 * src/hildon-touch-selector-entry.c:
1483 More documentation updates.
1485 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1487 * doc/hildon-sections.txt
1488 * src/hildon-caption.c
1489 * src/hildon-code-dialog.c
1490 * src/hildon-color-button.c
1491 * src/hildon-controlbar.c
1492 * src/hildon-date-editor.c
1493 * src/hildon-date-selector.c
1494 * src/hildon-edit-toolbar.c
1495 * src/hildon-find-toolbar.c
1496 * src/hildon-font-selection-dialog.c
1498 * src/hildon-program.c
1499 * src/hildon-range-editor.c
1500 * src/hildon-seekbar.c
1501 * src/hildon-time-editor.c
1502 * src/hildon-time-selector.c
1503 * src/hildon-volumebar-range.c
1504 * src/hildon-volumebar.c
1505 * src/hildon-vvolumebar.c
1506 * src/hildon-weekday-picker.c
1507 * src/hildon-window.c
1508 * src/hildon-wizard-dialog.c:
1510 Lots of documentation fixes.
1512 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1514 Patch contributed by Iván Gómez (igomez@igalia.com)
1516 * src/hildon-check-button.c:
1517 * src/hildon-date-button.c:
1518 * src/hildon-date-selector.c:
1519 * src/hildon-dialog.c:
1520 * src/hildon-edit-toolbar.c:
1521 * src/hildon-entry.c:
1522 * src/hildon-picker-button.c:
1523 * src/hildon-program.c:
1524 * src/hildon-text-view.c:
1525 * src/hildon-time-button.c:
1526 * src/hildon-touch-selector-entry.c:
1527 * src/hildon-window-stack.c:
1529 Add more "since" tags to the new API.
1531 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1533 * doc/hildon-sections.txt: Add below method.
1534 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1535 version for the hildonized scale.
1536 * src/hildon-gtk.h: Add the definition.
1538 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1540 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1542 * doc/hildon-sections.txt: Add missing entries for new methods.
1544 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1546 Added API to pannable are in order to get its adjustments. We
1547 added two properties to manage the values we had in the private
1550 * src/hildon-pannable-area.c:
1551 (hildon_pannable_area_class_init): Added hadjustment and
1552 vadjustment properties in order to expose horizontal and vertical
1554 (hildon_pannable_area_get_property),
1555 (hildon_pannable_area_set_property): Added code to handle the new
1557 (hildon_pannable_area_get_hadjustment),
1558 (hildon_pannable_area_get_vadjustment): API functions to get the
1560 * src/hildon-pannable-area.h:
1561 (hildon_pannable_area_get_hadjustment),
1562 (hildon_pannable_area_get_vadjustment): API functions to get the
1565 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1567 Fixed some leaks, after valgrinding.
1569 * src/hildon-touch-selector.c:
1570 (_default_print_func): Fixed a leak.
1571 (hildon_touch_selector_append_column): Fixed a leak.
1572 * src/hildon-date-button.c:
1573 (hildon_date_button_init): Fixed a leak.
1574 * src/hildon-date-selector.c
1575 (hildon_date_selector_finalize): Fixed a leak.
1577 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1579 Based on a patch by Christian Dywan (christian@imendio.com)
1581 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1583 * src/hildon-gtk.h: Add definition.
1585 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1587 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1589 * src/hildon-picker-button.c: (hildon_picker_button_init),
1590 (hildon_picker_button_new): Set the HildonButton::style property
1591 in the init method, to propagate the value to the derived classes.
1593 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1595 * src/hildon-button.c: (hildon_button_class_init): Do not make
1596 the "style" property a construct property.
1598 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1600 * src/hildon-wizard-dialog.h
1601 * src/hildon-wizard-dialog.c
1602 (hildon_wizard_dialog_set_forward_page_func)
1603 * src/hildon-pannable-area.h
1604 * src/hildon-pannable-area.c
1605 (hildon_pannable_area_set_size_request_policy):
1606 Documentation fixes.
1608 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1610 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1612 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1614 * doc/hildon-sections.txt: Added sections file.
1616 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1619 * src/*.[ch]: Updates.
1621 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1623 * examples/hildon-progress-indicator-example.c: new file
1624 * examples/Makefile.am: include the new example program
1626 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1628 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1630 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1632 * configure.ac: post release version bump
1633 * debian/changelog: version bump
1635 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1640 * configure.ac: bump version
1641 * debian/changelog: updates
1642 * debian/control: bump gtk+ dependency
1644 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1646 * src/hildon-dialog.c: Mark as deprecated.
1647 * src/hildon-dialog.h: Mark as deprecated.
1648 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1649 from HildonDialog and still work, even if
1650 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1651 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1653 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1654 maemo changes) instead)
1656 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1658 * src/hildon-pannable_area.h:
1659 * src/hildon-pannable_area.c:
1660 (hildon_pannable_area_class_init),
1661 (hildon_pannable_area_set_property),
1662 (hildon_pannable_area_get_property),
1663 (hildon_pannable_area_size_request),
1664 (hildon_pannable_area_get_size_request_policy),
1665 (hildon_pannable_area_set_size_request_policy): Added new API
1666 allowing applications to control the request policy. Now they can
1667 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1668 children allocation (HILDON_MOVEMENT_CHILDREN).
1670 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1674 (hildon_gtk_tree_view_set_ui_mode)
1675 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1676 mode of treeviews and iconviews.
1678 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-touch-selector-entry.c:
1681 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1682 of a GtkEntry to get proper theming.
1684 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1685 widget, not GtkEntry)
1687 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1689 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1690 no HildonWizardDialogPageFunc.
1692 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1694 Patch contributed by Iván Gómez (igomez@igalia.com)
1696 * src/hildon-app-menu.c:
1697 * src/hildon-button.c:
1698 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1699 * src/hildon-stackable-window.c:
1700 * src/hildon-time-selector.c:
1701 * src/hildon-touch-selector.c:
1702 * src/hildon-window.c:
1704 Add more "since" tags to the new API in hildon 2.2.
1706 2008-12-05 Tim Janik <timj@imendio.com>
1708 Patch contributed by Christian Dywan (christian@imendio.com)
1710 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1711 HildonSizeType, which are supplied by Gtk+ now.
1713 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1715 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1716 (with maemo changes) instead)
1718 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1720 Patch contributed by Iván Gómez (igomez@igalia.com)
1722 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1725 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1727 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1728 (some_page_func), (main): Update the example to use a
1729 HildonWizardDialogPageFunc function.
1731 * src/hildon-wizard-dialog-private.h: Add private data for
1732 the HildonWizardDialogPageFunc function usage.
1734 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1735 (destroy), (hildon_wizard_dialog_init), (response),
1736 (hildon_wizard_dialog_set_forward_page_func):
1737 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1738 that applications can use to stop a HildonWizardDialog to jump to
1741 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1744 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1746 * src/hildon-program.h
1747 * src/hildon-program-private.h
1748 * src/hildon-program.c (hildon_program_init)
1749 (hildon_program_set_common_app_menu)
1750 (hildon_program_get_common_app_menu):
1751 New API for setting a common HildonAppMenu for all
1752 HildonStackableWindows registered with the HildonProgram.
1754 * src/hildon-stackable-window.c
1755 (hildon_stackable_window_toggle_menu):
1756 Use the common HildonAppMenu if a window doesn't have a specific
1759 * src/hildon-app-menu-private.h
1760 * src/hildon-app-menu.c
1761 (hildon_app_menu_get_parent_window):
1762 Function to obtain the window a HildonAppMenu is attached to.
1763 (hildon_app_menu_set_parent_window):
1764 Hide the menu if the parent window is set to NULL.
1766 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1769 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1770 search widget to popup.
1772 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1774 * configure.ac: post release version bump
1775 * debian/changelog: version bump
1777 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1782 * configure.ac: bump version
1783 * debian/changelog: updates
1785 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1787 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1789 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1790 (hildon_window_stack_window_realized)
1791 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1792 Set the leader GdkWindow when a window is stacked and realized,
1793 unset it when it's unstacked.
1794 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1796 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1798 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-stackable-window.h
1801 * src/hildon-window-stack.h:
1802 Protect definition of HildonWindowStack using the preprocessor.
1804 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1806 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1807 Fix warning if all menu items are hidden.
1809 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1811 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1813 * src/hildon-controlbar.c:
1814 * src/hildon-hvolumebar.c:
1815 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1816 Multiple scale size defines updates.
1818 Fixes: NB#94322 (Scale Updates)
1820 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1822 * examples/hildon-app-menu-example.c (create_menu)
1823 Show items after adding them to the menu, as in the future the
1824 menu will no longer call gtk_widget_show() on the added items.
1826 * src/hildon-app-menu.c:
1827 Update example as explained above.
1829 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1831 * src/hildon-app-menu.c
1832 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1833 Make sure that all menu items have finger height.
1835 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1837 * src/hildon-picker-dialog.c:
1838 (_on_dialog_response), (_save_current_selection),
1839 (_restore_current_selection), (_clean_current_selection),
1840 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1841 Defined new functions in order to save the current internal selector
1842 selection previous open the dialog, in case that the use cancel the
1843 interaction, so the widget restores the previous selection.
1845 Fixes: NB#92032 (In calendar application, date values in 'new event'
1848 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1850 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-button.c: Add a reference to the button examples in
1853 hildon-button-example.c
1855 * examples/hildon-button-example.c: Added examples of the most
1856 common button layouts.
1858 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1860 * src/hildon-app-menu.c (hildon_app_menu_show)
1861 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1863 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1865 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-picker-dialog.c:
1868 (hildon_picker_dialog_init): Initialize the signal id for
1869 HildonTouchSelector::columns-changed.
1870 (+on_selector_columns_changed): Set up the interaction mode everytime a
1871 column is added or removed from the HildonTouchSelector.
1872 (_hildon_picker_dialog_set_selector): Connect to
1873 HildonTouchSelector::columns-changed and keep track of it.
1875 Make sure to update the interaction mode of the dialog everytime a
1876 column is added or removed in the HildonTouchSelector.
1878 Fixes: NB#93228 (Done button is not shown always in listpicker)
1880 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1882 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1883 a new ::columns-changed signal.
1884 (hildon_touch_selector_append_column): Emit ::columns-changed.
1885 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1887 Add a ::columns-changed signal, emitted when the number of columns in a
1888 HildonTouchSelector changes.
1890 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1892 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1893 (_hildon_picker_dialog_set_selector): Factor out the code
1894 to set up the dialog interaction mode.
1896 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1898 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1899 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1900 to signal_changed_id.
1902 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1904 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1907 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1909 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1910 Updated the logical ids related to ampm format, as now it is required to
1911 show it correctly localized even on languages with no default
1912 abbreviations for am or pm
1913 (_check_am_pm_format): check correctly the 24h format gconf property
1915 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1917 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-button.c: Documentation updates.
1921 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1923 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1924 * src/hildon-caption.c: (hildon_caption_class_init):
1925 * src/hildon-color-button.c: (hildon_color_button_class_init):
1926 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1928 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1929 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1931 Remove deprecated GTK+ marshalers and replace them with the ones
1932 provided by GLib, for those available, add a marshaler for
1933 BOOLEAN:VOID, which is not available in GLib, and use it.
1935 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1937 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1938 the text from the previous column if there is no
1939 HildonTouchSelectorColumn::text-property set.
1941 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-button.h
1944 * src/hildon-button.c (hildon_button_set_property)
1945 (hildon_button_get_property, hildon_button_class_init)
1946 (hildon_button_set_style, hildon_button_get_style):
1947 New "style" property to change the visual appearance of the
1950 * src/hildon-picker-button.c (hildon_picker_button_new):
1951 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1953 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1954 HildonButton look like PickerButton)
1956 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1958 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1959 column while building the default string.
1961 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1963 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1964 scroll indicator by default.
1966 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1968 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-main.c: Fix the documentation for hildon_init()
1972 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1974 * doc/hildon-docs.sgml
1978 * src/hildon-window-stack-private.h
1979 * src/hildon-window-stack.h
1980 * src/hildon-window-stack.c:
1981 New HildonWindowStack object, that adds support for multiple
1982 stacks of windows per process.
1984 * src/hildon-stackable-window-private.h
1985 * src/hildon-stackable-window.h
1986 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1987 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1988 (hildon_stackable_window_show, hildon_stackable_window_hide)
1989 (hildon_stackable_window_class_init)
1990 (hildon_stackable_window_init):
1991 Use HildonWindowStack for stack management.
1993 * src/hildon-program.c (hildon_program_pop_window_stack)
1994 (hildon_program_peek_window_stack)
1995 (hildon_program_go_to_root_window):
1996 Add a fallback implementation to the deprecated functions using
1999 * examples/hildon-stackable-window-example.c:
2000 Use the new HildonWindowStack API.
2002 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2004 * src/hildon-stackable-window-private.h
2005 * src/hildon-stackable-window.c (hildon_stackable_window_show)
2006 (hildon_stackable_window_hide, hildon_stackable_window_init):
2007 Remove all window stack management.
2009 * src/hildon-program-private.h
2010 * src/hildon-program.h
2011 * src/hildon-program.c (hildon_program_init)
2012 (hildon_program_pop_window_stack)
2013 (hildon_program_peek_window_stack)
2014 (hildon_program_go_to_root_window):
2015 Remove all window stack management and mark functions as
2018 2008-11-25 Alberto Garcia <agarcia@igalia.com>
2020 * src/hildon-app-menu.c (hildon_app_menu_realize):
2021 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
2023 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: post release version bump
2026 * debian/changelog: version bump
2028 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2033 * configure.ac: bump version
2034 * debian/changelog: updates
2036 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
2038 Based on initial code by Christian Dywan (christian@imendio.com)
2040 * doc/hildon-docs.sgml: Add section for hildon-main.
2041 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
2042 * src/Makefile.am: Add new hildon-main.[ch]
2043 * src/hildon-defines.h: Update the icon sizes.
2044 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
2045 new library initialization files and register icon sizes.
2046 * src/hildon-main.h: New declarations.
2047 * src/hildon.h: Include hildon-main.h
2049 Add new initialization functions to the library. These methods
2050 will register the hildon specific icon sizes and can be used in the
2051 future for other hildon specific bits.
2053 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
2055 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-window.c: (hildon_window_realize),
2058 (hildon_window_notify), (-hildon_window_update_title): Do not set
2059 the application name in the window title.
2061 Fixes: NB#89754 (Applications shouldn't display their names in the
2064 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2066 * src/hildon-note-private.h:
2067 * src/hildon-note.c: (hildon_note_set_property),
2068 (hildon_note_get_property), (hildon_note_class_init),
2069 (hildon_note_init), (hildon_note_finalize),
2070 (hildon_note_new_confirmation_with_icon_name),
2071 (hildon_note_new_information_with_icon_name):
2073 No need to mark as deprecated the actual code. Revert
2074 to avoid missing symbols in widgets using deprecated API.
2076 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2078 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2080 * src/hildon-volumebar.h
2081 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2082 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2084 * src/hildon-helper.h
2085 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2086 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2088 * examples/Makefile.am:
2089 Deprecate hildon-insensitive-example
2091 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2093 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2095 * examples/hildon-pannable-area-buttons-scroll-example.c:
2096 Make all buttons finger height
2098 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2100 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2102 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2103 update the day model only if it is really required, and to avoid the
2104 full-reconstruction aproach. Now it only add or remove the required days.
2106 The purpose of this is avoid superfluous HildonTouchSelector::changed
2109 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2110 with strange parameters)
2112 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2114 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2116 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2117 the WINDOW_TYPE property.
2119 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2121 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2124 Fix dependency to allow parallel compilation with make -jX
2126 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2128 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2129 color frame and some minor tweaks to make it more consistent with
2132 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2133 highlighted but not visible)
2135 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2137 * examples/Makefile.am: Fixed typo in the Makefile.am.
2139 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2141 Reviewed the use of MAEMO_GTK define, now we add the define in the
2142 compilation line, and we also add it to the pc file.
2144 * configure.ac: Added MAEMO_GTK define to the compilation command
2145 and removed it from the config.h.
2147 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2148 do not have to take care about this define if the library was
2152 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2154 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2156 * examples/Makefile.am,
2157 * examples/hildon-pannable-area-buttons-scroll-example.c,
2158 * examples/hildon-pannable-area-gesture-signals-example.c,
2159 * examples/hildon-pannable-area-scroll-jump-example.c,
2160 * examples/hildon-pannable-area-tree-view-example.c:
2161 Renamed the pannable area examples, now they have more meaningful
2164 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2166 * src/hildon-touch-selector.c:
2167 (hildon_touch_selector_set_column_selection_mode): Used of
2168 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2169 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2170 to avoid re-seting the same selection mode.
2172 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2173 breaks HildonPickerDialog)
2175 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2177 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2178 conditional in the Makefile.am
2180 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2182 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2183 Remove unused methods.
2185 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2187 * src/hildon-button.c (hildon_button_init):
2188 Make button images center-aligned by default
2190 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2193 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2194 activated, we have to think about how to deal with both defines
2195 MAEMO_GTK and MAEMO_CHANGES.
2197 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2199 * examples/hildon-app-menu-example.c (create_menu): Make all
2200 buttons finger size.
2202 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2204 Fixed the compilation without maemo gtk adding ifdefs with
2205 MAEMO_GTK define to the code, we have to check this version more
2208 * examples/Makefile.am: Added control to avoid some examples that
2209 just make sense with maemo gtk.
2212 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2213 hildon modes with the define.
2215 * examples/hildon-edit-toolbar-example.c,
2216 (create_icon_view): Create the icon view without hildon-gtk
2217 helpers if we are not using maemo gtk.
2219 * src/hildon-touch-selector.c,
2220 (_create_new_column): Create the treeview without hildon-gtk
2221 helpers if we are not using maemo gtk.
2223 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2225 * src/hildon-pnnable-area.c,
2226 (hildon_pannable_area_dispose),
2227 (hildon_pannable_area_button_press_cb),
2228 (hildon_pannable_area_child_mapped),
2229 (hildon_pannable_area_add),
2230 (hildon_pannable_area_remove): Added code to control the position
2231 of the event_window when adding and removing children from the
2232 pannable. We have to raise the event window when the child is
2235 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2236 selection mode using custom widget inside pannable)
2238 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2240 * configure.ac: post release version bump
2241 * debian/changelog: version bump
2243 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2248 * configure.ac: bump version
2249 * debian/changelog: updates
2251 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2253 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2254 search mode, in order to avoid lose the focus on the treeview when
2255 a hw key (like enter) is pressed.
2257 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2258 in HildonDateSelector dialog)
2260 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2262 * debian/rules: Added --enable-maintainer-mode
2263 * Makefile.am: Added ACLOCAL_AMFLAGS
2265 This allows to properly regenerate the Makefiles if you modify the
2266 configure.ac or any Makefile.am.
2268 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2270 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2271 properties, not needed at all.
2273 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2277 * src/hildon-note.c: (hildon_note_set_property),
2278 (hildon_note_get_property), (hildon_note_class_init),
2279 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2280 (hildon_note_new_confirmation_add_buttons): Remove icons.
2281 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2282 (hildon_note_new_information_with_icon_name): Deprecate.
2283 (hildon_note_new_confirmation): Act directly, without calling
2284 the deprecated constructor.
2285 (hildon_note_new_information): Act directly, without calling
2286 the deprecated constructor.
2287 * src/hildon-note.h: Mark deprecate methods as such.
2288 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2289 not run tests on the deprecated methods if built with deprecation
2292 Fixes: NB#91688 (Never show icons in information notes/confirmation
2295 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2298 (hildon_app_menu_key_press): Remove leftover usage of the
2299 private structure in HildonAppMenu struct.
2300 * src/hildon-app-menu.h: Remove leftover private structure
2301 from the HildonAppMenu struct.
2303 Fixes a crasher when using the HildonAppMenu.
2305 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2307 * src/hildon-picker-dialog.c: Use appropriate logical id
2308 for the default "Done" text.
2310 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2312 * configure.ac: post release version bump
2313 * debian/changelog: version bump
2315 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2317 Modified the way to scroll to the current selection just when the touch
2318 selector is shown on the screen, avoiding a g_idle. Added too a property
2319 to configure this behaviour. See hildon_pannable_area_jump_to_child
2320 documentation for more information.
2322 * src/hildon-touch-selector.c
2323 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2324 Added 'initial-scroll' property
2325 (hildon_touch_selector_set_property): Added
2326 (hildon_touch_selector_map): Removed as not required anymore
2327 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2328 only a concrete column, instead of iterate along all the columns
2330 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2335 * configure.ac: bump version
2336 * debian/changelog: updates
2338 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2340 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2341 compilation time warnings.
2343 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2345 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2346 the default value for HildonPannableArea::mov-mode to
2347 HILDON_PANNABLE_AREA_MODE_VERT.
2349 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2351 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2353 Reverting following commit:
2355 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2357 * src/hildon-app-menu-private.h
2358 * src/hildon-app-menu.[ch]
2359 * src/hildon-button.[ch]
2360 * src/hildon-check-button.[ch]
2361 * src/hildon-entry.[ch]
2362 * src/hildon-pannable-area.[ch]
2363 * src/hildon-text-view.[ch]:
2364 Added private field to the object's structure.
2366 because it causes an ABI breakage. We will need to introduce these
2367 changes later at some point. See NB#91636 for an extensive
2368 explanation and status.
2370 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2372 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2374 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2375 remove special cases that are no longer necessary.
2377 Fixes: NB#91016 (Change toolbar sizes, simplification)
2379 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2382 is shown in the cancel note.
2384 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2387 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2388 (hildon_seekbar_init): Remove steppers, remove expose event.
2389 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2391 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2393 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2395 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2396 label font to "SmallSystemFont" for vertically arranged buttons.
2398 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2401 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-check-button.c
2404 (hildon_check_button_set_active, hildon_check_button_clicked):
2405 Don't access private parts directly, use getters instead.
2407 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-check-button.c (hildon_check_button_new):
2410 Align the contents of the check button to the left.
2412 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2414 * src/hildon-pannable-area.c,
2415 (hildon_pannable_area_scroll_to),
2416 (hildon_pannable_area_jump_to),
2417 (hildon_pannable_area_scroll_to_child),
2418 (hildon_pannable_area_jump_to_child): Replace the mapped
2419 precondition of these functions with the realized, it is the
2420 correct state of the widget in this case. Changed the
2421 documentation according to this modification.
2423 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2425 Added a new EXTRA_CFLAGS option to add the deprecated define to
2426 the compilation command. This way we can avoid using the define in
2427 the documentation compilation.
2429 * configure.ac: Defined EXTRA_CFLAGS.
2431 * examples/Makefile.am:
2433 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2435 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2437 * src/hildon-picker-dialog.c:
2438 Defined a utility macro with the desired touch selector height
2439 Removed currently unused separator, and title_label variables from
2441 (hildon_picker_dialog_init): Removed code related to the creation
2442 of unused private variables title_label and separator.
2443 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2444 to ensure correct visualization of the touch selector inside the dialog.
2445 * src/hildon-touch-selector.c
2446 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2447 ensure a concrete height of the widget.
2449 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2452 * tests/Makefile.am:
2454 Remove spurious whitespaces.
2456 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2458 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2459 compilation warning after the cancel button removal.
2461 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2463 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2465 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2466 Makefile.am, that way we can choose not to compile some examples
2467 and tests of the deprecated widgets.
2469 * examples/Makefile.am: Divided the sources in deprecated and
2472 * src/Makefile.am: Added undef statement of the deprecated
2473 symbol to the enums file generation process.
2475 * src/hildon-color-chooser-dialog.c
2476 * src/hildon-color-chooser-dialog.h
2477 * src/hildon-color-button.c
2478 * src/hildon-color-button.h
2479 * src/hildon-color-chooser.c
2480 * src/hildon-color-chooser.h
2481 * src/hildon-controlbar.c
2482 * src/hildon-controlbar.h
2483 * src/hildon-date-editor.c
2484 * src/hildon-date-editor.h
2485 * src/hildon-hvolumebar.c
2486 * src/hildon-hvolumebar.h
2487 * src/hildon-private.c
2488 * src/hildon-private.h
2489 * src/hildon-range-editor.c
2490 * src/hildon-range-editor.h
2491 * src/hildon-seekbar.c
2492 * src/hildon-seekbar.h
2493 * src/hildon-time-editor.c
2494 * src/hildon-time-editor.h
2495 * src/hildon-time-picker.c
2496 * src/hildon-time-picker.h
2497 * src/hildon-volumebar.c
2498 * src/hildon-volumebar.h
2499 * src/hildon-vvolumebar.c
2500 * src/hildon-vvolumebar.h
2501 * src/hildon-bread-crumb-trail.h
2502 * src/hildon-bread-crumb-trail.c
2503 * src/hildon-calendar-popup.c
2504 * src/hildon-calendar-popup.h
2505 * src/hildon-weekday-picker.c:
2506 * src/hildon-weekday-picker.h:
2507 * src/hildon-bread-crumb-widget.c:
2508 * src/hildon-bread-crumb-widget.h:
2509 * src/hildon-bread-crumb.c:
2510 * src/hildon-bread-crumb.h:
2511 * src/hildon-calendar.c:
2512 * src/hildon-calendar.h:
2513 * src/hildon-caption.c:
2514 * src/hildon-code-dialog.c:
2515 * src/hildon-code-dialog.h:
2516 * src/hildon-font-selection-dialog.c:
2517 * src/hildon-font-selection-dialog.h:
2518 * src/hildon-get-password-dialog.c:
2519 * src/hildon-get-password-dialog.h:
2520 * src/hildon-login-dialog.c:
2521 * src/hildon-login-dialog.h:
2522 * src/hildon-number-editor.c:
2523 * src/hildon-number-editor.h:
2524 * src/hildon-set-password-dialog.c:
2525 * src/hildon-set-password-dialog.h:
2526 * src/hildon-sort-dialog.c:
2527 * src/hildon-sort-dialog.h: This is the list of deprecated
2530 * src/hildon-touch-selector.c:
2531 * src/hildon-window.c: Added undef statement to avoid compilation
2534 * tests/Makefile.am: Divided the sources in deprecated and
2537 * tests/check_test.c,
2538 (configure_tests): Marked the deprecated code that was adding
2539 suites with deprecated tests.
2541 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2543 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-touch-selector.c: (_default_print_func): Do not
2546 duplicate a string returned by gtk_tree_model_get(), it is already
2549 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2552 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2554 * src/hildon-pannable-area.c
2555 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2556 method, it had problems when adding a widget with viewport the
2557 second time. Now checks if it already has a viewport and uses it.
2559 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2562 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2564 * src/hildon-pannable-area.c,
2565 (hildon_pannable_area_scroll_to),
2566 (hildon_pannable_area_jump_to),
2567 (hildon_pannable_area_scroll_to_child),
2568 (hildon_pannable_area_jump_to_child): Added a precondition to the
2569 scroll and jump to functions: the widget must be mapped before we
2570 can safely call these functions. We have also added documentation
2571 to the functions to explain how to use them in this situation.
2574 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2576 Reviewed the threading handling of the pannable widget, we have
2577 used the gdk_threads_add_timeout function instead of the usual
2578 glib handlers. This avoids some problems with the threads.
2580 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2581 (hildon_pannable_area_initial_effect),
2582 (hildon_pannable_area_scroll_indicator_fade),
2583 (hildon_pannable_area_button_press_cb),
2584 (hildon_pannable_area_timeout),
2585 (hildon_pannable_area_motion_notify_cb),
2586 (hildon_pannable_area_button_release_cb),
2587 (hildon_pannable_area_scroll_cb),
2588 (hildon_pannable_area_scroll_to): Removed the
2589 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2590 gdk_threads_add_timeout.
2592 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2594 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2599 * configure.ac: bump version
2600 * debian/changelog: updates
2602 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2604 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2605 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2606 * src/hildon-color-chooser-dialog.c:
2607 (hildon_color_chooser_dialog_init):
2608 * src/hildon-font-selection-dialog.c:
2609 (hildon_font_selection_dialog_init):
2610 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2612 Remove all cancel/close-like dialogs, as these are not going to be
2615 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2617 * src/hildon-note.c: (hildon_note_rebuild),
2618 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2621 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2623 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2625 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2626 sure all buttons are shown, even the Cancel/Close-like ones.
2628 Fixes: NB#90861 (Custom Confirmation dialogs should be
2629 protected from cancel button removal)
2631 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2633 * debian/control: Change libhildon1-examples dependency from libhildon1
2635 * debian/libhildon1-examples.install
2637 * Makefile.am: Modified the final install directory for the examples on
2638 package libhildon1-examples
2639 * Makefile.static: Update clean target in order to remove all the binary
2642 Changes suggested by Claudio after review new libhildon1-examples package
2644 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2646 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2647 * src/hildon-touch-selector.c: Ditto.
2649 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2651 * debian/control: Added new package libhildon1-examples, in order to pack
2652 the current hildon examples as documentation
2653 * debian/rules: Not to compress .c files, modify some includes on the
2654 examples (as normally are compiled locally, but when installed it will
2655 require to include the installed libhildon1 library), and rename
2657 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2658 install all the example files on the new example package
2659 * examples/Makefile.static: Added static makefile that can be used to
2660 compile the examples, once installed the new example package
2661 * examples: Most of the examples were modified in order to grant that
2662 all use only '#include "hildon.h"', in order to be easy to prepare
2663 it on the example package
2665 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2668 * debian/libhildon1-dev.install
2669 * debian/libhildon1-doc.install:
2670 Move all gtk-doc files to a separate libhildon1-doc package.
2672 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2674 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2678 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2680 * debian/rules: Fixed a error in order to avoid unnecessary calls
2681 to autogen.sh on package building
2683 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2685 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2687 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2689 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2692 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2694 * src/hildon-picker-button.c
2695 (hildon_picker_button_finalize):
2696 Free priv->done_button_text
2698 * src/hildon-time-button.c
2699 (hildon_time_button_set_time)
2700 * src/hildon-picker-button.c
2701 (hildon_picker_button_clicked)
2702 (hildon_picker_button_selector_selection_changed)
2703 (hildon_picker_button_set_selector)
2704 * src/hildon-date-button.c
2705 (hildon_date_button_set_date):
2706 Free strings returned by hildon_touch_selector_get_current_text()
2708 * src/hildon-button.c (hildon_button_construct_child):
2709 Fix leaks in priv->image and priv->label_box
2711 Fixes: NB#90535 (Memory leak in picker button)
2713 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2715 * src/hildon-button.c: (hildon_button_get_property): Do not access
2716 private elements directly, use getters instead.
2718 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-app-menu-private.h
2721 * src/hildon-app-menu.c
2722 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2723 Store the menu's parent window.
2725 * src/hildon-stackable-window.c
2726 (hildon_stackable_window_toggle_menu)
2727 (hildon_stackable_window_finalize):
2728 Set the menu's parent window when the menu is shown, unset it when
2731 * src/hildon-app-menu.c
2732 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2733 (hildon_app_menu_class_init):
2734 Send unhandled keyboard accelerators to the parent window.
2736 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2738 * src/hildon-stackable-window.c
2739 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2741 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2743 * configure.ac: post release version bump
2745 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2748 * configure.ac: Bump version
2749 * debian/changelog: Updates
2750 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2753 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2755 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2758 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2759 GtkMenu with Hildon style.
2761 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2763 * src/hildon-picker-button.c:
2764 (hildon_picker_button_set_done_button_text): Set the dialog's
2765 done button text here as well.
2767 Fixes: NB#90232 (Picker button does not set the label on done button
2768 for the second time)
2770 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2772 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2775 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-app-menu.c (hildon_app_menu_insert)
2778 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2779 the HildonAppMenu to be activatable using keyboard accelerators
2780 when the menu is not being shown.
2782 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2784 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-stackable-window.c
2787 (hildon_stackable_window_show):
2788 Don't hide old windows automatically when new windows are shown:
2789 this is now a task for the window manager.
2790 (hildon_stackable_window_class_init)
2791 (hildon_stackable_window_hide):
2792 Remove windows from the stack everytime they're hidden.
2793 (hildon_stackable_window_realize):
2794 Don't change the _NET_WM_WINDOW_TYPE property. Use
2795 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2796 it as a stackable window.
2798 * src/hildon-program.c
2799 (hildon_program_pop_window_stack):
2800 Just hide the window to remove it from the stack.
2801 (hildon_program_go_to_root_window):
2802 Don't call gtk_widget_show(), this is now a task for the window
2805 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2807 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-button.c
2810 (hildon_button_construct_child):
2811 Don't pack anything in the button until text or image are
2812 set. This allows adding a custom child after creating the button
2813 with hildon_button_new().
2814 (hildon_button_finalize, hildon_button_class_init)
2815 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2816 alignment and the label box even when they're not packed in the
2819 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2821 * src/hildon-touch-selector.h:
2822 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2823 currently the type definition was using GTK_TYPE_VBOX
2824 * src/hildon-touch-selector.c:
2825 Added some implementation notes in order to clarify that any other widget
2826 added without the column related API will not be included on the
2827 selection logic, and how the widget is freed, as some people ask about
2829 (hildon_touch_selector_remove): Reimplemented in order to free properly
2830 the column related data when you remove the private hbox.
2831 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2832 to get a proper HildonTouchSelectorColumn documentation
2834 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2836 * src/hildon-touch-selector-entry.c:
2837 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2838 text in the GtkEntry and there is no item selected. Fixes a
2841 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-app-menu-private.h
2844 * src/hildon-app-menu.[ch]
2845 * src/hildon-button.[ch]
2846 * src/hildon-check-button.[ch]
2847 * src/hildon-entry.[ch]
2848 * src/hildon-pannable-area.[ch]
2849 * src/hildon-text-view.[ch]:
2850 Added private field to the object's structure.
2852 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2854 * configure.ac: post-release version bump
2856 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2860 * configure.ac: pre-release version bump
2862 * debian/changelog: updates.
2864 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2866 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2867 Disconnect the handler for HildonTouchSelector::changed.
2869 (hildon_picker_button_selector_selection_changed): Update the button
2870 value if the selection change was not triggered by the
2873 (hildon_picker_button_set_selector): connect to
2874 HildonTouchSelector::changed.
2876 Fixes: NB#89650 (Picker button is not updated, when selection in
2877 selector has changed)
2879 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2881 * src/hildon-picker-dialog.c
2882 (hildon_picker_dialog_realize): Removed as not required
2883 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2884 * src/hildon-picker-button.c
2885 (_current_selector_empty): New function, checks if the selector is empty
2886 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2887 if the current selector is empty, in order to avoid to show the dialog
2888 close the dialog in this case (and shows a g_warning).
2890 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2892 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2894 * src/hildon-pannable-area.c,
2895 (hildon_pannable_area_scroll): Added clause to stop movement when
2896 the child of pannable is smaller than one page.
2897 (hildon_pannable_area_scroll_to): Added conditions to avoid
2898 starting the scrolling movement if the child is smaller than one
2899 page, the complete child is in the screen, we do not have to move.
2901 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2903 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2906 this is managed automatically by the widget when the size of the
2909 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-picker-button.c
2912 (hildon_picker_button_set_done_button_text): Make a copy of the
2913 text, and free the previous value.
2915 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2917 * src/hildon-touch-selector-entry.c:
2918 (hildon_touch_selector_entry_print_func): Return the selected row's
2919 text if the entry is empty.
2921 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2924 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2926 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2928 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2931 * src/hildon-check-button.h
2932 * src/hildon-check-button.c
2933 * examples/hildon-check-button-example.c:
2934 HildonCheckButton is now a new widget. 'toggled' signal added.
2936 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-program-private.h
2939 * src/hildon-program.c (hildon_program_init)
2940 (hildon_program_finalize): Removed unused variables group_leader
2941 and name from HildonProgramPrivate.
2943 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2945 * src/hildon-check-button.c (hildon_check_button_set_active)
2946 (hildon_check_button_get_active, hildon_check_button_new): Use
2947 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2949 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2951 * src/hildon-touch-selector.h
2952 (hildon_touch_selector_set_column_attributes): added deprecation
2953 guard HILDON_DISABLE_DEPRECATED
2954 * src/hildon-time-selector.c
2955 (hildon_time_selector_set_time)
2956 (hildon_time_selector_get_time): Fixed a typo on documentation
2957 * src/hildon-touch-selector.c: update HildonTouchSelector and
2958 HildonTouchSelectorColumn documentation
2959 * src/hildon-touch-selector-entry.c: update "text-column" property
2961 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2962 to be added to the general documentation.
2964 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2966 * examples/hildon-pannable-area-example-4.c,
2968 * examples/hildon-pannable-area-example.c,
2969 (main): Modified the code in order to use the container add, with
2970 viewport treeviews could have problems if they are really big.
2972 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2974 * src/hildon-weekday-picker.c,
2975 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2976 the agreement regarding deprecation in the library.
2978 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2980 * examples/hildon-picker-button-multicolumn-example.c:
2981 (main): Use custom "done" button text.
2983 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2984 (hildon_picker_button_set_property),
2985 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2986 (hildon_picker_button_init),
2987 (+hildon_picker_button_get_done_button_text),
2988 (+hildon_picker_button_set_done_button_text): New methods to customize
2989 the "done" button label in the launched HildonPickerDialog. Also,
2992 * src/hildon-picker-button.h: add the public API.
2994 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2996 * src/hildon-date-selector.h:
2997 * src/hildon-picker-dialog.h:
2998 * src/hildon-time-selector.h:
2999 * src/hildon-touch-selector-column.h:
3000 * src/hildon-touch-selector.h:
3002 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
3003 declarations. Fixes gtk-doc warnings.
3005 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-picker-dialog.h
3008 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
3009 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
3011 Fixes: NB#89329 (selectors in picker dialog are not visible when a
3012 long text is set as label for done button)
3014 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3016 * src/hildon-dialog.c (hildon_dialog_add_button):
3017 Set fixed width to all buttons in the HildonDialog.
3019 2008-10-06 Alberto Garcia <agarcia@igalia.com>
3021 Patch contributed by Daniel Borgmann (danielb@openismus.com)
3023 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
3024 Set widget name using class name plus "-finger" or "-thumb".
3026 2008-10-03 Alberto Garcia <agarcia@igalia.com>
3028 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
3029 'clicked' when the state of the button is manually changed.
3031 2008-10-02 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-app-menu.c (hildon_app_menu_realize)
3034 (hildon_app_menu_unrealize, hildon_app_menu_init)
3035 (hildon_app_menu_class_init, item_visibility_changed):
3036 Change the menu layout when the size of the screen changes.
3037 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
3038 Show warning only when changing the number of colums using the
3041 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
3043 * debian/compat: Set to 5
3044 * debian/control: Update dependencies.
3045 * debian/libhildon1-dbg.install: Remove.
3046 * debian/libhildon1-dev.install: Update according to cdbs paths.
3047 * debian/libhildon1.install: Update according to cdbs paths.
3048 * debian/rules: Switch to cdbs.
3050 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3052 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
3053 'item' variable renamed to 'filter'
3055 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3057 * src/hildon-app-menu.c (hildon_app_menu_insert)
3058 (hildon_app_menu_add_filter, remove_item_from_list)
3059 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3060 Don't leak hidden items when the menu is destroyed.
3062 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3064 * src/hildon-app-menu.c (hildon_app_menu_insert)
3065 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3066 (hildon_app_menu_set_columns, item_visibility_changed)
3067 (filter_visibility_changed, hildon_app_menu_repack_filters)
3068 (hildon_app_menu_repack_items):
3069 Repack items and filters separately.
3071 Don't repack all items, change only the ones that are needed to
3074 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3076 * src/Makefile.am: added hildon-touch-selector-column.h
3078 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3080 * src/hildon-touch-selector.c: added the property "text-column" to the
3081 class HildonTouchSelectorColumn, and related get/set functions
3082 (_default_printf_func): updated to use "text-column" property
3083 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3084 "text-column" in his documentation, as this is now included on
3085 HildonTouchSelectorColumn. The get/set_property can still be used,
3086 working as a wrapper to the concrete column "text-column" property
3087 (_text_column_modified): callback added in order to handle the signal
3088 "notify::text-column" of the concrete HildonTouchSelectorColumn
3089 (hildon_touch_selector_entry_get_text_column)
3090 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3091 modified in order to use the HildonTouchSelectorColumn "text-column"
3093 * src/hildon-time-selector.c:
3094 * src/hildon-date-selector.c:
3095 * examples/hildon-touch-selector-example.c
3096 * examples/hildon-touch-selector-multi-cells-example.c
3097 * examples/hildon-picker-button-multicolumn-example.c
3098 Set the right value to "text-column" property on the creation of a new
3099 column using hildon_touch_selector_append_column()
3101 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3103 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3105 * src/hildon-app-menu.c
3106 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3107 updating the layout of the menu, don't create all widgets again,
3108 just repack the items in their new places.
3110 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3112 * src/hildon-time-selector.c
3113 (hildon_time_selector_get_time)
3114 (hildon_time_selector_set_time)
3115 Added documentation of these public methods
3117 * src/hildon-date-button.h
3118 * src/hildon-touch-selector-column.h
3119 * src/hildon-time-button.h
3120 * src/hildon-picker-dialog.h
3121 * src/hildon-time-selector.h
3122 * src/hildon-picker-button.h
3123 * src/hildon-touch-selector.h
3124 * src/hildon-time-picker.h
3125 * src/hildon-date-selector.h
3126 * src/hildon-touch-selector-entry.h
3127 Modified in order to use hildon-widgets code style
3129 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3131 Added deprecated support to the compilation process using
3132 HILDON_DISABLE_DEPRECATED
3134 * configure.ac: Added the --disable-deprecated to the configure
3137 * src/hildon-weekday-picker.c:
3138 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3139 to use the deprecated support. We will update the other deprecated
3140 widgets status in a new patch.
3142 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3144 * configure.ac: Fixed typo with fatal warnings support, the
3145 variable name was not correct
3147 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-app-menu.c
3150 * src/hildon-program.c: Update documentation.
3152 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3154 * configure.ac: Post-release version bump.
3156 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3161 * configure.ac: Pre-release version bump.
3162 * debian/changelog: Updates.
3164 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3166 * NEWS: Update news for previous releases.
3168 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3170 * examples/hildon-touch-selector-multi-cells-example.c:
3171 (create_selector): Update the example to use
3172 hildon_touch_selector_append_column() with a NULL renderer and set
3173 the renderers later.
3174 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3175 passed a NULL renderer. This is documented behavior now.
3177 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3178 This must be used if the developer wants full control on the layout of
3179 the renderers to be added to the column.
3181 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3183 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-touch-selector.c: Documentation fixes.
3187 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-wizard-dialog-private.h: Remove image and box.
3190 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3191 (hildon_wizard_dialog_set_property), (response): Completely remove
3192 image/icon support, and the containers required for the layout.
3194 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3196 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-app-menu.c: Updated documentation.
3200 * src/hildon-stackable-window.c
3201 (hildon_stackable_window_set_main_menu): Unref the old menu after
3202 ref'ing the new one.
3204 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3206 * src/hildon-stackable-window.c
3207 (hildon_stackable_window_set_main_menu): Unref the previous menu
3208 instead of destroying it.
3210 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3211 floating reference and set has_user_ref_count to FALSE to make
3212 HildonAppMenu act like a normal ref-counted widget and not a
3215 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3218 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3220 * src/hildon-touch-selector-column.h: new file
3221 * src/hildon-touch-selector.h
3222 * src/hildon-touch-selector.c
3223 Implemented GtkCellLayout interface, in order to allow to configure
3224 the cell layout on each individual selector column
3225 (hildon_touch_selector_set_column_attributes): marked as deprecated
3226 * examples/hildon-touch-selector-multi-cells-example.c
3227 Example of how to use the GtkCellLayout interface on the selector
3229 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3231 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3233 * src/hildon-app-menu.h
3234 * src/hildon-app-menu.c
3235 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3236 (hildon_app_menu_append, hildon_app_menu_prepend):
3237 New methods to prepend, insert and move items in the menu.
3239 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3241 * src/hildon-wizard-dialog.c:
3243 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3245 (create_title): Update logical IDs and related code.
3246 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3248 * src/hildon-wizard-dialog.h: Note that
3249 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3250 point, as it is not used anymore.
3252 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3254 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3256 * src/hildon-note.c:
3257 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3258 shown. Do not display an icon in confirmation notes nor information
3260 (hildon_note_set_button_text): Update logical ID for cancel button.
3262 Fixes: NB#88850 (Update HildonNote button strings + signals)
3264 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3266 * src/hildon-stackable-window.c
3267 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3269 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-app-menu-private.h
3272 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3273 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3274 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3275 temporary property 'columns' to change the number of columns.
3277 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3279 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3281 * examples/hildon-note-example.c: (on_information_clicked),
3282 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3283 debugging information.
3284 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3286 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3287 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3288 in order to close: this will be handled by the WM from now on.
3290 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3292 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3294 * src/hildon-app-menu-private.h
3295 * src/hildon-app-menu.c
3296 (hildon_app_menu_append, hildon_app_menu_add_filter)
3297 (button_visibility_changed, hildon_app_menu_apply_style)
3298 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3299 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3300 layout everytime a button (item or filter) is shown or hidden.
3302 * src/hildon-stackable-window.c
3303 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3306 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3308 * src/hildon-touch-selector.c:
3309 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3310 that the treeview inside the touch selector is in fremantle hildon mode
3311 * examples/hildon-date-button-example.c
3312 * examples/hildon-picker-button-multicolumn-example.c
3313 * examples/hildon-touch-selector-entry-example.c
3314 * examples/hildon-touch-selector-example.c
3315 * examples/hildon-time-button-example.c
3316 * examples/hildon-picker-button-example.c:
3317 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3319 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3321 * examples/hildon-text-view-example.c: (main): Remove the
3322 gtkrc bits, now handled by the theme.
3324 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3326 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3329 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3331 * po/Makefile.am: Install properly the mo files.
3332 * po/en_GB.po: Update translation, to ease testing purposes.
3334 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3336 * examples/hildon-picker-button-example.c: (main): Select an item
3337 in the selector before setting it to the button.
3339 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3341 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3342 Update button's value if the selector has an item active.
3344 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3345 'value' with the selector)
3347 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3349 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3350 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3351 (hildon_picker_button_class_init): Plug the finalize method.
3352 (hildon_picker_button_set_selector): If there's a previously set
3353 selector, unref'it before setting a new one.
3355 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3356 HildonTouchSelector)
3358 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3360 * src/hildon-touch-selector-entry.c:
3361 (hildon_touch_selector_entry_changed): Check if there is no text
3362 selected before setting the entry text.
3365 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3367 * src/hildon-touch-selector.h
3368 * src/hildon-touch-selector.c
3369 (hildon_touch_selector_get_active)
3370 (hildon_touch_selector_set_active): New methods to set/get the
3371 index of the selected item.
3373 * src/hildon-picker-button.h
3374 * src/hildon-picker-button.c
3375 (hildon_picker_button_get_active)
3376 (hildon_picker_button_set_active): New methods to set/get the
3377 index of the selected item.
3379 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3381 * configure.ac: post-release version bump.
3383 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3387 * configure.ac: Pre-release version bump.
3388 * debian/changelog: Updates.
3389 * debian/control: Add myself as maintainer and depend on l10n
3392 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3394 * src/hildon-window.c
3395 (hildon_window_set_main_menu)
3396 * src/hildon-stackable-window.c
3397 (hildon_stackable_window_set_main_menu):
3398 Updated documentation.
3400 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3402 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3403 Don't free selector->priv manually.
3406 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3409 (hildon_gtk_window_set_progress_indicator):
3410 * src/hildon-gtk.h: Added the new API
3411 hildon_gtk_window_set_progress_indicator, it changes the state of
3412 the window progress hint.
3414 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3416 * src/hildon-button.c
3417 * src/hildon-stackable-window.c: Minor documentation updates.
3419 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3421 * src/hildon-stackable-window.c: Updated documentation.
3423 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3425 * src/hildon-defines.h: Update margins definitions
3426 to the Fremantle sizes.
3429 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3431 * src/hildon-touch-selector.c,
3432 (_hildon_touch_selector_set_model): Cleaning the code after
3433 review, removed g_print and #if 0 from the code.
3435 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3437 * src/hildon-edit-toolbar.c: Update documentation.
3439 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3441 * src/hildon-check-button.h
3442 * src/hildon-check-button.c
3443 (hildon_check_button_set_label, hildon_check_button_get_label)
3444 * examples/hildon-check-button-example.c
3445 (button_clicked_cb):
3446 Removed deprecated methods.
3448 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3450 * src/hildon-text-view.c:
3451 Add sample code to the documentation.
3453 * src/hildon-entry.h
3454 * src/hildon-text-view.h:
3455 Minor cosmetic changes.
3457 * src/hildon-entry.c:
3458 Add sample code to the documentation.
3459 (hildon_entry_init, hildon_entry_refresh_contents):
3460 Don't allow NULL values in the placeholder.
3462 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3464 * doc/hildon-docs.sgml
3466 * examples/Makefile.am
3467 * examples/hildon-text-view-example.c
3469 * src/hildon-text-view.c
3470 * src/hildon-text-view.h
3472 New HildonTextView widget, with example.
3474 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3476 * po/POTFILES.in: Add missing files with translatable strings.
3477 Partially fixes NB#88287.
3479 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3481 * examples/hildon-pannable-area-example-2.c: (main): No need to
3482 set the cellrenderer height inside hildon touch lists, the theme does
3485 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3487 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3488 they are integrated in the theme.
3490 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3492 * examples/hildon-entry-example.c: Update the example adding
3493 widgets to modify the text and the placeholder of the HildonEntry.
3495 * src/hildon-entry.c: Show the placeholder everytime the widget
3496 is empty and loses the focus.
3498 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3500 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3502 * src/hildon-pannable-area.c,
3503 (hildon_pannable_area_size_request): Fixed bug in height
3504 requisition, avoid increasing size and add border twice.
3506 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3508 * configure.ac: postrelease version bump.
3510 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3514 * configure.ac: Prerelease version bump.
3515 * debian/changelog: update.
3516 * debian/rules: make -dbg package contain useful debugging symbols.
3518 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-dialog.h
3521 * src/hildon-dialog.c
3522 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3523 New methods to add buttons with finger size.
3524 (hildon_dialog_new_with_buttons):
3525 Create buttons with finger size.
3527 * examples/hildon-dialog-example.c (main): Use HildonDialog
3528 methods to add buttons.
3530 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3532 * src/hildon-entry.c: Updated HildonButton documentation.
3534 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3536 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3537 button value label with (FALSE, FALSE) to prevent NB#88126 from
3540 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3542 * examples/hildon-pannable-area-example.c,
3543 (main): Removed examples panning a vbox inside a pannable
3544 area. Check bug NB#87965
3546 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3548 Patch contributed by Kris Rietveld (kris@imendio.com)
3550 * src/hildon-pannable-area.c,
3551 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3552 get_size and get_position, this saves an X server roundtrip.
3554 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3556 * doc/hildon-docs.sgml
3558 * examples/Makefile.am
3559 * examples/hildon-entry-example.c
3561 * src/hildon-entry.c
3562 * src/hildon-entry.h
3564 New HildonEntry widget, with example.
3566 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3568 * src/hildon-button.c (hildon_button_construct_child): Pack the
3569 image with expand == fill == FALSE. This is a workaround for a bug
3572 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3574 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3575 labels for the text column, to make it more look more dynamic.
3577 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3579 * src/hildon-time-selector.c
3580 Define gettext auxiliar macro N_
3581 (_create_minutes_model)
3582 (_create_hours_model)
3583 (_create_ampm_model): use of strftime in order to fill the model
3584 * src/hildon-date-selector.c
3585 (hildon_date_selector_finalize):
3586 (_locales_init): remove the logic related to get the name of the months
3587 using nl_langinfo, as it is not required anymore
3589 (_create_year_model)
3590 (_create_month_model)
3591 (_update_day_model): use of strftime in order to fill the model properly
3594 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-button.h
3597 * src/hildon-button.c (hildon_button_get_image): New method to
3600 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3602 * src/hildon-touch-selector.c:
3603 (hildon_touch_selector_remove_column): Remove from the correct parent
3604 and also remove the list element and free it.
3607 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3609 * src/hildon-time-selector.c
3610 (_create_hours_model): change the range on 12h ampm format in order to use
3611 a 12-11 range instead of previous 01-12 range
3612 (hildon_time_selector_set_time): change the way to select the current time
3613 on 12h ampm format, due the change on the range
3614 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3617 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3619 * src/hildon-touch-selector.c
3620 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3621 in order to allow use this function on multiple row selection mode if
3622 the column is different that the first one
3625 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3627 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3628 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3630 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3632 * src/hildon-date-selector.h: clean some comments, now on the .c
3633 * src/hildon-date-selector.c
3634 (hildon_date_selector_select_month): first implementation
3635 (hildon_date_selector_select_day): added documentation, reimplemented
3636 using hildon_date_selector_select_current_date to avoid repeat code
3639 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3641 Reviewed interaction logic based on device experiences, refactored
3644 * src/hildon-pannable-area.c,
3645 (hildon_pannable_area_class_init): Updated default vmax speed.
3646 (hildon_pannable_area_calculate_velocity): Added this function, it
3647 avoids duplicate valocity calculation. Adjusted calculation to
3648 avoid problems with zero dist events.
3650 (hildon_pannable_area_motion_notify_cb): Now we use the
3651 calculate_velocity function.
3653 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3655 * src/hildon-date-selector.c
3656 (hildon_date_selector_select_current_date): fix the day range check
3657 as it failed using the last day of the current month
3660 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3662 * src/hildon-touch-selector.c
3663 (hildon_touch_selector_get_num_columns): added a parameter validation
3666 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3668 * examples/Makefile.am
3669 * examples/hildon-edit-toolbar-example.c: Example of the
3670 HildonEditToolbar widget.
3672 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3674 * configure.ac: postrelease version bump.
3676 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3680 * configure.ac: prerelease version bump.
3681 * debian/changelog: update.
3683 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3685 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3686 renderer to display stock icons in the touch list. Also, set the sizes
3687 to the recommended in the style guide.
3689 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3690 * src/hildon-touch-selector.h
3691 (hildon_touch_selector_set_active_iter): renamed, now is
3692 hildon_touch_selector_select_iter
3693 (hildon_touch_selector_get_active_iter): renamed, now is
3694 hildon_touch_selector_get_selected
3695 (hildon_touch_selector_unselect_iter): added
3696 * src/hildon-touch-selector.c
3697 Update after API modification (methods renamed)
3698 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3699 order to avoid problems selecting multiple elements on the column
3700 (hildon_touch_selector_unselect_iter): added the implementation
3701 * src/hildon-time-selector.c
3702 * src/hildon-date-selector.c
3703 * src/hildon-touch-selector-entry.c
3704 Update methods calls after hildon-touch-selector.h API modification (methods
3707 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-stackable-window.c
3710 (hildon_stackable_window_finalize): Call the parent class's finalize.
3712 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3714 * examples/hildon-touch-selector-example.c: (create_selector): Use
3715 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3718 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3720 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3721 set a cell background color, to respect theming.
3723 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3725 * doc/hildon-docs.sgml
3728 * src/hildon-edit-toolbar.c
3729 * src/hildon-edit-toolbar.h
3730 * src/hildon.h: New HildonEditToolbar widget.
3732 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3734 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3737 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3738 * src/hildon-touch-selector.c
3739 (_create_new_column): use g_object_set instead of two g_object_set_property
3741 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3742 * src/hildon-touch-selector.c
3743 (_create_new_column): use of hildon_gtk_tree_view_new to create
3744 the treeview, instead of use directly g_object_new
3745 (_create_new_column): update the property name "vindicator-mode" for the
3746 new one "vscrollbar-policy"
3747 * examples/hildon-date-button-example.c
3748 * examples/hildon-picker-button-multicolumn-example.c
3749 * examples/hildon-touch-selector-entry-example.c
3750 * examples/hildon-touch-selector-example.c
3751 * examples/hildon-time-button-example.c
3752 * examples/hildon-picker-button-example.c
3753 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3754 to all the treeviews inside a pannable area.
3756 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3758 * src/hildon-button.h
3759 * src/hildon-button.c (hildon_button_init)
3760 (hildon_button_set_arrangement, hildon_button_set_alignment)
3761 (hildon_button_set_title_alignment)
3762 (hildon_button_set_value_alignment)
3763 (hildon_button_set_image_alignment)
3764 (hildon_button_construct_child): New methods to set the alignment
3765 of the individual components of the button (title, value,
3766 image). Also, new method to alter the xscale and yscale properties
3767 of the GtkAlignment inside the button, so more complex layouts can
3770 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3772 * src/hildon-button.c (hildon_button_style_set)
3773 (hildon_button_class_init, hildon_button_set_arrangement)
3774 (hildon_button_construct_child): Apply style properties
3775 correctly. Use the 'image-spacing' style property too.
3777 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3780 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3783 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3785 * src/hildon-pannable-area.c,
3786 (hildon_pannable_area_size_request): Fixed problem with
3787 pannable-area size_request.
3789 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3791 Added management for the grab-focus to a child widget, like a
3792 range, we need to fade out the scrollbar when releasing.
3794 * src/hildon-pannable-area.c,
3795 (hildon_pannable_area_init): Connected the grab-focus signal to
3797 (hildon_pannable_area_grab_notify): Added this function in order
3798 to manage the situation when the grab-focus ends. We have to
3799 fade-out the scrollbar.
3801 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-app-menu.c: Minor documentation update.
3805 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3807 * src/hildon-app-menu.c
3808 * examples/hildon-app-menu-example.c (create_menu): Update
3809 examples and documentation to explain how to connect callbacks.
3811 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3813 * examples/hildon-button-example.c
3814 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3815 hildon_stackable_window_new instead of gtk_window_new
3817 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3819 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3820 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3821 (hildon_pannable_area_set_property),
3822 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3823 (hildon_pannable_area_unrealize),
3824 (hildon_pannable_area_size_request),
3825 (hildon_pannable_area_size_allocate),
3826 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3827 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3828 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3829 (hildon_pannable_area_initial_effect),
3830 (hildon_pannable_area_redraw),
3831 (hildon_pannable_area_scroll_indicator_fade),
3832 (hildon_pannable_area_expose_event),
3833 (hildon_pannable_area_get_topmost), (synth_crossing),
3834 (hildon_pannable_area_button_press_cb),
3835 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3836 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3837 (hildon_pannable_area_motion_notify_cb),
3838 (hildon_pannable_area_button_release_cb),
3839 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3840 (hildon_pannable_area_remove),
3841 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3842 chage the code layout to a more GtkWidget like. Review the use of
3845 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3847 * examples/hildon-pannable-area-example-4.c,
3848 (main): Modified the name of the hindicator_mode to
3851 * src/hildon-pannable-area.c,
3852 (hildon_pannable_area_class_init),
3853 (hildon_pannable_area_motion_notify_cb),
3854 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3855 we have reduced the amount of signals and managed reviewed its
3856 rationale. Changed the default decelerate value.
3858 (hildon_pannable_area_add),
3859 (hildon_pannable_area_redraw): Refactored functions.
3861 (hildon_pannable_area_init),
3862 (hildon_pannable_area_get_property),
3863 (hildon_pannable_area_set_property):
3864 (hildon_pannable_draw_vscroll),
3865 (hildon_pannable_draw_hscroll),
3866 (hildon_pannable_area_initial_effect),
3867 (hildon_pannable_area_expose_event),
3868 (hildon_pannable_area_scroll),
3869 (hildon_pannable_area_button_press_cb),
3870 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3871 and vindicator_mode with hscrollbar_policy and
3872 vscrollbar_policy. Replaced hscroll and vscroll with
3873 hscroll_visible and vscroll_visible.
3875 (hildon_pannable_area_refresh): Refactor the function, remove
3876 variables and check the calls to this function, added resize
3877 conditions in case the children change their layout.
3879 (hildon_pannable_area_size_request): Added more detailed
3880 size_request calculation.
3883 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3885 * src/hildon-color-chooser.c
3886 (init_borders): use the correct gtk_border_free instead of g_free, to
3887 avoid a crash when this widget is used (ie: the three color selection
3890 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3892 * src/hildon-check-button.c,
3893 (hildon_check_button_set_active): Fixed problem when setting the
3894 active value, the widget was not redrawn.
3896 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3898 * src/hildon-pannable-area.c,
3899 (hildon_pannable_area_refresh),
3900 (hildon_pannable_area_scroll),
3901 (hildon_pannable_area_motion_notify_cb): Small code style change.
3903 (hildon_pannable_area_class_init): Default initial_hint set to
3904 FALSE, it is not in the specs.
3906 (hildon_pannable_area_initial_effect),
3907 (hildon_pannable_area_expose_event),
3908 (hildon_pannable_area_map),
3909 (hildon_pannable_area_init): Moved the launching point of the
3910 initial effect, it was in map but the sizes where not correct in
3911 that method so we do not know if we have the reproduce it. Now it
3912 is placed in the expose_event method and uses a variable to
3913 reproduce it just once.
3915 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3917 * src/hildon-pannable-area.c,
3918 (hildon_pannable_draw_vscroll),
3919 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3920 position allowed for the scrollbars.
3922 (hildon_pannable_area_size_allocate): Small style change.
3924 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3926 * src/hildon-pannable-area.c,
3927 (hildon_pannable_area_scroll_indicator_fade),
3928 (hildon_pannable_area_button_press_cb),
3929 (hildon_pannable_area_button_release_cb),
3930 (hildon_pannable_area_scroll_cb),
3931 (hildon_pannable_area_expose_event),
3932 (hildon_pannable_area_init): Added the define parameter
3933 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3934 and refactor the fade variable.
3936 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3938 * src/hildon-pannable-area.c,
3939 (hildon_pannable_area_redraw),
3940 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3941 lines, we were reimplemeting the redraw code.
3943 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3945 * src/hildon-pannable-area.c,
3946 (hildon_pannable_area_scroll_cb),
3947 (hildon_pannable_area_realize),
3948 (hildon_pannable_area_class_init): Added scroll_event management
3949 for pannable area, now we can scroll the usual desktop method.
3951 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3952 initialization of the parameters should depend on idle_id.
3954 (hildon_pannable_area_init),
3955 (hildon_pannable_area_map): Small code style modifications
3957 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3959 * src/hildon-pannable-area.c
3960 (hildon_pannable_area_button_press_cb),
3961 (hildon_pannable_area_motion_notify_cb),
3962 (hildon_pannable_area_button_release_cb),
3963 (hildon_pannable_area_size_allocate),
3964 (hildon_pannable_area_scroll_to): Improved the timeouts
3965 management, we avoid creating them each time.
3967 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-pannable-area.c:
3970 (hildon_pannable_area_refresh),
3971 (hildon_pannable_area_motion_notify_cb),
3972 (hildon_pannable_area_class_init):
3973 * src/hildon-pannable-area.h:
3974 * src/hildon-touch-selector.c
3975 (_create_new_column):
3976 * examples/hildon-pannable-area-example-4.c:
3977 (horizontal_movement),
3978 (vertical_movement),
3980 Replaced the names of enums in the HildonPannableArea:
3981 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3982 HILDON_MOVEMENT_MODE_*
3983 - HILDON_PANNABLE_AREA_MOV_* ->
3985 - Removed HildonPannableAreaIndicatorMode, now we
3988 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3990 * examples/hildon-pannable-area-touch-grid-example.c
3991 * examples/hildon-pannable-area-touch-list-example.c: Fix
3992 compilation warnings.
3994 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3996 * src/hildon-gtk.c (hildon_gtk_button_new)
3997 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3998 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3999 images overriding the value of the "gtk-button-images" setting.
4001 2008-08-14 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-check-button.c (hildon_check_button_new):
4004 Instead of using a custom container, display the label and the
4005 checkbox using the standard GtkButton API.
4007 * examples/hildon-check-button-example.c (main): Don't use
4008 hildon_check_button_set_label() anymore
4010 * src/hildon-check-button.h
4011 * src/hildon-check-button.c
4012 (hildon_check_button_set_label, hildon_check_button_get_label):
4013 Set as deprecated, now we're using gtk_button_{get,set}_label()
4015 2008-08-14 Alejandro G. Castro <alex@igalia.com>
4017 * src/hildon-pannable-area.c,
4018 (hildon_pannable_area_get_topmost): Fixed bug with click in the
4019 GtkTreeview first line we detected it after the inclusion of the
4020 GtkWindowImpl in gtk+. We now check if the window is visible, not
4021 just if the pointer is over the window.
4022 (hildon_pannable_axis_scroll),
4023 (hildon_pannable_area_expose_event): Small style changes.
4025 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4027 * src/hildon-button.c: Update documentation.
4029 2008-08-13 Alberto Garcia <agarcia@igalia.com>
4031 * examples/hildon-button-example.c: Add a switch to show images in
4034 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4036 * doc/hildon-docs.sgml: Some docs reorganization.
4038 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4040 * examples/hildon-pannable-area-touch-list-example.c
4042 * examples/hildon-pannable-area-touch-grid-example.c
4043 (create_icon_view): Use gtk_{tree,icon}_view_new() and
4044 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
4045 Fix memory leak when setting the tree model.
4047 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4051 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
4053 * doc/hildon.types: Remove duplicated hildon_window_get_type
4054 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
4055 documentation comment.
4057 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4059 * doc/Makefile.am: Complete list of private headers.
4061 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4063 * doc/hildon-docs.sgml
4064 * src/hildon-app-menu.c
4065 * src/hildon-bread-crumb.c
4066 * src/hildon-button.c
4068 * src/hildon-program.c
4069 * src/hildon-stackable-window.c
4070 * src/hildon-window.c: Lots of documentation updates.
4072 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4074 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4076 * configure.ac: Require Gtk+ 2.12.9 at least
4078 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4080 * src/hildon-pannable-area.c
4081 (hildon_pannable_area_scroll_indicator_fade),
4082 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4083 to protect the return of this timeout callbacks, avoiding deadlocks.
4085 2008-08-12 Christian Dywan <christian@imendio.com>
4088 * src/hildon-*.h: Ensure a consistent include order,
4089 include <gtk/gtk.h> instead of particular files and
4090 only include the topmost header in the gtk stack. See NB #39857
4092 2008-08-12 Christian Dywan <christian@imendio.com>
4094 * src/hildon-picker-dialog.c
4095 * src/hildon-touch-selector.c: Fix warnings about unused and
4096 uninitialized variables.
4098 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4100 * examples/Makefile.am
4101 * examples/hildon-check-button-example.c: Example of the hildon
4104 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4106 * src/hildon-window.h
4107 * src/hildon-window.c (hildon_window_class_init)
4108 (hildon_window_unset_program): Don't make
4109 hildon_window_unset_program a virtual function anymore.
4111 * src/hildon-stackable-window.c: Update documentation
4113 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4116 * doc/hildon-docs.sgml
4117 * doc/visual_index.xml
4118 * src/hildon-defines.c
4120 * src/hildon-helper.c
4121 * src/hildon-range-editor.c: Lots of documentation fixes.
4123 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4125 * examples/hildon-picker-button-multicolumn-example.c
4126 (create_touch_selector): Fix compilation warning.
4128 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4130 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4131 (hildon_pannable_area_button_release_cb)
4132 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4134 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4136 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4139 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4141 * src/hildon-bread-crumb-trail.h
4142 * src/hildon-date-editor.c
4143 * src/hildon-date-selector.c
4144 * src/hildon-pannable-area.c
4145 * src/hildon-picker-dialog.c
4146 * src/hildon-time-selector.c
4147 * src/hildon-touch-selector-entry.c
4148 * src/hildon-touch-selector.c
4149 * src/hildon-touch-selector.h: Misc documentation fixes
4151 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4153 * examples/hildon-date-editor-example.c (main): Updated date
4156 * examples/hildon-note-example.c (on_confirmation_clicked):
4157 Updated confirmation note example.
4159 * src/hildon-date-editor.c
4160 * src/hildon-note.c: Updated sample programs in documentation.
4163 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4165 * src/hildon-date-button.h:
4166 * src/hildon-picker-button.h:
4167 * src/hildon-time-button.c:
4168 * src/hildon-time-button.h:
4170 Some declarations changes to allow gtk-doc to document the widgets
4173 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4175 * src/hildon-date-button.c: Document the widget.
4176 * src/hildon-time-button.c: Document the widget.
4178 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4180 * src/hildon-picker-button.c: Document the widget.
4181 * src/hildon-touch-selector-entry.c: Document the widget.
4183 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4185 * doc/hildon-docs.sgml
4188 * src/hildon-check-button.h
4189 * src/hildon-check-button.c: New functions to create the Hildon
4193 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4195 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4197 * src/hildon-button.h
4198 * src/hildon-button.c
4199 (hildon_button_add_title_size_group)
4200 (hildon_button_add_value_size_group)
4201 (hildon_button_add_image_size_group)
4202 (hildon_button_add_size_groups): New functions to set size groups
4203 for the button labels and image.
4204 (hildon_button_new_full): Removed
4206 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4208 * src/hildon-time-selector.c
4209 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4210 in order to avoid a crash if gconf is not available
4212 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4214 * src/hildon-button.c (hildon_button_set_arrangement)
4215 (hildon_button_construct_child): Don't construct the button child
4216 before setting the arrangement.
4218 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4220 * src/hildon-program-private.h
4221 * src/hildon-program.c
4222 * src/hildon-program.h
4223 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4224 (hildon_program_peek_window_stack)
4225 (hildon_program_pop_window_stack)
4226 (hildon_program_go_to_root_window): HildonProgram now has a
4227 separate list for stackable windows. Functions are provided to
4228 manage that list with a stack-like API.
4230 * src/hildon-stackable-window.c: Stackable window management is
4231 now much simpler with the new HildonProgram API. Windows no
4232 longer need to be manually added to the program, they're
4233 automatically pushed to the top of the stack when shown.
4235 * examples/hildon-stackable-window-example.c: Updated example to
4236 reflect the API changes.
4238 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4240 * src/hildon-touch-selector.c: Comment out unimplemented
4241 hildon_touch_selector_insert_column() to avoid a compile warning.
4243 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4245 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4246 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4247 (hildon_touch_selector_set_column_selection_mode),
4248 (_hildon_touch_selector_set_model),
4249 (hildon_touch_selector_set_model):
4251 Complete review of HildonTouchSelector documentation.
4253 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4255 * doc/hildon-docs.sgml
4259 * src/hildon-gtk.c: Convenience functions for standard Gtk
4260 widgets, used to easily perform frequent operations.
4262 * src/hildon-button-helpers.h
4263 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4265 * src/hildon-helper.h
4266 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4267 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4269 * src/hildon-button.h
4270 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4272 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4274 * src/hildon-button.c (hildon_button_init)
4275 (hildon_button_set_arrangement, hildon_button_construct_child):
4276 Pack the image and the labels inside the same GtkAlignment so
4277 gtk_button_set_alignment() can be used
4279 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4281 * src/hildon-button.h
4282 * src/hildon-button.c
4283 (hildon_button_init, hildon_button_set_image)
4284 (hildon_button_set_image_position)
4285 (hildon_button_construct_child): New functions to add an image to
4288 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4290 * src/hildon-date-button.c
4291 * src/hildon-picker-button.c
4292 * src/hildon-time-button.c
4293 * src/hildon-button.c:
4294 (hildon_button_class_init): "size-flags" renamed to "size"
4295 (hildon_button_set_title): Hide the title label if set to NULL.
4297 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4299 HildonButtonFlags split into HildonButtonArrangement (to set the
4300 button layout) and HildonSizeType (which can be used for any
4303 * src/hildon-button.h
4304 * src/hildon-button.c
4305 (hildon_button_class_init)
4306 (hildon_button_set_arrangement)
4307 (hildon_button_set_property): New "size-flags"
4308 property. "arrangement-flags" renamed to "arrangement".
4309 (hildon_button_new, hildon_button_new_with_text)
4310 (hildon_button_new_full): Constructors updated to reflect type changes.
4312 * src/hildon-helper.h
4313 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4314 to set the size of a widget.
4318 * src/hildon-button-helpers.c
4319 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4321 * src/hildon-date-button.c
4322 * src/hildon-date-button.h
4323 * src/hildon-picker-button.c
4324 * src/hildon-picker-button.h
4325 * src/hildon-time-button.c
4326 * src/hildon-time-button.h: Updated widgets to reflect
4327 HildonButton API changes.
4329 * examples/hildon-button-example.c
4330 * examples/hildon-date-button-example.c
4331 * examples/hildon-picker-button-example.c
4332 * examples/hildon-picker-button-multicolumn-example.c
4333 * examples/hildon-time-button-example.c
4334 * examples/hildon-touch-selector-entry-example.c
4335 * examples/hildon-touch-selector-example.c: Updated examples to
4336 reflect HildonButton API changes.
4338 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4340 * doc/hildon-docs.sgml:
4342 * examples/Makefile.am:
4343 * examples/hildon-touch-selector-entry-example.c:
4345 * src/hildon-touch-selector-entry.c:
4346 * src/hildon-touch-selector-entry.h:
4349 Moved HildonTouchSelectorEntry from sandbox. Added its
4350 documentation and examples.
4352 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4354 * src/hildon-touch-selector.h:
4355 * examples/hildon-picker-button-multicolumn-example.c:
4356 (hildon_touch_selector_append_text_column): Add a gboolean
4357 parameter to determine if text must be centered in the column.
4359 * src/hildon-date-selector.c: (hildon_date_selector_init):
4360 * src/hildon-time-selector.c: (hildon_time_selector_init):
4361 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4362 (create_touch_selector): Update widgets and example to reflect
4365 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/hildon-touch-selector.c:
4368 (hildon_touch_selector_set_active_iter): Set also the cursor in
4371 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4373 * doc/hildon-docs.sgml
4376 * src/hildon-toggle-button.c
4377 * src/hildon-toggle-button.h
4378 * src/hildon.h: Removed HildonToggleButton widget, a derived
4379 class is not necessary for this.
4381 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4383 * src/hildon-pannable-area.c,
4384 (hildon_pannable_area_realize),
4385 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4388 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4390 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4391 "done" button the default widget for the dialog.
4393 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4395 * src/hildon-touch-selector.c:
4396 (hildon_touch_selector_class_init),
4397 (hildon_touch_selector_get_property),
4398 (_hildon_touch_selector_set_model),
4399 (_hildon_touch_selector_has_multiple_selection),
4400 (hildon_touch_selector_has_multiple_selection):
4401 Add a "has-multiple-selection" property with a virtual
4402 has_multiple_selection() method to allow derived classes to
4403 override the default value for it. See the method and property
4404 documentation for details.
4406 * src/hildon-touch-selector.h: Add the new API.
4408 * src/hildon-picker-dialog.c: (requires_done_button): Call
4409 hildon_touch_selector_has_multiple_selection() instead of
4410 determining the need for a button itself.
4412 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4414 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4415 (_hildon_touch_selector_set_model),
4416 (hildon_touch_selector_set_model): Move working code to
4417 _hildon_touch_selector_set_mode(). Call the class method instead.
4419 * src/hildon-touch-selector.h: Add (*set_model) to
4420 HildonTouchSelectorClass.
4422 Make hildon_touch_selector_set_model() a virtual method, so that
4423 derived classes can extend it and do fancy stuff with the model.
4425 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4427 * configure.ac: Set back the tarname in AC_INIT to hildon.
4429 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4433 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4434 instead of libesd (NB#86876). Volume handling is still an open issue.
4436 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4439 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4442 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4443 derived class to ease placement of an entry widget in
4444 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4445 end, where the selector columns are packed now.
4447 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/hildon-picker-button.c: Removed the simple _text() API.
4450 * src/hildon-picker-button.h: Likewise.
4452 * src/hildon-touch-selector.h:
4453 * src/hildon-touch-selector.c:
4454 (hildon_touch_selector_new_text),
4455 (hildon_touch_selector_append_text),
4456 (hildon_touch_selector_prepend_text),
4457 (hildon_touch_selector_insert_text):
4459 Moved the simple _text() API from HildonPickerButton to
4460 HildonTouchPicker, to provide better escalability and not to tie
4461 that API to HildonPickerButton.
4463 * examples/hildon-picker-button-example.c: (main): Example updated.
4465 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4467 * src/hildon-button.c: Updated documentation.
4469 * examples/hildon-button-example.c: Add the posibility to create
4470 the buttons using horizontal layout for title and value.
4472 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4474 * src/hildon-app-menu-private.h
4475 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4476 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4477 GtkSizeGroup for the filters, use the 'homogeneous' property of
4480 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4482 * examples/hildon-button-example.c: Updated example.
4484 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4486 * doc/hildon-docs.sgml:
4489 Update documentation.
4491 * examples/Makefile.am: Update renamed examples.
4493 * examples/hildon-picker-button-multicolumn-example.c:
4494 (create_touch_selector), (main): Update after the rename.
4496 * examples/hildon-touch-picker-example.c: Removed.
4497 * examples/hildon-touch-selector-example.c: (value_changed),
4498 (create_selector), (get_visible_content), (main): Renamed from
4499 hildon-touch-picker-example.c
4501 * src/Makefile.am: Updated renamed files.
4503 * src/hildon-date-button.c: (hildon_date_button_init),
4504 (hildon_date_button_get_date), (hildon_date_button_set_date):
4505 * src/hildon-date-selector.c: (hildon_date_selector_init),
4506 (_custom_print_func), (_update_day_model),
4507 (_manage_selector_change_cb),
4508 (hildon_date_selector_select_current_date),
4509 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4510 * src/hildon-date-selector.h:
4511 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4512 (hildon_picker_button_set_property),
4513 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4514 (hildon_picker_button_init), (hildon_picker_button_new_text),
4515 (hildon_picker_button_append_text),
4516 (hildon_picker_button_prepend_text),
4517 (hildon_picker_button_insert_text),
4518 (hildon_picker_button_set_selector),
4519 (hildon_picker_button_get_selector):
4520 * src/hildon-picker-button.h:
4521 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4522 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4523 (_update_title_on_selector_changed_cb), (requires_done_button),
4524 (_hildon_picker_dialog_set_selector),
4525 (hildon_picker_dialog_set_selector),
4526 (hildon_picker_dialog_get_selector):
4527 * src/hildon-picker-dialog.h:
4528 * src/hildon-time-button.c: (hildon_time_button_init),
4529 (hildon_time_button_get_time), (hildon_time_button_set_time):
4530 * src/hildon-time-selector.c: (hildon_time_selector_init),
4531 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4532 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4533 * src/hildon-time-selector.h:
4536 Massive code updates after the rename.
4538 * src/hildon-touch-picker.c: Removed.
4539 * src/hildon-touch-picker.h: Removed.
4541 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4542 (hildon_touch_selector_init), (hildon_touch_selector_map),
4543 (hildon_touch_selector_remove), (_default_print_func),
4544 (_selection_changed_cb), (_create_new_column),
4545 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4546 (hildon_touch_selector_append_text_column),
4547 (hildon_touch_selector_remove_column),
4548 (hildon_touch_selector_set_column_attributes),
4549 (hildon_touch_selector_insert_column),
4550 (hildon_touch_selector_get_num_columns),
4551 (hildon_touch_selector_get_column_selection_mode),
4552 (hildon_touch_selector_set_column_selection_mode),
4553 (hildon_touch_selector_set_print_func),
4554 (hildon_touch_selector_get_print_func),
4555 (hildon_touch_selector_get_active_iter),
4556 (hildon_touch_selector_set_active_iter),
4557 (hildon_touch_selector_get_selected_rows),
4558 (hildon_touch_selector_get_model),
4559 (hildon_touch_selector_set_model),
4560 (hildon_touch_selector_get_current_text),
4561 (_hildon_touch_selector_center_on_selected_items):
4562 * src/hildon-touch-selector.h: Renamed from
4563 hildon-touch-picker.[ch]
4565 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4566 references, code examples, and related documentation.
4568 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4570 * doc/hildon-docs.sgml
4573 * src/hildon-toggle-button.c
4574 * src/hildon-toggle-button.h
4575 * src/hildon.h: New HildonToggleButton widget.
4577 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4579 * src/hildon-button.c: Add API documentation.
4580 (hildon_button_set_size_groups): Check input parameters
4582 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4584 * src/hildon-pannable-area.c
4585 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4586 effect after reaching the movement thredshold. This way we start
4587 using the distance after passing the thredshold.
4589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/hildon-button.c: (hildon_button_set_property): Use the
4592 appropriate g_value_get_flags() method.
4594 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4596 * doc/hildon-docs.sgml:
4599 Add the touch pickers, picker dialogs, and picker button widgets
4600 to the documentation.
4602 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4604 * src/hildon-button.c: (hildon_button_set_property),
4605 (hildon_button_class_init): Make "arrangement-flags" a proper
4606 G_TYPE_FLAGS derived property.
4608 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4610 * examples/Makefile.am: Add below examples.
4611 * examples/hildon-date-button-example.c:
4612 * examples/hildon-picker-button-example.c:
4613 * examples/hildon-picker-button-multicolumn-example.c:
4614 * examples/hildon-time-button-example.c:
4615 * examples/hildon-touch-picker-example.c:
4617 Add examples for the recently added touch pickers,
4618 picker dialogs, and picker button widgets.
4620 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4622 * src/hildon-button.c: Add some API documentation
4624 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-button.h
4627 * src/hildon-button.c
4629 (hildon_button_new_with_text): New constructor to create a button
4630 with no text at all.
4631 (hildon_button_init, hildon_button_set_arrangement)
4632 (hildon_button_set_title, hildon_button_set_value)
4633 (hildon_button_set_text)
4634 (hildon_button_construct_child): Hide the value when it's not used
4635 so the rest of the text is properly aligned.
4636 Allow creating buttons with arbitrary widgets inside (not just
4637 title/value labels).
4639 * examples/hildon-button-example.c (vertical_buttons_window)
4640 (horizontal_buttons_window): Update example to use new API.
4642 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4644 * src/Makefile.am: Added HildonTimeButton.
4645 * src/hildon-time-button.c: Added missing LGPL header.
4646 * src/hildon-time-button.h: Added missing LGPL header.
4647 * src/hildon.h: Add hildon-time-button.h
4649 Copied HildonTimeButton from sandbox to trunk. Future work on this
4650 widget must take place in trunk.
4652 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/Makefile.am: Added HildonDateButton.
4655 * src/hildon-date-button.c: Update includes.
4656 * src/hildon.h: Add hildon-date-button.h
4658 Copied HildonDateButton from sandbox to trunk. Future work on this
4659 widget must take place in trunk.
4661 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/Makefile.am: Added HildonPickerButton.
4664 * src/hildon-picker-button.h: Update includes.
4665 * src/hildon.h: Add hildon-picker-button.h
4667 Copied HildonPickerButton from sandbox to trunk. Future work on
4668 this widget must take place in trunk.
4670 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/Makefile.am: Added HildonPickerDialog.
4673 * src/hildon-picker-dialog.c: Update includes.
4674 * src/hildon.h: Add hildon-picker-dialog.h
4676 Copied HildonPickerDialog from sandbox to trunk. Future work
4677 on this widget must take place in trunk.
4679 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4681 * src/Makefile.am: Added HildonTimeSelector.
4682 * src/hildon.h: Add hildon-time-selector.h
4684 Copied HildonTimeSelector widget from sandbox to trunk. Future
4685 work on this widget must happen in trunk.
4687 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4689 * src/Makefile.am: Added HildonDateSelector.
4690 * src/hildon.h: Add hildon-date-selector.h
4692 Copied HildonDateSelector widget from sandbox to trunk. Future
4693 work on this widget must happen in trunk.
4695 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4697 * src/Makefile.am: Added HildonTouchPicker.
4698 * src/hildon-touch-picker.c: Update includes.
4699 * src/hildon.h: Add hildon-touch-picker.h
4701 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4702 on this widget must happen in trunk.
4704 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4706 * src/hildon-pannable-area.c:
4707 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4709 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4711 * examples/hildon-app-menu-example.c (main): Let the window
4714 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4716 * src/hildon-pannable-area.c
4717 (hildon_pannable_area_class_init): Set the min value of the
4718 overshoot properties to zero, which points out that not
4719 overshooting allowed.
4721 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4723 Modified the procedure to get the widget at a point inside the
4724 pannable area when using the movement type signals. Now the user
4725 has to call a function to get the child, that way we just
4726 calculate the child in case the user really want to use it and not
4729 * src/hildon-marshalers.list: Modified the marshallers, now we do
4730 not have the widget as a parameter.
4732 * src/hildon-pannable-area.c
4733 (hildon_pannable_area_motion_notify_cb),
4734 (hildon_pannable_area_class_init),
4735 (hildon_pannable_get_child_widget_at): Removed the widget
4736 parameter from the signal callback. We have also refactored the
4737 emission of the signals.
4739 * src/hildon-pannable-area.h: Added a new method to the API to
4740 calculate a widget at a point inside the pannable area,
4741 hildon_pannable_get_child_widget_at.
4743 * examples/hildon-pannable-area-example-4.c
4744 (horizontal_movement): Modified the example to use the new API,
4745 added condition to control which widget is under the event. This
4746 way we can avoid scrolling laterally over other widgets.
4748 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4750 * src/hildon-pannable-area.c
4751 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4752 modes, we stop getting the pointer events due to returning the
4753 callback without properly calling the get pointer again. Fixed
4754 also an error using the hscroll and vscroll.
4756 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4758 * src/hildon-app-menu-private.h
4759 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4760 (hildon_app_menu_button_release, hildon_app_menu_init)
4761 (hildon_app_menu_class_init): Don't hide the menu on button
4762 release if the user didn't press outside first.
4764 * src/hildon-window.h
4765 * src/hildon-window.c (hildon_window_toggle_menu)
4766 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4767 hildon_window_toggle_menu a virtual function for the stackable
4768 window to override it.
4770 * src/hildon-stackable-window.h
4771 * src/hildon-stackable-window-private.h
4772 * src/hildon-stackable-window.c
4773 (hildon_stackable_window_realize)
4774 (hildon_stackable_window_finalize)
4775 (hildon_stackable_window_class_init)
4776 (hildon_stackable_window_init)
4777 (hildon_stackable_window_set_main_menu): New function to set the
4778 app menu of a HildonStackableWindow.
4780 * examples/hildon-app-menu-example.c: Remove the button to show
4781 the app menu, now it'll be shown when clicking on the title bar
4784 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4786 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4787 set the widget name if the arrangement flags do not specify
4790 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4792 * src/hildon-button.c: (hildon_button_set_property),
4793 (hildon_button_class_init), (hildon_button_new_full),
4794 (hildon_button_set_arrangement): Added "arrangement-flags"
4797 Make the HildonButtonFlags a construction-only property, to allow
4798 subclasses to set them properly.
4800 2008-07-21 Tim Janik <timj@imendio.com>
4802 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4803 insertion position after backspace, so additional digits are appended,
4806 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4808 * src/hildon-pannable-area.c,
4809 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4810 TODO list, it was complete and removed the g_debug and g_print
4813 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4815 Added the movement modes to the hildon-pannable-area, with this
4816 modes the developers can control in which directions the widget
4817 can scroll. They can also connect to signals in order to do
4818 something when that happens, allowing applications scroll. There
4819 is an example uploaded showing how to use it.
4821 * examples/Makefile.am:
4822 * examples/hildon-pannable-area-example-4.c: Added this example of
4823 an application using the modes.
4825 * src/hildon-marshalers.list: Added a new marshaller for the new
4828 * src/hildon-pannable-area.h: Added new enumerations and flags in
4829 order to control the movement modes and the new signals to warn
4830 about the movements in the area.
4832 * src/hildon-pannable-area.c:
4833 (hildon_pannable_axis_scroll),
4834 (hildon_pannable_area_scroll),
4835 (hildon_pannable_area_motion_notify_cb),
4836 (hildon_pannable_area_get_property),
4837 (hildon_pannable_area_set_property),
4838 (hildon_pannable_area_map),
4839 (hildon_pannable_area_class_init),
4840 (hildon_pannable_area_init),
4841 (hildon_pannable_area_jump_to): Added the modes to control the
4842 movement in the widget. We have added properties to control it,
4843 signals to warn about the movements and refactored some code.
4845 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4847 Changes required in order to allow vfast_factor set to zero to
4850 * src/hildon-pannable-area.c:
4851 (hildon_pannable_area_button_press_cb): Changed the condition, it
4852 is required for not allowing click when vfast_factor is zero.
4853 (hildon_pannable_area_timeout): Initialized velocity variables
4854 when we stop moving, it was less than 1 but not zero and we need
4855 to check zero in some situations.
4856 (hildon_pannable_area_class_init): Changed the default value of
4857 the speed factor, now the button_press is just sent in case the
4858 speed is 2 per cent of the max speed.
4859 (hildon_pannable_area_init): Initialization with 0.
4861 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4863 * src/hildon-pannable-area.c,
4864 (hildon_pannable_area_get_topmost): replaced
4865 gdk_window_get_children with gdk_window_peek_children, this way we
4866 do not have to free the list because it is not a copy.
4868 (hildon_pannable_axis_scroll),
4869 (hildon_pannable_area_scroll),
4870 (hildon_pannable_area_timeout),
4871 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4872 two parameters that were only used inside the
4873 hildon_pannable_area_scroll function.
4875 * examples/hildon-pannable-area-example.c,
4876 (get_sawtooth_label): Fixed small memory leak.
4878 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4880 More checks for the case where the overshoot is bigger than the
4883 * src/hildon-pannable-area.c:
4884 (hildon_pannable_draw_vscroll),
4885 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4886 to draw the slider of the scrollbar under the other scrollbar.
4887 (hildon_pannable_area_expose_event): added new checks to control
4888 the drawing of the overshooting area rectangle, in case it is too
4889 big for the area of the widget.
4890 (hildon_pannable_area_size_allocate): add more checks to avoid
4891 setting a position to the child widget outside the area.
4893 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4895 * src/hildon-pannable-area.c
4896 (hildon_pannable_area_size_allocate): Added conditions to control
4897 when overshooting is bigger than the allocated space for the
4898 children, this avoids negative allocations.
4900 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4902 * doc/hildon-docs.sgml
4904 * examples/Makefile.am
4905 * examples/hildon-button-example.c
4907 * src/hildon-button.c
4908 * src/hildon-button.h
4909 * src/hildon.h: Initial version of the new HildonButton widget,
4912 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4914 * src/hildon-pannable-area.c:
4915 (hildon_pannable_area_button_press_cb),
4916 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4917 (hildon_pannable_area_motion_notify_cb),
4918 (hildon_pannable_area_button_release_cb),
4919 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4920 (hildon_pannable_area_jump_to_child):
4922 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4924 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4926 * examples/Makefile.am
4927 * examples/hildon-pannable-area-touch-grid-example.c
4928 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4929 the Hildon Touch List and Hildon Touch Grid using the
4930 HildonPannableArea widget.
4932 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4934 * src/hildon-pannable-area.c,
4935 (hildon_pannable_area_button_press_cb),
4936 (hildon_pannable_area_refresh),
4937 (hildon_pannable_area_scroll),
4938 (hildon_pannable_area_motion_notify_cb),
4939 (hildon_pannable_area_button_release_cb),
4940 (hildon_pannable_area_expose_event),
4941 (hildon_pannable_area_add),
4942 (hildon_pannable_area_remove),
4943 (hildon_pannable_area_realize),
4944 (hildon_pannable_area_size_allocate),
4945 (hildon_pannable_area_class_init),
4946 (hildon_pannable_area_init),
4947 (hildon_pannable_area_scroll_to_child),
4948 (hildon_pannable_area_jump_to_child): Fixed the problem of
4949 removing the child from the GtkBin, we have rearranged the widget
4950 hierarchy, now there is no GtkAlignment which was not doing
4951 anything interesting but breaking some of the assumptions of
4952 GtkContainer. Now developers if they want to add a GtkAlignment
4953 they could, but it is not inside the area.
4955 We had to review the whole allocation/expose process, now it is
4956 improved and we save at least three signals which would be saving
4957 some time when rendering the widget. The allocation of the
4958 scrollbars is now made in the allocate method as usual.
4960 We have also added some conditions in order to control when there
4961 is no child of the pannable area. Maybe we will need more work
4964 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4966 * src/hildon-pannable-area.c,
4967 (hildon_pannable_area_dispose): Released the fade-out timeout when
4968 disposing the widget.
4970 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4972 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4973 zero, we are going to use that property in order to deactivate the
4975 (hildon_pannable_axis_scroll),
4976 (hildon_pannable_area_size_allocate): Added conditions to control
4977 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4978 call, now it is called in all situations and we can remove calls
4979 in the allocate method.
4980 (hildon_pannable_area_map): Control the situation when
4981 overshoot_max is zero, we do not need the timeout.
4982 (hildon_pannable_area_class_init): Added documentation in order to
4983 point out that setting zero to overshoot_max means deactivate
4986 NOTE: removed trailing whitespaces from my previous comments of
4989 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4991 * src/hildon-pannable-area.c
4992 (hildon_pannable_area_get_property),
4993 (hildon_pannable_area_set_property),
4994 (hildon_pannable_area_map),
4995 (hildon_pannable_area_class_init),
4996 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4997 to cause the widget give a hint about its panning abilities upon
5000 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
5002 * src/hildon-pannable-area.c: Several documentation improvements.
5004 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-program.c
5007 * src/hildon-stackable-window.c: Update documentation.
5009 2008-06-26 Alberto Garcia <agarcia@igalia.com>
5011 * src/hildon-stackable-window.c (get_previous_window_if_last):
5012 Renamed get_last_window()
5013 (hildon_stackable_window_map, hildon_stackable_window_unmap)
5014 (hildon_stackable_window_unset_program):
5016 (get_previous_window_if_last):
5017 Detect if the window hasn't been added to a HildonProgram.
5019 2008-06-26 Alejandro G. Castro <alex@igalia.com>
5021 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
5023 * src/hildon-pannable-area.c
5024 (hildon_pannable_area_button_press_cb),
5025 (hildon_pannable_axis_scroll),
5026 (hildon_pannable_area_scroll),
5027 (hildon_pannable_area_timeout),
5028 (hildon_pannable_calculate_vel_factor),
5029 (hildon_pannable_area_get_property),
5030 (hildon_pannable_area_set_property),
5031 (hildon_pannable_area_class_init),
5032 (hildon_pannable_area_init),
5033 (hildon_pannable_area_scroll_to),
5034 (hildon_pannable_area_jump_to),
5035 (hildon_pannable_area_scroll_to_child),
5036 (hildon_pannable_area_jump_to_child):
5037 * src/hildon-pannable-area.h: Added the new API functions:
5038 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
5039 hildon_pannable_area_scroll_to_child,
5040 hildon_pannable_area_jump_to_child
5043 * examples/Makefile.am
5044 * examples/hildon-pannable-area-example-2.c
5045 * examples/hildon-pannable-area-example-3.c: Added these two new
5046 examples in order to test and show how the new APIs work.
5048 2008-06-25 Alberto Garcia <agarcia@igalia.com>
5050 * examples/hildon-stackable-window-example.c (new_window):
5051 * src/Makefile.am (noinst_HEADERS):
5052 * src/hildon-program.c (hildon_program_go_to_root_window):
5053 * src/hildon-program.h:
5054 * src/hildon-stackable-window-private.h:
5055 * src/hildon-stackable-window.c:
5056 * src/hildon-stackable-window.h:
5057 Create hildon-stackable-window-private.h
5058 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5060 * examples/hildon-app-menu-example.c (create_menu):
5061 * examples/hildon-hvolumebar-insensitive-example.c (main):
5062 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5063 * examples/hildon-toolbar-seekbar-example.c (main):
5064 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5065 * src/hildon-banner.c (hildon_banner_set_property):
5066 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5067 Fix compilation warnings
5069 * src/hildon-window.c:
5072 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5074 * src/hildon-stackable-window.c
5075 (hildon_stackable_window_unset_program):
5076 Calculate correctly whether to show the previous window if the
5077 last one is removed from the stack.
5078 (hildon_stackable_window_go_to_root_window):
5079 Send delete events starting from the topmost window.
5080 Stop if one of the windows is not destroyed.
5082 (hildon_stackable_window_delete_event)
5083 (hildon_stackable_window_class_init):
5084 Ignore the delete event if the window is not the topmost one.
5086 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5088 * src/hildon-pannable-area.c
5089 (hildon_pannable_area_expose_event): Fixed a problem when
5090 selecting the background color of the scrollbars.
5092 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5094 * examples/hildon-stackable-window-example.c
5095 * src/hildon-stackable-window.c
5096 * src/hildon-stackable-window.h
5097 hildon_stackable_window_go_home() renamed to
5098 hildon_stackable_window_go_to_root_window()
5099 Send delete events to windows rather than closing them with
5100 gtk_widget_destroy()
5102 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5104 * src/hildon-pannable-area.c
5105 (hildon_pannable_area_button_release_cb): Fix overshooting in
5108 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5110 * src/hildon-pannable-area.c
5111 (hildon_pannable_area_init): Initially show the scroll indicators.
5112 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5114 Add initial effect showing the widget is pannable.
5116 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-pannable-area.c
5119 (hildon_pannable_area_class_init)
5120 (hildon_pannable_area_set_property)
5121 (hildon_pannable_area_get_property)
5122 (hildon_pannable_area_button_press_cb):
5123 New 'velocity_fast_factor' property to decide which velocity is
5126 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5128 * src/hildon-pannable-area.c
5129 (hildon_pannable_draw_hscroll)
5130 (hildon_pannable_draw_vscroll):
5131 Use float variables to calculate the size of the scrollbars to
5132 avoid error propagation and resizing during scrolling.
5134 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5136 * src/hildon-pannable-area.c
5137 (hildon_pannable_draw_vscroll)
5138 (hildon_pannable_draw_hscroll):
5139 Define a minimum size for the scroll bars
5141 * src/hildon-stackable-window.c
5142 (hildon_stackable_window_go_home): Fix compilation warning
5143 (get_last_window): Minor optimizations
5144 (hildon_stackable_window_class_init): Fix initialization of
5147 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5149 * src/hildon-stackable-window.c: Fixed typos in doc
5151 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5153 * src/hildon-pannable-area.c
5154 (hildon_pannable_area_scroll):
5155 Calculate here whether we need to scroll instead of using the booleans
5156 that tell us whether to /draw/ the scrolling bars.
5158 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5160 * src/hildon-app-menu.h
5162 * src/hildon-app-menu.c
5163 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5164 multiple filter groups related code and API. Now we support only
5166 * examples/hildon-app-menu-example.c:
5168 Update to reflect API changes.
5170 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5172 * src/hildon-stackable-window.c
5173 (hildon_stackable_window_class_init):
5174 Add hildon_stackable_window_realize.
5175 (hildon_stackable_window_realize):
5176 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5177 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5178 to apply theming and behavior specific to HildonStackableWindow
5181 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5183 * src/hildon-note.c (hildon_note_button_release):
5184 Close information notes also when tapping on them
5186 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5188 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5189 ELASTICITY, refactor and review, fix some issues with drawing
5192 * src/hildon-pannable-area.c:
5193 (hildon_pannable_area_button_press_cb): removed the conditions to
5194 avoid clicks when overshooting. It is not required
5196 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5197 define. Refatored and reviewed the code, now we do not need to
5198 manage velocity in motion_notify.
5200 (hildon_pannable_area_motion_notify_cb): We have moved the code
5201 that controls the area_scroll to the axis_scroll function and get
5202 rid of duplicated code.
5204 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5206 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5208 (hildon_pannable_draw_vscroll),
5209 (hildon_pannable_draw_hscroll): Fixed the problems with the
5210 scrollbar drawing, now we do not use two surfaces, it is easier
5211 and saves resources.
5213 (hildon_pannable_area_get_property): Style modification.
5215 (hildon_pannable_area_class_init): Changed some default values.
5217 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5219 * src/hildon-stackable-window.c: Fix some typos in the
5222 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5224 * src/hildon-dialog.c:
5225 Change indentation style
5228 (hildon_note_button_release):
5229 Use root coordinates to check if the release event happened
5232 * src/hildon-app-menu.c
5233 (hildon_app_menu_button_release):
5234 Remove unnecessary check
5236 * examples/hildon-app-menu-example.c
5238 Add cast to fix warning
5240 * src/hildon-app-menu.c
5241 (hildon_app_menu_class_init):
5242 New inner-border style property.
5243 Set all default spacings to 16
5244 (hildon_app_menu_init):
5245 Use vertical-spacing to set the space between filter buttons and
5246 regular menu buttons.
5247 Set the default container border using the inner-border value.
5249 * examples/hildon-app-menu-example.c
5251 Don't set the menu border explicitly, now we have the inner-border
5252 style property for that.
5254 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5256 * src/hildon-app-menu.c (hildon_app_menu_init):
5257 Make the window modal
5259 * src/hildon-note.c (hildon_note_map)
5260 * src/hildon-app-menu.c (hildon_app_menu_map):
5261 Destroy the grab window if we're unable to grab the pointer
5263 * src/hildon-app-menu-private.h
5264 * src/hildon-app-menu.c
5265 (hildon_app_menu_init, hildon_app_menu_finalize)
5266 (hildon_app_menu_map, hildon_app_menu_unmap)
5267 (hildon_app_menu_button_release)
5268 (grab_transfer_window_get):
5269 Bring back the grab window
5270 (hildon_app_menu_realize):
5271 Decorate the window, set WM hint for Matchbox
5273 * src/hildon-note.c (hildon_note_realize):
5274 * src/hildon-banner.c (hildon_banner_realize):
5275 Add WM hints for Matchbox
5277 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5279 * src/hildon-app-menu-private.h
5280 * src/hildon-app-menu.c
5281 (hildon_app_menu_init, hildon_app_menu_finalize)
5282 (hildon_app_menu_map, hildon_app_menu_unmap)
5283 (hildon_app_menu_button_release):
5284 Remove the grab window, it's not needed anymore
5286 * src/hildon-program.c
5287 Fixed typo in documentation
5289 * src/hildon-app-menu.h
5290 * src/hildon-app-menu.c
5291 * examples/hildon-app-menu-example.c
5292 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5294 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5297 Added new transfer_window and close_if_pressed_outside private
5299 (hildon_note_rebuild):
5300 Don't add a cancel button to the information note. It will be
5301 closed when tapping outside
5302 Remove the comment about the OK button in the documentation
5303 (hildon_note_realize):
5304 Set the notification type hint
5305 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5306 Grab/ungrab pointer and keyboard if the note has to be closed when
5308 (hildon_note_button_release):
5309 Close the note when tapping outside (if applicable)
5311 * src/hildon-app-menu.c
5312 Grab/ungrab pointer and keyboard on map/unmap
5313 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5314 Close the menu on button release, not button press
5316 * src/hildon-banner.c
5317 (hildon_banner_set_property)
5318 (hildon_banner_check_position):
5319 Make the banner use the full width of the screen
5320 (hildon_banner_show_information)
5321 (hildon_banner_show_information_with_markup):
5322 Don't display an icon by default
5324 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5326 Added fading scrollbars and adapted all the overshooting code to
5327 horizontal scrolling. We have also fixed bugs with overshooting
5328 and current fading implementation.
5330 * src/hildon-pannable-area.c
5331 (hildon_pannable_area_scroll_indicator_fade): Time out function
5332 used to change the transparency of the scrollbars.
5334 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5335 control and fixed a problem with fading, we now remove the fade
5336 timeout before adding a new one.
5338 (hildon_pannable_axis_scroll):
5339 (hildon_pannable_area_scroll):
5340 (hildon_pannable_area_timeout): Added this functions so we can use
5341 the scroll code both for vertical and horizontal.
5343 (hildon_pannable_area_motion_notify_cb):
5344 (hildon_pannable_area_button_release_cb): Added the horizontal
5345 scrolling control, fixed a problem with the overshooting timeout.
5347 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5348 painting of the scrolls.
5350 (hildon_pannable_draw_vscroll):
5351 (hildon_pannable_draw_hscroll):
5352 (hildon_pannable_area_expose_event):
5353 Draw both scrollbars and rectangles in the overshooting area.
5355 (hildon_pannable_area_get_property):
5356 (hildon_pannable_area_set_property):
5357 Modified the overshoot property to overshoot_max
5359 (hildon_pannable_area_map):
5360 Replaced the comments symbols.
5362 (hildon_pannable_area_size_allocate):
5363 (hildon_pannable_area_class_init):
5364 (hildon_pannable_area_init): Added horizontal scroll, fading
5365 effect properties, fixed a problem when overshooting in the bottom
5368 * examples/hildon-pannable-area-example.c:
5369 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5370 looks better in the example.
5372 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5374 * src/hildon-window.c
5375 * src/hildon-window.h
5376 (hildon_window_class_init)
5377 (hildon_window_unset_program)
5378 (hildon_window_unset_program_real):
5379 Make unset_program a virtual function
5381 * src/hildon-stackable-window.c
5382 * src/hildon-stackable-window.h
5383 Added hildon_stackable_window_go_home()
5385 * examples/Makefile.am
5386 * examples/hildon-stackable-window-example.c
5387 HildonStackableWindow example
5389 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5391 * hildon-pannable-area.c: Added the overshoot property and removed
5392 the OVERSHOOT define. Fixed an indent style error.
5393 (hildon_pannable_area_motion_notify_cb):
5394 (hildon_pannable_area_get_property):
5395 (hildon_pannable_area_set_property): Add overshoot property.
5397 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5400 (hildon_pannable_area_class_init): Installed the new property.
5402 * hildon-pannable-area-example.c: Added a sawtooth function, this
5403 way it is easier to check the movement in the pannable.
5404 (get_sawtooth_label): Added this function.
5405 (main): Now we get the labels from the new get_sawtooth_label
5408 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5410 * src/hildon-app-menu.h
5411 * src/hildon-app-menu.c
5412 Renamed API variables for consistency
5414 (hildon_app_menu_popup): Use also the default window size to
5415 decide where to place the menu
5417 (hildon_app_menu_init, hildon_app_menu_class_init): New
5418 external-border style property
5420 2008-05-26 Michael Natterer <mitch@imendio.com>
5422 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5423 widget_class->tap_and_hold_setup signal slot doesn't exist any
5424 longer, stop overriding it.
5426 (hildon_time_editor_init): g_signal_connect() to the
5427 tap-and-hold-setup signal instead.
5429 (hildon_time_editor_entry_keypress): add cast to fix warning.
5431 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5433 * doc/hildon-docs.sgml
5435 * examples/Makefile.am
5436 * examples/hildon-app-menu-example.c
5438 * src/hildon-app-menu-private.h
5439 * src/hildon-app-menu.c
5440 * src/hildon-app-menu.h
5442 New HildonAppMenu widget
5444 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5446 Rearranged the inheritance of the pannable area, now it inherits
5447 from GtkBin. This will allow us to control the event_window and
5448 the allocation process of the widget, required for some effects.
5450 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5451 GtkBin structures. * src/hildon-pannable-area.c: Added the
5452 event_window variable.
5453 (hildon_pannable_area_button_press_cb):
5454 (hildon_pannable_area_button_release_cb):
5455 (hildon_pannable_area_motion_notify_cb):
5456 Changed the signature of the method, now we override the event
5457 callback instead of connecting to the signal.
5459 (hildon_pannable_area_realize):
5460 (hildon_pannable_area_unrealize):
5461 (hildon_pannable_area_map):
5462 (hildon_pannable_area_unmap):
5463 (hildon_pannable_area_size_allocate):
5464 Added functions to control the widget construction. We add a
5465 INPUT_ONLY window and we put it over the widgets inside the
5466 container, this event_window handles the events.
5468 (hildon_pannable_area_class_init):
5469 Replaced the signal connections with overrides of the event
5472 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5474 Bouncing effect added when touching the borders, you can change
5475 the elasticity of the border changing the ELASTICITY define.
5477 * src/hildon-pannable-area.c: Added ELASTICITY define.
5478 (hildon_pannable_area_timeout): Added inverse velocity when
5479 touching the border of the child widget, that causes a bounce.
5481 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5483 Improved performance, we now do not go to the X server in order to
5484 get the list of window children. Apparently the effect is the
5485 same, we have to be careful and check if this breaks something in
5488 * src/hildon-pannable-area.c:
5489 (get_ordered_children): Removed this function.
5490 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5491 the children windows function with gdk_window_get_children.
5493 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5495 * src/hildon-pannable-area.c:
5496 (hildon_pannable_area_dispose): Fixed a crash when closing the
5497 window and kinetics is activated.
5499 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5501 * src/hildon-pannable-area.h
5502 * src/hildon-pannable-area.c
5503 Changed indentation style to meet the one used in Hildon
5505 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5507 Reviewed the interaction of the AUTO mode, now we use the time
5508 attribute of the events and calculate the velocity in the motion,
5509 doing a gimp like calculation. The velocity is calculated in each
5510 motion event using the last velocity and the current one, the
5511 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5513 * src/hildon-pannable-area.c: Replaced the time based algorithm
5515 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5516 timeout for the AUTO mode when we are still moving the cursor. We
5517 added also the velocity calculation in this function.
5518 (hildon_pannable_area_button_release_cb): launch the timeout in
5519 case we are in AUTO mode. There are still some constants here that
5520 come from the old implementation that should be reviewed and
5523 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5525 * doc/hildon-docs.sgml
5528 * src/hildon-stackable-window.c
5529 * src/hildon-stackable-window.h
5531 New HildonStackableWindow widget
5533 * examples/hildon-dialog-example.c
5534 * examples/hildon-pannable-area-example.c
5537 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5539 * src/hildon-dialog.c
5540 (hildon_dialog_new_with_buttons): New constructor.
5542 * examples/hildon-dialog-example.c
5543 (main): Update the example to use the new
5544 hildon_dialog_new_with_buttons().
5546 * examples/hildon-pannable-area-example.c
5547 (main): Update example.
5549 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5551 * doc/hildon-docs.sgml
5553 Added HildonPannableArea to the documentation.
5555 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5557 * doc/visual_index.xml
5558 Fix reference to HildonLoginDialog in documentation
5560 * doc/hildon-docs.sgml
5562 * examples/Makefile.am
5563 * examples/hildon-dialog-example.c
5565 * src/hildon-dialog.c
5566 * src/hildon-dialog.h
5568 New HildonDialog widget.
5570 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5572 * src/hildon-pannable-area.c
5573 Merge latest changes (r4318, r4342) from libmokoui trunk
5575 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5577 * examples/Makefile.am
5578 * examples/hildon-pannable-area-example.c
5580 * src/hildon-pannable-area.c
5581 * src/hildon-pannable-area.h
5583 New HildonPannableArea widget.
5585 2008-04-15 18:05:19 <timj@imendio.com>
5587 * src/hildon-banner.c: revert the recent change, that introduced
5588 gtk_window_present() calls. this reopens:
5589 Bug 78481 - [freetest] information banners are hidden under browser menu
5590 But resolves another variant of:
5591 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5593 2008-04-15 13:21:13 <timj@imendio.com>
5595 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5596 recreated its layout, spotted by Kris. this fixes all remaining
5597 artefacts and stability issues with the banner code. in particular:
5598 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5600 2008-04-14 16:52:59 <timj@imendio.com>
5602 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5603 operating on unrealized widgets, fixes:
5604 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5606 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5608 2008-04-09 Kristian Rietveld <kris@imendio.com>
5610 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5611 makes banner disappear.
5612 Fixes: NB#79182: info banner flickering with certain message lengts.
5614 * src/hildon-banner.c (hildon_banner_constructor),
5615 (hildon_banner_init), (hildon_banner_set_text),
5616 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5617 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5618 FALSE, reset size requests of label and banner,
5619 (force_to_wrap_truncated): when the text is too wide, always enforce
5620 the maximum possible width instead of recalculating it from the
5621 layout; enforce the maximum banner height of 3 lines,
5622 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5623 nicer wrapping and no truncated chars if space gets tight.
5625 * src/hildon-banner-private.h: add has_been_wrapped and
5626 has_been_truncated fields.
5628 2008-04-07 Sven Herzberg <sven@imendio.com>
5630 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5631 local values in hildon_date_editor_size_allocate
5633 * src/hildon-date-editor.c: moved the real allocation code into the
5636 2008-04-07 Sven Herzberg <sven@imendio.com>
5638 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5639 local values in hildon_date_editor_size_allocate
5641 * src/hildon-date-editor.c: merged the two if() branches together
5643 2008-04-07 Sven Herzberg <sven@imendio.com>
5645 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5646 local values in hildon_date_editor_size_allocate
5648 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
5657 from the real allocation
5659 2008-03-27 Michael Natterer <mitch@imendio.com>
5661 Fixes: NB#81696: The passcode is not overwritten even after
5664 * src/hildon-code-dialog.c
5665 (hildon_code_dialog_button_clicked)
5666 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5667 because that doesn't overwrite selected text. Instead, emit the
5668 "commit" signal on the entry's im_context so the entry's normal
5669 insert logic is triggered. Set the cursor to the end of the entry
5670 after each insert operation so that we *only* insert in the middle
5671 of the text if something was selected.
5673 2008-03-27 Michael Natterer <mitch@imendio.com>
5675 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5676 selector cannot be opened
5678 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5679 when the popup color selector is created. Please connect to this
5680 signal in order to set the dialog's help ID.
5682 2008-03-25 Sven Herzberg <sven@imendio.com>
5684 Fixes: MB#1212: Hide info banners (infoprints) on click
5686 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5687 extracted the close event simulation into an extra function
5688 (hildon_banner_button_press_event): simulate a close event and destroy
5689 the widget if the event wasn't handled
5690 (hildon_banner_class_init): added the button_press_event handler
5691 (hildon_banner_init): added button-press events to the widget
5693 2008-03-25 Sven Herzberg <sven@imendio.com>
5695 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5696 Patch from: Mohammad Anwari <mdamt@maemo.org>
5698 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5699 instead of the right in RTL mode
5700 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5701 breadcrumb button list in RTL mode
5702 * src/hildon-caption.c: mirror the appearance of the caption widget in
5704 * src/hildon-date-editor.c: mirror appearance of the date editor in
5706 * src/hildon-time-editor.c: mirror appearance of the time editor in
5708 * src/hildon-window.c: fix the position of the popup in RTL mode
5710 2008-03-25 Sven Herzberg <sven@imendio.com>
5712 Amendment to the fix of NB#22072. Fix compilation.
5714 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5716 2008-03-19 Sven Herzberg <sven@imendio.com>
5718 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5721 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5722 timeout id properly when the timeout will disappear this leaves no
5723 artifacts around in the destroy(); there will only be the timeout
5724 created by hildon_banner_ensure_timeout() and adding a new timeout
5725 will also work if the timeout gets removed because the timeout_handler
5728 2008-03-19 Michael Natterer <mitch@imendio.com>
5730 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5732 * src/hildon-volumebar.c
5733 * src/hildon-vvolumebar.c
5734 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5735 the widget becomes focussable at all.
5737 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5738 set the focus to wither the mute button or the volumebar.
5740 Remove own "can-focus" property and instead listen to
5741 notify::can-focus in order to update the widget's state.
5743 Implement GtkWidget::focus() and make sure we can also *leave* the
5744 widget, not only enter it, depending on volumebar orientation and
5745 requested focus direction.
5747 Clean up set_mute() to cooperate nicely with all the above.
5749 2008-03-04 Michael Natterer <mitch@imendio.com>
5751 Fixes: NB#78481: information banners are hidden under browser menu
5753 * src/hildon-banner.c: call gtk_window_present() on the banners so
5754 they are risen if they are already visible.
5756 2008-03-03 Sven Herzberg <sven@imendio.com>
5758 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5760 * examples/hildon-window-menu-example.c: (main): extended the window
5761 menu example to serve as a testcase for automatically added
5762 accelerator groups, too
5763 * src/hildon-window.c: (hildon_window_add_accel_group),
5764 (hildon_window_set_menu): added patch by Tommi Komulainen
5766 2008-03-03 Sven Herzberg <sven@imendio.com>
5768 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5770 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5771 knowledge about the border allocators used within GTK+
5773 2008-02-26 Sven Herzberg <sven@imendio.com>
5775 Fixes: MB#2981: Build with asserts broken
5777 * src/hildon-date-editor.c,
5778 * src/hildon-number-editor.c,
5779 * src/hildon-time-editor.c,
5780 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5781 the proper GType instance check
5783 2008-02-25 Sven Herzberg <sven@imendio.com>
5785 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5787 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5788 * examples/hildon-window-menu-example.c: (main): explicitly show
5790 * src/hildon-window.c:
5791 (hildon_window_set_main_menu): moved most of the code from set_menu()
5792 to this place; skipped the call to gtk_widget_show_all(); also didn't
5793 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5794 (hildon_window_set_menu): removed most of the code, just keep the
5795 questionable gtk_widget_show_all()
5796 * src/hildon-window.h: added the new function and deprecate the old
5799 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5805 * debian/changelog: Updating.
5807 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5810 * pkgconfig/Makefile.am:
5811 * pkgconfig/hildon.pc.in:
5814 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5815 use newly created API_MAJOR_VERSION.
5817 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5823 * debian/changelog: Updating.
5825 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5827 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5829 Add outer_border style property, we use it but don't define it (!).
5833 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5835 * examples/hildon-bread-crumb-trail-example.c (main):
5839 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5841 Fix logic for the bread crumb trail node removal.
5845 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5851 * debian/changelog: Updating.
5853 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5855 Patch by Alejandro to get/set passwords dialogs accesibility.
5857 * hildon-1/src/hildon-get-password-dialog.c:
5858 * hildon-1/src/hildon-set-password-dialog.c:
5859 Set atk_set_name to the passwd entries in order to allow
5860 accessibility by name on this entries.
5862 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * debian/control: Updating gtk dep.
5869 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5871 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5872 USE_MAEMO_GTK is enabled.
5874 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5876 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5877 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5879 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5885 * debian/changelog: Updating.
5887 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5889 * examples/Makefile.am:
5890 * examples/hildon-logical-color-example.c:
5891 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5892 applied + adding a test case. Fixes: NB#71660.
5894 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5896 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5897 to be visible, fixes warning on map for windows without toolbars.
5899 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5901 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5902 2.11.0, add a check for that besides the MAEMO_GTK check.
5904 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5910 * debian/changelog: Updating.
5912 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5914 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5915 visibility. Fixes: NB#70842 and MB#615.
5917 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5919 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5920 set the separator as no-show-all so it doesn't unintentionally appear when
5921 someone does a show_all.
5923 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5925 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5926 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5927 toplevel item. Fixes: NB#62031
5929 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5931 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5932 fix the name of the function in the docs.
5934 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5940 * debian/changelog: Updating.
5942 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5944 * examples/hildon-banner-long-example.c: Adding a test-case for long
5947 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5949 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5951 * src/hildon-color-chooser-dialog.c:
5952 * src/hildon-color-chooser.c:
5953 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5954 memory leaks in font selector and color selector. Fixes: NB#70499 and
5957 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5959 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5961 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5963 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5964 little bit bigger. Fixes: #NB63694.
5966 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5972 * debian/changelog: Updating.
5974 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5977 * doc/hildon-docs.sgml:
5978 * doc/images/bread-crumb-trail.png:
5979 * doc/images/calendar-popup.png:
5980 * doc/images/caption.png:
5981 * doc/images/code-dialog.png:
5982 * doc/images/color-button.png:
5983 * doc/images/color-chooser-dialog.png:
5984 * doc/images/color-chooser.png:
5985 * doc/images/controlbar.png:
5986 * doc/images/date-editor.png:
5987 * doc/images/font-selection-dialog.png:
5988 * doc/images/get-password-dialog.png:
5989 * doc/images/hvolumebar.png:
5990 * doc/images/login-dialog.png:
5991 * doc/images/note.png:
5992 * doc/images/number-editor.png:
5993 * doc/images/range-editor.png:
5994 * doc/images/seekbar.png:
5995 * doc/images/set-password-dialog.png:
5996 * doc/images/sort-dialog.png:
5997 * doc/images/time-editor.png:
5998 * doc/images/time-picker.png:
5999 * doc/images/vvolumebar.png:
6000 * doc/images/weekday-picker.png: Adding the new generated widget shots.
6001 Adding the bread-crumb-trial and helpers to the documentation.
6003 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6005 * examples/hildon-find-toolbar-example.c:
6006 * src/hildon-find-toolbar.c:
6007 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
6008 actually continue firing the other handlers if connected. Adding a new
6010 hildon_find_toolbar_get_last_index that gets the index of the most
6011 recently added (last) item. Fixes: NB#52301.
6013 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6015 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
6016 behaviour. Fixes: NB#68610.
6018 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6020 * src/hildon-banner.c: Actually reverting the previous change. It somehow
6023 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6025 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
6026 when realizing the banner. Should make the infonbanner effect a bit more
6029 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6031 * src/hildon-volumebar.c:
6032 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
6033 hildon_volumebar_set_range_insensitive_message and
6034 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
6036 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6038 * src/hildon-window.c: Fixing the border freeing on destroy.
6040 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6042 * src/hildon-code-dialog-private.h:
6043 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
6044 kw keyboard support in HildonCodeDialog.
6046 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6052 * debian/changelog: Updating.
6054 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6056 * src/hildon-date-editor.c:
6057 * src/hildon-number-editor.c:
6058 * src/hildon-private.c:
6059 * src/hildon-private.h:
6060 * src/hildon-time-editor.c:
6061 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6062 handling in subclassed composite widgets. Fixes: NB#66628.
6064 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6066 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6067 from destroy_ callback as it introduces problems in async dbus signal
6068 handlers. Fixes NB#66673.
6070 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6072 * examples/hildon-hvolumebar-example.c:
6073 * src/hildon-volumebar.c: Improving the focus handling in the
6074 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6075 set_property accessor so that "mute" property can be actually set. I'm
6076 scared that nobody noticed it's totally broken.
6078 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6080 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6083 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6085 * src/hildon-calendar.c:
6086 * src/hildon-number-editor.c:
6087 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6088 matches the spec of 6 chars per second. Fixes: NB#60489.
6090 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6092 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6093 gtk_style_lookup_color sometime returns FALSE even though color was
6094 found and values were filled properly. Weird. Removing the warning for the
6097 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6099 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6100 expand vertically. Adding some extra space to the find toolbar buttons to
6101 make them thumbable. Fixes NB#66060.
6103 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6106 popup with "Ok" and "Cancel". Fixes NB#59299.
6108 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6110 * src/hildon-calendar.c: Process all window updates before executing next
6111 timeout. Fixes: NB#54146.
6113 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6119 * debian/changelog: Updating.
6121 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6123 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6124 the client event and ignore it, since we use the delete event to close
6127 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6129 * src/hildon-helper.c: Remove the bogus warning about color not being
6130 found. Fixes NB#58352.
6132 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6134 * examples/Makefile.am:
6135 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6136 HildonSeekbar widget inside a toolbar.
6138 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6140 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6141 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6142 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6143 don't want to be closed by non-temporary windows on map.
6145 Also use G_DEFINE_TYPE instead of manually typed code.
6147 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6154 * debian/rules: Updating.
6156 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6158 * examples/Makefile.am:
6159 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6160 bug NB#61128. Strangely it works.
6162 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6164 * src/hildon-date-editor.c: When the date editor entry has been changed
6165 but the numbers of characters < max, turn off the skip validation flag.
6166 Prevents a situation when we enter first a valid year and later re-write
6167 it with an invalid one. Fixes NB#60154.
6169 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6171 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6172 code dialog. Fixes NB#64355.
6174 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6176 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6177 switching the page. Fixes NB#49374.
6179 * examples/Makefile.am:
6180 * examples/hildon-wizard-dialog-example.c: Adding an example for
6181 HildonWizardDialog that shows how to handle manual sensitivity setting on
6184 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6188 * src/hildon-version.h.in:
6189 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6191 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6193 * src/hildon-volumebar.c: Updating the docs.
6195 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6201 * debian/changelog: Updating.
6203 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6205 * src/hildon-find-toolbar.c:
6206 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6207 selected item: hildon_find_toolbar_set_active,
6208 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6209 hildon_find_toolbar_get_active_iter . They correspond to respective
6210 GtkComboBox functions.
6212 * examples/Makefile.am:
6213 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6216 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6218 * examples/Makefile.am:
6219 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6222 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6223 when font size > 32 and we pack a focusable widget inside. Actually using
6224 the default response would work too, but since we don't show default
6225 response state in any way (no theming) it would not be visible to the
6226 user. Fixes NB#63430.
6228 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6230 * src/hildon-date-editor.c: Adding the missing variable setter in the
6231 set_property handler. Fixes NB#54182.
6233 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6235 * src/hildon-window.h: Changing the long key press time from 1500ms to
6236 800ms as requested in NB#63700. I have a bad feeling about this, let's
6237 see... Fixes NB#63700.
6239 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6241 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6242 hildon_time_picker_map, hildon_time_picker_realize,
6243 hildon_time_picker_style_set): Split the contents of map to more
6244 appropriate functions; set window decorations on realize and update
6245 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6247 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6252 * debian/changelog: Updating.
6254 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6256 * src/Makefile.am: fixed installation of the header files
6258 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6264 * debian/changelog: Updating.
6266 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6268 * configure.ac: Removing some remaining of --enable-xan.
6270 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6272 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6273 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6275 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6276 2.10.12-osso6 because the move-focus signal needs to be available in
6279 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6281 * examples/Makefile.am:
6282 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6283 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6284 fine. Prolly NB#61128 is fixed now.
6286 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6288 * src/hildon-volumebar.c:
6289 * src/hildon-volumebar.h: Adding the
6290 hildon_volumebar_set_range_insensitive_message and
6291 hildon_volumebar_set_range_insensitive_messagef functions to set
6292 insensitive message on the slider of the volumebar. Fixes NB#61129.
6294 * examples/Makefile.am:
6295 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6296 test the new insensitive messsage functionality on HildonVolumebar.
6298 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6300 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6303 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6305 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6306 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6307 button on after clearing the trail.
6309 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6311 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6313 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6315 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6316 by splitting the installed headers in generated and non-generated groups. Use
6317 only the non-generated headers to create the hildon-enum-types.h file.
6319 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6321 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6323 * src/hildon-window.c: Hide the window before performing the destroy.
6324 Should make the app closing a little tiny bit more snappy.
6326 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6328 * src/hildon-seekbar.c: add gtkrange.h header
6329 * src/hildon-caption.c: remove unused variable
6331 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6333 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6336 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6342 * debian/changelog: Updating.
6344 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6346 * src/hildon-window.c (hildon_window_window_state_event,
6347 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6348 escape timeout on focus-out-event rather than notify::is-topmost; the
6349 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6351 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6353 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6354 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6356 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6358 * src/hildon-window: actually, you need to use the macro always, there's
6359 no private pointer in the instance structure. We should have cleaned this up
6360 when we had the chance...
6362 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6364 * src/hildon-window.c: do not get the private date from HildonWindow before
6365 it passes the g_return_if_fail check. Once it's passed the test, there's no
6366 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6367 if you are only going to access the data once. Whitespace cleanups.
6369 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6371 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6372 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6374 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6380 * debian/changelog: Updating.
6382 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6384 * src/hildon-window.c: When destroying the window, remove (if exists) the
6385 escape timeout handler. Fixes #NB59276.
6387 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6389 * src/hildon-banner.c: When realizing the widget, set the window
6390 transiency. Setting the transiency in the gobject constructor is not
6391 good, as the widget is not realized at that point. Fixes: #NB56624.
6393 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6395 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6396 Add padding for future expansions.
6398 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6400 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6401 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6402 will fake an activation on the previous to the last item of the trail, so
6403 the effect can be overrided by the developer as usual.
6404 Also change the callback for the back button to do the same thing, so its
6405 effect can be overrided too. Fixes: NB#58982
6407 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6409 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6410 HildonCaption. Fixes NB#52379.
6412 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6414 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6415 the internal state of the trail after the user has had the chance of executing
6416 his handler for the signal. Specifically, it may happen that the activated button
6417 is removed and the user still lets the default handler run. This would segfault
6420 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6422 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6423 scrollbar to the preview dialog. Fixes NB#54147.
6425 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6427 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6428 max/min year properties can be altered, so the client can modify it
6429 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6431 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6433 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6434 hildonlike by default. Fixing a problem with disappearing arrows when
6435 scrolling through months and years. Fixes NB#54127.
6437 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6439 * examples/hildon-date-editor-example.c: Adding error callback to the date
6442 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6448 * configure.ac: Updating.
6450 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6452 * configure.ac: Adding a special '--enable-xan' configure option that
6453 turns off the -Werror compilation setting. Usefull for development.
6455 * src/hildon-calendar.c:
6456 * src/hildon-number-editor.c:
6457 * src/hildon-time-picker.c: Adding the 5* multiplier to
6460 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6462 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6463 instead of g_object_ref + gtk_object_sink.
6465 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6471 * debian/changelog: Updating.
6473 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6475 * src/hildon-color-chooser-dialog.c:
6476 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6477 straight from Tommi labs.
6479 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6481 * examples/hildon-finger-example.c: Correcting the header file path.
6483 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6484 the changed signal. Fixes a small memory leak.
6486 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6490 * src/hildon-banner.c: Importing several usefull fixes from the
6491 ubuntu-mobile branch.
6493 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6495 * examples/Makefile.am:
6496 * examples/hildon-finger-example.c: Adding a finger-checking code
6499 * src/hildon-font-selection-dialog.c: Do not allocate the color
6500 structure using the g_new. Fixes NB#54061.
6502 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6504 * src/hildon-helper.c: Correcting tabs in file.
6506 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6508 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6509 control the visibility of the children.
6511 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6513 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6519 * debian/changelog: Updating.
6521 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6523 * src/hildon-bread-crumb-trail.c:
6524 (hildon_bread_crumb_trail_size_allocate):
6526 Make the back button always a square.
6528 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6530 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6531 from the .c file as it's a private file.
6533 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6535 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6536 uses slightly bigger height.
6538 * src/hildon-font-selection-dialog.c: Adding some checks before
6539 freeing memory in the font selection dialog.
6541 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6543 * src/hildon-font-selection-dialog.c: Adding a small check when
6546 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6547 buttons sensitivity on page switching.
6549 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6551 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6552 internal details of adding a bread crumb to the trail.
6554 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6560 * debian/changelog: Updating.
6562 * src/hildon-bread-crumb-trail.h:
6563 * src/hildon-bread-crumb.h: Changing the API guard to
6564 HILDON_ENABLE_UNSTABLE_API.
6566 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6574 * src/hildon-helper.h: Updating.
6576 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6584 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6588 * src/hildon-helper.h: Small fix to make the package actually compile.
6590 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6592 * src/hildon-bread-crumb-trail.h:
6593 * src/hildon-bread-crumb.h:
6595 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6596 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6598 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6600 * examples/hildon-bread-crumb-trail-example.c:
6602 * src/hildon-bread-crumb-trail.c:
6603 * src/hildon-bread-crumb-trail.h:
6604 * src/hildon-bread-crumb.c:
6605 * src/hildon-bread-crumb.h:
6606 * src/hildon-marshalers.list:
6607 * src/hildon-bread-crumb-widget.c:
6608 * src/hildon-bread-crumb-widget.h:
6610 Slight change in the widget design. The bread crumb trail API is
6611 unchanged, but HildonBreadCrumb is now an interface. A *private*
6612 implementation, hildon-bread-crumb-widget, is provided and used
6613 internally by the trail for the push_text/push_icon functions.
6615 The generic push API is still available, so anyone can implement
6616 and use its own bread crumb widget.
6618 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6620 * debian/rules: Fixing the shlibs.
6622 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6624 * src/hildon-banner.c: Fixing a problem with timed banners having
6625 their parrent destroyed before they are.
6627 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6629 * src/hildon-bread-crumb.c:
6630 * src/hildon-bread-crumb.h:
6632 Make the get_natural_size function a vfunc.
6634 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6636 * src/hildon-bread-crumb.c:
6637 * src/hildon-bread-crumb-trail.c:
6641 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6648 * debian/changelog: Updating for release.
6650 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6652 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6653 don't leak the pango layout.
6655 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6658 * examples/hildon-bread-crumb-trail-example.c:
6662 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6664 * debian/changelog: Removing the bug-fixed entries that were actually
6665 resolved as WONTFIX.
6667 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6670 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6672 * src/hildon-bread-crumb-trail.c:
6673 * src/hildon-bread-crumb-trail.h:
6674 * src/hildon-bread-crumb.c:
6675 * src/hildon-bread-crumb.h:
6679 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6681 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6682 until it's passed the type check.
6684 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6686 * examples/hildon-bread-crumb-trail-example.c
6690 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6692 * examples/Makefile.am
6693 * examples/hildon-bread-crumb-trail-example.c
6695 * src/hildon-bread-crumb-trail.c
6696 * src/hildon-bread-crumb-trail.h
6697 * src/hildon-bread-crumb.c
6698 * src/hildon-bread-crumb.h
6700 New HildonBreadCrumbTrail widget.
6702 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6704 * src/hildon-range-editor.c (hildon_range_editor_init),
6705 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6706 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6707 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6708 hildon_time_editor_class_init, hildon_time_editor_init),
6709 src/hildon-get-password-dialog.c (invalid_input,
6710 hildon_get_password_set_property, hildon_get_password_get_property,
6711 create_contents, hildon_get_password_dialog_set_max_characters),
6712 src/hildon-set-password-dialog.c (create_contents),
6713 src/hildon-date-editor.c (hildon_date_editor_init),
6714 src/hildon-login-dialog.c (hildon_login_dialog_init),
6715 src/hildon-number-editor.c (hildon_number_editor_init),
6716 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6717 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6718 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6719 configure option and adding the respective checks in the code.
6720 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6721 hildon_calendar_drag_data_received): fixed some build warnings.
6723 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6725 * debian/changelog: A 1.0.0 release notes.