1 2009-02-25 Alberto Garcia <agarcia@igalia.com>
3 * doc/hildon-sections.txt
4 * src/hildon-picker-button.h
5 * src/hildon-picker-button.c (+hildon_picker_button_value_changed)
6 (_selection_changed, hildon_picker_button_on_dialog_response)
7 (hildon_picker_button_class_init, hildon_picker_button_set_selector):
8 New hildon_picker_button_value_changed() method.
11 * src/hildon-picker-button-private.h
12 * src/hildon-picker-button.c (hildon_picker_button_init)
13 (+hildon_picker_button_disable_value_changed): Add protected
14 function for disabling the "value-changed" signal.
16 * src/hildon-date-button.c (hildon_date_button_set_date):
17 Don't emit "value-changed" for each one of the three columns.
19 Fixes: NB#103242 ("HildonPickerButton:value-changed" is emitted
20 before actual change of values)
22 2009-02-24 Alejandro G. Castro <alex@igalia.com>
24 * src/hildon-pannable-area.c,
25 (hildon_pannable_area_class_init): Reduced SPS, 25 it is too big
26 for the treeview overshooting.
28 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
30 * src/hildon-banner.c (+hildon_banner_bind_style):
31 Renamed from hildon_banner_bind_label_style(), now naming the
32 banner itself as well.
33 (hildon_banner_show_information),
34 (hildon_banner_show_information_with_markup),
35 (hildon_banner_show_animation), (hildon_banner_show_progress):
36 Name the widgets and labels, based on their type.
38 See NB#98597 (Hildon Note and Hildon Banner should use themeable
41 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
43 * src/hildon-note.c (hildon_note_set_property): call
44 hildon_note_rename() on HildonNote:note-type set.
45 (hildon_note_rename): Name the note and its label, based on the
46 HildonNote:note-type property.
48 See NB#98597 (Hildon Note and Hildon Banner should use themeable
51 2009-02-24 Alejandro G. Castro <alex@igalia.com>
53 * src/hildon-pannable-area.c,
54 (hildon_pannable_area_class_init),
55 (hildon_pannable_area_motion_notify_cb): Reviewed the default
56 panning parameters, increased SPS and deceleration factor. Added
57 also a margin to control fake directions.
59 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
61 Patch by Sven Herzberg (sven@imendio.com)
63 * configure.ac: Add missing AM_PROG_CC_C_0
64 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
66 See NB#101420 (Update unit tests and fix make check)
68 2009-02-23 Alejandro G. Castro <alex@igalia.com>
70 This patch was applied before but reverted because it caused
71 problems, we have changed the main condition and tested the
72 regressions we detected before and they work ok. We have done a
73 complete review of the topmost algorithm in order to get a more
76 * src/hildon-pannable-area.c,
77 (hildon_pannable_area_get_topmost): Added a new parameter to
78 filter the the windows that do not include those events.
79 (hildon_pannable_area_button_press_cb),
80 (hildon_pannable_area_button_release_cb),
81 (hildon_pannable_get_child_widget_at): Reviewed the call the the
82 topmost function, we have added the new parameter.
84 Fixes: NB#97458 (Pannable area prevents propagation of button
87 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
89 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
90 if all columns in the selector have an item selected.
91 (_on_dialog_response): Stop "response" signal emission if there is
92 any selector column without selected items.
94 Fixes: NB#101889 (Picker dialog should not close when nothing is
95 selected in multiple selection list)
97 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
99 * src/hildon-font-selection-dialog.c
100 (hildon_font_selection_dialog_class_init),
101 (hildon_font_selection_dialog_init): Remove the preview
102 button and dialog, since previewing with default theming is likely
103 to be overcomplicated. The :preview property has now no effect.
104 Update documentation blurbs to inform about this.
106 Fixes: NB#92297 (Preview content is not clearly visible for
109 2009-02-20 Alejandro G. Castro <alex@igalia.com>
111 Reviewed the geometry that handles the children size and
112 scrollbar, now it tries a size and reviews the results depending
113 on the scrollbars visibility.
115 * src/hildon-pannable-area.c,
116 (hildon_pannable_area_realize): Fixed a typo.
117 (hildon_pannable_area_child_allocate_calculate): Added this
118 function to calculate the child allocation.
119 (hildon_pannable_area_size_allocate): Reviewed the allocation
121 (hildon_pannable_area_check_scrollbars),
122 (hildon_pannable_area_refresh): Refactored refresh function, this
123 way we can call the code handling the scrollbars without causing a
124 size_request, it is interesting in the allocate.
125 (hildon_pannable_area_init): Replace the callbacks of the
126 value_changed and changed signals to propertly deal with the
128 (hildon_pannable_area_grab_notify),
129 (hildon_pannable_area_initial_effect),
130 (hildon_pannable_area_launch_fade_timeout),
131 (hildon_pannable_area_adjust_changed),
132 (hildon_pannable_area_adjust_value_changed),
133 (hildon_pannable_area_redraw),
134 (hildon_pannable_area_button_press_cb),
135 (hildon_pannable_area_button_release_cb),
136 (hildon_pannable_area_scroll_cb),
137 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
138 code and use the new functions adjust_changed and
139 adjust_value_changed.
141 Fixes: NB#101603 (Focus is not even for the text entry boxes in
142 Contact editor dialog)
144 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
149 * configure.ac: Bump version.
150 * debian/changelog: Updates.
152 2009-02-20 Alejandro G. Castro <alex@igalia.com>
154 * src/hildon-pannable-area.c,
155 (hildon_pannable_area_get_topmost),
156 (hildon_pannable_area_button_press_cb),
157 (hildon_pannable_area_button_release_cb),
158 (hildon_pannable_get_child_widget_at): Reverted the patch for the
159 topmost function adding the event mask. We have to try a
160 differente approach because it is still causing problems (NB#9745,
163 2009-02-19 Alberto Garcia <agarcia@igalia.com>
165 * src/hildon-banner.c:
166 Update the maximum width of timed banners.
167 (force_to_wrap_truncated): Enforce the maximum text width if the
170 Fixes: NB#102413 (The text margins (wrapping) in information
171 banner should be HILDON_MARGIN_TRIPLE)
173 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
175 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
177 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
178 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
179 bound when calculating the scroll indicator position.
181 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
182 treat ->lower correctly)
184 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
186 * src/hildon-caption.c (hildon_caption_class_init): Remove the
187 expose event handling, since it is not necessary to draw the focus
190 Fixes: NB#102467 (Do not show highlight on the text in
193 2009-02-18 Alberto Garcia <agarcia@igalia.com>
195 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
196 full height of the toolbar for the button and the label.
198 2009-02-18 Alberto Garcia <agarcia@igalia.com>
200 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
201 padding before the label and after the button.
203 2009-02-18 Alberto Garcia <agarcia@igalia.com>
205 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
207 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
208 Add a GtkVSeparator between the button and the back arrow.
209 Let the button have automatic size.
210 Set a name to the widget for theming handling.
212 Fixes: NB#101793 (Make edit toolbar the same height as window
213 title bar (use title area theming))
215 2009-02-18 Alberto Garcia <agarcia@igalia.com>
217 * src/hildon-helper.c (attach_new_color_element): Fix memory
220 Fixes: NB#102262 (memory leak in hildon_button_set_style())
222 2009-02-18 Alberto Garcia <agarcia@igalia.com>
224 * examples/hildon-button-example.c (common_buttons_window): Don't
227 2009-02-18 Alberto Garcia <agarcia@igalia.com>
229 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
230 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
232 2009-02-18 Alberto Garcia <agarcia@igalia.com>
234 * src/hildon-gtk.c: Check that the window is realized.
236 Fixes: NB#102225 (Crash setting the progress indicator to a non
239 2009-02-17 Alberto Garcia <agarcia@igalia.com>
241 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
242 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
243 instead of modifying the one in the widget style.
245 Fixes: NB#101043 (Second row of all the command button are
246 displayed in transparent mode.)
248 2009-02-17 Alberto Garcia <agarcia@igalia.com>
250 * src/hildon-date-button.c
251 * src/hildon-time-button.c: Add gettext macros
253 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
255 * src/hildon-date-button.c (hildon_date_button_new):
256 * src/hildon-time-button.c (hildon_time_button_new_step):
257 Use new logical strings to set the button default title.
259 Fixes: NB#99915 (Date and Time options are not localised in Date
262 2009-02-16 Alejandro G. Castro <alex@igalia.com>
264 * src/hildon-pannable-area.c
265 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
266 the PANNING_THRESHOLD.
268 2009-02-16 Alejandro G. Castro <alex@igalia.com>
270 * src/hildon-pannable-area.c,
271 (hildon_pannable_area_class_init): Increased the maximum speed.
272 (hildon_pannable_area_get_property),
273 (hildon_pannable_area_set_property),
274 (hildon_pannable_area_timeout): Added a new low friction mode, it
275 allows the user avoid friction when launching the widget fast
276 enough. It is interesting to traverse long lists.
278 2009-02-16 Alberto Garcia <agarcia@igalia.com>
280 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
281 (+hildon_stackable_window_delete_event): Ignore delete events if
282 the window is not the topmost one.
284 Fixes: NB#101698 (Back button long press and delete-event handling)
286 2009-02-16 Alejandro G. Castro <alex@igalia.com>
288 * src/hildon-pannable-area.c,
289 (hildon_pannable_area_motion_notify_cb): Removed the use of the
290 gtk-dnd-drag-threshold, it was too big. We have defined our own
291 dnd define and set a smaller value: PANNIG_THRESHOLD.
293 2009-02-16 Alberto Garcia <agarcia@igalia.com>
295 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
296 user-defined icons, use always the default one.
298 Fixes: NB#101916 (Do not allow custom icons on animation banner)
300 2009-02-13 Alejandro G. Castro <alex@igalia.com>
302 This patch was applied before but reverted because it caused
303 problems, we have changed the main condition and tested the
304 regressions we detected before and they work ok.
306 * src/hildon-pannable-area.c,
307 (hildon_pannable_area_get_topmost): Added a new parameter to
308 filter the the windows that do not include those events. Added
309 also a condition when finding the window to filter windows that do
310 not ask for those events.
311 (hildon_pannable_area_button_press_cb),
312 (hildon_pannable_area_button_release_cb),
313 (hildon_pannable_get_child_widget_at): Reviewed the call the the
314 topmost function, we have added the new parameter.
316 Fixes: NB#97458 (Pannable area prevents propagation of button
319 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
321 * tests/check-hildon-color-button.c (START_TEST): do not leak
324 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
326 * src/hildon-font-selection-dialog.c
327 (hildon_font_selection_dialog_get_preview_text): Return NULL
328 instead of FALSE on the g_return_val_if_fail().
330 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
332 * src/hildon-time-selector.c (hildon_time_selector_set_time):
333 * src/hildon-date-selector.c
334 (hildon_date_selector_select_current_date):
335 Do not compare unsigned integers to be greater than or equal 0,
336 because it's always TRUE.
338 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
340 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
341 (hildon_date_selector_constructor): Do not select the current
342 date until we are handle the "changed" signal, to avoid having bogus
343 elements in the days model.
345 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
348 for num_days, since _month_days() can return a negative value.
350 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-caption.c (hildon_caption_size_allocate):
353 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
354 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
356 Initialize allocation variables to 0, to avoid eventually using
357 unitialized variables.
359 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
361 * src/hildon-bread-crumb-trail.c
362 (hildon_bread_crumb_trail_size_allocate):
363 * src/hildon-calendar.c (hildon_calendar_set_background):
364 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
365 * src/hildon-range-editor.c (hildon_range_editor_get_range):
366 * src/hildon-seekbar.c (hildon_seekbar_init):
367 * src/hildon-time-editor.c (hildon_time_editor_get_time):
368 * src/hildon-time-selector.c (hildon_time_selector_finalize):
369 * src/hildon-touch-selector-entry.c
370 (hildon_touch_selector_get_text_from_model):
371 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
372 * src/hildon-window.c (hildon_window_finalize):
374 Remove many unused variables.
376 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
378 * src/hildon-seekbar.c: (hildon_seekbar_init),
379 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
381 Remove unnecessary g_assert() calls.
383 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
385 * src/hildon-caption.c: (hildon_caption_expose),
386 (hildon_caption_set_property), (hildon_caption_init),
387 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
388 (hildon_caption_size_request), (hildon_caption_size_allocate),
389 (hildon_caption_forall), (hildon_caption_set_separator),
390 (hildon_caption_activate), (hildon_caption_set_child_expand),
391 (hildon_caption_set_label_text),
392 (hildon_caption_get_label_alignment):
394 Remove unnecessary g_assert() calls.
396 2009-02-12 Alberto Garcia <agarcia@igalia.com>
398 * src/hildon-banner.c
399 (hildon_banner_map, hildon_banner_init): Make banner temporary
400 before mapping it to avoid closing other temporary windows, but
401 make it non-temporary afterwards to avoid being closed by other
402 non-temporary windows.
403 (-hildon_banner_client_event, hildon_banner_init):
404 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
406 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
409 2009-02-11 Alberto Garcia <agarcia@igalia.com>
411 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
414 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
416 * src/hildon-remote-texture.c
417 * src/hildon-remote-texture.h
418 * src/hildon-remote-texture-private.h
419 * examples/hildon-remote-texture-example.c:
420 Updates/fixes to remote-texture and its example.
422 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
424 Patch by Mox Soini (ext-mox.soini@nokia.com)
426 * src/hildon-code-dialog.c: Update logical id.
427 * src/hildon-set-password-dialog.c: Update logical id.
429 Fixes: NB#100646 (Logical strings is shown for ok in set
430 password,Password needed dialogs)
432 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
435 * src/hildon-remote-texture.c
436 * src/hildon-remote-texture.h
437 * src/hildon-remote-texture-private.h
439 Added remote texture widget (for Clutter shared memory textures)
441 * examples/hildon-remote-texture-example.c
442 * examples/Makefile.am
443 Added example file for remote texture usage
445 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
447 * configure.ac: post release version bump.
448 * debian/changelog: version bump.
450 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
455 * configure.ac: Bump version.
456 * debian/changelog: Updates.
458 2009-02-06 Alberto Garcia <agarcia@igalia.com>
460 * src/hildon-date-selector.c (hildon_date_selector_init)
461 (hildon_date_selector_constructor): Don't connect to the "changed"
462 signal until the selector is completely constructed.
464 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
466 * src/hildon-touch-selector.c: (_create_new_column),
467 (hildon_touch_selector_append_column),
468 (hildon_touch_selector_set_column_selection_mode),
469 (hildon_touch_selector_set_active),
470 (hildon_touch_selector_select_iter):
471 Emit the HildonTouchSelector::changed signal every time selection
472 is changed in any of the methods above. This behavior was already
473 documented but not fully functional.
475 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
476 selection is programmatically changed)
478 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
480 * doc/hildon-sections.txt: Remove obsolete icon
481 sizes from here as well.
483 2009-02-05 Alberto Garcia <agarcia@igalia.com>
485 * examples/hildon-stackable-window-example.c (add_window): Remove
488 2009-02-05 Alberto Garcia <agarcia@igalia.com>
490 * src/hildon-app-menu.c
491 (hildon_app_menu_show): Check whether the parent window of a menu
492 is topmost before popping it up.
494 Fixes: NB#100468 (Application menu window is launched even when a
495 new secondary-window/dialog is pending to be shown/realized.)
497 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
499 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
502 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
504 Patch by Mox Soini (ext-mox.soini@nokia.com)
506 * src/hildon-banner.c: (hildon_banner_show_animation):
507 use stylus size instead of obsolete note size.
508 * src/hildon-defines.h: Update icon sizes.
510 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
512 * src/hildon-touch-selector-entry.c:
513 (hildon_touch_selector_entry_init): Disable unsupported
515 (hildon_touch_selector_entry_get_text_column): Emit a warning
516 if an unsupported input modes is used and explicitile state
517 these modes in the documentation.
519 Fixes: NB#99802 (Hildon touch selector entry not working properly
520 for some of the input modes)
522 2009-02-05 Alejandro G. Castro <alex@igalia.com>
524 * src/hildon-pannable-area.c,
525 (hildon_pannable_area_init): Added the changed signal handlers of
528 Fixes: NB#100320 (HildonPannableArea does not listen to
529 GtkAdjustment "change" signals)
531 2009-02-04 Alberto Garcia <agarcia@igalia.com>
533 * doc/hildon-sections.txt
534 * src/hildon-window-private.h
535 * src/hildon-window.h
536 * src/hildon-window.c (hildon_window_init)
537 (hildon_window_realize, hildon_window_unrealize)
538 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
539 (hildon_window_size_request, hildon_window_size_allocate)
540 (hildon_window_forall, hildon_window_show_all)
541 (hildon_window_destroy, +paint_edit_toolbar)
542 (+hildon_window_set_edit_toolbar):
543 New hildon_window_set_edit_toolbar() method, to add a
544 HildonEditToolbar to a window without having to pack it manually.
546 Reorganize hildon_window_size_allocate()
548 * src/hildon-edit-toolbar.c: Update documentation.
550 * examples/hildon-edit-toolbar-example.c (edit_window): Update
551 example to use the new API.
553 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
555 2009-02-04 Alberto Garcia <agarcia@igalia.com>
557 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
558 Remove from stack before calling parent's hide.
560 2009-02-04 Alberto Garcia <agarcia@igalia.com>
562 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
563 window is removed from the middle of the stack, update the
564 transiency of the previous one.
566 Fixes: NB#100487 (HildonStackableWindow transiency becomes
569 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
571 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
572 block/unblock the signal handler if it's not actually being used.
573 Fixes some critical warnings.
575 2009-02-02 Alberto Garcia <agarcia@igalia.com>
577 Based on a patch by Iván Gómez (igomez@igalia.com)
579 * src/hildon-banner.c
583 * src/hildon-pannable-area.c
584 * src/hildon-picker-dialog.c
585 * src/hildon-wizard-dialog.h
586 * src/hildon-wizard-dialog.c: Documentation updates.
588 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
589 gtk_dialog_add_button() instead of hildon_dialog_add_button().
591 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
593 * configure.ac: post release version bump.
594 * debian/changelog: version bump.
596 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
601 * configure.ac: Bump version.
602 * debian/changelog: Updates.
604 2009-01-29 Alberto Garcia <agarcia@igalia.com>
606 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
607 a stock icon nor change the relief of the back arrow.
609 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
612 2009-01-29 Alberto Garcia <agarcia@igalia.com>
614 * src/hildon-button.c (hildon_button_set_alignment): Use
615 priv->alignment if the button has no child yet.
617 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
619 * src/hildon-button.c: (hildon_button_init): Set the
620 button style during initialization to give it the proper
623 Fixes: NB#99713 (HildonButton value label color is wrong)
625 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
627 * src/hildon-touch-selector.c: Document
628 hildon_touch_selector_center_on_selected()
630 2009-01-28 Alberto Garcia <agarcia@igalia.com>
632 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
633 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
634 all menu items, but not the menu itself.
635 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
636 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
637 items after adding them to the menu so keyboard accelerators work.
638 (hildon_app_menu_show): Don't show the menu if it contains items
639 but none of them are visible.
641 * examples/hildon-app-menu-example.c (create_menu): Use
642 gtk_widget_show_all() to show all menu items.
644 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
646 * src/hildon-picker-dialog.c:
647 (-_update_title_on_selector_changed_cb),
648 (-_dialog_update_title): Removed.
649 (_select_on_selector_changed_cb), (_on_dialog_response),
650 (on_selector_columns_changed): Do not update the dialog title.
651 (setup_interaction_mode): Do not connect to
652 HildonTouchSelector::changed signal if there's a "done" button, as
653 the dialog title doesn't need to be updated.
655 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
658 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
660 Patch by Kristian Rietveld (kris@imendio.com)
662 * src/hildon-touch-selector.c: (_create_new_column): Use new
663 GtkTreeView::hildon-row-tapped signal to react to user interactions
664 instead of ::changed.
666 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
667 with some dynamic tree model)
669 2009-01-27 Alberto Garcia <agarcia@igalia.com>
671 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
672 (+screen_size_changed, +label_size_request)
673 (hildon_note_class_init): Make the Hildon information note have a
674 minimum height, and make its text hvae a maximum width.
676 Fixes: NB#98614 (Hildon information note (background) should have
677 minimum height and maximum text width)
679 2009-01-26 Alberto Garcia <agarcia@igalia.com>
681 * src/hildon-banner.h
682 * src/hildon-banner.c (hildon_banner_show_information)
683 (hildon_banner_show_informationf)
684 (hildon_banner_show_information_with_markup): Update documentation
685 to reflect that the icon_name parameter is not used anymore.
686 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
687 Remove all code from these functions and mark them as deprecated.
688 (hildon_banner_show_progress): Mark as deprecated.
690 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
692 2009-01-26 Alejandro G. Castro <alex@igalia.com>
694 * src/hildon-pannable-area.c,
695 (hildon_pannable_area_class_init),
697 (hildon_pannable_draw_vscroll),
698 (hildon_pannable_draw_hscroll),
699 (hildon_pannable_area_expose_event): Added a new way to render the
700 scrollbars of the pannable area avoiding using cairo at all. This
701 way we improve the performance of the pannable area rendering. The
702 cairo rendering procedure is still in the code, we can control
703 which one to use changing the value of the define
704 USE_CAIRO_SCROLLBARS.
706 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
708 * configure.ac: post release version bump.
709 * debian/changelog: version bump.
711 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
716 * configure.ac: Bump version.
717 * debian/changelog: Updates.
719 2009-01-23 Alberto Garcia <agarcia@igalia.com>
721 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
722 banners instead of destroying them when they receive a button
725 2009-01-23 Alejandro G. Castro <alex@igalia.com>
727 Reverted commit 34028, it was causing regressions, probably the
728 topmost condition is not correct, we have to check it in more
729 detail. We have reponed the bug: NB#97458 (Pannable area prevents
730 propagation of button press events)
732 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
734 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
735 that the selection is not empty before attempting to retrieve the
736 current ampm selection.
738 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
740 * src/hildon-picker-button.c:
741 (hildon_picker_button_on_dialog_response): Directly update the
742 button contents when required instead of calling _selection_changed.
744 2009-01-23 Alberto Garcia <agarcia@igalia.com>
746 * src/hildon-program.c (hildon_program_update_top_most): Update
747 'is-topmost' property also when wm_hints is not set.
749 Fixes: NB#98383 (is-topmost signal is not emitted when task
750 switcher is clicked.)
752 2009-01-23 Alejandro G. Castro <alex@igalia.com>
754 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
758 * src/hildon-animation-actor.c,
759 * src/hildon-animation-actor.h: Added the animation actor class,
760 this widget represents an animation actor for WM-assisted
761 animation effects in the Hildon framework.
763 2009-01-23 Alberto Garcia <agarcia@igalia.com>
765 * src/hildon-window-stack-private.h
766 * src/hildon-window-stack.c
767 * src/hildon-stackable-window.c (hildon_stackable_window_show):
768 Avoid calling gtk_widget_show() again indirectly from
769 hildon_stackable_window_show()
771 2009-01-23 Alberto Garcia <agarcia@igalia.com>
773 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
776 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
778 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
779 (hildon_time_selector_init): Move the construction of the hours and
780 ampm columns to the constructor to preserve the order the columns
783 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-picker-dialog.c:
786 (hildon_picker_dialog_class_init): Connect a realize method.
787 (+hildon_picker_dialog_realize): Setup the interaction mode here
789 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
790 yet, do it during the realize instead.
791 (_on_dialog_response):
792 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
793 if the widget is not realized, to avoid the dialog response before it
796 Avoid premature responses in the HildonPickerDialog that can cause it
797 to be hidden before it's even shown.
799 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
801 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
802 (on_selector_columns_changed), (requires_done_button),
803 (+prepare_action_area), (setup_interaction_mode),
804 (_hildon_picker_dialog_set_selector):
806 Split the interaction mode setup into preparation of the
807 action area (prepare_action_area()) and the connection of
808 the signals in setup_interaction_mode() and update the code to
811 2009-01-22 Alejandro G. Castro <alex@igalia.com>
813 * src/hildon-pannable-area.c,
814 (hildon_pannable_area_class_init): Reduced the amount of scrolls
815 per second to 15, we will check if this is ok regarding
818 2009-01-22 Alejandro G. Castro <alex@igalia.com>
820 * src/hildon-pannable-area.c,
821 (hildon_pannable_axis_scroll): Avoid resize if we already have
822 reached overshoot_max.
824 2009-01-22 Alejandro G. Castro <alex@igalia.com>
826 * src/hildon-pannable-area.c,
827 (hildon_pannable_area_init),
828 (hildon_pannable_area_realize),
829 (hildon_pannable_area_size_allocate),
830 (hildon_pannable_area_map),
831 (hildon_pannable_area_unmap),
832 (hildon_pannable_draw_vscroll),
833 (hildon_pannable_draw_hscroll),
834 (hildon_pannable_area_expose_event),
835 (hildon_pannable_area_refresh): Added a new GdkWindow to the
836 pannable are to avoid the expose events go to the window and
837 redraw the window. We save this way that part of the stack and the
838 paint_boxes. We had to change the positions of the elements when
841 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
843 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
844 * src/hildon-color-chooser-dialog.c:
845 (hildon_color_chooser_dialog_init):
846 * src/hildon-font-selection-dialog.c:
847 (hildon_font_selection_dialog_init),
848 (hildon_font_selection_dialog_show_preview):
849 * src/hildon-get-password-dialog.c:
850 * src/hildon-login-dialog.c:
851 * src/hildon-set-password-dialog.c:
852 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
853 * src/hildon-time-picker.c: (hildon_time_picker_init):
855 Remove obsolete logical string IDs and update to the appropriate ones.
857 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
859 2009-01-21 Alberto Garcia <agarcia@igalia.com>
861 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
862 that happens if the window hasn't been realized yet.
864 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
865 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
867 2009-01-20 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-app-menu.c (hildon_app_menu_class_init)
870 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
873 Fixes: NB#98537 (Device hangs in account settings dialog)
875 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
877 * configure.ac: post release version bump.
878 * debian/changelog: version bump
880 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
885 * configure.ac: Bump version.
886 * debian/changelog: Updates.
888 2009-01-20 Alejandro G. Castro <alex@igalia.com>
890 Added a new function to the HildonTimeButton widget that allows to
891 change the step of the minutes in the selector associated with the
892 button: hildon_time_button_new_step
894 * src/hildon-time-button.c,
895 (hildon_time_button_init),
896 (hildon_time_button_new),
897 (hildon_time_button_new_step):
898 * src/hildon-time-button.h: Added the new function and refactored
900 * examples/hildon-time-button-example.c,
901 (main): We have replaced the function without parameters with the
902 function with the steps set to 5
904 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
906 2009-01-20 Alejandro G. Castro <alex@igalia.com>
908 * src/hildon-time-selector.c,
909 (hildon_time_selector_class_init),
910 (hildon_time_selector_constructor),
911 (hildon_time_selector_get_property),
912 (hildon_time_selector_set_property),
913 (_create_minutes_model),
914 (hildon_time_selector_new_step),
915 (hildon_time_selector_set_time),
916 * src/hildon-time-selector.h: Added a new property to the
917 HildonTimeSelector (minutes-step), we use that property to control
918 the steps between the minutes in the list of the selector. We have
919 added a new function to the API to create a widget changing the
920 step: hildon_time_selector_new_step.
922 2009-01-20 Alejandro G. Castro <alex@igalia.com>
924 * src/hildon-time-selector.c,
925 (hildon_time_selector_class_init),
926 (hildon_time_selector_constructor),
927 (hildon_time_selector_init): Overrided the construct function when
928 creating the time selector object. We have moved the minutes model
929 handling code from the init to the new construction function:
930 hildon_time_selector_constructor.
932 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
934 * examples/hildon-date-button-example.c: (main): Use the new
935 hildon_date_button_new_with_year_range() method in the example.
936 * src/hildon-date-button.c:
937 (+hildon_date_button_new_with_year_range): New public method
938 to conveniently create a HildonDateButton with a custom year range
939 in its HildonDateSelector.
940 * src/hildon-date-button.h: Add the new public method definition.
942 Fixes: NB#97908 (Not possible to change the year range in
943 HildonDateSelector/HildonDateButton)
945 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-date-selector.c:
948 (+hildon_date_selector_set_property),
949 (+hildon_date_selector_get_property),
950 (hildon_date_selector_class_init): Install new properties "min-year"
951 and "max-year" to define boundaries for the year column.
952 (_create_year_model): Use the boundary properties to populate the model.
953 (+hildon_date_selector_new_with_year_range): New public method to
954 create a HildonDateSelector with a user defined year range.
955 (hildon_date_selector_select_current_date): Use the new boundaries to
956 calculate the iterator of current year.
957 * src/hildon-date-selector.h: Add the new public method definition.
959 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
961 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
962 Install a constructor method.
963 (+hildon_date_selector_construct_ui): construct the widget.
964 (+hildon_date_selector_constructor): new constructor.
965 (+hildon_date_selector_init): move out widget construction code to
968 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
970 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
971 that there's actually a month or year selected before obtaining them.
972 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
973 of the HildonTouchSelector::changed signal, as it was emitted on every
974 single item selection.
976 Fix some warnings and possible crashers due to the selection restoring.
978 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
980 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
981 the signal handlers only after creating the dialog instead of on every
984 2009-01-19 Alberto Garcia <agarcia@igalia.com>
986 * src/hildon-button.c (hildon_button_init)
987 * src/hildon-check-button.c (hildon_check_button_init)
988 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
989 focus when clicked by default.
991 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
993 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
996 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
998 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
999 Alejandro G. Castro (alex@igalia.com)
1001 * src/hildon-picker-dialog.c:
1002 (hildon_picker_dialog_class_init): install new "center-on-show"
1004 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
1005 (hildon_picker_dialog_set_property): add setter code for the new
1007 (hildon_picker_dialog_get_property): add getter code for the new
1009 (hildon_picker_dialog_show): Ensure visibility of selected items in the
1010 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
1013 Fixes: NB#92849 (Selected item is not always visible when
1014 HildonTouchSelector is shown)
1016 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
1018 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
1019 Alejandro G. Castro (alex@igalia.com)
1021 * src/hildon-touch-selector.c:
1022 (_create_new_column): Do not connect to the "realize" signal of the
1024 (hildon_touch_selector_append_column): center on the selected items
1025 when a new column is appended.
1026 (hildon_touch_selector_select_iter): Factor out the code to select a
1027 column to hildon_touch_selector_scroll_to().
1028 (+search_nearest_element): Method to retrieve the nearest selected
1029 element to the visible area of the pannable area in a column.
1030 (+on_realize_cb): scroll to the initially selected item.
1031 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
1032 the pannable area is realized, otherwise delay this until it is.
1033 (+_hildon_touch_selector_center_on_selected_items): Centers on the
1034 selected items of a given column.
1035 (+hildon_touch_selector_center_on_selected): Public method to center
1036 all columns on the nearest selected item.
1037 * src/hildon-touch-selector.h: Add definition for
1038 hildon_touch_selector_center_on_selected().
1040 Implement public API to ensure visibility of all selected items in
1041 a HildonTouchSelector.
1043 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1045 Fixed a problem in the fading when calling the scroll_to API, and
1046 improve scrollbar fading handling.
1048 * src/hildon-pannable-area.c,
1049 (hildon_pannable_area_grab_notify): avoid the timeout when the
1051 (hildon_pannable_area_button_press_cb),
1052 (hildon_pannable_area_motion_notify_cb): Code style changes.
1053 (hildon_pannable_area_button_release_cb): Review the conditions
1054 when releasing the mouse button to avoid unrequired fading
1056 (hildon_pannable_area_scroll_to): Do not calculate and set the
1057 velocity if the scroll is not required.
1059 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1061 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1062 Don't check whether the new selector is NULL: it cannot be.
1063 Hold a reference to the selector while doing the replacement.
1065 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1068 unnecessary size_request in a removed widget.
1070 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1072 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1073 an unnecessary reference tracking that was leaking.
1075 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1077 Added delayed motion notify event handling, this way we can
1078 discard redrawing if more than 25 events arrive per second.
1080 * src/hildon-pannable-area.c,
1081 (hildon_pannable_area_init): Initialized the new private atributes
1082 controlling this timeout
1083 (hildon_pannable_area_dispose): Remove the timeout that controls
1084 the motion notify events.
1085 (hildon_pannable_area_scroll): Added a condition to control the
1086 use of the acceleration.
1087 (hildon_pannable_area_motion_event_scroll_timeout),
1088 (hildon_pannable_area_motion_event_scroll): Added this two
1089 functions, they handle the motion notify events inside the
1091 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1092 to the scroll method with the new function.
1093 (hildon_pannable_area_button_release_cb): We have to remove the
1094 timeout handler and move to the last position if the last motion
1095 events were not handled.
1097 Fixes: NB#97028 (Pannable area updates on every motion event)
1099 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1101 * src/hildon-pannable-area.c,
1102 (hildon_pannable_area_get_topmost): Added a new parameter to
1103 filter the the windows that do not include those events. Added
1104 also a condition when finding the window to filter windows that do
1105 not ask for those events.
1106 (hildon_pannable_area_button_press_cb),
1107 (hildon_pannable_area_button_release_cb),
1108 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1109 topmost function, we have added the new parameter.
1111 Fixes: NB#97458 (Pannable area prevents propagation of button
1114 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1116 * src/hildon-pannable-area.c,
1117 (hildon_pannable_area_initial_effect): Added controls before
1118 launching the timeout and the idle functions.
1119 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1120 of the method, in some situations it can return with TRUE and 0 in
1122 (hildon_pannable_area_button_press_cb): We do not need to set
1123 DELAY for fading out here.
1125 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1127 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1129 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1130 post-cleaning if the selection is not NULL.
1132 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1134 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1135 all items before restoring the selection.
1137 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1139 * src/hildon-touch-selector.c:
1140 (+hildon_touch_selector_unselect_all):
1141 * src/hildon-touch-selector.h: New API to unselect all items in a
1142 column of the touch selector.
1144 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1146 * src/hildon-pannable-area.c,
1147 (hildon_pannable_area_redraw): Added a call to the refresh
1148 function inside the redraw because apparently in some cases the
1149 change in the adjustment does not imply a size allocate.
1151 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1152 despite the view not being scrollable)
1154 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1156 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1157 leak. Check for NULL before attempting to set the window title.
1159 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1162 whether to show or not the 'Done' button each time the dialog is
1163 shown, as it depends on the HildonTouchSelector selection mode.
1165 Fixes: NB#96226 (In multiple selection mode Done button is shown
1166 sometimes in listpicker)
1168 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1170 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1171 for the number of columns in the HildonTouchSelector more than once.
1173 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-touch-selector.c: Minor documentation fixes.
1177 * src/hildon-picker-dialog.c (+_dialog_update_title)
1178 (_select_on_selector_changed_cb)
1179 (_update_title_on_selector_changed_cb)
1180 (on_selector_columns_changed): Update dialog title when there's no
1181 'Done' button and also when the number of columns in the selector
1185 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1186 (+_selection_changed, hildon_picker_button_on_dialog_response)
1187 (hildon_picker_button_selector_selection_changed)
1188 (+hildon_picker_button_selector_columns_changed)
1189 (hildon_picker_button_set_selector): Update button value and emit
1190 'value-changed' when the number of columns in the selector
1194 Fixes: NB#96225 (Dialog titles are not shown according to the
1195 values selected in the list picker)
1197 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1199 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1200 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1201 New "arrow-width" and "arrow-height" style properties to set the
1202 size of the arrow button.
1203 Set name of arrow button ("hildon-edit-toolbar-arrow").
1205 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1206 graphics from theme)
1208 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1210 * src/hildon-picker-button.c:
1211 (hildon_picker_button_selector_selection_changed): Use
1212 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1213 the dialog is present.
1215 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1216 the selection is accepted in the dialog)
1218 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1220 * src/hildon-color-chooser.h
1221 * src/hildon-color-chooser-dialog.h:
1222 Added G_BEGIN_DECLS and G_END_DECLS
1224 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1226 (_clean_current_selection): plug a leak in the list.
1228 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1230 * src/hildon-picker-dialog.c:
1231 (+free_path_list): Method to free a GList of GtkTreePaths.
1232 (_clean_current_selection), (_save_current_selection),
1233 (_restore_current_selection): Save the current selection in
1234 as a list of lists, to support multiple selection properly.
1236 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1238 patch by Claudio Saavedra (csaavedra@igalia.com)
1240 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1241 Store the press position.
1242 (+hildon_text_view_button_release_event): If the release position is
1243 close enough to the press position, move the cursor here. Otherwise,
1245 (hildon_text_view_class_init): Override GtkTextView press, release, and
1246 motion event handlers, disabling this way text selection through
1247 pointer interaction, and allowing the container widget to handle the
1250 Fixes: NB#95828 (HildonTextView functionality)
1252 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1254 Based on a patch by Iván Gómez (igomez@igalia.com)
1256 * src/hildon-button.[ch]
1257 * src/hildon-calendar.c
1258 * src/hildon-check-button.c
1259 * src/hildon-date-editor.c
1260 * src/hildon-date-selector.c
1261 * src/hildon-picker-button.c
1262 * src/hildon-time-editor.c
1263 * src/hildon-time-selector.c
1264 * src/hildon-touch-selector.[ch]:
1265 Documentation updates
1267 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1269 * src/hildon-pannable-area.c,
1270 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1271 threshold, it was required due to X events handling.
1273 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1275 * src/hildon-pannable-area.c,
1276 (hildon_pannable_area_grab_notify),
1277 (hildon_pannable_area_initial_effect),
1278 (hildon_pannable_area_button_press_cb),
1279 (hildon_pannable_area_button_release_cb),
1280 (hildon_pannable_area_scroll_cb),
1281 (hildon_pannable_area_scroll_to): Review the timeout management of
1282 the scrollbar, the frecuency was incorrectly set.
1284 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1286 * src/hildon-picker-button.c:
1287 (+hildon_picker_button_on_dialog_response),
1288 (hildon_picker_button_clicked): Present the dialog instead of
1289 running it with gtk_dialog_run().
1291 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1294 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1296 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1297 (hildon_app_menu_finalize): When a window is hidden it doesn't
1298 emit notify::is-topmost, so make sure than the menu also
1299 disappears in that case.
1300 (parent_window_topmost_notify): Renamed from parent_window_hidden
1302 Fixes: NB#94460 (stackable window's menu is not closed when its
1305 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-touch-selector-entry.c:
1308 (+hildon_touch_selector_entry_set_input_mode),
1309 (+hildon_touch_selector_entry_get_input_mode):
1310 * src/hildon-touch-selector-entry.h: New methods to access the input
1311 mode in the selector's entry.
1313 Fixes: NB#93410 (API required for setting IM mode in
1314 HildonTouchSelectorEntry)
1316 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1318 * configure.ac: post release version bump.
1319 * debian/changelog: version bump
1321 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1326 * configure.ac: Bump version.
1327 * debian/changelog: Updates.
1329 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1331 * src/hildon-touch-selector.c:
1332 (_hildon_touch_selector_has_multiple_selection): No need
1333 to initialize the variables here.
1335 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1337 * src/hildon-note-private.h
1338 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1339 (hildon_note_finalize, hildon_note_rebuild): Close information
1340 notes when they receive a button press.
1342 Fixes: NB#89890 (Information notes does not get disappeared after
1345 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1348 mark from the wizard title, as it's not really necessary. Also,
1349 do not display the page title if not set.
1351 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1353 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1354 (parent_window_hidden): Use the window's "is-topmost" property to
1355 detect when to hide the menu.
1357 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1359 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1360 (hildon_app_menu_finalize): If the parent window of the menu is
1361 hidden, hide the menu too.
1363 Fixes: NB#94460 (stackable window's menu is not closed when its
1366 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1369 * debian/libhildon1-examples.install
1371 * examples/Makefile.am:
1372 Use dh_install to install all examples.
1373 Use DEB_SRCDIR instead of defining SOURCE_DIR
1375 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1377 * configure.ac: post release version bump.
1378 * debian/changelog: version bump
1380 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1385 * configure.ac: bump version
1386 * debian/changelog: updates
1387 * debian/control: bump gtk+ dependency
1389 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1391 patch by Christian Dywan (christian@imendio.com)
1393 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1394 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1396 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1398 * src/hildon-check-button.c (hildon_check_button_init)
1399 (hildon_check_button_class_init, hildon_check_button_style_set)
1400 (hildon_check_button_apply_style):
1401 New "checkbox-size" style property.
1403 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1404 larger / configurable size)
1406 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1408 * configure.ac: post release version bump.
1409 * debian/changelog: version bump
1411 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1416 * configure.ac: bump version
1417 * debian/changelog: updates
1419 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1421 * doc/hildon-sections.txt
1422 * src/hildon-pannable-area.c
1423 * src/hildon-program.c
1424 * src/hildon-time-editor.c
1425 * src/hildon-touch-selector-entry.c:
1427 More documentation updates.
1429 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1431 * doc/hildon-sections.txt
1432 * src/hildon-caption.c
1433 * src/hildon-code-dialog.c
1434 * src/hildon-color-button.c
1435 * src/hildon-controlbar.c
1436 * src/hildon-date-editor.c
1437 * src/hildon-date-selector.c
1438 * src/hildon-edit-toolbar.c
1439 * src/hildon-find-toolbar.c
1440 * src/hildon-font-selection-dialog.c
1442 * src/hildon-program.c
1443 * src/hildon-range-editor.c
1444 * src/hildon-seekbar.c
1445 * src/hildon-time-editor.c
1446 * src/hildon-time-selector.c
1447 * src/hildon-volumebar-range.c
1448 * src/hildon-volumebar.c
1449 * src/hildon-vvolumebar.c
1450 * src/hildon-weekday-picker.c
1451 * src/hildon-window.c
1452 * src/hildon-wizard-dialog.c:
1454 Lots of documentation fixes.
1456 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1458 Patch contributed by Iván Gómez (igomez@igalia.com)
1460 * src/hildon-check-button.c:
1461 * src/hildon-date-button.c:
1462 * src/hildon-date-selector.c:
1463 * src/hildon-dialog.c:
1464 * src/hildon-edit-toolbar.c:
1465 * src/hildon-entry.c:
1466 * src/hildon-picker-button.c:
1467 * src/hildon-program.c:
1468 * src/hildon-text-view.c:
1469 * src/hildon-time-button.c:
1470 * src/hildon-touch-selector-entry.c:
1471 * src/hildon-window-stack.c:
1473 Add more "since" tags to the new API.
1475 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1477 * doc/hildon-sections.txt: Add below method.
1478 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1479 version for the hildonized scale.
1480 * src/hildon-gtk.h: Add the definition.
1482 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1484 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1486 * doc/hildon-sections.txt: Add missing entries for new methods.
1488 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1490 Added API to pannable are in order to get its adjustments. We
1491 added two properties to manage the values we had in the private
1494 * src/hildon-pannable-area.c:
1495 (hildon_pannable_area_class_init): Added hadjustment and
1496 vadjustment properties in order to expose horizontal and vertical
1498 (hildon_pannable_area_get_property),
1499 (hildon_pannable_area_set_property): Added code to handle the new
1501 (hildon_pannable_area_get_hadjustment),
1502 (hildon_pannable_area_get_vadjustment): API functions to get the
1504 * src/hildon-pannable-area.h:
1505 (hildon_pannable_area_get_hadjustment),
1506 (hildon_pannable_area_get_vadjustment): API functions to get the
1509 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1511 Fixed some leaks, after valgrinding.
1513 * src/hildon-touch-selector.c:
1514 (_default_print_func): Fixed a leak.
1515 (hildon_touch_selector_append_column): Fixed a leak.
1516 * src/hildon-date-button.c:
1517 (hildon_date_button_init): Fixed a leak.
1518 * src/hildon-date-selector.c
1519 (hildon_date_selector_finalize): Fixed a leak.
1521 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1523 Based on a patch by Christian Dywan (christian@imendio.com)
1525 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1527 * src/hildon-gtk.h: Add definition.
1529 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1531 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1533 * src/hildon-picker-button.c: (hildon_picker_button_init),
1534 (hildon_picker_button_new): Set the HildonButton::style property
1535 in the init method, to propagate the value to the derived classes.
1537 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1539 * src/hildon-button.c: (hildon_button_class_init): Do not make
1540 the "style" property a construct property.
1542 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-wizard-dialog.h
1545 * src/hildon-wizard-dialog.c
1546 (hildon_wizard_dialog_set_forward_page_func)
1547 * src/hildon-pannable-area.h
1548 * src/hildon-pannable-area.c
1549 (hildon_pannable_area_set_size_request_policy):
1550 Documentation fixes.
1552 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1554 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1556 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1558 * doc/hildon-sections.txt: Added sections file.
1560 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/*.[ch]: Updates.
1565 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1567 * examples/hildon-progress-indicator-example.c: new file
1568 * examples/Makefile.am: include the new example program
1570 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1572 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1574 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1576 * configure.ac: post release version bump
1577 * debian/changelog: version bump
1579 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1584 * configure.ac: bump version
1585 * debian/changelog: updates
1586 * debian/control: bump gtk+ dependency
1588 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1590 * src/hildon-dialog.c: Mark as deprecated.
1591 * src/hildon-dialog.h: Mark as deprecated.
1592 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1593 from HildonDialog and still work, even if
1594 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1595 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1597 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1598 maemo changes) instead)
1600 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1602 * src/hildon-pannable_area.h:
1603 * src/hildon-pannable_area.c:
1604 (hildon_pannable_area_class_init),
1605 (hildon_pannable_area_set_property),
1606 (hildon_pannable_area_get_property),
1607 (hildon_pannable_area_size_request),
1608 (hildon_pannable_area_get_size_request_policy),
1609 (hildon_pannable_area_set_size_request_policy): Added new API
1610 allowing applications to control the request policy. Now they can
1611 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1612 children allocation (HILDON_MOVEMENT_CHILDREN).
1614 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1618 (hildon_gtk_tree_view_set_ui_mode)
1619 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1620 mode of treeviews and iconviews.
1622 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1624 * src/hildon-touch-selector-entry.c:
1625 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1626 of a GtkEntry to get proper theming.
1628 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1629 widget, not GtkEntry)
1631 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1633 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1634 no HildonWizardDialogPageFunc.
1636 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1638 Patch contributed by Iván Gómez (igomez@igalia.com)
1640 * src/hildon-app-menu.c:
1641 * src/hildon-button.c:
1642 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1643 * src/hildon-stackable-window.c:
1644 * src/hildon-time-selector.c:
1645 * src/hildon-touch-selector.c:
1646 * src/hildon-window.c:
1648 Add more "since" tags to the new API in hildon 2.2.
1650 2008-12-05 Tim Janik <timj@imendio.com>
1652 Patch contributed by Christian Dywan (christian@imendio.com)
1654 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1655 HildonSizeType, which are supplied by Gtk+ now.
1657 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1659 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1660 (with maemo changes) instead)
1662 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1664 Patch contributed by Iván Gómez (igomez@igalia.com)
1666 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1669 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1671 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1672 (some_page_func), (main): Update the example to use a
1673 HildonWizardDialogPageFunc function.
1675 * src/hildon-wizard-dialog-private.h: Add private data for
1676 the HildonWizardDialogPageFunc function usage.
1678 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1679 (destroy), (hildon_wizard_dialog_init), (response),
1680 (hildon_wizard_dialog_set_forward_page_func):
1681 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1682 that applications can use to stop a HildonWizardDialog to jump to
1685 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1688 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1690 * src/hildon-program.h
1691 * src/hildon-program-private.h
1692 * src/hildon-program.c (hildon_program_init)
1693 (hildon_program_set_common_app_menu)
1694 (hildon_program_get_common_app_menu):
1695 New API for setting a common HildonAppMenu for all
1696 HildonStackableWindows registered with the HildonProgram.
1698 * src/hildon-stackable-window.c
1699 (hildon_stackable_window_toggle_menu):
1700 Use the common HildonAppMenu if a window doesn't have a specific
1703 * src/hildon-app-menu-private.h
1704 * src/hildon-app-menu.c
1705 (hildon_app_menu_get_parent_window):
1706 Function to obtain the window a HildonAppMenu is attached to.
1707 (hildon_app_menu_set_parent_window):
1708 Hide the menu if the parent window is set to NULL.
1710 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1712 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1713 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1714 search widget to popup.
1716 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1718 * configure.ac: post release version bump
1719 * debian/changelog: version bump
1721 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1726 * configure.ac: bump version
1727 * debian/changelog: updates
1729 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1731 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1733 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1734 (hildon_window_stack_window_realized)
1735 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1736 Set the leader GdkWindow when a window is stacked and realized,
1737 unset it when it's unstacked.
1738 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1740 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1742 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1744 * src/hildon-stackable-window.h
1745 * src/hildon-window-stack.h:
1746 Protect definition of HildonWindowStack using the preprocessor.
1748 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1750 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1751 Fix warning if all menu items are hidden.
1753 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1755 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1757 * src/hildon-controlbar.c:
1758 * src/hildon-hvolumebar.c:
1759 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1760 Multiple scale size defines updates.
1762 Fixes: NB#94322 (Scale Updates)
1764 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1766 * examples/hildon-app-menu-example.c (create_menu)
1767 Show items after adding them to the menu, as in the future the
1768 menu will no longer call gtk_widget_show() on the added items.
1770 * src/hildon-app-menu.c:
1771 Update example as explained above.
1773 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1775 * src/hildon-app-menu.c
1776 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1777 Make sure that all menu items have finger height.
1779 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1781 * src/hildon-picker-dialog.c:
1782 (_on_dialog_response), (_save_current_selection),
1783 (_restore_current_selection), (_clean_current_selection),
1784 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1785 Defined new functions in order to save the current internal selector
1786 selection previous open the dialog, in case that the use cancel the
1787 interaction, so the widget restores the previous selection.
1789 Fixes: NB#92032 (In calendar application, date values in 'new event'
1792 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1794 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1796 * src/hildon-button.c: Add a reference to the button examples in
1797 hildon-button-example.c
1799 * examples/hildon-button-example.c: Added examples of the most
1800 common button layouts.
1802 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1804 * src/hildon-app-menu.c (hildon_app_menu_show)
1805 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1807 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1809 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1811 * src/hildon-picker-dialog.c:
1812 (hildon_picker_dialog_init): Initialize the signal id for
1813 HildonTouchSelector::columns-changed.
1814 (+on_selector_columns_changed): Set up the interaction mode everytime a
1815 column is added or removed from the HildonTouchSelector.
1816 (_hildon_picker_dialog_set_selector): Connect to
1817 HildonTouchSelector::columns-changed and keep track of it.
1819 Make sure to update the interaction mode of the dialog everytime a
1820 column is added or removed in the HildonTouchSelector.
1822 Fixes: NB#93228 (Done button is not shown always in listpicker)
1824 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1826 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1827 a new ::columns-changed signal.
1828 (hildon_touch_selector_append_column): Emit ::columns-changed.
1829 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1831 Add a ::columns-changed signal, emitted when the number of columns in a
1832 HildonTouchSelector changes.
1834 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1836 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1837 (_hildon_picker_dialog_set_selector): Factor out the code
1838 to set up the dialog interaction mode.
1840 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1842 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1843 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1844 to signal_changed_id.
1846 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1851 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1853 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1854 Updated the logical ids related to ampm format, as now it is required to
1855 show it correctly localized even on languages with no default
1856 abbreviations for am or pm
1857 (_check_am_pm_format): check correctly the 24h format gconf property
1859 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1861 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1863 * src/hildon-button.c: Documentation updates.
1865 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1868 * src/hildon-caption.c: (hildon_caption_class_init):
1869 * src/hildon-color-button.c: (hildon_color_button_class_init):
1870 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1871 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1872 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1873 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1875 Remove deprecated GTK+ marshalers and replace them with the ones
1876 provided by GLib, for those available, add a marshaler for
1877 BOOLEAN:VOID, which is not available in GLib, and use it.
1879 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1881 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1882 the text from the previous column if there is no
1883 HildonTouchSelectorColumn::text-property set.
1885 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1887 * src/hildon-button.h
1888 * src/hildon-button.c (hildon_button_set_property)
1889 (hildon_button_get_property, hildon_button_class_init)
1890 (hildon_button_set_style, hildon_button_get_style):
1891 New "style" property to change the visual appearance of the
1894 * src/hildon-picker-button.c (hildon_picker_button_new):
1895 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1897 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1898 HildonButton look like PickerButton)
1900 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1903 column while building the default string.
1905 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1908 scroll indicator by default.
1910 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1912 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1914 * src/hildon-main.c: Fix the documentation for hildon_init()
1916 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1918 * doc/hildon-docs.sgml
1922 * src/hildon-window-stack-private.h
1923 * src/hildon-window-stack.h
1924 * src/hildon-window-stack.c:
1925 New HildonWindowStack object, that adds support for multiple
1926 stacks of windows per process.
1928 * src/hildon-stackable-window-private.h
1929 * src/hildon-stackable-window.h
1930 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1931 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1932 (hildon_stackable_window_show, hildon_stackable_window_hide)
1933 (hildon_stackable_window_class_init)
1934 (hildon_stackable_window_init):
1935 Use HildonWindowStack for stack management.
1937 * src/hildon-program.c (hildon_program_pop_window_stack)
1938 (hildon_program_peek_window_stack)
1939 (hildon_program_go_to_root_window):
1940 Add a fallback implementation to the deprecated functions using
1943 * examples/hildon-stackable-window-example.c:
1944 Use the new HildonWindowStack API.
1946 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1948 * src/hildon-stackable-window-private.h
1949 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1950 (hildon_stackable_window_hide, hildon_stackable_window_init):
1951 Remove all window stack management.
1953 * src/hildon-program-private.h
1954 * src/hildon-program.h
1955 * src/hildon-program.c (hildon_program_init)
1956 (hildon_program_pop_window_stack)
1957 (hildon_program_peek_window_stack)
1958 (hildon_program_go_to_root_window):
1959 Remove all window stack management and mark functions as
1962 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1964 * src/hildon-app-menu.c (hildon_app_menu_realize):
1965 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1967 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1969 * configure.ac: post release version bump
1970 * debian/changelog: version bump
1972 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1977 * configure.ac: bump version
1978 * debian/changelog: updates
1980 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1982 Based on initial code by Christian Dywan (christian@imendio.com)
1984 * doc/hildon-docs.sgml: Add section for hildon-main.
1985 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1986 * src/Makefile.am: Add new hildon-main.[ch]
1987 * src/hildon-defines.h: Update the icon sizes.
1988 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1989 new library initialization files and register icon sizes.
1990 * src/hildon-main.h: New declarations.
1991 * src/hildon.h: Include hildon-main.h
1993 Add new initialization functions to the library. These methods
1994 will register the hildon specific icon sizes and can be used in the
1995 future for other hildon specific bits.
1997 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1999 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2001 * src/hildon-window.c: (hildon_window_realize),
2002 (hildon_window_notify), (-hildon_window_update_title): Do not set
2003 the application name in the window title.
2005 Fixes: NB#89754 (Applications shouldn't display their names in the
2008 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-note-private.h:
2011 * src/hildon-note.c: (hildon_note_set_property),
2012 (hildon_note_get_property), (hildon_note_class_init),
2013 (hildon_note_init), (hildon_note_finalize),
2014 (hildon_note_new_confirmation_with_icon_name),
2015 (hildon_note_new_information_with_icon_name):
2017 No need to mark as deprecated the actual code. Revert
2018 to avoid missing symbols in widgets using deprecated API.
2020 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2022 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
2024 * src/hildon-volumebar.h
2025 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
2026 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
2028 * src/hildon-helper.h
2029 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
2030 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
2032 * examples/Makefile.am:
2033 Deprecate hildon-insensitive-example
2035 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
2037 2008-11-20 Alberto Garcia <agarcia@igalia.com>
2039 * examples/hildon-pannable-area-buttons-scroll-example.c:
2040 Make all buttons finger height
2042 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2044 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2046 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2047 update the day model only if it is really required, and to avoid the
2048 full-reconstruction aproach. Now it only add or remove the required days.
2050 The purpose of this is avoid superfluous HildonTouchSelector::changed
2053 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2054 with strange parameters)
2056 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2058 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2060 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2061 the WINDOW_TYPE property.
2063 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2065 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2068 Fix dependency to allow parallel compilation with make -jX
2070 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2072 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2073 color frame and some minor tweaks to make it more consistent with
2076 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2077 highlighted but not visible)
2079 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2081 * examples/Makefile.am: Fixed typo in the Makefile.am.
2083 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2085 Reviewed the use of MAEMO_GTK define, now we add the define in the
2086 compilation line, and we also add it to the pc file.
2088 * configure.ac: Added MAEMO_GTK define to the compilation command
2089 and removed it from the config.h.
2091 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2092 do not have to take care about this define if the library was
2096 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2098 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2100 * examples/Makefile.am,
2101 * examples/hildon-pannable-area-buttons-scroll-example.c,
2102 * examples/hildon-pannable-area-gesture-signals-example.c,
2103 * examples/hildon-pannable-area-scroll-jump-example.c,
2104 * examples/hildon-pannable-area-tree-view-example.c:
2105 Renamed the pannable area examples, now they have more meaningful
2108 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2110 * src/hildon-touch-selector.c:
2111 (hildon_touch_selector_set_column_selection_mode): Used of
2112 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2113 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2114 to avoid re-seting the same selection mode.
2116 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2117 breaks HildonPickerDialog)
2119 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2121 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2122 conditional in the Makefile.am
2124 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2126 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2127 Remove unused methods.
2129 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2131 * src/hildon-button.c (hildon_button_init):
2132 Make button images center-aligned by default
2134 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2137 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2138 activated, we have to think about how to deal with both defines
2139 MAEMO_GTK and MAEMO_CHANGES.
2141 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2143 * examples/hildon-app-menu-example.c (create_menu): Make all
2144 buttons finger size.
2146 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2148 Fixed the compilation without maemo gtk adding ifdefs with
2149 MAEMO_GTK define to the code, we have to check this version more
2152 * examples/Makefile.am: Added control to avoid some examples that
2153 just make sense with maemo gtk.
2156 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2157 hildon modes with the define.
2159 * examples/hildon-edit-toolbar-example.c,
2160 (create_icon_view): Create the icon view without hildon-gtk
2161 helpers if we are not using maemo gtk.
2163 * src/hildon-touch-selector.c,
2164 (_create_new_column): Create the treeview without hildon-gtk
2165 helpers if we are not using maemo gtk.
2167 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2169 * src/hildon-pnnable-area.c,
2170 (hildon_pannable_area_dispose),
2171 (hildon_pannable_area_button_press_cb),
2172 (hildon_pannable_area_child_mapped),
2173 (hildon_pannable_area_add),
2174 (hildon_pannable_area_remove): Added code to control the position
2175 of the event_window when adding and removing children from the
2176 pannable. We have to raise the event window when the child is
2179 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2180 selection mode using custom widget inside pannable)
2182 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2184 * configure.ac: post release version bump
2185 * debian/changelog: version bump
2187 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2192 * configure.ac: bump version
2193 * debian/changelog: updates
2195 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2197 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2198 search mode, in order to avoid lose the focus on the treeview when
2199 a hw key (like enter) is pressed.
2201 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2202 in HildonDateSelector dialog)
2204 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2206 * debian/rules: Added --enable-maintainer-mode
2207 * Makefile.am: Added ACLOCAL_AMFLAGS
2209 This allows to properly regenerate the Makefiles if you modify the
2210 configure.ac or any Makefile.am.
2212 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2214 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2215 properties, not needed at all.
2217 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2219 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2221 * src/hildon-note.c: (hildon_note_set_property),
2222 (hildon_note_get_property), (hildon_note_class_init),
2223 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2224 (hildon_note_new_confirmation_add_buttons): Remove icons.
2225 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2226 (hildon_note_new_information_with_icon_name): Deprecate.
2227 (hildon_note_new_confirmation): Act directly, without calling
2228 the deprecated constructor.
2229 (hildon_note_new_information): Act directly, without calling
2230 the deprecated constructor.
2231 * src/hildon-note.h: Mark deprecate methods as such.
2232 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2233 not run tests on the deprecated methods if built with deprecation
2236 Fixes: NB#91688 (Never show icons in information notes/confirmation
2239 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2241 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2242 (hildon_app_menu_key_press): Remove leftover usage of the
2243 private structure in HildonAppMenu struct.
2244 * src/hildon-app-menu.h: Remove leftover private structure
2245 from the HildonAppMenu struct.
2247 Fixes a crasher when using the HildonAppMenu.
2249 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-picker-dialog.c: Use appropriate logical id
2252 for the default "Done" text.
2254 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2256 * configure.ac: post release version bump
2257 * debian/changelog: version bump
2259 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2261 Modified the way to scroll to the current selection just when the touch
2262 selector is shown on the screen, avoiding a g_idle. Added too a property
2263 to configure this behaviour. See hildon_pannable_area_jump_to_child
2264 documentation for more information.
2266 * src/hildon-touch-selector.c
2267 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2268 Added 'initial-scroll' property
2269 (hildon_touch_selector_set_property): Added
2270 (hildon_touch_selector_map): Removed as not required anymore
2271 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2272 only a concrete column, instead of iterate along all the columns
2274 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2279 * configure.ac: bump version
2280 * debian/changelog: updates
2282 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2284 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2285 compilation time warnings.
2287 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2290 the default value for HildonPannableArea::mov-mode to
2291 HILDON_PANNABLE_AREA_MODE_VERT.
2293 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2295 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2297 Reverting following commit:
2299 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-app-menu-private.h
2302 * src/hildon-app-menu.[ch]
2303 * src/hildon-button.[ch]
2304 * src/hildon-check-button.[ch]
2305 * src/hildon-entry.[ch]
2306 * src/hildon-pannable-area.[ch]
2307 * src/hildon-text-view.[ch]:
2308 Added private field to the object's structure.
2310 because it causes an ABI breakage. We will need to introduce these
2311 changes later at some point. See NB#91636 for an extensive
2312 explanation and status.
2314 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2316 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2318 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2319 remove special cases that are no longer necessary.
2321 Fixes: NB#91016 (Change toolbar sizes, simplification)
2323 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2326 is shown in the cancel note.
2328 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2331 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2332 (hildon_seekbar_init): Remove steppers, remove expose event.
2333 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2335 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2337 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2339 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2340 label font to "SmallSystemFont" for vertically arranged buttons.
2342 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2345 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2347 * src/hildon-check-button.c
2348 (hildon_check_button_set_active, hildon_check_button_clicked):
2349 Don't access private parts directly, use getters instead.
2351 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2353 * src/hildon-check-button.c (hildon_check_button_new):
2354 Align the contents of the check button to the left.
2356 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2358 * src/hildon-pannable-area.c,
2359 (hildon_pannable_area_scroll_to),
2360 (hildon_pannable_area_jump_to),
2361 (hildon_pannable_area_scroll_to_child),
2362 (hildon_pannable_area_jump_to_child): Replace the mapped
2363 precondition of these functions with the realized, it is the
2364 correct state of the widget in this case. Changed the
2365 documentation according to this modification.
2367 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2369 Added a new EXTRA_CFLAGS option to add the deprecated define to
2370 the compilation command. This way we can avoid using the define in
2371 the documentation compilation.
2373 * configure.ac: Defined EXTRA_CFLAGS.
2375 * examples/Makefile.am:
2377 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2379 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2381 * src/hildon-picker-dialog.c:
2382 Defined a utility macro with the desired touch selector height
2383 Removed currently unused separator, and title_label variables from
2385 (hildon_picker_dialog_init): Removed code related to the creation
2386 of unused private variables title_label and separator.
2387 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2388 to ensure correct visualization of the touch selector inside the dialog.
2389 * src/hildon-touch-selector.c
2390 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2391 ensure a concrete height of the widget.
2393 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2396 * tests/Makefile.am:
2398 Remove spurious whitespaces.
2400 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2403 compilation warning after the cancel button removal.
2405 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2407 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2409 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2410 Makefile.am, that way we can choose not to compile some examples
2411 and tests of the deprecated widgets.
2413 * examples/Makefile.am: Divided the sources in deprecated and
2416 * src/Makefile.am: Added undef statement of the deprecated
2417 symbol to the enums file generation process.
2419 * src/hildon-color-chooser-dialog.c
2420 * src/hildon-color-chooser-dialog.h
2421 * src/hildon-color-button.c
2422 * src/hildon-color-button.h
2423 * src/hildon-color-chooser.c
2424 * src/hildon-color-chooser.h
2425 * src/hildon-controlbar.c
2426 * src/hildon-controlbar.h
2427 * src/hildon-date-editor.c
2428 * src/hildon-date-editor.h
2429 * src/hildon-hvolumebar.c
2430 * src/hildon-hvolumebar.h
2431 * src/hildon-private.c
2432 * src/hildon-private.h
2433 * src/hildon-range-editor.c
2434 * src/hildon-range-editor.h
2435 * src/hildon-seekbar.c
2436 * src/hildon-seekbar.h
2437 * src/hildon-time-editor.c
2438 * src/hildon-time-editor.h
2439 * src/hildon-time-picker.c
2440 * src/hildon-time-picker.h
2441 * src/hildon-volumebar.c
2442 * src/hildon-volumebar.h
2443 * src/hildon-vvolumebar.c
2444 * src/hildon-vvolumebar.h
2445 * src/hildon-bread-crumb-trail.h
2446 * src/hildon-bread-crumb-trail.c
2447 * src/hildon-calendar-popup.c
2448 * src/hildon-calendar-popup.h
2449 * src/hildon-weekday-picker.c:
2450 * src/hildon-weekday-picker.h:
2451 * src/hildon-bread-crumb-widget.c:
2452 * src/hildon-bread-crumb-widget.h:
2453 * src/hildon-bread-crumb.c:
2454 * src/hildon-bread-crumb.h:
2455 * src/hildon-calendar.c:
2456 * src/hildon-calendar.h:
2457 * src/hildon-caption.c:
2458 * src/hildon-code-dialog.c:
2459 * src/hildon-code-dialog.h:
2460 * src/hildon-font-selection-dialog.c:
2461 * src/hildon-font-selection-dialog.h:
2462 * src/hildon-get-password-dialog.c:
2463 * src/hildon-get-password-dialog.h:
2464 * src/hildon-login-dialog.c:
2465 * src/hildon-login-dialog.h:
2466 * src/hildon-number-editor.c:
2467 * src/hildon-number-editor.h:
2468 * src/hildon-set-password-dialog.c:
2469 * src/hildon-set-password-dialog.h:
2470 * src/hildon-sort-dialog.c:
2471 * src/hildon-sort-dialog.h: This is the list of deprecated
2474 * src/hildon-touch-selector.c:
2475 * src/hildon-window.c: Added undef statement to avoid compilation
2478 * tests/Makefile.am: Divided the sources in deprecated and
2481 * tests/check_test.c,
2482 (configure_tests): Marked the deprecated code that was adding
2483 suites with deprecated tests.
2485 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2487 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2489 * src/hildon-touch-selector.c: (_default_print_func): Do not
2490 duplicate a string returned by gtk_tree_model_get(), it is already
2493 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2496 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2498 * src/hildon-pannable-area.c
2499 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2500 method, it had problems when adding a widget with viewport the
2501 second time. Now checks if it already has a viewport and uses it.
2503 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2506 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2508 * src/hildon-pannable-area.c,
2509 (hildon_pannable_area_scroll_to),
2510 (hildon_pannable_area_jump_to),
2511 (hildon_pannable_area_scroll_to_child),
2512 (hildon_pannable_area_jump_to_child): Added a precondition to the
2513 scroll and jump to functions: the widget must be mapped before we
2514 can safely call these functions. We have also added documentation
2515 to the functions to explain how to use them in this situation.
2518 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2520 Reviewed the threading handling of the pannable widget, we have
2521 used the gdk_threads_add_timeout function instead of the usual
2522 glib handlers. This avoids some problems with the threads.
2524 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2525 (hildon_pannable_area_initial_effect),
2526 (hildon_pannable_area_scroll_indicator_fade),
2527 (hildon_pannable_area_button_press_cb),
2528 (hildon_pannable_area_timeout),
2529 (hildon_pannable_area_motion_notify_cb),
2530 (hildon_pannable_area_button_release_cb),
2531 (hildon_pannable_area_scroll_cb),
2532 (hildon_pannable_area_scroll_to): Removed the
2533 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2534 gdk_threads_add_timeout.
2536 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2538 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2543 * configure.ac: bump version
2544 * debian/changelog: updates
2546 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2548 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2549 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2550 * src/hildon-color-chooser-dialog.c:
2551 (hildon_color_chooser_dialog_init):
2552 * src/hildon-font-selection-dialog.c:
2553 (hildon_font_selection_dialog_init):
2554 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2556 Remove all cancel/close-like dialogs, as these are not going to be
2559 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2561 * src/hildon-note.c: (hildon_note_rebuild),
2562 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2565 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2567 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2569 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2570 sure all buttons are shown, even the Cancel/Close-like ones.
2572 Fixes: NB#90861 (Custom Confirmation dialogs should be
2573 protected from cancel button removal)
2575 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2577 * debian/control: Change libhildon1-examples dependency from libhildon1
2579 * debian/libhildon1-examples.install
2581 * Makefile.am: Modified the final install directory for the examples on
2582 package libhildon1-examples
2583 * Makefile.static: Update clean target in order to remove all the binary
2586 Changes suggested by Claudio after review new libhildon1-examples package
2588 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2590 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2591 * src/hildon-touch-selector.c: Ditto.
2593 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2595 * debian/control: Added new package libhildon1-examples, in order to pack
2596 the current hildon examples as documentation
2597 * debian/rules: Not to compress .c files, modify some includes on the
2598 examples (as normally are compiled locally, but when installed it will
2599 require to include the installed libhildon1 library), and rename
2601 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2602 install all the example files on the new example package
2603 * examples/Makefile.static: Added static makefile that can be used to
2604 compile the examples, once installed the new example package
2605 * examples: Most of the examples were modified in order to grant that
2606 all use only '#include "hildon.h"', in order to be easy to prepare
2607 it on the example package
2609 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2612 * debian/libhildon1-dev.install
2613 * debian/libhildon1-doc.install:
2614 Move all gtk-doc files to a separate libhildon1-doc package.
2616 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2618 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2622 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2624 * debian/rules: Fixed a error in order to avoid unnecessary calls
2625 to autogen.sh on package building
2627 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2629 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2631 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2633 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2636 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2638 * src/hildon-picker-button.c
2639 (hildon_picker_button_finalize):
2640 Free priv->done_button_text
2642 * src/hildon-time-button.c
2643 (hildon_time_button_set_time)
2644 * src/hildon-picker-button.c
2645 (hildon_picker_button_clicked)
2646 (hildon_picker_button_selector_selection_changed)
2647 (hildon_picker_button_set_selector)
2648 * src/hildon-date-button.c
2649 (hildon_date_button_set_date):
2650 Free strings returned by hildon_touch_selector_get_current_text()
2652 * src/hildon-button.c (hildon_button_construct_child):
2653 Fix leaks in priv->image and priv->label_box
2655 Fixes: NB#90535 (Memory leak in picker button)
2657 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2659 * src/hildon-button.c: (hildon_button_get_property): Do not access
2660 private elements directly, use getters instead.
2662 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-app-menu-private.h
2665 * src/hildon-app-menu.c
2666 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2667 Store the menu's parent window.
2669 * src/hildon-stackable-window.c
2670 (hildon_stackable_window_toggle_menu)
2671 (hildon_stackable_window_finalize):
2672 Set the menu's parent window when the menu is shown, unset it when
2675 * src/hildon-app-menu.c
2676 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2677 (hildon_app_menu_class_init):
2678 Send unhandled keyboard accelerators to the parent window.
2680 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2682 * src/hildon-stackable-window.c
2683 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2685 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2687 * configure.ac: post release version bump
2689 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2692 * configure.ac: Bump version
2693 * debian/changelog: Updates
2694 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2697 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2699 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2702 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2703 GtkMenu with Hildon style.
2705 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2707 * src/hildon-picker-button.c:
2708 (hildon_picker_button_set_done_button_text): Set the dialog's
2709 done button text here as well.
2711 Fixes: NB#90232 (Picker button does not set the label on done button
2712 for the second time)
2714 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2716 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2719 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2721 * src/hildon-app-menu.c (hildon_app_menu_insert)
2722 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2723 the HildonAppMenu to be activatable using keyboard accelerators
2724 when the menu is not being shown.
2726 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2728 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2730 * src/hildon-stackable-window.c
2731 (hildon_stackable_window_show):
2732 Don't hide old windows automatically when new windows are shown:
2733 this is now a task for the window manager.
2734 (hildon_stackable_window_class_init)
2735 (hildon_stackable_window_hide):
2736 Remove windows from the stack everytime they're hidden.
2737 (hildon_stackable_window_realize):
2738 Don't change the _NET_WM_WINDOW_TYPE property. Use
2739 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2740 it as a stackable window.
2742 * src/hildon-program.c
2743 (hildon_program_pop_window_stack):
2744 Just hide the window to remove it from the stack.
2745 (hildon_program_go_to_root_window):
2746 Don't call gtk_widget_show(), this is now a task for the window
2749 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2751 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2753 * src/hildon-button.c
2754 (hildon_button_construct_child):
2755 Don't pack anything in the button until text or image are
2756 set. This allows adding a custom child after creating the button
2757 with hildon_button_new().
2758 (hildon_button_finalize, hildon_button_class_init)
2759 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2760 alignment and the label box even when they're not packed in the
2763 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2765 * src/hildon-touch-selector.h:
2766 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2767 currently the type definition was using GTK_TYPE_VBOX
2768 * src/hildon-touch-selector.c:
2769 Added some implementation notes in order to clarify that any other widget
2770 added without the column related API will not be included on the
2771 selection logic, and how the widget is freed, as some people ask about
2773 (hildon_touch_selector_remove): Reimplemented in order to free properly
2774 the column related data when you remove the private hbox.
2775 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2776 to get a proper HildonTouchSelectorColumn documentation
2778 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2780 * src/hildon-touch-selector-entry.c:
2781 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2782 text in the GtkEntry and there is no item selected. Fixes a
2785 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2787 * src/hildon-app-menu-private.h
2788 * src/hildon-app-menu.[ch]
2789 * src/hildon-button.[ch]
2790 * src/hildon-check-button.[ch]
2791 * src/hildon-entry.[ch]
2792 * src/hildon-pannable-area.[ch]
2793 * src/hildon-text-view.[ch]:
2794 Added private field to the object's structure.
2796 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2798 * configure.ac: post-release version bump
2800 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2804 * configure.ac: pre-release version bump
2806 * debian/changelog: updates.
2808 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2810 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2811 Disconnect the handler for HildonTouchSelector::changed.
2813 (hildon_picker_button_selector_selection_changed): Update the button
2814 value if the selection change was not triggered by the
2817 (hildon_picker_button_set_selector): connect to
2818 HildonTouchSelector::changed.
2820 Fixes: NB#89650 (Picker button is not updated, when selection in
2821 selector has changed)
2823 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2825 * src/hildon-picker-dialog.c
2826 (hildon_picker_dialog_realize): Removed as not required
2827 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2828 * src/hildon-picker-button.c
2829 (_current_selector_empty): New function, checks if the selector is empty
2830 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2831 if the current selector is empty, in order to avoid to show the dialog
2832 close the dialog in this case (and shows a g_warning).
2834 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2836 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2838 * src/hildon-pannable-area.c,
2839 (hildon_pannable_area_scroll): Added clause to stop movement when
2840 the child of pannable is smaller than one page.
2841 (hildon_pannable_area_scroll_to): Added conditions to avoid
2842 starting the scrolling movement if the child is smaller than one
2843 page, the complete child is in the screen, we do not have to move.
2845 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2847 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2849 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2850 this is managed automatically by the widget when the size of the
2853 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2855 * src/hildon-picker-button.c
2856 (hildon_picker_button_set_done_button_text): Make a copy of the
2857 text, and free the previous value.
2859 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2861 * src/hildon-touch-selector-entry.c:
2862 (hildon_touch_selector_entry_print_func): Return the selected row's
2863 text if the entry is empty.
2865 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2868 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2870 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2872 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-check-button.h
2876 * src/hildon-check-button.c
2877 * examples/hildon-check-button-example.c:
2878 HildonCheckButton is now a new widget. 'toggled' signal added.
2880 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2882 * src/hildon-program-private.h
2883 * src/hildon-program.c (hildon_program_init)
2884 (hildon_program_finalize): Removed unused variables group_leader
2885 and name from HildonProgramPrivate.
2887 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2889 * src/hildon-check-button.c (hildon_check_button_set_active)
2890 (hildon_check_button_get_active, hildon_check_button_new): Use
2891 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2893 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2895 * src/hildon-touch-selector.h
2896 (hildon_touch_selector_set_column_attributes): added deprecation
2897 guard HILDON_DISABLE_DEPRECATED
2898 * src/hildon-time-selector.c
2899 (hildon_time_selector_set_time)
2900 (hildon_time_selector_get_time): Fixed a typo on documentation
2901 * src/hildon-touch-selector.c: update HildonTouchSelector and
2902 HildonTouchSelectorColumn documentation
2903 * src/hildon-touch-selector-entry.c: update "text-column" property
2905 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2906 to be added to the general documentation.
2908 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2910 * examples/hildon-pannable-area-example-4.c,
2912 * examples/hildon-pannable-area-example.c,
2913 (main): Modified the code in order to use the container add, with
2914 viewport treeviews could have problems if they are really big.
2916 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2918 * src/hildon-weekday-picker.c,
2919 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2920 the agreement regarding deprecation in the library.
2922 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2924 * examples/hildon-picker-button-multicolumn-example.c:
2925 (main): Use custom "done" button text.
2927 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2928 (hildon_picker_button_set_property),
2929 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2930 (hildon_picker_button_init),
2931 (+hildon_picker_button_get_done_button_text),
2932 (+hildon_picker_button_set_done_button_text): New methods to customize
2933 the "done" button label in the launched HildonPickerDialog. Also,
2936 * src/hildon-picker-button.h: add the public API.
2938 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2940 * src/hildon-date-selector.h:
2941 * src/hildon-picker-dialog.h:
2942 * src/hildon-time-selector.h:
2943 * src/hildon-touch-selector-column.h:
2944 * src/hildon-touch-selector.h:
2946 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2947 declarations. Fixes gtk-doc warnings.
2949 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-picker-dialog.h
2952 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2953 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2955 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2956 long text is set as label for done button)
2958 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2960 * src/hildon-dialog.c (hildon_dialog_add_button):
2961 Set fixed width to all buttons in the HildonDialog.
2963 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2965 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2967 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2968 Set widget name using class name plus "-finger" or "-thumb".
2970 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2972 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2973 'clicked' when the state of the button is manually changed.
2975 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2977 * src/hildon-app-menu.c (hildon_app_menu_realize)
2978 (hildon_app_menu_unrealize, hildon_app_menu_init)
2979 (hildon_app_menu_class_init, item_visibility_changed):
2980 Change the menu layout when the size of the screen changes.
2981 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2982 Show warning only when changing the number of colums using the
2985 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2987 * debian/compat: Set to 5
2988 * debian/control: Update dependencies.
2989 * debian/libhildon1-dbg.install: Remove.
2990 * debian/libhildon1-dev.install: Update according to cdbs paths.
2991 * debian/libhildon1.install: Update according to cdbs paths.
2992 * debian/rules: Switch to cdbs.
2994 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2996 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2997 'item' variable renamed to 'filter'
2999 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3001 * src/hildon-app-menu.c (hildon_app_menu_insert)
3002 (hildon_app_menu_add_filter, remove_item_from_list)
3003 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
3004 Don't leak hidden items when the menu is destroyed.
3006 2008-10-01 Alberto Garcia <agarcia@igalia.com>
3008 * src/hildon-app-menu.c (hildon_app_menu_insert)
3009 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
3010 (hildon_app_menu_set_columns, item_visibility_changed)
3011 (filter_visibility_changed, hildon_app_menu_repack_filters)
3012 (hildon_app_menu_repack_items):
3013 Repack items and filters separately.
3015 Don't repack all items, change only the ones that are needed to
3018 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3020 * src/Makefile.am: added hildon-touch-selector-column.h
3022 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
3024 * src/hildon-touch-selector.c: added the property "text-column" to the
3025 class HildonTouchSelectorColumn, and related get/set functions
3026 (_default_printf_func): updated to use "text-column" property
3027 * src/hildon-touch-selector-entry.c: mark as deprecated the property
3028 "text-column" in his documentation, as this is now included on
3029 HildonTouchSelectorColumn. The get/set_property can still be used,
3030 working as a wrapper to the concrete column "text-column" property
3031 (_text_column_modified): callback added in order to handle the signal
3032 "notify::text-column" of the concrete HildonTouchSelectorColumn
3033 (hildon_touch_selector_entry_get_text_column)
3034 (hildon_touch_selector_entry_set_text_column): Added documentation, and
3035 modified in order to use the HildonTouchSelectorColumn "text-column"
3037 * src/hildon-time-selector.c:
3038 * src/hildon-date-selector.c:
3039 * examples/hildon-touch-selector-example.c
3040 * examples/hildon-touch-selector-multi-cells-example.c
3041 * examples/hildon-picker-button-multicolumn-example.c
3042 Set the right value to "text-column" property on the creation of a new
3043 column using hildon_touch_selector_append_column()
3045 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3047 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-app-menu.c
3050 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3051 updating the layout of the menu, don't create all widgets again,
3052 just repack the items in their new places.
3054 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3056 * src/hildon-time-selector.c
3057 (hildon_time_selector_get_time)
3058 (hildon_time_selector_set_time)
3059 Added documentation of these public methods
3061 * src/hildon-date-button.h
3062 * src/hildon-touch-selector-column.h
3063 * src/hildon-time-button.h
3064 * src/hildon-picker-dialog.h
3065 * src/hildon-time-selector.h
3066 * src/hildon-picker-button.h
3067 * src/hildon-touch-selector.h
3068 * src/hildon-time-picker.h
3069 * src/hildon-date-selector.h
3070 * src/hildon-touch-selector-entry.h
3071 Modified in order to use hildon-widgets code style
3073 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3075 Added deprecated support to the compilation process using
3076 HILDON_DISABLE_DEPRECATED
3078 * configure.ac: Added the --disable-deprecated to the configure
3081 * src/hildon-weekday-picker.c:
3082 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3083 to use the deprecated support. We will update the other deprecated
3084 widgets status in a new patch.
3086 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3088 * configure.ac: Fixed typo with fatal warnings support, the
3089 variable name was not correct
3091 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3093 * src/hildon-app-menu.c
3094 * src/hildon-program.c: Update documentation.
3096 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3098 * configure.ac: Post-release version bump.
3100 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3105 * configure.ac: Pre-release version bump.
3106 * debian/changelog: Updates.
3108 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3110 * NEWS: Update news for previous releases.
3112 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3114 * examples/hildon-touch-selector-multi-cells-example.c:
3115 (create_selector): Update the example to use
3116 hildon_touch_selector_append_column() with a NULL renderer and set
3117 the renderers later.
3118 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3119 passed a NULL renderer. This is documented behavior now.
3121 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3122 This must be used if the developer wants full control on the layout of
3123 the renderers to be added to the column.
3125 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3127 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3129 * src/hildon-touch-selector.c: Documentation fixes.
3131 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3133 * src/hildon-wizard-dialog-private.h: Remove image and box.
3134 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3135 (hildon_wizard_dialog_set_property), (response): Completely remove
3136 image/icon support, and the containers required for the layout.
3138 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3140 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-app-menu.c: Updated documentation.
3144 * src/hildon-stackable-window.c
3145 (hildon_stackable_window_set_main_menu): Unref the old menu after
3146 ref'ing the new one.
3148 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3150 * src/hildon-stackable-window.c
3151 (hildon_stackable_window_set_main_menu): Unref the previous menu
3152 instead of destroying it.
3154 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3155 floating reference and set has_user_ref_count to FALSE to make
3156 HildonAppMenu act like a normal ref-counted widget and not a
3159 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3162 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3164 * src/hildon-touch-selector-column.h: new file
3165 * src/hildon-touch-selector.h
3166 * src/hildon-touch-selector.c
3167 Implemented GtkCellLayout interface, in order to allow to configure
3168 the cell layout on each individual selector column
3169 (hildon_touch_selector_set_column_attributes): marked as deprecated
3170 * examples/hildon-touch-selector-multi-cells-example.c
3171 Example of how to use the GtkCellLayout interface on the selector
3173 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3175 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-app-menu.h
3178 * src/hildon-app-menu.c
3179 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3180 (hildon_app_menu_append, hildon_app_menu_prepend):
3181 New methods to prepend, insert and move items in the menu.
3183 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-wizard-dialog.c:
3187 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3189 (create_title): Update logical IDs and related code.
3190 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3192 * src/hildon-wizard-dialog.h: Note that
3193 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3194 point, as it is not used anymore.
3196 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3198 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3200 * src/hildon-note.c:
3201 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3202 shown. Do not display an icon in confirmation notes nor information
3204 (hildon_note_set_button_text): Update logical ID for cancel button.
3206 Fixes: NB#88850 (Update HildonNote button strings + signals)
3208 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3210 * src/hildon-stackable-window.c
3211 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3213 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-app-menu-private.h
3216 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3217 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3218 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3219 temporary property 'columns' to change the number of columns.
3221 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3223 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3225 * examples/hildon-note-example.c: (on_information_clicked),
3226 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3227 debugging information.
3228 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3230 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3231 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3232 in order to close: this will be handled by the WM from now on.
3234 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3236 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-app-menu-private.h
3239 * src/hildon-app-menu.c
3240 (hildon_app_menu_append, hildon_app_menu_add_filter)
3241 (button_visibility_changed, hildon_app_menu_apply_style)
3242 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3243 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3244 layout everytime a button (item or filter) is shown or hidden.
3246 * src/hildon-stackable-window.c
3247 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3250 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3252 * src/hildon-touch-selector.c:
3253 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3254 that the treeview inside the touch selector is in fremantle hildon mode
3255 * examples/hildon-date-button-example.c
3256 * examples/hildon-picker-button-multicolumn-example.c
3257 * examples/hildon-touch-selector-entry-example.c
3258 * examples/hildon-touch-selector-example.c
3259 * examples/hildon-time-button-example.c
3260 * examples/hildon-picker-button-example.c:
3261 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3263 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3265 * examples/hildon-text-view-example.c: (main): Remove the
3266 gtkrc bits, now handled by the theme.
3268 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3270 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3273 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3275 * po/Makefile.am: Install properly the mo files.
3276 * po/en_GB.po: Update translation, to ease testing purposes.
3278 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3280 * examples/hildon-picker-button-example.c: (main): Select an item
3281 in the selector before setting it to the button.
3283 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3285 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3286 Update button's value if the selector has an item active.
3288 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3289 'value' with the selector)
3291 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3293 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3294 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3295 (hildon_picker_button_class_init): Plug the finalize method.
3296 (hildon_picker_button_set_selector): If there's a previously set
3297 selector, unref'it before setting a new one.
3299 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3300 HildonTouchSelector)
3302 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3304 * src/hildon-touch-selector-entry.c:
3305 (hildon_touch_selector_entry_changed): Check if there is no text
3306 selected before setting the entry text.
3309 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3311 * src/hildon-touch-selector.h
3312 * src/hildon-touch-selector.c
3313 (hildon_touch_selector_get_active)
3314 (hildon_touch_selector_set_active): New methods to set/get the
3315 index of the selected item.
3317 * src/hildon-picker-button.h
3318 * src/hildon-picker-button.c
3319 (hildon_picker_button_get_active)
3320 (hildon_picker_button_set_active): New methods to set/get the
3321 index of the selected item.
3323 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3325 * configure.ac: post-release version bump.
3327 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3331 * configure.ac: Pre-release version bump.
3332 * debian/changelog: Updates.
3333 * debian/control: Add myself as maintainer and depend on l10n
3336 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3338 * src/hildon-window.c
3339 (hildon_window_set_main_menu)
3340 * src/hildon-stackable-window.c
3341 (hildon_stackable_window_set_main_menu):
3342 Updated documentation.
3344 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3346 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3347 Don't free selector->priv manually.
3350 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3353 (hildon_gtk_window_set_progress_indicator):
3354 * src/hildon-gtk.h: Added the new API
3355 hildon_gtk_window_set_progress_indicator, it changes the state of
3356 the window progress hint.
3358 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3360 * src/hildon-button.c
3361 * src/hildon-stackable-window.c: Minor documentation updates.
3363 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-stackable-window.c: Updated documentation.
3367 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3369 * src/hildon-defines.h: Update margins definitions
3370 to the Fremantle sizes.
3373 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3375 * src/hildon-touch-selector.c,
3376 (_hildon_touch_selector_set_model): Cleaning the code after
3377 review, removed g_print and #if 0 from the code.
3379 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3381 * src/hildon-edit-toolbar.c: Update documentation.
3383 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3385 * src/hildon-check-button.h
3386 * src/hildon-check-button.c
3387 (hildon_check_button_set_label, hildon_check_button_get_label)
3388 * examples/hildon-check-button-example.c
3389 (button_clicked_cb):
3390 Removed deprecated methods.
3392 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3394 * src/hildon-text-view.c:
3395 Add sample code to the documentation.
3397 * src/hildon-entry.h
3398 * src/hildon-text-view.h:
3399 Minor cosmetic changes.
3401 * src/hildon-entry.c:
3402 Add sample code to the documentation.
3403 (hildon_entry_init, hildon_entry_refresh_contents):
3404 Don't allow NULL values in the placeholder.
3406 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3408 * doc/hildon-docs.sgml
3410 * examples/Makefile.am
3411 * examples/hildon-text-view-example.c
3413 * src/hildon-text-view.c
3414 * src/hildon-text-view.h
3416 New HildonTextView widget, with example.
3418 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3420 * po/POTFILES.in: Add missing files with translatable strings.
3421 Partially fixes NB#88287.
3423 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3425 * examples/hildon-pannable-area-example-2.c: (main): No need to
3426 set the cellrenderer height inside hildon touch lists, the theme does
3429 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3431 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3432 they are integrated in the theme.
3434 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3436 * examples/hildon-entry-example.c: Update the example adding
3437 widgets to modify the text and the placeholder of the HildonEntry.
3439 * src/hildon-entry.c: Show the placeholder everytime the widget
3440 is empty and loses the focus.
3442 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3444 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3446 * src/hildon-pannable-area.c,
3447 (hildon_pannable_area_size_request): Fixed bug in height
3448 requisition, avoid increasing size and add border twice.
3450 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3452 * configure.ac: postrelease version bump.
3454 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3458 * configure.ac: Prerelease version bump.
3459 * debian/changelog: update.
3460 * debian/rules: make -dbg package contain useful debugging symbols.
3462 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3464 * src/hildon-dialog.h
3465 * src/hildon-dialog.c
3466 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3467 New methods to add buttons with finger size.
3468 (hildon_dialog_new_with_buttons):
3469 Create buttons with finger size.
3471 * examples/hildon-dialog-example.c (main): Use HildonDialog
3472 methods to add buttons.
3474 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-entry.c: Updated HildonButton documentation.
3478 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3480 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3481 button value label with (FALSE, FALSE) to prevent NB#88126 from
3484 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3486 * examples/hildon-pannable-area-example.c,
3487 (main): Removed examples panning a vbox inside a pannable
3488 area. Check bug NB#87965
3490 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3492 Patch contributed by Kris Rietveld (kris@imendio.com)
3494 * src/hildon-pannable-area.c,
3495 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3496 get_size and get_position, this saves an X server roundtrip.
3498 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3500 * doc/hildon-docs.sgml
3502 * examples/Makefile.am
3503 * examples/hildon-entry-example.c
3505 * src/hildon-entry.c
3506 * src/hildon-entry.h
3508 New HildonEntry widget, with example.
3510 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3512 * src/hildon-button.c (hildon_button_construct_child): Pack the
3513 image with expand == fill == FALSE. This is a workaround for a bug
3516 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3518 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3519 labels for the text column, to make it more look more dynamic.
3521 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3523 * src/hildon-time-selector.c
3524 Define gettext auxiliar macro N_
3525 (_create_minutes_model)
3526 (_create_hours_model)
3527 (_create_ampm_model): use of strftime in order to fill the model
3528 * src/hildon-date-selector.c
3529 (hildon_date_selector_finalize):
3530 (_locales_init): remove the logic related to get the name of the months
3531 using nl_langinfo, as it is not required anymore
3533 (_create_year_model)
3534 (_create_month_model)
3535 (_update_day_model): use of strftime in order to fill the model properly
3538 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3540 * src/hildon-button.h
3541 * src/hildon-button.c (hildon_button_get_image): New method to
3544 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3546 * src/hildon-touch-selector.c:
3547 (hildon_touch_selector_remove_column): Remove from the correct parent
3548 and also remove the list element and free it.
3551 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3553 * src/hildon-time-selector.c
3554 (_create_hours_model): change the range on 12h ampm format in order to use
3555 a 12-11 range instead of previous 01-12 range
3556 (hildon_time_selector_set_time): change the way to select the current time
3557 on 12h ampm format, due the change on the range
3558 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3561 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3563 * src/hildon-touch-selector.c
3564 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3565 in order to allow use this function on multiple row selection mode if
3566 the column is different that the first one
3569 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3571 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3572 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3574 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3576 * src/hildon-date-selector.h: clean some comments, now on the .c
3577 * src/hildon-date-selector.c
3578 (hildon_date_selector_select_month): first implementation
3579 (hildon_date_selector_select_day): added documentation, reimplemented
3580 using hildon_date_selector_select_current_date to avoid repeat code
3583 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3585 Reviewed interaction logic based on device experiences, refactored
3588 * src/hildon-pannable-area.c,
3589 (hildon_pannable_area_class_init): Updated default vmax speed.
3590 (hildon_pannable_area_calculate_velocity): Added this function, it
3591 avoids duplicate valocity calculation. Adjusted calculation to
3592 avoid problems with zero dist events.
3594 (hildon_pannable_area_motion_notify_cb): Now we use the
3595 calculate_velocity function.
3597 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3599 * src/hildon-date-selector.c
3600 (hildon_date_selector_select_current_date): fix the day range check
3601 as it failed using the last day of the current month
3604 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3606 * src/hildon-touch-selector.c
3607 (hildon_touch_selector_get_num_columns): added a parameter validation
3610 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3612 * examples/Makefile.am
3613 * examples/hildon-edit-toolbar-example.c: Example of the
3614 HildonEditToolbar widget.
3616 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3618 * configure.ac: postrelease version bump.
3620 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3624 * configure.ac: prerelease version bump.
3625 * debian/changelog: update.
3627 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3629 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3630 renderer to display stock icons in the touch list. Also, set the sizes
3631 to the recommended in the style guide.
3633 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3634 * src/hildon-touch-selector.h
3635 (hildon_touch_selector_set_active_iter): renamed, now is
3636 hildon_touch_selector_select_iter
3637 (hildon_touch_selector_get_active_iter): renamed, now is
3638 hildon_touch_selector_get_selected
3639 (hildon_touch_selector_unselect_iter): added
3640 * src/hildon-touch-selector.c
3641 Update after API modification (methods renamed)
3642 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3643 order to avoid problems selecting multiple elements on the column
3644 (hildon_touch_selector_unselect_iter): added the implementation
3645 * src/hildon-time-selector.c
3646 * src/hildon-date-selector.c
3647 * src/hildon-touch-selector-entry.c
3648 Update methods calls after hildon-touch-selector.h API modification (methods
3651 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3653 * src/hildon-stackable-window.c
3654 (hildon_stackable_window_finalize): Call the parent class's finalize.
3656 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3658 * examples/hildon-touch-selector-example.c: (create_selector): Use
3659 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3662 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3664 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3665 set a cell background color, to respect theming.
3667 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3669 * doc/hildon-docs.sgml
3672 * src/hildon-edit-toolbar.c
3673 * src/hildon-edit-toolbar.h
3674 * src/hildon.h: New HildonEditToolbar widget.
3676 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3678 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3681 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3682 * src/hildon-touch-selector.c
3683 (_create_new_column): use g_object_set instead of two g_object_set_property
3685 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3686 * src/hildon-touch-selector.c
3687 (_create_new_column): use of hildon_gtk_tree_view_new to create
3688 the treeview, instead of use directly g_object_new
3689 (_create_new_column): update the property name "vindicator-mode" for the
3690 new one "vscrollbar-policy"
3691 * examples/hildon-date-button-example.c
3692 * examples/hildon-picker-button-multicolumn-example.c
3693 * examples/hildon-touch-selector-entry-example.c
3694 * examples/hildon-touch-selector-example.c
3695 * examples/hildon-time-button-example.c
3696 * examples/hildon-picker-button-example.c
3697 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3698 to all the treeviews inside a pannable area.
3700 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3702 * src/hildon-button.h
3703 * src/hildon-button.c (hildon_button_init)
3704 (hildon_button_set_arrangement, hildon_button_set_alignment)
3705 (hildon_button_set_title_alignment)
3706 (hildon_button_set_value_alignment)
3707 (hildon_button_set_image_alignment)
3708 (hildon_button_construct_child): New methods to set the alignment
3709 of the individual components of the button (title, value,
3710 image). Also, new method to alter the xscale and yscale properties
3711 of the GtkAlignment inside the button, so more complex layouts can
3714 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-button.c (hildon_button_style_set)
3717 (hildon_button_class_init, hildon_button_set_arrangement)
3718 (hildon_button_construct_child): Apply style properties
3719 correctly. Use the 'image-spacing' style property too.
3721 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3723 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3724 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3727 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3729 * src/hildon-pannable-area.c,
3730 (hildon_pannable_area_size_request): Fixed problem with
3731 pannable-area size_request.
3733 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3735 Added management for the grab-focus to a child widget, like a
3736 range, we need to fade out the scrollbar when releasing.
3738 * src/hildon-pannable-area.c,
3739 (hildon_pannable_area_init): Connected the grab-focus signal to
3741 (hildon_pannable_area_grab_notify): Added this function in order
3742 to manage the situation when the grab-focus ends. We have to
3743 fade-out the scrollbar.
3745 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3747 * src/hildon-app-menu.c: Minor documentation update.
3749 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-app-menu.c
3752 * examples/hildon-app-menu-example.c (create_menu): Update
3753 examples and documentation to explain how to connect callbacks.
3755 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3757 * examples/hildon-button-example.c
3758 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3759 hildon_stackable_window_new instead of gtk_window_new
3761 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3763 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3764 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3765 (hildon_pannable_area_set_property),
3766 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3767 (hildon_pannable_area_unrealize),
3768 (hildon_pannable_area_size_request),
3769 (hildon_pannable_area_size_allocate),
3770 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3771 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3772 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3773 (hildon_pannable_area_initial_effect),
3774 (hildon_pannable_area_redraw),
3775 (hildon_pannable_area_scroll_indicator_fade),
3776 (hildon_pannable_area_expose_event),
3777 (hildon_pannable_area_get_topmost), (synth_crossing),
3778 (hildon_pannable_area_button_press_cb),
3779 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3780 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3781 (hildon_pannable_area_motion_notify_cb),
3782 (hildon_pannable_area_button_release_cb),
3783 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3784 (hildon_pannable_area_remove),
3785 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3786 chage the code layout to a more GtkWidget like. Review the use of
3789 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3791 * examples/hildon-pannable-area-example-4.c,
3792 (main): Modified the name of the hindicator_mode to
3795 * src/hildon-pannable-area.c,
3796 (hildon_pannable_area_class_init),
3797 (hildon_pannable_area_motion_notify_cb),
3798 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3799 we have reduced the amount of signals and managed reviewed its
3800 rationale. Changed the default decelerate value.
3802 (hildon_pannable_area_add),
3803 (hildon_pannable_area_redraw): Refactored functions.
3805 (hildon_pannable_area_init),
3806 (hildon_pannable_area_get_property),
3807 (hildon_pannable_area_set_property):
3808 (hildon_pannable_draw_vscroll),
3809 (hildon_pannable_draw_hscroll),
3810 (hildon_pannable_area_initial_effect),
3811 (hildon_pannable_area_expose_event),
3812 (hildon_pannable_area_scroll),
3813 (hildon_pannable_area_button_press_cb),
3814 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3815 and vindicator_mode with hscrollbar_policy and
3816 vscrollbar_policy. Replaced hscroll and vscroll with
3817 hscroll_visible and vscroll_visible.
3819 (hildon_pannable_area_refresh): Refactor the function, remove
3820 variables and check the calls to this function, added resize
3821 conditions in case the children change their layout.
3823 (hildon_pannable_area_size_request): Added more detailed
3824 size_request calculation.
3827 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3829 * src/hildon-color-chooser.c
3830 (init_borders): use the correct gtk_border_free instead of g_free, to
3831 avoid a crash when this widget is used (ie: the three color selection
3834 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3836 * src/hildon-check-button.c,
3837 (hildon_check_button_set_active): Fixed problem when setting the
3838 active value, the widget was not redrawn.
3840 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3842 * src/hildon-pannable-area.c,
3843 (hildon_pannable_area_refresh),
3844 (hildon_pannable_area_scroll),
3845 (hildon_pannable_area_motion_notify_cb): Small code style change.
3847 (hildon_pannable_area_class_init): Default initial_hint set to
3848 FALSE, it is not in the specs.
3850 (hildon_pannable_area_initial_effect),
3851 (hildon_pannable_area_expose_event),
3852 (hildon_pannable_area_map),
3853 (hildon_pannable_area_init): Moved the launching point of the
3854 initial effect, it was in map but the sizes where not correct in
3855 that method so we do not know if we have the reproduce it. Now it
3856 is placed in the expose_event method and uses a variable to
3857 reproduce it just once.
3859 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3861 * src/hildon-pannable-area.c,
3862 (hildon_pannable_draw_vscroll),
3863 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3864 position allowed for the scrollbars.
3866 (hildon_pannable_area_size_allocate): Small style change.
3868 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3870 * src/hildon-pannable-area.c,
3871 (hildon_pannable_area_scroll_indicator_fade),
3872 (hildon_pannable_area_button_press_cb),
3873 (hildon_pannable_area_button_release_cb),
3874 (hildon_pannable_area_scroll_cb),
3875 (hildon_pannable_area_expose_event),
3876 (hildon_pannable_area_init): Added the define parameter
3877 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3878 and refactor the fade variable.
3880 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3882 * src/hildon-pannable-area.c,
3883 (hildon_pannable_area_redraw),
3884 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3885 lines, we were reimplemeting the redraw code.
3887 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3889 * src/hildon-pannable-area.c,
3890 (hildon_pannable_area_scroll_cb),
3891 (hildon_pannable_area_realize),
3892 (hildon_pannable_area_class_init): Added scroll_event management
3893 for pannable area, now we can scroll the usual desktop method.
3895 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3896 initialization of the parameters should depend on idle_id.
3898 (hildon_pannable_area_init),
3899 (hildon_pannable_area_map): Small code style modifications
3901 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3903 * src/hildon-pannable-area.c
3904 (hildon_pannable_area_button_press_cb),
3905 (hildon_pannable_area_motion_notify_cb),
3906 (hildon_pannable_area_button_release_cb),
3907 (hildon_pannable_area_size_allocate),
3908 (hildon_pannable_area_scroll_to): Improved the timeouts
3909 management, we avoid creating them each time.
3911 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3913 * src/hildon-pannable-area.c:
3914 (hildon_pannable_area_refresh),
3915 (hildon_pannable_area_motion_notify_cb),
3916 (hildon_pannable_area_class_init):
3917 * src/hildon-pannable-area.h:
3918 * src/hildon-touch-selector.c
3919 (_create_new_column):
3920 * examples/hildon-pannable-area-example-4.c:
3921 (horizontal_movement),
3922 (vertical_movement),
3924 Replaced the names of enums in the HildonPannableArea:
3925 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3926 HILDON_MOVEMENT_MODE_*
3927 - HILDON_PANNABLE_AREA_MOV_* ->
3929 - Removed HildonPannableAreaIndicatorMode, now we
3932 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3934 * examples/hildon-pannable-area-touch-grid-example.c
3935 * examples/hildon-pannable-area-touch-list-example.c: Fix
3936 compilation warnings.
3938 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3940 * src/hildon-gtk.c (hildon_gtk_button_new)
3941 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3942 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3943 images overriding the value of the "gtk-button-images" setting.
3945 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3947 * src/hildon-check-button.c (hildon_check_button_new):
3948 Instead of using a custom container, display the label and the
3949 checkbox using the standard GtkButton API.
3951 * examples/hildon-check-button-example.c (main): Don't use
3952 hildon_check_button_set_label() anymore
3954 * src/hildon-check-button.h
3955 * src/hildon-check-button.c
3956 (hildon_check_button_set_label, hildon_check_button_get_label):
3957 Set as deprecated, now we're using gtk_button_{get,set}_label()
3959 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3961 * src/hildon-pannable-area.c,
3962 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3963 GtkTreeview first line we detected it after the inclusion of the
3964 GtkWindowImpl in gtk+. We now check if the window is visible, not
3965 just if the pointer is over the window.
3966 (hildon_pannable_axis_scroll),
3967 (hildon_pannable_area_expose_event): Small style changes.
3969 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3971 * src/hildon-button.c: Update documentation.
3973 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3975 * examples/hildon-button-example.c: Add a switch to show images in
3978 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3980 * doc/hildon-docs.sgml: Some docs reorganization.
3982 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3984 * examples/hildon-pannable-area-touch-list-example.c
3986 * examples/hildon-pannable-area-touch-grid-example.c
3987 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3988 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3989 Fix memory leak when setting the tree model.
3991 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3995 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3997 * doc/hildon.types: Remove duplicated hildon_window_get_type
3998 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3999 documentation comment.
4001 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4003 * doc/Makefile.am: Complete list of private headers.
4005 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4007 * doc/hildon-docs.sgml
4008 * src/hildon-app-menu.c
4009 * src/hildon-bread-crumb.c
4010 * src/hildon-button.c
4012 * src/hildon-program.c
4013 * src/hildon-stackable-window.c
4014 * src/hildon-window.c: Lots of documentation updates.
4016 2008-08-12 Alberto Garcia <agarcia@igalia.com>
4018 * debian/control: Depend on Gtk 2:2.12.9-0osso3
4020 * configure.ac: Require Gtk+ 2.12.9 at least
4022 2008-08-12 Alejandro G. Castro <alex@igalia.com>
4024 * src/hildon-pannable-area.c
4025 (hildon_pannable_area_scroll_indicator_fade),
4026 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
4027 to protect the return of this timeout callbacks, avoiding deadlocks.
4029 2008-08-12 Christian Dywan <christian@imendio.com>
4032 * src/hildon-*.h: Ensure a consistent include order,
4033 include <gtk/gtk.h> instead of particular files and
4034 only include the topmost header in the gtk stack. See NB #39857
4036 2008-08-12 Christian Dywan <christian@imendio.com>
4038 * src/hildon-picker-dialog.c
4039 * src/hildon-touch-selector.c: Fix warnings about unused and
4040 uninitialized variables.
4042 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4044 * examples/Makefile.am
4045 * examples/hildon-check-button-example.c: Example of the hildon
4048 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4050 * src/hildon-window.h
4051 * src/hildon-window.c (hildon_window_class_init)
4052 (hildon_window_unset_program): Don't make
4053 hildon_window_unset_program a virtual function anymore.
4055 * src/hildon-stackable-window.c: Update documentation
4057 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4060 * doc/hildon-docs.sgml
4061 * doc/visual_index.xml
4062 * src/hildon-defines.c
4064 * src/hildon-helper.c
4065 * src/hildon-range-editor.c: Lots of documentation fixes.
4067 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4069 * examples/hildon-picker-button-multicolumn-example.c
4070 (create_touch_selector): Fix compilation warning.
4072 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4075 (hildon_pannable_area_button_release_cb)
4076 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4078 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4080 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4083 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4085 * src/hildon-bread-crumb-trail.h
4086 * src/hildon-date-editor.c
4087 * src/hildon-date-selector.c
4088 * src/hildon-pannable-area.c
4089 * src/hildon-picker-dialog.c
4090 * src/hildon-time-selector.c
4091 * src/hildon-touch-selector-entry.c
4092 * src/hildon-touch-selector.c
4093 * src/hildon-touch-selector.h: Misc documentation fixes
4095 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4097 * examples/hildon-date-editor-example.c (main): Updated date
4100 * examples/hildon-note-example.c (on_confirmation_clicked):
4101 Updated confirmation note example.
4103 * src/hildon-date-editor.c
4104 * src/hildon-note.c: Updated sample programs in documentation.
4107 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4109 * src/hildon-date-button.h:
4110 * src/hildon-picker-button.h:
4111 * src/hildon-time-button.c:
4112 * src/hildon-time-button.h:
4114 Some declarations changes to allow gtk-doc to document the widgets
4117 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-date-button.c: Document the widget.
4120 * src/hildon-time-button.c: Document the widget.
4122 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/hildon-picker-button.c: Document the widget.
4125 * src/hildon-touch-selector-entry.c: Document the widget.
4127 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4129 * doc/hildon-docs.sgml
4132 * src/hildon-check-button.h
4133 * src/hildon-check-button.c: New functions to create the Hildon
4137 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4139 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4141 * src/hildon-button.h
4142 * src/hildon-button.c
4143 (hildon_button_add_title_size_group)
4144 (hildon_button_add_value_size_group)
4145 (hildon_button_add_image_size_group)
4146 (hildon_button_add_size_groups): New functions to set size groups
4147 for the button labels and image.
4148 (hildon_button_new_full): Removed
4150 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4152 * src/hildon-time-selector.c
4153 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4154 in order to avoid a crash if gconf is not available
4156 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4158 * src/hildon-button.c (hildon_button_set_arrangement)
4159 (hildon_button_construct_child): Don't construct the button child
4160 before setting the arrangement.
4162 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4164 * src/hildon-program-private.h
4165 * src/hildon-program.c
4166 * src/hildon-program.h
4167 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4168 (hildon_program_peek_window_stack)
4169 (hildon_program_pop_window_stack)
4170 (hildon_program_go_to_root_window): HildonProgram now has a
4171 separate list for stackable windows. Functions are provided to
4172 manage that list with a stack-like API.
4174 * src/hildon-stackable-window.c: Stackable window management is
4175 now much simpler with the new HildonProgram API. Windows no
4176 longer need to be manually added to the program, they're
4177 automatically pushed to the top of the stack when shown.
4179 * examples/hildon-stackable-window-example.c: Updated example to
4180 reflect the API changes.
4182 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4184 * src/hildon-touch-selector.c: Comment out unimplemented
4185 hildon_touch_selector_insert_column() to avoid a compile warning.
4187 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4189 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4190 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4191 (hildon_touch_selector_set_column_selection_mode),
4192 (_hildon_touch_selector_set_model),
4193 (hildon_touch_selector_set_model):
4195 Complete review of HildonTouchSelector documentation.
4197 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4199 * doc/hildon-docs.sgml
4203 * src/hildon-gtk.c: Convenience functions for standard Gtk
4204 widgets, used to easily perform frequent operations.
4206 * src/hildon-button-helpers.h
4207 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4209 * src/hildon-helper.h
4210 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4211 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4213 * src/hildon-button.h
4214 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4216 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4218 * src/hildon-button.c (hildon_button_init)
4219 (hildon_button_set_arrangement, hildon_button_construct_child):
4220 Pack the image and the labels inside the same GtkAlignment so
4221 gtk_button_set_alignment() can be used
4223 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4225 * src/hildon-button.h
4226 * src/hildon-button.c
4227 (hildon_button_init, hildon_button_set_image)
4228 (hildon_button_set_image_position)
4229 (hildon_button_construct_child): New functions to add an image to
4232 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4234 * src/hildon-date-button.c
4235 * src/hildon-picker-button.c
4236 * src/hildon-time-button.c
4237 * src/hildon-button.c:
4238 (hildon_button_class_init): "size-flags" renamed to "size"
4239 (hildon_button_set_title): Hide the title label if set to NULL.
4241 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4243 HildonButtonFlags split into HildonButtonArrangement (to set the
4244 button layout) and HildonSizeType (which can be used for any
4247 * src/hildon-button.h
4248 * src/hildon-button.c
4249 (hildon_button_class_init)
4250 (hildon_button_set_arrangement)
4251 (hildon_button_set_property): New "size-flags"
4252 property. "arrangement-flags" renamed to "arrangement".
4253 (hildon_button_new, hildon_button_new_with_text)
4254 (hildon_button_new_full): Constructors updated to reflect type changes.
4256 * src/hildon-helper.h
4257 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4258 to set the size of a widget.
4262 * src/hildon-button-helpers.c
4263 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4265 * src/hildon-date-button.c
4266 * src/hildon-date-button.h
4267 * src/hildon-picker-button.c
4268 * src/hildon-picker-button.h
4269 * src/hildon-time-button.c
4270 * src/hildon-time-button.h: Updated widgets to reflect
4271 HildonButton API changes.
4273 * examples/hildon-button-example.c
4274 * examples/hildon-date-button-example.c
4275 * examples/hildon-picker-button-example.c
4276 * examples/hildon-picker-button-multicolumn-example.c
4277 * examples/hildon-time-button-example.c
4278 * examples/hildon-touch-selector-entry-example.c
4279 * examples/hildon-touch-selector-example.c: Updated examples to
4280 reflect HildonButton API changes.
4282 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4284 * doc/hildon-docs.sgml:
4286 * examples/Makefile.am:
4287 * examples/hildon-touch-selector-entry-example.c:
4289 * src/hildon-touch-selector-entry.c:
4290 * src/hildon-touch-selector-entry.h:
4293 Moved HildonTouchSelectorEntry from sandbox. Added its
4294 documentation and examples.
4296 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4298 * src/hildon-touch-selector.h:
4299 * examples/hildon-picker-button-multicolumn-example.c:
4300 (hildon_touch_selector_append_text_column): Add a gboolean
4301 parameter to determine if text must be centered in the column.
4303 * src/hildon-date-selector.c: (hildon_date_selector_init):
4304 * src/hildon-time-selector.c: (hildon_time_selector_init):
4305 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4306 (create_touch_selector): Update widgets and example to reflect
4309 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4311 * src/hildon-touch-selector.c:
4312 (hildon_touch_selector_set_active_iter): Set also the cursor in
4315 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4317 * doc/hildon-docs.sgml
4320 * src/hildon-toggle-button.c
4321 * src/hildon-toggle-button.h
4322 * src/hildon.h: Removed HildonToggleButton widget, a derived
4323 class is not necessary for this.
4325 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4327 * src/hildon-pannable-area.c,
4328 (hildon_pannable_area_realize),
4329 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4332 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4335 "done" button the default widget for the dialog.
4337 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4339 * src/hildon-touch-selector.c:
4340 (hildon_touch_selector_class_init),
4341 (hildon_touch_selector_get_property),
4342 (_hildon_touch_selector_set_model),
4343 (_hildon_touch_selector_has_multiple_selection),
4344 (hildon_touch_selector_has_multiple_selection):
4345 Add a "has-multiple-selection" property with a virtual
4346 has_multiple_selection() method to allow derived classes to
4347 override the default value for it. See the method and property
4348 documentation for details.
4350 * src/hildon-touch-selector.h: Add the new API.
4352 * src/hildon-picker-dialog.c: (requires_done_button): Call
4353 hildon_touch_selector_has_multiple_selection() instead of
4354 determining the need for a button itself.
4356 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4358 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4359 (_hildon_touch_selector_set_model),
4360 (hildon_touch_selector_set_model): Move working code to
4361 _hildon_touch_selector_set_mode(). Call the class method instead.
4363 * src/hildon-touch-selector.h: Add (*set_model) to
4364 HildonTouchSelectorClass.
4366 Make hildon_touch_selector_set_model() a virtual method, so that
4367 derived classes can extend it and do fancy stuff with the model.
4369 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4371 * configure.ac: Set back the tarname in AC_INIT to hildon.
4373 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4377 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4378 instead of libesd (NB#86876). Volume handling is still an open issue.
4380 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4383 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4385 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4386 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4387 derived class to ease placement of an entry widget in
4388 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4389 end, where the selector columns are packed now.
4391 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-picker-button.c: Removed the simple _text() API.
4394 * src/hildon-picker-button.h: Likewise.
4396 * src/hildon-touch-selector.h:
4397 * src/hildon-touch-selector.c:
4398 (hildon_touch_selector_new_text),
4399 (hildon_touch_selector_append_text),
4400 (hildon_touch_selector_prepend_text),
4401 (hildon_touch_selector_insert_text):
4403 Moved the simple _text() API from HildonPickerButton to
4404 HildonTouchPicker, to provide better escalability and not to tie
4405 that API to HildonPickerButton.
4407 * examples/hildon-picker-button-example.c: (main): Example updated.
4409 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4411 * src/hildon-button.c: Updated documentation.
4413 * examples/hildon-button-example.c: Add the posibility to create
4414 the buttons using horizontal layout for title and value.
4416 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4418 * src/hildon-app-menu-private.h
4419 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4420 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4421 GtkSizeGroup for the filters, use the 'homogeneous' property of
4424 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4426 * examples/hildon-button-example.c: Updated example.
4428 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4430 * doc/hildon-docs.sgml:
4433 Update documentation.
4435 * examples/Makefile.am: Update renamed examples.
4437 * examples/hildon-picker-button-multicolumn-example.c:
4438 (create_touch_selector), (main): Update after the rename.
4440 * examples/hildon-touch-picker-example.c: Removed.
4441 * examples/hildon-touch-selector-example.c: (value_changed),
4442 (create_selector), (get_visible_content), (main): Renamed from
4443 hildon-touch-picker-example.c
4445 * src/Makefile.am: Updated renamed files.
4447 * src/hildon-date-button.c: (hildon_date_button_init),
4448 (hildon_date_button_get_date), (hildon_date_button_set_date):
4449 * src/hildon-date-selector.c: (hildon_date_selector_init),
4450 (_custom_print_func), (_update_day_model),
4451 (_manage_selector_change_cb),
4452 (hildon_date_selector_select_current_date),
4453 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4454 * src/hildon-date-selector.h:
4455 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4456 (hildon_picker_button_set_property),
4457 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4458 (hildon_picker_button_init), (hildon_picker_button_new_text),
4459 (hildon_picker_button_append_text),
4460 (hildon_picker_button_prepend_text),
4461 (hildon_picker_button_insert_text),
4462 (hildon_picker_button_set_selector),
4463 (hildon_picker_button_get_selector):
4464 * src/hildon-picker-button.h:
4465 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4466 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4467 (_update_title_on_selector_changed_cb), (requires_done_button),
4468 (_hildon_picker_dialog_set_selector),
4469 (hildon_picker_dialog_set_selector),
4470 (hildon_picker_dialog_get_selector):
4471 * src/hildon-picker-dialog.h:
4472 * src/hildon-time-button.c: (hildon_time_button_init),
4473 (hildon_time_button_get_time), (hildon_time_button_set_time):
4474 * src/hildon-time-selector.c: (hildon_time_selector_init),
4475 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4476 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4477 * src/hildon-time-selector.h:
4480 Massive code updates after the rename.
4482 * src/hildon-touch-picker.c: Removed.
4483 * src/hildon-touch-picker.h: Removed.
4485 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4486 (hildon_touch_selector_init), (hildon_touch_selector_map),
4487 (hildon_touch_selector_remove), (_default_print_func),
4488 (_selection_changed_cb), (_create_new_column),
4489 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4490 (hildon_touch_selector_append_text_column),
4491 (hildon_touch_selector_remove_column),
4492 (hildon_touch_selector_set_column_attributes),
4493 (hildon_touch_selector_insert_column),
4494 (hildon_touch_selector_get_num_columns),
4495 (hildon_touch_selector_get_column_selection_mode),
4496 (hildon_touch_selector_set_column_selection_mode),
4497 (hildon_touch_selector_set_print_func),
4498 (hildon_touch_selector_get_print_func),
4499 (hildon_touch_selector_get_active_iter),
4500 (hildon_touch_selector_set_active_iter),
4501 (hildon_touch_selector_get_selected_rows),
4502 (hildon_touch_selector_get_model),
4503 (hildon_touch_selector_set_model),
4504 (hildon_touch_selector_get_current_text),
4505 (_hildon_touch_selector_center_on_selected_items):
4506 * src/hildon-touch-selector.h: Renamed from
4507 hildon-touch-picker.[ch]
4509 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4510 references, code examples, and related documentation.
4512 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4514 * doc/hildon-docs.sgml
4517 * src/hildon-toggle-button.c
4518 * src/hildon-toggle-button.h
4519 * src/hildon.h: New HildonToggleButton widget.
4521 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4523 * src/hildon-button.c: Add API documentation.
4524 (hildon_button_set_size_groups): Check input parameters
4526 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4528 * src/hildon-pannable-area.c
4529 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4530 effect after reaching the movement thredshold. This way we start
4531 using the distance after passing the thredshold.
4533 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4535 * src/hildon-button.c: (hildon_button_set_property): Use the
4536 appropriate g_value_get_flags() method.
4538 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4540 * doc/hildon-docs.sgml:
4543 Add the touch pickers, picker dialogs, and picker button widgets
4544 to the documentation.
4546 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/hildon-button.c: (hildon_button_set_property),
4549 (hildon_button_class_init): Make "arrangement-flags" a proper
4550 G_TYPE_FLAGS derived property.
4552 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4554 * examples/Makefile.am: Add below examples.
4555 * examples/hildon-date-button-example.c:
4556 * examples/hildon-picker-button-example.c:
4557 * examples/hildon-picker-button-multicolumn-example.c:
4558 * examples/hildon-time-button-example.c:
4559 * examples/hildon-touch-picker-example.c:
4561 Add examples for the recently added touch pickers,
4562 picker dialogs, and picker button widgets.
4564 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4566 * src/hildon-button.c: Add some API documentation
4568 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4570 * src/hildon-button.h
4571 * src/hildon-button.c
4573 (hildon_button_new_with_text): New constructor to create a button
4574 with no text at all.
4575 (hildon_button_init, hildon_button_set_arrangement)
4576 (hildon_button_set_title, hildon_button_set_value)
4577 (hildon_button_set_text)
4578 (hildon_button_construct_child): Hide the value when it's not used
4579 so the rest of the text is properly aligned.
4580 Allow creating buttons with arbitrary widgets inside (not just
4581 title/value labels).
4583 * examples/hildon-button-example.c (vertical_buttons_window)
4584 (horizontal_buttons_window): Update example to use new API.
4586 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/Makefile.am: Added HildonTimeButton.
4589 * src/hildon-time-button.c: Added missing LGPL header.
4590 * src/hildon-time-button.h: Added missing LGPL header.
4591 * src/hildon.h: Add hildon-time-button.h
4593 Copied HildonTimeButton from sandbox to trunk. Future work on this
4594 widget must take place in trunk.
4596 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4598 * src/Makefile.am: Added HildonDateButton.
4599 * src/hildon-date-button.c: Update includes.
4600 * src/hildon.h: Add hildon-date-button.h
4602 Copied HildonDateButton from sandbox to trunk. Future work on this
4603 widget must take place in trunk.
4605 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4607 * src/Makefile.am: Added HildonPickerButton.
4608 * src/hildon-picker-button.h: Update includes.
4609 * src/hildon.h: Add hildon-picker-button.h
4611 Copied HildonPickerButton from sandbox to trunk. Future work on
4612 this widget must take place in trunk.
4614 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4616 * src/Makefile.am: Added HildonPickerDialog.
4617 * src/hildon-picker-dialog.c: Update includes.
4618 * src/hildon.h: Add hildon-picker-dialog.h
4620 Copied HildonPickerDialog from sandbox to trunk. Future work
4621 on this widget must take place in trunk.
4623 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4625 * src/Makefile.am: Added HildonTimeSelector.
4626 * src/hildon.h: Add hildon-time-selector.h
4628 Copied HildonTimeSelector widget from sandbox to trunk. Future
4629 work on this widget must happen in trunk.
4631 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4633 * src/Makefile.am: Added HildonDateSelector.
4634 * src/hildon.h: Add hildon-date-selector.h
4636 Copied HildonDateSelector widget from sandbox to trunk. Future
4637 work on this widget must happen in trunk.
4639 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4641 * src/Makefile.am: Added HildonTouchPicker.
4642 * src/hildon-touch-picker.c: Update includes.
4643 * src/hildon.h: Add hildon-touch-picker.h
4645 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4646 on this widget must happen in trunk.
4648 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4650 * src/hildon-pannable-area.c:
4651 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4653 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4655 * examples/hildon-app-menu-example.c (main): Let the window
4658 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4660 * src/hildon-pannable-area.c
4661 (hildon_pannable_area_class_init): Set the min value of the
4662 overshoot properties to zero, which points out that not
4663 overshooting allowed.
4665 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4667 Modified the procedure to get the widget at a point inside the
4668 pannable area when using the movement type signals. Now the user
4669 has to call a function to get the child, that way we just
4670 calculate the child in case the user really want to use it and not
4673 * src/hildon-marshalers.list: Modified the marshallers, now we do
4674 not have the widget as a parameter.
4676 * src/hildon-pannable-area.c
4677 (hildon_pannable_area_motion_notify_cb),
4678 (hildon_pannable_area_class_init),
4679 (hildon_pannable_get_child_widget_at): Removed the widget
4680 parameter from the signal callback. We have also refactored the
4681 emission of the signals.
4683 * src/hildon-pannable-area.h: Added a new method to the API to
4684 calculate a widget at a point inside the pannable area,
4685 hildon_pannable_get_child_widget_at.
4687 * examples/hildon-pannable-area-example-4.c
4688 (horizontal_movement): Modified the example to use the new API,
4689 added condition to control which widget is under the event. This
4690 way we can avoid scrolling laterally over other widgets.
4692 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4694 * src/hildon-pannable-area.c
4695 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4696 modes, we stop getting the pointer events due to returning the
4697 callback without properly calling the get pointer again. Fixed
4698 also an error using the hscroll and vscroll.
4700 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4702 * src/hildon-app-menu-private.h
4703 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4704 (hildon_app_menu_button_release, hildon_app_menu_init)
4705 (hildon_app_menu_class_init): Don't hide the menu on button
4706 release if the user didn't press outside first.
4708 * src/hildon-window.h
4709 * src/hildon-window.c (hildon_window_toggle_menu)
4710 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4711 hildon_window_toggle_menu a virtual function for the stackable
4712 window to override it.
4714 * src/hildon-stackable-window.h
4715 * src/hildon-stackable-window-private.h
4716 * src/hildon-stackable-window.c
4717 (hildon_stackable_window_realize)
4718 (hildon_stackable_window_finalize)
4719 (hildon_stackable_window_class_init)
4720 (hildon_stackable_window_init)
4721 (hildon_stackable_window_set_main_menu): New function to set the
4722 app menu of a HildonStackableWindow.
4724 * examples/hildon-app-menu-example.c: Remove the button to show
4725 the app menu, now it'll be shown when clicking on the title bar
4728 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4730 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4731 set the widget name if the arrangement flags do not specify
4734 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-button.c: (hildon_button_set_property),
4737 (hildon_button_class_init), (hildon_button_new_full),
4738 (hildon_button_set_arrangement): Added "arrangement-flags"
4741 Make the HildonButtonFlags a construction-only property, to allow
4742 subclasses to set them properly.
4744 2008-07-21 Tim Janik <timj@imendio.com>
4746 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4747 insertion position after backspace, so additional digits are appended,
4750 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4752 * src/hildon-pannable-area.c,
4753 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4754 TODO list, it was complete and removed the g_debug and g_print
4757 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4759 Added the movement modes to the hildon-pannable-area, with this
4760 modes the developers can control in which directions the widget
4761 can scroll. They can also connect to signals in order to do
4762 something when that happens, allowing applications scroll. There
4763 is an example uploaded showing how to use it.
4765 * examples/Makefile.am:
4766 * examples/hildon-pannable-area-example-4.c: Added this example of
4767 an application using the modes.
4769 * src/hildon-marshalers.list: Added a new marshaller for the new
4772 * src/hildon-pannable-area.h: Added new enumerations and flags in
4773 order to control the movement modes and the new signals to warn
4774 about the movements in the area.
4776 * src/hildon-pannable-area.c:
4777 (hildon_pannable_axis_scroll),
4778 (hildon_pannable_area_scroll),
4779 (hildon_pannable_area_motion_notify_cb),
4780 (hildon_pannable_area_get_property),
4781 (hildon_pannable_area_set_property),
4782 (hildon_pannable_area_map),
4783 (hildon_pannable_area_class_init),
4784 (hildon_pannable_area_init),
4785 (hildon_pannable_area_jump_to): Added the modes to control the
4786 movement in the widget. We have added properties to control it,
4787 signals to warn about the movements and refactored some code.
4789 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4791 Changes required in order to allow vfast_factor set to zero to
4794 * src/hildon-pannable-area.c:
4795 (hildon_pannable_area_button_press_cb): Changed the condition, it
4796 is required for not allowing click when vfast_factor is zero.
4797 (hildon_pannable_area_timeout): Initialized velocity variables
4798 when we stop moving, it was less than 1 but not zero and we need
4799 to check zero in some situations.
4800 (hildon_pannable_area_class_init): Changed the default value of
4801 the speed factor, now the button_press is just sent in case the
4802 speed is 2 per cent of the max speed.
4803 (hildon_pannable_area_init): Initialization with 0.
4805 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4807 * src/hildon-pannable-area.c,
4808 (hildon_pannable_area_get_topmost): replaced
4809 gdk_window_get_children with gdk_window_peek_children, this way we
4810 do not have to free the list because it is not a copy.
4812 (hildon_pannable_axis_scroll),
4813 (hildon_pannable_area_scroll),
4814 (hildon_pannable_area_timeout),
4815 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4816 two parameters that were only used inside the
4817 hildon_pannable_area_scroll function.
4819 * examples/hildon-pannable-area-example.c,
4820 (get_sawtooth_label): Fixed small memory leak.
4822 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4824 More checks for the case where the overshoot is bigger than the
4827 * src/hildon-pannable-area.c:
4828 (hildon_pannable_draw_vscroll),
4829 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4830 to draw the slider of the scrollbar under the other scrollbar.
4831 (hildon_pannable_area_expose_event): added new checks to control
4832 the drawing of the overshooting area rectangle, in case it is too
4833 big for the area of the widget.
4834 (hildon_pannable_area_size_allocate): add more checks to avoid
4835 setting a position to the child widget outside the area.
4837 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4839 * src/hildon-pannable-area.c
4840 (hildon_pannable_area_size_allocate): Added conditions to control
4841 when overshooting is bigger than the allocated space for the
4842 children, this avoids negative allocations.
4844 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4846 * doc/hildon-docs.sgml
4848 * examples/Makefile.am
4849 * examples/hildon-button-example.c
4851 * src/hildon-button.c
4852 * src/hildon-button.h
4853 * src/hildon.h: Initial version of the new HildonButton widget,
4856 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4858 * src/hildon-pannable-area.c:
4859 (hildon_pannable_area_button_press_cb),
4860 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4861 (hildon_pannable_area_motion_notify_cb),
4862 (hildon_pannable_area_button_release_cb),
4863 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4864 (hildon_pannable_area_jump_to_child):
4866 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4868 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4870 * examples/Makefile.am
4871 * examples/hildon-pannable-area-touch-grid-example.c
4872 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4873 the Hildon Touch List and Hildon Touch Grid using the
4874 HildonPannableArea widget.
4876 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4878 * src/hildon-pannable-area.c,
4879 (hildon_pannable_area_button_press_cb),
4880 (hildon_pannable_area_refresh),
4881 (hildon_pannable_area_scroll),
4882 (hildon_pannable_area_motion_notify_cb),
4883 (hildon_pannable_area_button_release_cb),
4884 (hildon_pannable_area_expose_event),
4885 (hildon_pannable_area_add),
4886 (hildon_pannable_area_remove),
4887 (hildon_pannable_area_realize),
4888 (hildon_pannable_area_size_allocate),
4889 (hildon_pannable_area_class_init),
4890 (hildon_pannable_area_init),
4891 (hildon_pannable_area_scroll_to_child),
4892 (hildon_pannable_area_jump_to_child): Fixed the problem of
4893 removing the child from the GtkBin, we have rearranged the widget
4894 hierarchy, now there is no GtkAlignment which was not doing
4895 anything interesting but breaking some of the assumptions of
4896 GtkContainer. Now developers if they want to add a GtkAlignment
4897 they could, but it is not inside the area.
4899 We had to review the whole allocation/expose process, now it is
4900 improved and we save at least three signals which would be saving
4901 some time when rendering the widget. The allocation of the
4902 scrollbars is now made in the allocate method as usual.
4904 We have also added some conditions in order to control when there
4905 is no child of the pannable area. Maybe we will need more work
4908 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4910 * src/hildon-pannable-area.c,
4911 (hildon_pannable_area_dispose): Released the fade-out timeout when
4912 disposing the widget.
4914 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4916 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4917 zero, we are going to use that property in order to deactivate the
4919 (hildon_pannable_axis_scroll),
4920 (hildon_pannable_area_size_allocate): Added conditions to control
4921 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4922 call, now it is called in all situations and we can remove calls
4923 in the allocate method.
4924 (hildon_pannable_area_map): Control the situation when
4925 overshoot_max is zero, we do not need the timeout.
4926 (hildon_pannable_area_class_init): Added documentation in order to
4927 point out that setting zero to overshoot_max means deactivate
4930 NOTE: removed trailing whitespaces from my previous comments of
4933 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-pannable-area.c
4936 (hildon_pannable_area_get_property),
4937 (hildon_pannable_area_set_property),
4938 (hildon_pannable_area_map),
4939 (hildon_pannable_area_class_init),
4940 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4941 to cause the widget give a hint about its panning abilities upon
4944 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4946 * src/hildon-pannable-area.c: Several documentation improvements.
4948 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4950 * src/hildon-program.c
4951 * src/hildon-stackable-window.c: Update documentation.
4953 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4955 * src/hildon-stackable-window.c (get_previous_window_if_last):
4956 Renamed get_last_window()
4957 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4958 (hildon_stackable_window_unset_program):
4960 (get_previous_window_if_last):
4961 Detect if the window hasn't been added to a HildonProgram.
4963 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4965 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4967 * src/hildon-pannable-area.c
4968 (hildon_pannable_area_button_press_cb),
4969 (hildon_pannable_axis_scroll),
4970 (hildon_pannable_area_scroll),
4971 (hildon_pannable_area_timeout),
4972 (hildon_pannable_calculate_vel_factor),
4973 (hildon_pannable_area_get_property),
4974 (hildon_pannable_area_set_property),
4975 (hildon_pannable_area_class_init),
4976 (hildon_pannable_area_init),
4977 (hildon_pannable_area_scroll_to),
4978 (hildon_pannable_area_jump_to),
4979 (hildon_pannable_area_scroll_to_child),
4980 (hildon_pannable_area_jump_to_child):
4981 * src/hildon-pannable-area.h: Added the new API functions:
4982 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4983 hildon_pannable_area_scroll_to_child,
4984 hildon_pannable_area_jump_to_child
4987 * examples/Makefile.am
4988 * examples/hildon-pannable-area-example-2.c
4989 * examples/hildon-pannable-area-example-3.c: Added these two new
4990 examples in order to test and show how the new APIs work.
4992 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4994 * examples/hildon-stackable-window-example.c (new_window):
4995 * src/Makefile.am (noinst_HEADERS):
4996 * src/hildon-program.c (hildon_program_go_to_root_window):
4997 * src/hildon-program.h:
4998 * src/hildon-stackable-window-private.h:
4999 * src/hildon-stackable-window.c:
5000 * src/hildon-stackable-window.h:
5001 Create hildon-stackable-window-private.h
5002 Move hildon_stackable_window_go_to_root_window() to HildonProgram
5004 * examples/hildon-app-menu-example.c (create_menu):
5005 * examples/hildon-hvolumebar-insensitive-example.c (main):
5006 * examples/hildon-hvolumebar-timer-example.c (on_idle):
5007 * examples/hildon-toolbar-seekbar-example.c (main):
5008 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
5009 * src/hildon-banner.c (hildon_banner_set_property):
5010 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
5011 Fix compilation warnings
5013 * src/hildon-window.c:
5016 2008-06-24 Alberto Garcia <agarcia@igalia.com>
5018 * src/hildon-stackable-window.c
5019 (hildon_stackable_window_unset_program):
5020 Calculate correctly whether to show the previous window if the
5021 last one is removed from the stack.
5022 (hildon_stackable_window_go_to_root_window):
5023 Send delete events starting from the topmost window.
5024 Stop if one of the windows is not destroyed.
5026 (hildon_stackable_window_delete_event)
5027 (hildon_stackable_window_class_init):
5028 Ignore the delete event if the window is not the topmost one.
5030 2008-06-24 Alejandro G. Castro <alex@igalia.com>
5032 * src/hildon-pannable-area.c
5033 (hildon_pannable_area_expose_event): Fixed a problem when
5034 selecting the background color of the scrollbars.
5036 2008-06-23 Alberto Garcia <agarcia@igalia.com>
5038 * examples/hildon-stackable-window-example.c
5039 * src/hildon-stackable-window.c
5040 * src/hildon-stackable-window.h
5041 hildon_stackable_window_go_home() renamed to
5042 hildon_stackable_window_go_to_root_window()
5043 Send delete events to windows rather than closing them with
5044 gtk_widget_destroy()
5046 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5048 * src/hildon-pannable-area.c
5049 (hildon_pannable_area_button_release_cb): Fix overshooting in
5052 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5054 * src/hildon-pannable-area.c
5055 (hildon_pannable_area_init): Initially show the scroll indicators.
5056 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5058 Add initial effect showing the widget is pannable.
5060 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5062 * src/hildon-pannable-area.c
5063 (hildon_pannable_area_class_init)
5064 (hildon_pannable_area_set_property)
5065 (hildon_pannable_area_get_property)
5066 (hildon_pannable_area_button_press_cb):
5067 New 'velocity_fast_factor' property to decide which velocity is
5070 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5072 * src/hildon-pannable-area.c
5073 (hildon_pannable_draw_hscroll)
5074 (hildon_pannable_draw_vscroll):
5075 Use float variables to calculate the size of the scrollbars to
5076 avoid error propagation and resizing during scrolling.
5078 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5080 * src/hildon-pannable-area.c
5081 (hildon_pannable_draw_vscroll)
5082 (hildon_pannable_draw_hscroll):
5083 Define a minimum size for the scroll bars
5085 * src/hildon-stackable-window.c
5086 (hildon_stackable_window_go_home): Fix compilation warning
5087 (get_last_window): Minor optimizations
5088 (hildon_stackable_window_class_init): Fix initialization of
5091 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5093 * src/hildon-stackable-window.c: Fixed typos in doc
5095 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5097 * src/hildon-pannable-area.c
5098 (hildon_pannable_area_scroll):
5099 Calculate here whether we need to scroll instead of using the booleans
5100 that tell us whether to /draw/ the scrolling bars.
5102 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5104 * src/hildon-app-menu.h
5106 * src/hildon-app-menu.c
5107 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5108 multiple filter groups related code and API. Now we support only
5110 * examples/hildon-app-menu-example.c:
5112 Update to reflect API changes.
5114 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5116 * src/hildon-stackable-window.c
5117 (hildon_stackable_window_class_init):
5118 Add hildon_stackable_window_realize.
5119 (hildon_stackable_window_realize):
5120 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5121 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5122 to apply theming and behavior specific to HildonStackableWindow
5125 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5127 * src/hildon-note.c (hildon_note_button_release):
5128 Close information notes also when tapping on them
5130 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5132 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5133 ELASTICITY, refactor and review, fix some issues with drawing
5136 * src/hildon-pannable-area.c:
5137 (hildon_pannable_area_button_press_cb): removed the conditions to
5138 avoid clicks when overshooting. It is not required
5140 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5141 define. Refatored and reviewed the code, now we do not need to
5142 manage velocity in motion_notify.
5144 (hildon_pannable_area_motion_notify_cb): We have moved the code
5145 that controls the area_scroll to the axis_scroll function and get
5146 rid of duplicated code.
5148 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5150 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5152 (hildon_pannable_draw_vscroll),
5153 (hildon_pannable_draw_hscroll): Fixed the problems with the
5154 scrollbar drawing, now we do not use two surfaces, it is easier
5155 and saves resources.
5157 (hildon_pannable_area_get_property): Style modification.
5159 (hildon_pannable_area_class_init): Changed some default values.
5161 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5163 * src/hildon-stackable-window.c: Fix some typos in the
5166 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5168 * src/hildon-dialog.c:
5169 Change indentation style
5172 (hildon_note_button_release):
5173 Use root coordinates to check if the release event happened
5176 * src/hildon-app-menu.c
5177 (hildon_app_menu_button_release):
5178 Remove unnecessary check
5180 * examples/hildon-app-menu-example.c
5182 Add cast to fix warning
5184 * src/hildon-app-menu.c
5185 (hildon_app_menu_class_init):
5186 New inner-border style property.
5187 Set all default spacings to 16
5188 (hildon_app_menu_init):
5189 Use vertical-spacing to set the space between filter buttons and
5190 regular menu buttons.
5191 Set the default container border using the inner-border value.
5193 * examples/hildon-app-menu-example.c
5195 Don't set the menu border explicitly, now we have the inner-border
5196 style property for that.
5198 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5200 * src/hildon-app-menu.c (hildon_app_menu_init):
5201 Make the window modal
5203 * src/hildon-note.c (hildon_note_map)
5204 * src/hildon-app-menu.c (hildon_app_menu_map):
5205 Destroy the grab window if we're unable to grab the pointer
5207 * src/hildon-app-menu-private.h
5208 * src/hildon-app-menu.c
5209 (hildon_app_menu_init, hildon_app_menu_finalize)
5210 (hildon_app_menu_map, hildon_app_menu_unmap)
5211 (hildon_app_menu_button_release)
5212 (grab_transfer_window_get):
5213 Bring back the grab window
5214 (hildon_app_menu_realize):
5215 Decorate the window, set WM hint for Matchbox
5217 * src/hildon-note.c (hildon_note_realize):
5218 * src/hildon-banner.c (hildon_banner_realize):
5219 Add WM hints for Matchbox
5221 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5223 * src/hildon-app-menu-private.h
5224 * src/hildon-app-menu.c
5225 (hildon_app_menu_init, hildon_app_menu_finalize)
5226 (hildon_app_menu_map, hildon_app_menu_unmap)
5227 (hildon_app_menu_button_release):
5228 Remove the grab window, it's not needed anymore
5230 * src/hildon-program.c
5231 Fixed typo in documentation
5233 * src/hildon-app-menu.h
5234 * src/hildon-app-menu.c
5235 * examples/hildon-app-menu-example.c
5236 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5238 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5241 Added new transfer_window and close_if_pressed_outside private
5243 (hildon_note_rebuild):
5244 Don't add a cancel button to the information note. It will be
5245 closed when tapping outside
5246 Remove the comment about the OK button in the documentation
5247 (hildon_note_realize):
5248 Set the notification type hint
5249 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5250 Grab/ungrab pointer and keyboard if the note has to be closed when
5252 (hildon_note_button_release):
5253 Close the note when tapping outside (if applicable)
5255 * src/hildon-app-menu.c
5256 Grab/ungrab pointer and keyboard on map/unmap
5257 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5258 Close the menu on button release, not button press
5260 * src/hildon-banner.c
5261 (hildon_banner_set_property)
5262 (hildon_banner_check_position):
5263 Make the banner use the full width of the screen
5264 (hildon_banner_show_information)
5265 (hildon_banner_show_information_with_markup):
5266 Don't display an icon by default
5268 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5270 Added fading scrollbars and adapted all the overshooting code to
5271 horizontal scrolling. We have also fixed bugs with overshooting
5272 and current fading implementation.
5274 * src/hildon-pannable-area.c
5275 (hildon_pannable_area_scroll_indicator_fade): Time out function
5276 used to change the transparency of the scrollbars.
5278 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5279 control and fixed a problem with fading, we now remove the fade
5280 timeout before adding a new one.
5282 (hildon_pannable_axis_scroll):
5283 (hildon_pannable_area_scroll):
5284 (hildon_pannable_area_timeout): Added this functions so we can use
5285 the scroll code both for vertical and horizontal.
5287 (hildon_pannable_area_motion_notify_cb):
5288 (hildon_pannable_area_button_release_cb): Added the horizontal
5289 scrolling control, fixed a problem with the overshooting timeout.
5291 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5292 painting of the scrolls.
5294 (hildon_pannable_draw_vscroll):
5295 (hildon_pannable_draw_hscroll):
5296 (hildon_pannable_area_expose_event):
5297 Draw both scrollbars and rectangles in the overshooting area.
5299 (hildon_pannable_area_get_property):
5300 (hildon_pannable_area_set_property):
5301 Modified the overshoot property to overshoot_max
5303 (hildon_pannable_area_map):
5304 Replaced the comments symbols.
5306 (hildon_pannable_area_size_allocate):
5307 (hildon_pannable_area_class_init):
5308 (hildon_pannable_area_init): Added horizontal scroll, fading
5309 effect properties, fixed a problem when overshooting in the bottom
5312 * examples/hildon-pannable-area-example.c:
5313 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5314 looks better in the example.
5316 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5318 * src/hildon-window.c
5319 * src/hildon-window.h
5320 (hildon_window_class_init)
5321 (hildon_window_unset_program)
5322 (hildon_window_unset_program_real):
5323 Make unset_program a virtual function
5325 * src/hildon-stackable-window.c
5326 * src/hildon-stackable-window.h
5327 Added hildon_stackable_window_go_home()
5329 * examples/Makefile.am
5330 * examples/hildon-stackable-window-example.c
5331 HildonStackableWindow example
5333 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5335 * hildon-pannable-area.c: Added the overshoot property and removed
5336 the OVERSHOOT define. Fixed an indent style error.
5337 (hildon_pannable_area_motion_notify_cb):
5338 (hildon_pannable_area_get_property):
5339 (hildon_pannable_area_set_property): Add overshoot property.
5341 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5344 (hildon_pannable_area_class_init): Installed the new property.
5346 * hildon-pannable-area-example.c: Added a sawtooth function, this
5347 way it is easier to check the movement in the pannable.
5348 (get_sawtooth_label): Added this function.
5349 (main): Now we get the labels from the new get_sawtooth_label
5352 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-app-menu.h
5355 * src/hildon-app-menu.c
5356 Renamed API variables for consistency
5358 (hildon_app_menu_popup): Use also the default window size to
5359 decide where to place the menu
5361 (hildon_app_menu_init, hildon_app_menu_class_init): New
5362 external-border style property
5364 2008-05-26 Michael Natterer <mitch@imendio.com>
5366 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5367 widget_class->tap_and_hold_setup signal slot doesn't exist any
5368 longer, stop overriding it.
5370 (hildon_time_editor_init): g_signal_connect() to the
5371 tap-and-hold-setup signal instead.
5373 (hildon_time_editor_entry_keypress): add cast to fix warning.
5375 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5377 * doc/hildon-docs.sgml
5379 * examples/Makefile.am
5380 * examples/hildon-app-menu-example.c
5382 * src/hildon-app-menu-private.h
5383 * src/hildon-app-menu.c
5384 * src/hildon-app-menu.h
5386 New HildonAppMenu widget
5388 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5390 Rearranged the inheritance of the pannable area, now it inherits
5391 from GtkBin. This will allow us to control the event_window and
5392 the allocation process of the widget, required for some effects.
5394 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5395 GtkBin structures. * src/hildon-pannable-area.c: Added the
5396 event_window variable.
5397 (hildon_pannable_area_button_press_cb):
5398 (hildon_pannable_area_button_release_cb):
5399 (hildon_pannable_area_motion_notify_cb):
5400 Changed the signature of the method, now we override the event
5401 callback instead of connecting to the signal.
5403 (hildon_pannable_area_realize):
5404 (hildon_pannable_area_unrealize):
5405 (hildon_pannable_area_map):
5406 (hildon_pannable_area_unmap):
5407 (hildon_pannable_area_size_allocate):
5408 Added functions to control the widget construction. We add a
5409 INPUT_ONLY window and we put it over the widgets inside the
5410 container, this event_window handles the events.
5412 (hildon_pannable_area_class_init):
5413 Replaced the signal connections with overrides of the event
5416 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5418 Bouncing effect added when touching the borders, you can change
5419 the elasticity of the border changing the ELASTICITY define.
5421 * src/hildon-pannable-area.c: Added ELASTICITY define.
5422 (hildon_pannable_area_timeout): Added inverse velocity when
5423 touching the border of the child widget, that causes a bounce.
5425 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5427 Improved performance, we now do not go to the X server in order to
5428 get the list of window children. Apparently the effect is the
5429 same, we have to be careful and check if this breaks something in
5432 * src/hildon-pannable-area.c:
5433 (get_ordered_children): Removed this function.
5434 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5435 the children windows function with gdk_window_get_children.
5437 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5439 * src/hildon-pannable-area.c:
5440 (hildon_pannable_area_dispose): Fixed a crash when closing the
5441 window and kinetics is activated.
5443 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5445 * src/hildon-pannable-area.h
5446 * src/hildon-pannable-area.c
5447 Changed indentation style to meet the one used in Hildon
5449 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5451 Reviewed the interaction of the AUTO mode, now we use the time
5452 attribute of the events and calculate the velocity in the motion,
5453 doing a gimp like calculation. The velocity is calculated in each
5454 motion event using the last velocity and the current one, the
5455 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5457 * src/hildon-pannable-area.c: Replaced the time based algorithm
5459 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5460 timeout for the AUTO mode when we are still moving the cursor. We
5461 added also the velocity calculation in this function.
5462 (hildon_pannable_area_button_release_cb): launch the timeout in
5463 case we are in AUTO mode. There are still some constants here that
5464 come from the old implementation that should be reviewed and
5467 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5469 * doc/hildon-docs.sgml
5472 * src/hildon-stackable-window.c
5473 * src/hildon-stackable-window.h
5475 New HildonStackableWindow widget
5477 * examples/hildon-dialog-example.c
5478 * examples/hildon-pannable-area-example.c
5481 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5483 * src/hildon-dialog.c
5484 (hildon_dialog_new_with_buttons): New constructor.
5486 * examples/hildon-dialog-example.c
5487 (main): Update the example to use the new
5488 hildon_dialog_new_with_buttons().
5490 * examples/hildon-pannable-area-example.c
5491 (main): Update example.
5493 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5495 * doc/hildon-docs.sgml
5497 Added HildonPannableArea to the documentation.
5499 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5501 * doc/visual_index.xml
5502 Fix reference to HildonLoginDialog in documentation
5504 * doc/hildon-docs.sgml
5506 * examples/Makefile.am
5507 * examples/hildon-dialog-example.c
5509 * src/hildon-dialog.c
5510 * src/hildon-dialog.h
5512 New HildonDialog widget.
5514 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5516 * src/hildon-pannable-area.c
5517 Merge latest changes (r4318, r4342) from libmokoui trunk
5519 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5521 * examples/Makefile.am
5522 * examples/hildon-pannable-area-example.c
5524 * src/hildon-pannable-area.c
5525 * src/hildon-pannable-area.h
5527 New HildonPannableArea widget.
5529 2008-04-15 18:05:19 <timj@imendio.com>
5531 * src/hildon-banner.c: revert the recent change, that introduced
5532 gtk_window_present() calls. this reopens:
5533 Bug 78481 - [freetest] information banners are hidden under browser menu
5534 But resolves another variant of:
5535 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5537 2008-04-15 13:21:13 <timj@imendio.com>
5539 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5540 recreated its layout, spotted by Kris. this fixes all remaining
5541 artefacts and stability issues with the banner code. in particular:
5542 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5544 2008-04-14 16:52:59 <timj@imendio.com>
5546 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5547 operating on unrealized widgets, fixes:
5548 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5550 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5552 2008-04-09 Kristian Rietveld <kris@imendio.com>
5554 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5555 makes banner disappear.
5556 Fixes: NB#79182: info banner flickering with certain message lengts.
5558 * src/hildon-banner.c (hildon_banner_constructor),
5559 (hildon_banner_init), (hildon_banner_set_text),
5560 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5561 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5562 FALSE, reset size requests of label and banner,
5563 (force_to_wrap_truncated): when the text is too wide, always enforce
5564 the maximum possible width instead of recalculating it from the
5565 layout; enforce the maximum banner height of 3 lines,
5566 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5567 nicer wrapping and no truncated chars if space gets tight.
5569 * src/hildon-banner-private.h: add has_been_wrapped and
5570 has_been_truncated fields.
5572 2008-04-07 Sven Herzberg <sven@imendio.com>
5574 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5575 local values in hildon_date_editor_size_allocate
5577 * src/hildon-date-editor.c: moved the real allocation code into the
5580 2008-04-07 Sven Herzberg <sven@imendio.com>
5582 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5583 local values in hildon_date_editor_size_allocate
5585 * src/hildon-date-editor.c: merged the two if() branches together
5587 2008-04-07 Sven Herzberg <sven@imendio.com>
5589 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5590 local values in hildon_date_editor_size_allocate
5592 * src/hildon-date-editor.c: changed the arguments of the if()
5595 2008-04-07 Sven Herzberg <sven@imendio.com>
5597 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5598 local values in hildon_date_editor_size_allocate
5600 * src/hildon-date-editor.c: split the calculation of the allocation
5601 from the real allocation
5603 2008-03-27 Michael Natterer <mitch@imendio.com>
5605 Fixes: NB#81696: The passcode is not overwritten even after
5608 * src/hildon-code-dialog.c
5609 (hildon_code_dialog_button_clicked)
5610 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5611 because that doesn't overwrite selected text. Instead, emit the
5612 "commit" signal on the entry's im_context so the entry's normal
5613 insert logic is triggered. Set the cursor to the end of the entry
5614 after each insert operation so that we *only* insert in the middle
5615 of the text if something was selected.
5617 2008-03-27 Michael Natterer <mitch@imendio.com>
5619 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5620 selector cannot be opened
5622 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5623 when the popup color selector is created. Please connect to this
5624 signal in order to set the dialog's help ID.
5626 2008-03-25 Sven Herzberg <sven@imendio.com>
5628 Fixes: MB#1212: Hide info banners (infoprints) on click
5630 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5631 extracted the close event simulation into an extra function
5632 (hildon_banner_button_press_event): simulate a close event and destroy
5633 the widget if the event wasn't handled
5634 (hildon_banner_class_init): added the button_press_event handler
5635 (hildon_banner_init): added button-press events to the widget
5637 2008-03-25 Sven Herzberg <sven@imendio.com>
5639 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5640 Patch from: Mohammad Anwari <mdamt@maemo.org>
5642 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5643 instead of the right in RTL mode
5644 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5645 breadcrumb button list in RTL mode
5646 * src/hildon-caption.c: mirror the appearance of the caption widget in
5648 * src/hildon-date-editor.c: mirror appearance of the date editor in
5650 * src/hildon-time-editor.c: mirror appearance of the time editor in
5652 * src/hildon-window.c: fix the position of the popup in RTL mode
5654 2008-03-25 Sven Herzberg <sven@imendio.com>
5656 Amendment to the fix of NB#22072. Fix compilation.
5658 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5660 2008-03-19 Sven Herzberg <sven@imendio.com>
5662 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5665 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5666 timeout id properly when the timeout will disappear this leaves no
5667 artifacts around in the destroy(); there will only be the timeout
5668 created by hildon_banner_ensure_timeout() and adding a new timeout
5669 will also work if the timeout gets removed because the timeout_handler
5672 2008-03-19 Michael Natterer <mitch@imendio.com>
5674 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5676 * src/hildon-volumebar.c
5677 * src/hildon-vvolumebar.c
5678 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5679 the widget becomes focussable at all.
5681 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5682 set the focus to wither the mute button or the volumebar.
5684 Remove own "can-focus" property and instead listen to
5685 notify::can-focus in order to update the widget's state.
5687 Implement GtkWidget::focus() and make sure we can also *leave* the
5688 widget, not only enter it, depending on volumebar orientation and
5689 requested focus direction.
5691 Clean up set_mute() to cooperate nicely with all the above.
5693 2008-03-04 Michael Natterer <mitch@imendio.com>
5695 Fixes: NB#78481: information banners are hidden under browser menu
5697 * src/hildon-banner.c: call gtk_window_present() on the banners so
5698 they are risen if they are already visible.
5700 2008-03-03 Sven Herzberg <sven@imendio.com>
5702 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5704 * examples/hildon-window-menu-example.c: (main): extended the window
5705 menu example to serve as a testcase for automatically added
5706 accelerator groups, too
5707 * src/hildon-window.c: (hildon_window_add_accel_group),
5708 (hildon_window_set_menu): added patch by Tommi Komulainen
5710 2008-03-03 Sven Herzberg <sven@imendio.com>
5712 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5714 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5715 knowledge about the border allocators used within GTK+
5717 2008-02-26 Sven Herzberg <sven@imendio.com>
5719 Fixes: MB#2981: Build with asserts broken
5721 * src/hildon-date-editor.c,
5722 * src/hildon-number-editor.c,
5723 * src/hildon-time-editor.c,
5724 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5725 the proper GType instance check
5727 2008-02-25 Sven Herzberg <sven@imendio.com>
5729 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5731 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5732 * examples/hildon-window-menu-example.c: (main): explicitly show
5734 * src/hildon-window.c:
5735 (hildon_window_set_main_menu): moved most of the code from set_menu()
5736 to this place; skipped the call to gtk_widget_show_all(); also didn't
5737 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5738 (hildon_window_set_menu): removed most of the code, just keep the
5739 questionable gtk_widget_show_all()
5740 * src/hildon-window.h: added the new function and deprecate the old
5743 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5749 * debian/changelog: Updating.
5751 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5754 * pkgconfig/Makefile.am:
5755 * pkgconfig/hildon.pc.in:
5758 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5759 use newly created API_MAJOR_VERSION.
5761 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5767 * debian/changelog: Updating.
5769 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5771 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5773 Add outer_border style property, we use it but don't define it (!).
5777 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5779 * examples/hildon-bread-crumb-trail-example.c (main):
5783 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5785 Fix logic for the bread crumb trail node removal.
5789 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5795 * debian/changelog: Updating.
5797 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5799 Patch by Alejandro to get/set passwords dialogs accesibility.
5801 * hildon-1/src/hildon-get-password-dialog.c:
5802 * hildon-1/src/hildon-set-password-dialog.c:
5803 Set atk_set_name to the passwd entries in order to allow
5804 accessibility by name on this entries.
5806 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5811 * debian/control: Updating gtk dep.
5813 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5815 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5816 USE_MAEMO_GTK is enabled.
5818 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5820 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5821 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5823 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5829 * debian/changelog: Updating.
5831 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5833 * examples/Makefile.am:
5834 * examples/hildon-logical-color-example.c:
5835 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5836 applied + adding a test case. Fixes: NB#71660.
5838 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5840 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5841 to be visible, fixes warning on map for windows without toolbars.
5843 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5845 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5846 2.11.0, add a check for that besides the MAEMO_GTK check.
5848 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5854 * debian/changelog: Updating.
5856 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5858 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5859 visibility. Fixes: NB#70842 and MB#615.
5861 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5863 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5864 set the separator as no-show-all so it doesn't unintentionally appear when
5865 someone does a show_all.
5867 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5869 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5870 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5871 toplevel item. Fixes: NB#62031
5873 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5875 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5876 fix the name of the function in the docs.
5878 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5884 * debian/changelog: Updating.
5886 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5888 * examples/hildon-banner-long-example.c: Adding a test-case for long
5891 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5893 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5895 * src/hildon-color-chooser-dialog.c:
5896 * src/hildon-color-chooser.c:
5897 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5898 memory leaks in font selector and color selector. Fixes: NB#70499 and
5901 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5903 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5905 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5907 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5908 little bit bigger. Fixes: #NB63694.
5910 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5916 * debian/changelog: Updating.
5918 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5921 * doc/hildon-docs.sgml:
5922 * doc/images/bread-crumb-trail.png:
5923 * doc/images/calendar-popup.png:
5924 * doc/images/caption.png:
5925 * doc/images/code-dialog.png:
5926 * doc/images/color-button.png:
5927 * doc/images/color-chooser-dialog.png:
5928 * doc/images/color-chooser.png:
5929 * doc/images/controlbar.png:
5930 * doc/images/date-editor.png:
5931 * doc/images/font-selection-dialog.png:
5932 * doc/images/get-password-dialog.png:
5933 * doc/images/hvolumebar.png:
5934 * doc/images/login-dialog.png:
5935 * doc/images/note.png:
5936 * doc/images/number-editor.png:
5937 * doc/images/range-editor.png:
5938 * doc/images/seekbar.png:
5939 * doc/images/set-password-dialog.png:
5940 * doc/images/sort-dialog.png:
5941 * doc/images/time-editor.png:
5942 * doc/images/time-picker.png:
5943 * doc/images/vvolumebar.png:
5944 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5945 Adding the bread-crumb-trial and helpers to the documentation.
5947 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5949 * examples/hildon-find-toolbar-example.c:
5950 * src/hildon-find-toolbar.c:
5951 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5952 actually continue firing the other handlers if connected. Adding a new
5954 hildon_find_toolbar_get_last_index that gets the index of the most
5955 recently added (last) item. Fixes: NB#52301.
5957 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5959 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5960 behaviour. Fixes: NB#68610.
5962 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5964 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5967 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5969 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5970 when realizing the banner. Should make the infonbanner effect a bit more
5973 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5975 * src/hildon-volumebar.c:
5976 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5977 hildon_volumebar_set_range_insensitive_message and
5978 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5980 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5982 * src/hildon-window.c: Fixing the border freeing on destroy.
5984 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5986 * src/hildon-code-dialog-private.h:
5987 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5988 kw keyboard support in HildonCodeDialog.
5990 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5996 * debian/changelog: Updating.
5998 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6000 * src/hildon-date-editor.c:
6001 * src/hildon-number-editor.c:
6002 * src/hildon-private.c:
6003 * src/hildon-private.h:
6004 * src/hildon-time-editor.c:
6005 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
6006 handling in subclassed composite widgets. Fixes: NB#66628.
6008 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6010 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
6011 from destroy_ callback as it introduces problems in async dbus signal
6012 handlers. Fixes NB#66673.
6014 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6016 * examples/hildon-hvolumebar-example.c:
6017 * src/hildon-volumebar.c: Improving the focus handling in the
6018 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
6019 set_property accessor so that "mute" property can be actually set. I'm
6020 scared that nobody noticed it's totally broken.
6022 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6024 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
6027 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6029 * src/hildon-calendar.c:
6030 * src/hildon-number-editor.c:
6031 * src/hildon-time-picker.c: Changing the timeout repeat so that it
6032 matches the spec of 6 chars per second. Fixes: NB#60489.
6034 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6036 * src/hildon-helper.c: Really fixing NB#58352. Looks like
6037 gtk_style_lookup_color sometime returns FALSE even though color was
6038 found and values were filled properly. Weird. Removing the warning for the
6041 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6043 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6044 expand vertically. Adding some extra space to the find toolbar buttons to
6045 make them thumbable. Fixes NB#66060.
6047 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6049 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6050 popup with "Ok" and "Cancel". Fixes NB#59299.
6052 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6054 * src/hildon-calendar.c: Process all window updates before executing next
6055 timeout. Fixes: NB#54146.
6057 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6063 * debian/changelog: Updating.
6065 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6067 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6068 the client event and ignore it, since we use the delete event to close
6071 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6073 * src/hildon-helper.c: Remove the bogus warning about color not being
6074 found. Fixes NB#58352.
6076 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6078 * examples/Makefile.am:
6079 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6080 HildonSeekbar widget inside a toolbar.
6082 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6084 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6085 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6086 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6087 don't want to be closed by non-temporary windows on map.
6089 Also use G_DEFINE_TYPE instead of manually typed code.
6091 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6098 * debian/rules: Updating.
6100 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6102 * examples/Makefile.am:
6103 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6104 bug NB#61128. Strangely it works.
6106 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6108 * src/hildon-date-editor.c: When the date editor entry has been changed
6109 but the numbers of characters < max, turn off the skip validation flag.
6110 Prevents a situation when we enter first a valid year and later re-write
6111 it with an invalid one. Fixes NB#60154.
6113 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6115 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6116 code dialog. Fixes NB#64355.
6118 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6120 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6121 switching the page. Fixes NB#49374.
6123 * examples/Makefile.am:
6124 * examples/hildon-wizard-dialog-example.c: Adding an example for
6125 HildonWizardDialog that shows how to handle manual sensitivity setting on
6128 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6132 * src/hildon-version.h.in:
6133 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6135 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6137 * src/hildon-volumebar.c: Updating the docs.
6139 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6145 * debian/changelog: Updating.
6147 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6149 * src/hildon-find-toolbar.c:
6150 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6151 selected item: hildon_find_toolbar_set_active,
6152 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6153 hildon_find_toolbar_get_active_iter . They correspond to respective
6154 GtkComboBox functions.
6156 * examples/Makefile.am:
6157 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6160 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6162 * examples/Makefile.am:
6163 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6166 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6167 when font size > 32 and we pack a focusable widget inside. Actually using
6168 the default response would work too, but since we don't show default
6169 response state in any way (no theming) it would not be visible to the
6170 user. Fixes NB#63430.
6172 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * src/hildon-date-editor.c: Adding the missing variable setter in the
6175 set_property handler. Fixes NB#54182.
6177 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6179 * src/hildon-window.h: Changing the long key press time from 1500ms to
6180 800ms as requested in NB#63700. I have a bad feeling about this, let's
6181 see... Fixes NB#63700.
6183 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6185 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6186 hildon_time_picker_map, hildon_time_picker_realize,
6187 hildon_time_picker_style_set): Split the contents of map to more
6188 appropriate functions; set window decorations on realize and update
6189 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6191 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6196 * debian/changelog: Updating.
6198 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6200 * src/Makefile.am: fixed installation of the header files
6202 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6208 * debian/changelog: Updating.
6210 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6212 * configure.ac: Removing some remaining of --enable-xan.
6214 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6216 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6217 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6219 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6220 2.10.12-osso6 because the move-focus signal needs to be available in
6223 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6225 * examples/Makefile.am:
6226 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6227 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6228 fine. Prolly NB#61128 is fixed now.
6230 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6232 * src/hildon-volumebar.c:
6233 * src/hildon-volumebar.h: Adding the
6234 hildon_volumebar_set_range_insensitive_message and
6235 hildon_volumebar_set_range_insensitive_messagef functions to set
6236 insensitive message on the slider of the volumebar. Fixes NB#61129.
6238 * examples/Makefile.am:
6239 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6240 test the new insensitive messsage functionality on HildonVolumebar.
6242 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6244 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6247 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6249 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6250 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6251 button on after clearing the trail.
6253 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6255 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6257 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6259 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6260 by splitting the installed headers in generated and non-generated groups. Use
6261 only the non-generated headers to create the hildon-enum-types.h file.
6263 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6265 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6267 * src/hildon-window.c: Hide the window before performing the destroy.
6268 Should make the app closing a little tiny bit more snappy.
6270 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6272 * src/hildon-seekbar.c: add gtkrange.h header
6273 * src/hildon-caption.c: remove unused variable
6275 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6277 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6280 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6286 * debian/changelog: Updating.
6288 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6290 * src/hildon-window.c (hildon_window_window_state_event,
6291 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6292 escape timeout on focus-out-event rather than notify::is-topmost; the
6293 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6295 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6297 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6298 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6300 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6302 * src/hildon-window: actually, you need to use the macro always, there's
6303 no private pointer in the instance structure. We should have cleaned this up
6304 when we had the chance...
6306 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6308 * src/hildon-window.c: do not get the private date from HildonWindow before
6309 it passes the g_return_if_fail check. Once it's passed the test, there's no
6310 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6311 if you are only going to access the data once. Whitespace cleanups.
6313 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6315 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6316 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6318 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6324 * debian/changelog: Updating.
6326 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6328 * src/hildon-window.c: When destroying the window, remove (if exists) the
6329 escape timeout handler. Fixes #NB59276.
6331 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6333 * src/hildon-banner.c: When realizing the widget, set the window
6334 transiency. Setting the transiency in the gobject constructor is not
6335 good, as the widget is not realized at that point. Fixes: #NB56624.
6337 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6339 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6340 Add padding for future expansions.
6342 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6344 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6345 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6346 will fake an activation on the previous to the last item of the trail, so
6347 the effect can be overrided by the developer as usual.
6348 Also change the callback for the back button to do the same thing, so its
6349 effect can be overrided too. Fixes: NB#58982
6351 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6353 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6354 HildonCaption. Fixes NB#52379.
6356 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6358 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6359 the internal state of the trail after the user has had the chance of executing
6360 his handler for the signal. Specifically, it may happen that the activated button
6361 is removed and the user still lets the default handler run. This would segfault
6364 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6366 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6367 scrollbar to the preview dialog. Fixes NB#54147.
6369 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6371 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6372 max/min year properties can be altered, so the client can modify it
6373 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6375 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6377 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6378 hildonlike by default. Fixing a problem with disappearing arrows when
6379 scrolling through months and years. Fixes NB#54127.
6381 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6383 * examples/hildon-date-editor-example.c: Adding error callback to the date
6386 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6392 * configure.ac: Updating.
6394 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6396 * configure.ac: Adding a special '--enable-xan' configure option that
6397 turns off the -Werror compilation setting. Usefull for development.
6399 * src/hildon-calendar.c:
6400 * src/hildon-number-editor.c:
6401 * src/hildon-time-picker.c: Adding the 5* multiplier to
6404 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6406 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6407 instead of g_object_ref + gtk_object_sink.
6409 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6415 * debian/changelog: Updating.
6417 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6419 * src/hildon-color-chooser-dialog.c:
6420 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6421 straight from Tommi labs.
6423 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6425 * examples/hildon-finger-example.c: Correcting the header file path.
6427 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6428 the changed signal. Fixes a small memory leak.
6430 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6434 * src/hildon-banner.c: Importing several usefull fixes from the
6435 ubuntu-mobile branch.
6437 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6439 * examples/Makefile.am:
6440 * examples/hildon-finger-example.c: Adding a finger-checking code
6443 * src/hildon-font-selection-dialog.c: Do not allocate the color
6444 structure using the g_new. Fixes NB#54061.
6446 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6448 * src/hildon-helper.c: Correcting tabs in file.
6450 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6452 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6453 control the visibility of the children.
6455 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6457 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6463 * debian/changelog: Updating.
6465 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6467 * src/hildon-bread-crumb-trail.c:
6468 (hildon_bread_crumb_trail_size_allocate):
6470 Make the back button always a square.
6472 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6474 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6475 from the .c file as it's a private file.
6477 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6479 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6480 uses slightly bigger height.
6482 * src/hildon-font-selection-dialog.c: Adding some checks before
6483 freeing memory in the font selection dialog.
6485 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6487 * src/hildon-font-selection-dialog.c: Adding a small check when
6490 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6491 buttons sensitivity on page switching.
6493 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6495 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6496 internal details of adding a bread crumb to the trail.
6498 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6504 * debian/changelog: Updating.
6506 * src/hildon-bread-crumb-trail.h:
6507 * src/hildon-bread-crumb.h: Changing the API guard to
6508 HILDON_ENABLE_UNSTABLE_API.
6510 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6518 * src/hildon-helper.h: Updating.
6520 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6532 * src/hildon-helper.h: Small fix to make the package actually compile.
6534 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6536 * src/hildon-bread-crumb-trail.h:
6537 * src/hildon-bread-crumb.h:
6539 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6540 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6542 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6544 * examples/hildon-bread-crumb-trail-example.c:
6546 * src/hildon-bread-crumb-trail.c:
6547 * src/hildon-bread-crumb-trail.h:
6548 * src/hildon-bread-crumb.c:
6549 * src/hildon-bread-crumb.h:
6550 * src/hildon-marshalers.list:
6551 * src/hildon-bread-crumb-widget.c:
6552 * src/hildon-bread-crumb-widget.h:
6554 Slight change in the widget design. The bread crumb trail API is
6555 unchanged, but HildonBreadCrumb is now an interface. A *private*
6556 implementation, hildon-bread-crumb-widget, is provided and used
6557 internally by the trail for the push_text/push_icon functions.
6559 The generic push API is still available, so anyone can implement
6560 and use its own bread crumb widget.
6562 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6564 * debian/rules: Fixing the shlibs.
6566 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6568 * src/hildon-banner.c: Fixing a problem with timed banners having
6569 their parrent destroyed before they are.
6571 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6573 * src/hildon-bread-crumb.c:
6574 * src/hildon-bread-crumb.h:
6576 Make the get_natural_size function a vfunc.
6578 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6580 * src/hildon-bread-crumb.c:
6581 * src/hildon-bread-crumb-trail.c:
6585 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6592 * debian/changelog: Updating for release.
6594 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6596 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6597 don't leak the pango layout.
6599 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6602 * examples/hildon-bread-crumb-trail-example.c:
6606 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6608 * debian/changelog: Removing the bug-fixed entries that were actually
6609 resolved as WONTFIX.
6611 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6614 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6616 * src/hildon-bread-crumb-trail.c:
6617 * src/hildon-bread-crumb-trail.h:
6618 * src/hildon-bread-crumb.c:
6619 * src/hildon-bread-crumb.h:
6623 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6625 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6626 until it's passed the type check.
6628 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6630 * examples/hildon-bread-crumb-trail-example.c
6634 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6636 * examples/Makefile.am
6637 * examples/hildon-bread-crumb-trail-example.c
6639 * src/hildon-bread-crumb-trail.c
6640 * src/hildon-bread-crumb-trail.h
6641 * src/hildon-bread-crumb.c
6642 * src/hildon-bread-crumb.h
6644 New HildonBreadCrumbTrail widget.
6646 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6648 * src/hildon-range-editor.c (hildon_range_editor_init),
6649 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6650 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6651 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6652 hildon_time_editor_class_init, hildon_time_editor_init),
6653 src/hildon-get-password-dialog.c (invalid_input,
6654 hildon_get_password_set_property, hildon_get_password_get_property,
6655 create_contents, hildon_get_password_dialog_set_max_characters),
6656 src/hildon-set-password-dialog.c (create_contents),
6657 src/hildon-date-editor.c (hildon_date_editor_init),
6658 src/hildon-login-dialog.c (hildon_login_dialog_init),
6659 src/hildon-number-editor.c (hildon_number_editor_init),
6660 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6661 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6662 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6663 configure option and adding the respective checks in the code.
6664 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6665 hildon_calendar_drag_data_received): fixed some build warnings.
6667 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6669 * debian/changelog: A 1.0.0 release notes.