1 2009-02-24 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-note.c (hildon_note_set_property): call
4 hildon_note_rename() on HildonNote:note-type set.
5 (hildon_note_rename): Name the note and its label, based on the
6 HildonNote:note-type property.
8 See NB#98597 (Hildon Note and Hildon Banner should use themeable
11 2009-02-24 Alejandro G. Castro <alex@igalia.com>
13 * src/hildon-pannable-area.c,
14 (hildon_pannable_area_class_init),
15 (hildon_pannable_area_motion_notify_cb): Reviewed the default
16 panning parameters, increased SPS and deceleration factor. Added
17 also a margin to control fake directions.
19 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
21 Patch by Sven Herzberg (sven@imendio.com)
23 * configure.ac: Add missing AM_PROG_CC_C_0
24 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
26 See NB#101420 (Update unit tests and fix make check)
28 2009-02-23 Alejandro G. Castro <alex@igalia.com>
30 This patch was applied before but reverted because it caused
31 problems, we have changed the main condition and tested the
32 regressions we detected before and they work ok. We have done a
33 complete review of the topmost algorithm in order to get a more
36 * src/hildon-pannable-area.c,
37 (hildon_pannable_area_get_topmost): Added a new parameter to
38 filter the the windows that do not include those events.
39 (hildon_pannable_area_button_press_cb),
40 (hildon_pannable_area_button_release_cb),
41 (hildon_pannable_get_child_widget_at): Reviewed the call the the
42 topmost function, we have added the new parameter.
44 Fixes: NB#97458 (Pannable area prevents propagation of button
47 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
49 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
50 if all columns in the selector have an item selected.
51 (_on_dialog_response): Stop "response" signal emission if there is
52 any selector column without selected items.
54 Fixes: NB#101889 (Picker dialog should not close when nothing is
55 selected in multiple selection list)
57 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
59 * src/hildon-font-selection-dialog.c
60 (hildon_font_selection_dialog_class_init),
61 (hildon_font_selection_dialog_init): Remove the preview
62 button and dialog, since previewing with default theming is likely
63 to be overcomplicated. The :preview property has now no effect.
64 Update documentation blurbs to inform about this.
66 Fixes: NB#92297 (Preview content is not clearly visible for
69 2009-02-20 Alejandro G. Castro <alex@igalia.com>
71 Reviewed the geometry that handles the children size and
72 scrollbar, now it tries a size and reviews the results depending
73 on the scrollbars visibility.
75 * src/hildon-pannable-area.c,
76 (hildon_pannable_area_realize): Fixed a typo.
77 (hildon_pannable_area_child_allocate_calculate): Added this
78 function to calculate the child allocation.
79 (hildon_pannable_area_size_allocate): Reviewed the allocation
81 (hildon_pannable_area_check_scrollbars),
82 (hildon_pannable_area_refresh): Refactored refresh function, this
83 way we can call the code handling the scrollbars without causing a
84 size_request, it is interesting in the allocate.
85 (hildon_pannable_area_init): Replace the callbacks of the
86 value_changed and changed signals to propertly deal with the
88 (hildon_pannable_area_grab_notify),
89 (hildon_pannable_area_initial_effect),
90 (hildon_pannable_area_launch_fade_timeout),
91 (hildon_pannable_area_adjust_changed),
92 (hildon_pannable_area_adjust_value_changed),
93 (hildon_pannable_area_redraw),
94 (hildon_pannable_area_button_press_cb),
95 (hildon_pannable_area_button_release_cb),
96 (hildon_pannable_area_scroll_cb),
97 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
98 code and use the new functions adjust_changed and
101 Fixes: NB#101603 (Focus is not even for the text entry boxes in
102 Contact editor dialog)
104 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
109 * configure.ac: Bump version.
110 * debian/changelog: Updates.
112 2009-02-20 Alejandro G. Castro <alex@igalia.com>
114 * src/hildon-pannable-area.c,
115 (hildon_pannable_area_get_topmost),
116 (hildon_pannable_area_button_press_cb),
117 (hildon_pannable_area_button_release_cb),
118 (hildon_pannable_get_child_widget_at): Reverted the patch for the
119 topmost function adding the event mask. We have to try a
120 differente approach because it is still causing problems (NB#9745,
123 2009-02-19 Alberto Garcia <agarcia@igalia.com>
125 * src/hildon-banner.c:
126 Update the maximum width of timed banners.
127 (force_to_wrap_truncated): Enforce the maximum text width if the
130 Fixes: NB#102413 (The text margins (wrapping) in information
131 banner should be HILDON_MARGIN_TRIPLE)
133 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
135 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
137 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
138 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
139 bound when calculating the scroll indicator position.
141 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
142 treat ->lower correctly)
144 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
146 * src/hildon-caption.c (hildon_caption_class_init): Remove the
147 expose event handling, since it is not necessary to draw the focus
150 Fixes: NB#102467 (Do not show highlight on the text in
153 2009-02-18 Alberto Garcia <agarcia@igalia.com>
155 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
156 full height of the toolbar for the button and the label.
158 2009-02-18 Alberto Garcia <agarcia@igalia.com>
160 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
161 padding before the label and after the button.
163 2009-02-18 Alberto Garcia <agarcia@igalia.com>
165 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
167 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
168 Add a GtkVSeparator between the button and the back arrow.
169 Let the button have automatic size.
170 Set a name to the widget for theming handling.
172 Fixes: NB#101793 (Make edit toolbar the same height as window
173 title bar (use title area theming))
175 2009-02-18 Alberto Garcia <agarcia@igalia.com>
177 * src/hildon-helper.c (attach_new_color_element): Fix memory
180 Fixes: NB#102262 (memory leak in hildon_button_set_style())
182 2009-02-18 Alberto Garcia <agarcia@igalia.com>
184 * examples/hildon-button-example.c (common_buttons_window): Don't
187 2009-02-18 Alberto Garcia <agarcia@igalia.com>
189 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
190 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
192 2009-02-18 Alberto Garcia <agarcia@igalia.com>
194 * src/hildon-gtk.c: Check that the window is realized.
196 Fixes: NB#102225 (Crash setting the progress indicator to a non
199 2009-02-17 Alberto Garcia <agarcia@igalia.com>
201 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
202 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
203 instead of modifying the one in the widget style.
205 Fixes: NB#101043 (Second row of all the command button are
206 displayed in transparent mode.)
208 2009-02-17 Alberto Garcia <agarcia@igalia.com>
210 * src/hildon-date-button.c
211 * src/hildon-time-button.c: Add gettext macros
213 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
215 * src/hildon-date-button.c (hildon_date_button_new):
216 * src/hildon-time-button.c (hildon_time_button_new_step):
217 Use new logical strings to set the button default title.
219 Fixes: NB#99915 (Date and Time options are not localised in Date
222 2009-02-16 Alejandro G. Castro <alex@igalia.com>
224 * src/hildon-pannable-area.c
225 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
226 the PANNING_THRESHOLD.
228 2009-02-16 Alejandro G. Castro <alex@igalia.com>
230 * src/hildon-pannable-area.c,
231 (hildon_pannable_area_class_init): Increased the maximum speed.
232 (hildon_pannable_area_get_property),
233 (hildon_pannable_area_set_property),
234 (hildon_pannable_area_timeout): Added a new low friction mode, it
235 allows the user avoid friction when launching the widget fast
236 enough. It is interesting to traverse long lists.
238 2009-02-16 Alberto Garcia <agarcia@igalia.com>
240 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
241 (+hildon_stackable_window_delete_event): Ignore delete events if
242 the window is not the topmost one.
244 Fixes: NB#101698 (Back button long press and delete-event handling)
246 2009-02-16 Alejandro G. Castro <alex@igalia.com>
248 * src/hildon-pannable-area.c,
249 (hildon_pannable_area_motion_notify_cb): Removed the use of the
250 gtk-dnd-drag-threshold, it was too big. We have defined our own
251 dnd define and set a smaller value: PANNIG_THRESHOLD.
253 2009-02-16 Alberto Garcia <agarcia@igalia.com>
255 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
256 user-defined icons, use always the default one.
258 Fixes: NB#101916 (Do not allow custom icons on animation banner)
260 2009-02-13 Alejandro G. Castro <alex@igalia.com>
262 This patch was applied before but reverted because it caused
263 problems, we have changed the main condition and tested the
264 regressions we detected before and they work ok.
266 * src/hildon-pannable-area.c,
267 (hildon_pannable_area_get_topmost): Added a new parameter to
268 filter the the windows that do not include those events. Added
269 also a condition when finding the window to filter windows that do
270 not ask for those events.
271 (hildon_pannable_area_button_press_cb),
272 (hildon_pannable_area_button_release_cb),
273 (hildon_pannable_get_child_widget_at): Reviewed the call the the
274 topmost function, we have added the new parameter.
276 Fixes: NB#97458 (Pannable area prevents propagation of button
279 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
281 * tests/check-hildon-color-button.c (START_TEST): do not leak
284 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
286 * src/hildon-font-selection-dialog.c
287 (hildon_font_selection_dialog_get_preview_text): Return NULL
288 instead of FALSE on the g_return_val_if_fail().
290 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
292 * src/hildon-time-selector.c (hildon_time_selector_set_time):
293 * src/hildon-date-selector.c
294 (hildon_date_selector_select_current_date):
295 Do not compare unsigned integers to be greater than or equal 0,
296 because it's always TRUE.
298 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
300 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
301 (hildon_date_selector_constructor): Do not select the current
302 date until we are handle the "changed" signal, to avoid having bogus
303 elements in the days model.
305 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
307 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
308 for num_days, since _month_days() can return a negative value.
310 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
312 * src/hildon-caption.c (hildon_caption_size_allocate):
313 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
314 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
316 Initialize allocation variables to 0, to avoid eventually using
317 unitialized variables.
319 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
321 * src/hildon-bread-crumb-trail.c
322 (hildon_bread_crumb_trail_size_allocate):
323 * src/hildon-calendar.c (hildon_calendar_set_background):
324 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
325 * src/hildon-range-editor.c (hildon_range_editor_get_range):
326 * src/hildon-seekbar.c (hildon_seekbar_init):
327 * src/hildon-time-editor.c (hildon_time_editor_get_time):
328 * src/hildon-time-selector.c (hildon_time_selector_finalize):
329 * src/hildon-touch-selector-entry.c
330 (hildon_touch_selector_get_text_from_model):
331 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
332 * src/hildon-window.c (hildon_window_finalize):
334 Remove many unused variables.
336 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
338 * src/hildon-seekbar.c: (hildon_seekbar_init),
339 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
341 Remove unnecessary g_assert() calls.
343 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
345 * src/hildon-caption.c: (hildon_caption_expose),
346 (hildon_caption_set_property), (hildon_caption_init),
347 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
348 (hildon_caption_size_request), (hildon_caption_size_allocate),
349 (hildon_caption_forall), (hildon_caption_set_separator),
350 (hildon_caption_activate), (hildon_caption_set_child_expand),
351 (hildon_caption_set_label_text),
352 (hildon_caption_get_label_alignment):
354 Remove unnecessary g_assert() calls.
356 2009-02-12 Alberto Garcia <agarcia@igalia.com>
358 * src/hildon-banner.c
359 (hildon_banner_map, hildon_banner_init): Make banner temporary
360 before mapping it to avoid closing other temporary windows, but
361 make it non-temporary afterwards to avoid being closed by other
362 non-temporary windows.
363 (-hildon_banner_client_event, hildon_banner_init):
364 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
366 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
369 2009-02-11 Alberto Garcia <agarcia@igalia.com>
371 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
374 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
376 * src/hildon-remote-texture.c
377 * src/hildon-remote-texture.h
378 * src/hildon-remote-texture-private.h
379 * examples/hildon-remote-texture-example.c:
380 Updates/fixes to remote-texture and its example.
382 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
384 Patch by Mox Soini (ext-mox.soini@nokia.com)
386 * src/hildon-code-dialog.c: Update logical id.
387 * src/hildon-set-password-dialog.c: Update logical id.
389 Fixes: NB#100646 (Logical strings is shown for ok in set
390 password,Password needed dialogs)
392 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
395 * src/hildon-remote-texture.c
396 * src/hildon-remote-texture.h
397 * src/hildon-remote-texture-private.h
399 Added remote texture widget (for Clutter shared memory textures)
401 * examples/hildon-remote-texture-example.c
402 * examples/Makefile.am
403 Added example file for remote texture usage
405 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
407 * configure.ac: post release version bump.
408 * debian/changelog: version bump.
410 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
415 * configure.ac: Bump version.
416 * debian/changelog: Updates.
418 2009-02-06 Alberto Garcia <agarcia@igalia.com>
420 * src/hildon-date-selector.c (hildon_date_selector_init)
421 (hildon_date_selector_constructor): Don't connect to the "changed"
422 signal until the selector is completely constructed.
424 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
426 * src/hildon-touch-selector.c: (_create_new_column),
427 (hildon_touch_selector_append_column),
428 (hildon_touch_selector_set_column_selection_mode),
429 (hildon_touch_selector_set_active),
430 (hildon_touch_selector_select_iter):
431 Emit the HildonTouchSelector::changed signal every time selection
432 is changed in any of the methods above. This behavior was already
433 documented but not fully functional.
435 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
436 selection is programmatically changed)
438 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
440 * doc/hildon-sections.txt: Remove obsolete icon
441 sizes from here as well.
443 2009-02-05 Alberto Garcia <agarcia@igalia.com>
445 * examples/hildon-stackable-window-example.c (add_window): Remove
448 2009-02-05 Alberto Garcia <agarcia@igalia.com>
450 * src/hildon-app-menu.c
451 (hildon_app_menu_show): Check whether the parent window of a menu
452 is topmost before popping it up.
454 Fixes: NB#100468 (Application menu window is launched even when a
455 new secondary-window/dialog is pending to be shown/realized.)
457 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
459 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
462 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
464 Patch by Mox Soini (ext-mox.soini@nokia.com)
466 * src/hildon-banner.c: (hildon_banner_show_animation):
467 use stylus size instead of obsolete note size.
468 * src/hildon-defines.h: Update icon sizes.
470 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
472 * src/hildon-touch-selector-entry.c:
473 (hildon_touch_selector_entry_init): Disable unsupported
475 (hildon_touch_selector_entry_get_text_column): Emit a warning
476 if an unsupported input modes is used and explicitile state
477 these modes in the documentation.
479 Fixes: NB#99802 (Hildon touch selector entry not working properly
480 for some of the input modes)
482 2009-02-05 Alejandro G. Castro <alex@igalia.com>
484 * src/hildon-pannable-area.c,
485 (hildon_pannable_area_init): Added the changed signal handlers of
488 Fixes: NB#100320 (HildonPannableArea does not listen to
489 GtkAdjustment "change" signals)
491 2009-02-04 Alberto Garcia <agarcia@igalia.com>
493 * doc/hildon-sections.txt
494 * src/hildon-window-private.h
495 * src/hildon-window.h
496 * src/hildon-window.c (hildon_window_init)
497 (hildon_window_realize, hildon_window_unrealize)
498 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
499 (hildon_window_size_request, hildon_window_size_allocate)
500 (hildon_window_forall, hildon_window_show_all)
501 (hildon_window_destroy, +paint_edit_toolbar)
502 (+hildon_window_set_edit_toolbar):
503 New hildon_window_set_edit_toolbar() method, to add a
504 HildonEditToolbar to a window without having to pack it manually.
506 Reorganize hildon_window_size_allocate()
508 * src/hildon-edit-toolbar.c: Update documentation.
510 * examples/hildon-edit-toolbar-example.c (edit_window): Update
511 example to use the new API.
513 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
515 2009-02-04 Alberto Garcia <agarcia@igalia.com>
517 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
518 Remove from stack before calling parent's hide.
520 2009-02-04 Alberto Garcia <agarcia@igalia.com>
522 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
523 window is removed from the middle of the stack, update the
524 transiency of the previous one.
526 Fixes: NB#100487 (HildonStackableWindow transiency becomes
529 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
531 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
532 block/unblock the signal handler if it's not actually being used.
533 Fixes some critical warnings.
535 2009-02-02 Alberto Garcia <agarcia@igalia.com>
537 Based on a patch by Iván Gómez (igomez@igalia.com)
539 * src/hildon-banner.c
543 * src/hildon-pannable-area.c
544 * src/hildon-picker-dialog.c
545 * src/hildon-wizard-dialog.h
546 * src/hildon-wizard-dialog.c: Documentation updates.
548 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
549 gtk_dialog_add_button() instead of hildon_dialog_add_button().
551 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
553 * configure.ac: post release version bump.
554 * debian/changelog: version bump.
556 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
561 * configure.ac: Bump version.
562 * debian/changelog: Updates.
564 2009-01-29 Alberto Garcia <agarcia@igalia.com>
566 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
567 a stock icon nor change the relief of the back arrow.
569 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
572 2009-01-29 Alberto Garcia <agarcia@igalia.com>
574 * src/hildon-button.c (hildon_button_set_alignment): Use
575 priv->alignment if the button has no child yet.
577 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-button.c: (hildon_button_init): Set the
580 button style during initialization to give it the proper
583 Fixes: NB#99713 (HildonButton value label color is wrong)
585 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
587 * src/hildon-touch-selector.c: Document
588 hildon_touch_selector_center_on_selected()
590 2009-01-28 Alberto Garcia <agarcia@igalia.com>
592 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
593 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
594 all menu items, but not the menu itself.
595 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
596 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
597 items after adding them to the menu so keyboard accelerators work.
598 (hildon_app_menu_show): Don't show the menu if it contains items
599 but none of them are visible.
601 * examples/hildon-app-menu-example.c (create_menu): Use
602 gtk_widget_show_all() to show all menu items.
604 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
606 * src/hildon-picker-dialog.c:
607 (-_update_title_on_selector_changed_cb),
608 (-_dialog_update_title): Removed.
609 (_select_on_selector_changed_cb), (_on_dialog_response),
610 (on_selector_columns_changed): Do not update the dialog title.
611 (setup_interaction_mode): Do not connect to
612 HildonTouchSelector::changed signal if there's a "done" button, as
613 the dialog title doesn't need to be updated.
615 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
618 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
620 Patch by Kristian Rietveld (kris@imendio.com)
622 * src/hildon-touch-selector.c: (_create_new_column): Use new
623 GtkTreeView::hildon-row-tapped signal to react to user interactions
624 instead of ::changed.
626 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
627 with some dynamic tree model)
629 2009-01-27 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
632 (+screen_size_changed, +label_size_request)
633 (hildon_note_class_init): Make the Hildon information note have a
634 minimum height, and make its text hvae a maximum width.
636 Fixes: NB#98614 (Hildon information note (background) should have
637 minimum height and maximum text width)
639 2009-01-26 Alberto Garcia <agarcia@igalia.com>
641 * src/hildon-banner.h
642 * src/hildon-banner.c (hildon_banner_show_information)
643 (hildon_banner_show_informationf)
644 (hildon_banner_show_information_with_markup): Update documentation
645 to reflect that the icon_name parameter is not used anymore.
646 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
647 Remove all code from these functions and mark them as deprecated.
648 (hildon_banner_show_progress): Mark as deprecated.
650 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
652 2009-01-26 Alejandro G. Castro <alex@igalia.com>
654 * src/hildon-pannable-area.c,
655 (hildon_pannable_area_class_init),
657 (hildon_pannable_draw_vscroll),
658 (hildon_pannable_draw_hscroll),
659 (hildon_pannable_area_expose_event): Added a new way to render the
660 scrollbars of the pannable area avoiding using cairo at all. This
661 way we improve the performance of the pannable area rendering. The
662 cairo rendering procedure is still in the code, we can control
663 which one to use changing the value of the define
664 USE_CAIRO_SCROLLBARS.
666 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
668 * configure.ac: post release version bump.
669 * debian/changelog: version bump.
671 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
676 * configure.ac: Bump version.
677 * debian/changelog: Updates.
679 2009-01-23 Alberto Garcia <agarcia@igalia.com>
681 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
682 banners instead of destroying them when they receive a button
685 2009-01-23 Alejandro G. Castro <alex@igalia.com>
687 Reverted commit 34028, it was causing regressions, probably the
688 topmost condition is not correct, we have to check it in more
689 detail. We have reponed the bug: NB#97458 (Pannable area prevents
690 propagation of button press events)
692 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
694 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
695 that the selection is not empty before attempting to retrieve the
696 current ampm selection.
698 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
700 * src/hildon-picker-button.c:
701 (hildon_picker_button_on_dialog_response): Directly update the
702 button contents when required instead of calling _selection_changed.
704 2009-01-23 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-program.c (hildon_program_update_top_most): Update
707 'is-topmost' property also when wm_hints is not set.
709 Fixes: NB#98383 (is-topmost signal is not emitted when task
710 switcher is clicked.)
712 2009-01-23 Alejandro G. Castro <alex@igalia.com>
714 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
718 * src/hildon-animation-actor.c,
719 * src/hildon-animation-actor.h: Added the animation actor class,
720 this widget represents an animation actor for WM-assisted
721 animation effects in the Hildon framework.
723 2009-01-23 Alberto Garcia <agarcia@igalia.com>
725 * src/hildon-window-stack-private.h
726 * src/hildon-window-stack.c
727 * src/hildon-stackable-window.c (hildon_stackable_window_show):
728 Avoid calling gtk_widget_show() again indirectly from
729 hildon_stackable_window_show()
731 2009-01-23 Alberto Garcia <agarcia@igalia.com>
733 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
736 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
738 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
739 (hildon_time_selector_init): Move the construction of the hours and
740 ampm columns to the constructor to preserve the order the columns
743 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
745 * src/hildon-picker-dialog.c:
746 (hildon_picker_dialog_class_init): Connect a realize method.
747 (+hildon_picker_dialog_realize): Setup the interaction mode here
749 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
750 yet, do it during the realize instead.
751 (_on_dialog_response):
752 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
753 if the widget is not realized, to avoid the dialog response before it
756 Avoid premature responses in the HildonPickerDialog that can cause it
757 to be hidden before it's even shown.
759 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
761 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
762 (on_selector_columns_changed), (requires_done_button),
763 (+prepare_action_area), (setup_interaction_mode),
764 (_hildon_picker_dialog_set_selector):
766 Split the interaction mode setup into preparation of the
767 action area (prepare_action_area()) and the connection of
768 the signals in setup_interaction_mode() and update the code to
771 2009-01-22 Alejandro G. Castro <alex@igalia.com>
773 * src/hildon-pannable-area.c,
774 (hildon_pannable_area_class_init): Reduced the amount of scrolls
775 per second to 15, we will check if this is ok regarding
778 2009-01-22 Alejandro G. Castro <alex@igalia.com>
780 * src/hildon-pannable-area.c,
781 (hildon_pannable_axis_scroll): Avoid resize if we already have
782 reached overshoot_max.
784 2009-01-22 Alejandro G. Castro <alex@igalia.com>
786 * src/hildon-pannable-area.c,
787 (hildon_pannable_area_init),
788 (hildon_pannable_area_realize),
789 (hildon_pannable_area_size_allocate),
790 (hildon_pannable_area_map),
791 (hildon_pannable_area_unmap),
792 (hildon_pannable_draw_vscroll),
793 (hildon_pannable_draw_hscroll),
794 (hildon_pannable_area_expose_event),
795 (hildon_pannable_area_refresh): Added a new GdkWindow to the
796 pannable are to avoid the expose events go to the window and
797 redraw the window. We save this way that part of the stack and the
798 paint_boxes. We had to change the positions of the elements when
801 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
803 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
804 * src/hildon-color-chooser-dialog.c:
805 (hildon_color_chooser_dialog_init):
806 * src/hildon-font-selection-dialog.c:
807 (hildon_font_selection_dialog_init),
808 (hildon_font_selection_dialog_show_preview):
809 * src/hildon-get-password-dialog.c:
810 * src/hildon-login-dialog.c:
811 * src/hildon-set-password-dialog.c:
812 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
813 * src/hildon-time-picker.c: (hildon_time_picker_init):
815 Remove obsolete logical string IDs and update to the appropriate ones.
817 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
819 2009-01-21 Alberto Garcia <agarcia@igalia.com>
821 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
822 that happens if the window hasn't been realized yet.
824 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
825 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
827 2009-01-20 Alberto Garcia <agarcia@igalia.com>
829 * src/hildon-app-menu.c (hildon_app_menu_class_init)
830 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
833 Fixes: NB#98537 (Device hangs in account settings dialog)
835 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
837 * configure.ac: post release version bump.
838 * debian/changelog: version bump
840 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
845 * configure.ac: Bump version.
846 * debian/changelog: Updates.
848 2009-01-20 Alejandro G. Castro <alex@igalia.com>
850 Added a new function to the HildonTimeButton widget that allows to
851 change the step of the minutes in the selector associated with the
852 button: hildon_time_button_new_step
854 * src/hildon-time-button.c,
855 (hildon_time_button_init),
856 (hildon_time_button_new),
857 (hildon_time_button_new_step):
858 * src/hildon-time-button.h: Added the new function and refactored
860 * examples/hildon-time-button-example.c,
861 (main): We have replaced the function without parameters with the
862 function with the steps set to 5
864 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
866 2009-01-20 Alejandro G. Castro <alex@igalia.com>
868 * src/hildon-time-selector.c,
869 (hildon_time_selector_class_init),
870 (hildon_time_selector_constructor),
871 (hildon_time_selector_get_property),
872 (hildon_time_selector_set_property),
873 (_create_minutes_model),
874 (hildon_time_selector_new_step),
875 (hildon_time_selector_set_time),
876 * src/hildon-time-selector.h: Added a new property to the
877 HildonTimeSelector (minutes-step), we use that property to control
878 the steps between the minutes in the list of the selector. We have
879 added a new function to the API to create a widget changing the
880 step: hildon_time_selector_new_step.
882 2009-01-20 Alejandro G. Castro <alex@igalia.com>
884 * src/hildon-time-selector.c,
885 (hildon_time_selector_class_init),
886 (hildon_time_selector_constructor),
887 (hildon_time_selector_init): Overrided the construct function when
888 creating the time selector object. We have moved the minutes model
889 handling code from the init to the new construction function:
890 hildon_time_selector_constructor.
892 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
894 * examples/hildon-date-button-example.c: (main): Use the new
895 hildon_date_button_new_with_year_range() method in the example.
896 * src/hildon-date-button.c:
897 (+hildon_date_button_new_with_year_range): New public method
898 to conveniently create a HildonDateButton with a custom year range
899 in its HildonDateSelector.
900 * src/hildon-date-button.h: Add the new public method definition.
902 Fixes: NB#97908 (Not possible to change the year range in
903 HildonDateSelector/HildonDateButton)
905 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
907 * src/hildon-date-selector.c:
908 (+hildon_date_selector_set_property),
909 (+hildon_date_selector_get_property),
910 (hildon_date_selector_class_init): Install new properties "min-year"
911 and "max-year" to define boundaries for the year column.
912 (_create_year_model): Use the boundary properties to populate the model.
913 (+hildon_date_selector_new_with_year_range): New public method to
914 create a HildonDateSelector with a user defined year range.
915 (hildon_date_selector_select_current_date): Use the new boundaries to
916 calculate the iterator of current year.
917 * src/hildon-date-selector.h: Add the new public method definition.
919 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
921 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
922 Install a constructor method.
923 (+hildon_date_selector_construct_ui): construct the widget.
924 (+hildon_date_selector_constructor): new constructor.
925 (+hildon_date_selector_init): move out widget construction code to
928 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
931 that there's actually a month or year selected before obtaining them.
932 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
933 of the HildonTouchSelector::changed signal, as it was emitted on every
934 single item selection.
936 Fix some warnings and possible crashers due to the selection restoring.
938 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
940 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
941 the signal handlers only after creating the dialog instead of on every
944 2009-01-19 Alberto Garcia <agarcia@igalia.com>
946 * src/hildon-button.c (hildon_button_init)
947 * src/hildon-check-button.c (hildon_check_button_init)
948 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
949 focus when clicked by default.
951 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
953 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
956 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
958 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
959 Alejandro G. Castro (alex@igalia.com)
961 * src/hildon-picker-dialog.c:
962 (hildon_picker_dialog_class_init): install new "center-on-show"
964 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
965 (hildon_picker_dialog_set_property): add setter code for the new
967 (hildon_picker_dialog_get_property): add getter code for the new
969 (hildon_picker_dialog_show): Ensure visibility of selected items in the
970 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
973 Fixes: NB#92849 (Selected item is not always visible when
974 HildonTouchSelector is shown)
976 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
978 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
979 Alejandro G. Castro (alex@igalia.com)
981 * src/hildon-touch-selector.c:
982 (_create_new_column): Do not connect to the "realize" signal of the
984 (hildon_touch_selector_append_column): center on the selected items
985 when a new column is appended.
986 (hildon_touch_selector_select_iter): Factor out the code to select a
987 column to hildon_touch_selector_scroll_to().
988 (+search_nearest_element): Method to retrieve the nearest selected
989 element to the visible area of the pannable area in a column.
990 (+on_realize_cb): scroll to the initially selected item.
991 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
992 the pannable area is realized, otherwise delay this until it is.
993 (+_hildon_touch_selector_center_on_selected_items): Centers on the
994 selected items of a given column.
995 (+hildon_touch_selector_center_on_selected): Public method to center
996 all columns on the nearest selected item.
997 * src/hildon-touch-selector.h: Add definition for
998 hildon_touch_selector_center_on_selected().
1000 Implement public API to ensure visibility of all selected items in
1001 a HildonTouchSelector.
1003 2009-01-16 Alejandro G. Castro <alex@igalia.com>
1005 Fixed a problem in the fading when calling the scroll_to API, and
1006 improve scrollbar fading handling.
1008 * src/hildon-pannable-area.c,
1009 (hildon_pannable_area_grab_notify): avoid the timeout when the
1011 (hildon_pannable_area_button_press_cb),
1012 (hildon_pannable_area_motion_notify_cb): Code style changes.
1013 (hildon_pannable_area_button_release_cb): Review the conditions
1014 when releasing the mouse button to avoid unrequired fading
1016 (hildon_pannable_area_scroll_to): Do not calculate and set the
1017 velocity if the scroll is not required.
1019 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1021 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1022 Don't check whether the new selector is NULL: it cannot be.
1023 Hold a reference to the selector while doing the replacement.
1025 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1027 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1028 unnecessary size_request in a removed widget.
1030 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1033 an unnecessary reference tracking that was leaking.
1035 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1037 Added delayed motion notify event handling, this way we can
1038 discard redrawing if more than 25 events arrive per second.
1040 * src/hildon-pannable-area.c,
1041 (hildon_pannable_area_init): Initialized the new private atributes
1042 controlling this timeout
1043 (hildon_pannable_area_dispose): Remove the timeout that controls
1044 the motion notify events.
1045 (hildon_pannable_area_scroll): Added a condition to control the
1046 use of the acceleration.
1047 (hildon_pannable_area_motion_event_scroll_timeout),
1048 (hildon_pannable_area_motion_event_scroll): Added this two
1049 functions, they handle the motion notify events inside the
1051 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1052 to the scroll method with the new function.
1053 (hildon_pannable_area_button_release_cb): We have to remove the
1054 timeout handler and move to the last position if the last motion
1055 events were not handled.
1057 Fixes: NB#97028 (Pannable area updates on every motion event)
1059 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1061 * src/hildon-pannable-area.c,
1062 (hildon_pannable_area_get_topmost): Added a new parameter to
1063 filter the the windows that do not include those events. Added
1064 also a condition when finding the window to filter windows that do
1065 not ask for those events.
1066 (hildon_pannable_area_button_press_cb),
1067 (hildon_pannable_area_button_release_cb),
1068 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1069 topmost function, we have added the new parameter.
1071 Fixes: NB#97458 (Pannable area prevents propagation of button
1074 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1076 * src/hildon-pannable-area.c,
1077 (hildon_pannable_area_initial_effect): Added controls before
1078 launching the timeout and the idle functions.
1079 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1080 of the method, in some situations it can return with TRUE and 0 in
1082 (hildon_pannable_area_button_press_cb): We do not need to set
1083 DELAY for fading out here.
1085 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1087 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1089 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1090 post-cleaning if the selection is not NULL.
1092 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1094 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1095 all items before restoring the selection.
1097 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1099 * src/hildon-touch-selector.c:
1100 (+hildon_touch_selector_unselect_all):
1101 * src/hildon-touch-selector.h: New API to unselect all items in a
1102 column of the touch selector.
1104 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1106 * src/hildon-pannable-area.c,
1107 (hildon_pannable_area_redraw): Added a call to the refresh
1108 function inside the redraw because apparently in some cases the
1109 change in the adjustment does not imply a size allocate.
1111 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1112 despite the view not being scrollable)
1114 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1116 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1117 leak. Check for NULL before attempting to set the window title.
1119 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1121 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1122 whether to show or not the 'Done' button each time the dialog is
1123 shown, as it depends on the HildonTouchSelector selection mode.
1125 Fixes: NB#96226 (In multiple selection mode Done button is shown
1126 sometimes in listpicker)
1128 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1130 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1131 for the number of columns in the HildonTouchSelector more than once.
1133 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1135 * src/hildon-touch-selector.c: Minor documentation fixes.
1137 * src/hildon-picker-dialog.c (+_dialog_update_title)
1138 (_select_on_selector_changed_cb)
1139 (_update_title_on_selector_changed_cb)
1140 (on_selector_columns_changed): Update dialog title when there's no
1141 'Done' button and also when the number of columns in the selector
1145 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1146 (+_selection_changed, hildon_picker_button_on_dialog_response)
1147 (hildon_picker_button_selector_selection_changed)
1148 (+hildon_picker_button_selector_columns_changed)
1149 (hildon_picker_button_set_selector): Update button value and emit
1150 'value-changed' when the number of columns in the selector
1154 Fixes: NB#96225 (Dialog titles are not shown according to the
1155 values selected in the list picker)
1157 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1159 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1160 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1161 New "arrow-width" and "arrow-height" style properties to set the
1162 size of the arrow button.
1163 Set name of arrow button ("hildon-edit-toolbar-arrow").
1165 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1166 graphics from theme)
1168 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1170 * src/hildon-picker-button.c:
1171 (hildon_picker_button_selector_selection_changed): Use
1172 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1173 the dialog is present.
1175 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1176 the selection is accepted in the dialog)
1178 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1180 * src/hildon-color-chooser.h
1181 * src/hildon-color-chooser-dialog.h:
1182 Added G_BEGIN_DECLS and G_END_DECLS
1184 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1186 (_clean_current_selection): plug a leak in the list.
1188 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1190 * src/hildon-picker-dialog.c:
1191 (+free_path_list): Method to free a GList of GtkTreePaths.
1192 (_clean_current_selection), (_save_current_selection),
1193 (_restore_current_selection): Save the current selection in
1194 as a list of lists, to support multiple selection properly.
1196 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1198 patch by Claudio Saavedra (csaavedra@igalia.com)
1200 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1201 Store the press position.
1202 (+hildon_text_view_button_release_event): If the release position is
1203 close enough to the press position, move the cursor here. Otherwise,
1205 (hildon_text_view_class_init): Override GtkTextView press, release, and
1206 motion event handlers, disabling this way text selection through
1207 pointer interaction, and allowing the container widget to handle the
1210 Fixes: NB#95828 (HildonTextView functionality)
1212 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1214 Based on a patch by Iván Gómez (igomez@igalia.com)
1216 * src/hildon-button.[ch]
1217 * src/hildon-calendar.c
1218 * src/hildon-check-button.c
1219 * src/hildon-date-editor.c
1220 * src/hildon-date-selector.c
1221 * src/hildon-picker-button.c
1222 * src/hildon-time-editor.c
1223 * src/hildon-time-selector.c
1224 * src/hildon-touch-selector.[ch]:
1225 Documentation updates
1227 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1229 * src/hildon-pannable-area.c,
1230 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1231 threshold, it was required due to X events handling.
1233 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1235 * src/hildon-pannable-area.c,
1236 (hildon_pannable_area_grab_notify),
1237 (hildon_pannable_area_initial_effect),
1238 (hildon_pannable_area_button_press_cb),
1239 (hildon_pannable_area_button_release_cb),
1240 (hildon_pannable_area_scroll_cb),
1241 (hildon_pannable_area_scroll_to): Review the timeout management of
1242 the scrollbar, the frecuency was incorrectly set.
1244 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1246 * src/hildon-picker-button.c:
1247 (+hildon_picker_button_on_dialog_response),
1248 (hildon_picker_button_clicked): Present the dialog instead of
1249 running it with gtk_dialog_run().
1251 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1254 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1256 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1257 (hildon_app_menu_finalize): When a window is hidden it doesn't
1258 emit notify::is-topmost, so make sure than the menu also
1259 disappears in that case.
1260 (parent_window_topmost_notify): Renamed from parent_window_hidden
1262 Fixes: NB#94460 (stackable window's menu is not closed when its
1265 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1267 * src/hildon-touch-selector-entry.c:
1268 (+hildon_touch_selector_entry_set_input_mode),
1269 (+hildon_touch_selector_entry_get_input_mode):
1270 * src/hildon-touch-selector-entry.h: New methods to access the input
1271 mode in the selector's entry.
1273 Fixes: NB#93410 (API required for setting IM mode in
1274 HildonTouchSelectorEntry)
1276 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1278 * configure.ac: post release version bump.
1279 * debian/changelog: version bump
1281 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1286 * configure.ac: Bump version.
1287 * debian/changelog: Updates.
1289 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1291 * src/hildon-touch-selector.c:
1292 (_hildon_touch_selector_has_multiple_selection): No need
1293 to initialize the variables here.
1295 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1297 * src/hildon-note-private.h
1298 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1299 (hildon_note_finalize, hildon_note_rebuild): Close information
1300 notes when they receive a button press.
1302 Fixes: NB#89890 (Information notes does not get disappeared after
1305 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1308 mark from the wizard title, as it's not really necessary. Also,
1309 do not display the page title if not set.
1311 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1314 (parent_window_hidden): Use the window's "is-topmost" property to
1315 detect when to hide the menu.
1317 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1320 (hildon_app_menu_finalize): If the parent window of the menu is
1321 hidden, hide the menu too.
1323 Fixes: NB#94460 (stackable window's menu is not closed when its
1326 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1329 * debian/libhildon1-examples.install
1331 * examples/Makefile.am:
1332 Use dh_install to install all examples.
1333 Use DEB_SRCDIR instead of defining SOURCE_DIR
1335 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1337 * configure.ac: post release version bump.
1338 * debian/changelog: version bump
1340 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1345 * configure.ac: bump version
1346 * debian/changelog: updates
1347 * debian/control: bump gtk+ dependency
1349 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1351 patch by Christian Dywan (christian@imendio.com)
1353 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1354 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1356 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1358 * src/hildon-check-button.c (hildon_check_button_init)
1359 (hildon_check_button_class_init, hildon_check_button_style_set)
1360 (hildon_check_button_apply_style):
1361 New "checkbox-size" style property.
1363 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1364 larger / configurable size)
1366 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1368 * configure.ac: post release version bump.
1369 * debian/changelog: version bump
1371 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1376 * configure.ac: bump version
1377 * debian/changelog: updates
1379 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1381 * doc/hildon-sections.txt
1382 * src/hildon-pannable-area.c
1383 * src/hildon-program.c
1384 * src/hildon-time-editor.c
1385 * src/hildon-touch-selector-entry.c:
1387 More documentation updates.
1389 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1391 * doc/hildon-sections.txt
1392 * src/hildon-caption.c
1393 * src/hildon-code-dialog.c
1394 * src/hildon-color-button.c
1395 * src/hildon-controlbar.c
1396 * src/hildon-date-editor.c
1397 * src/hildon-date-selector.c
1398 * src/hildon-edit-toolbar.c
1399 * src/hildon-find-toolbar.c
1400 * src/hildon-font-selection-dialog.c
1402 * src/hildon-program.c
1403 * src/hildon-range-editor.c
1404 * src/hildon-seekbar.c
1405 * src/hildon-time-editor.c
1406 * src/hildon-time-selector.c
1407 * src/hildon-volumebar-range.c
1408 * src/hildon-volumebar.c
1409 * src/hildon-vvolumebar.c
1410 * src/hildon-weekday-picker.c
1411 * src/hildon-window.c
1412 * src/hildon-wizard-dialog.c:
1414 Lots of documentation fixes.
1416 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1418 Patch contributed by Iván Gómez (igomez@igalia.com)
1420 * src/hildon-check-button.c:
1421 * src/hildon-date-button.c:
1422 * src/hildon-date-selector.c:
1423 * src/hildon-dialog.c:
1424 * src/hildon-edit-toolbar.c:
1425 * src/hildon-entry.c:
1426 * src/hildon-picker-button.c:
1427 * src/hildon-program.c:
1428 * src/hildon-text-view.c:
1429 * src/hildon-time-button.c:
1430 * src/hildon-touch-selector-entry.c:
1431 * src/hildon-window-stack.c:
1433 Add more "since" tags to the new API.
1435 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1437 * doc/hildon-sections.txt: Add below method.
1438 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1439 version for the hildonized scale.
1440 * src/hildon-gtk.h: Add the definition.
1442 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1444 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1446 * doc/hildon-sections.txt: Add missing entries for new methods.
1448 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1450 Added API to pannable are in order to get its adjustments. We
1451 added two properties to manage the values we had in the private
1454 * src/hildon-pannable-area.c:
1455 (hildon_pannable_area_class_init): Added hadjustment and
1456 vadjustment properties in order to expose horizontal and vertical
1458 (hildon_pannable_area_get_property),
1459 (hildon_pannable_area_set_property): Added code to handle the new
1461 (hildon_pannable_area_get_hadjustment),
1462 (hildon_pannable_area_get_vadjustment): API functions to get the
1464 * src/hildon-pannable-area.h:
1465 (hildon_pannable_area_get_hadjustment),
1466 (hildon_pannable_area_get_vadjustment): API functions to get the
1469 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1471 Fixed some leaks, after valgrinding.
1473 * src/hildon-touch-selector.c:
1474 (_default_print_func): Fixed a leak.
1475 (hildon_touch_selector_append_column): Fixed a leak.
1476 * src/hildon-date-button.c:
1477 (hildon_date_button_init): Fixed a leak.
1478 * src/hildon-date-selector.c
1479 (hildon_date_selector_finalize): Fixed a leak.
1481 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1483 Based on a patch by Christian Dywan (christian@imendio.com)
1485 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1487 * src/hildon-gtk.h: Add definition.
1489 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1491 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1493 * src/hildon-picker-button.c: (hildon_picker_button_init),
1494 (hildon_picker_button_new): Set the HildonButton::style property
1495 in the init method, to propagate the value to the derived classes.
1497 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1499 * src/hildon-button.c: (hildon_button_class_init): Do not make
1500 the "style" property a construct property.
1502 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1504 * src/hildon-wizard-dialog.h
1505 * src/hildon-wizard-dialog.c
1506 (hildon_wizard_dialog_set_forward_page_func)
1507 * src/hildon-pannable-area.h
1508 * src/hildon-pannable-area.c
1509 (hildon_pannable_area_set_size_request_policy):
1510 Documentation fixes.
1512 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1514 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1516 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1518 * doc/hildon-sections.txt: Added sections file.
1520 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/*.[ch]: Updates.
1525 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1527 * examples/hildon-progress-indicator-example.c: new file
1528 * examples/Makefile.am: include the new example program
1530 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1532 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1534 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1536 * configure.ac: post release version bump
1537 * debian/changelog: version bump
1539 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1544 * configure.ac: bump version
1545 * debian/changelog: updates
1546 * debian/control: bump gtk+ dependency
1548 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-dialog.c: Mark as deprecated.
1551 * src/hildon-dialog.h: Mark as deprecated.
1552 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1553 from HildonDialog and still work, even if
1554 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1555 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1557 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1558 maemo changes) instead)
1560 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1562 * src/hildon-pannable_area.h:
1563 * src/hildon-pannable_area.c:
1564 (hildon_pannable_area_class_init),
1565 (hildon_pannable_area_set_property),
1566 (hildon_pannable_area_get_property),
1567 (hildon_pannable_area_size_request),
1568 (hildon_pannable_area_get_size_request_policy),
1569 (hildon_pannable_area_set_size_request_policy): Added new API
1570 allowing applications to control the request policy. Now they can
1571 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1572 children allocation (HILDON_MOVEMENT_CHILDREN).
1574 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1578 (hildon_gtk_tree_view_set_ui_mode)
1579 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1580 mode of treeviews and iconviews.
1582 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1584 * src/hildon-touch-selector-entry.c:
1585 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1586 of a GtkEntry to get proper theming.
1588 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1589 widget, not GtkEntry)
1591 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1593 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1594 no HildonWizardDialogPageFunc.
1596 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1598 Patch contributed by Iván Gómez (igomez@igalia.com)
1600 * src/hildon-app-menu.c:
1601 * src/hildon-button.c:
1602 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1603 * src/hildon-stackable-window.c:
1604 * src/hildon-time-selector.c:
1605 * src/hildon-touch-selector.c:
1606 * src/hildon-window.c:
1608 Add more "since" tags to the new API in hildon 2.2.
1610 2008-12-05 Tim Janik <timj@imendio.com>
1612 Patch contributed by Christian Dywan (christian@imendio.com)
1614 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1615 HildonSizeType, which are supplied by Gtk+ now.
1617 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1619 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1620 (with maemo changes) instead)
1622 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1624 Patch contributed by Iván Gómez (igomez@igalia.com)
1626 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1629 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1631 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1632 (some_page_func), (main): Update the example to use a
1633 HildonWizardDialogPageFunc function.
1635 * src/hildon-wizard-dialog-private.h: Add private data for
1636 the HildonWizardDialogPageFunc function usage.
1638 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1639 (destroy), (hildon_wizard_dialog_init), (response),
1640 (hildon_wizard_dialog_set_forward_page_func):
1641 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1642 that applications can use to stop a HildonWizardDialog to jump to
1645 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1648 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1650 * src/hildon-program.h
1651 * src/hildon-program-private.h
1652 * src/hildon-program.c (hildon_program_init)
1653 (hildon_program_set_common_app_menu)
1654 (hildon_program_get_common_app_menu):
1655 New API for setting a common HildonAppMenu for all
1656 HildonStackableWindows registered with the HildonProgram.
1658 * src/hildon-stackable-window.c
1659 (hildon_stackable_window_toggle_menu):
1660 Use the common HildonAppMenu if a window doesn't have a specific
1663 * src/hildon-app-menu-private.h
1664 * src/hildon-app-menu.c
1665 (hildon_app_menu_get_parent_window):
1666 Function to obtain the window a HildonAppMenu is attached to.
1667 (hildon_app_menu_set_parent_window):
1668 Hide the menu if the parent window is set to NULL.
1670 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1672 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1673 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1674 search widget to popup.
1676 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1678 * configure.ac: post release version bump
1679 * debian/changelog: version bump
1681 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1686 * configure.ac: bump version
1687 * debian/changelog: updates
1689 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1691 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1693 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1694 (hildon_window_stack_window_realized)
1695 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1696 Set the leader GdkWindow when a window is stacked and realized,
1697 unset it when it's unstacked.
1698 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1700 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1702 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1704 * src/hildon-stackable-window.h
1705 * src/hildon-window-stack.h:
1706 Protect definition of HildonWindowStack using the preprocessor.
1708 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1710 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1711 Fix warning if all menu items are hidden.
1713 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1715 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1717 * src/hildon-controlbar.c:
1718 * src/hildon-hvolumebar.c:
1719 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1720 Multiple scale size defines updates.
1722 Fixes: NB#94322 (Scale Updates)
1724 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1726 * examples/hildon-app-menu-example.c (create_menu)
1727 Show items after adding them to the menu, as in the future the
1728 menu will no longer call gtk_widget_show() on the added items.
1730 * src/hildon-app-menu.c:
1731 Update example as explained above.
1733 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1735 * src/hildon-app-menu.c
1736 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1737 Make sure that all menu items have finger height.
1739 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1741 * src/hildon-picker-dialog.c:
1742 (_on_dialog_response), (_save_current_selection),
1743 (_restore_current_selection), (_clean_current_selection),
1744 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1745 Defined new functions in order to save the current internal selector
1746 selection previous open the dialog, in case that the use cancel the
1747 interaction, so the widget restores the previous selection.
1749 Fixes: NB#92032 (In calendar application, date values in 'new event'
1752 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1754 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-button.c: Add a reference to the button examples in
1757 hildon-button-example.c
1759 * examples/hildon-button-example.c: Added examples of the most
1760 common button layouts.
1762 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1764 * src/hildon-app-menu.c (hildon_app_menu_show)
1765 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1767 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1769 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1771 * src/hildon-picker-dialog.c:
1772 (hildon_picker_dialog_init): Initialize the signal id for
1773 HildonTouchSelector::columns-changed.
1774 (+on_selector_columns_changed): Set up the interaction mode everytime a
1775 column is added or removed from the HildonTouchSelector.
1776 (_hildon_picker_dialog_set_selector): Connect to
1777 HildonTouchSelector::columns-changed and keep track of it.
1779 Make sure to update the interaction mode of the dialog everytime a
1780 column is added or removed in the HildonTouchSelector.
1782 Fixes: NB#93228 (Done button is not shown always in listpicker)
1784 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1786 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1787 a new ::columns-changed signal.
1788 (hildon_touch_selector_append_column): Emit ::columns-changed.
1789 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1791 Add a ::columns-changed signal, emitted when the number of columns in a
1792 HildonTouchSelector changes.
1794 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1796 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1797 (_hildon_picker_dialog_set_selector): Factor out the code
1798 to set up the dialog interaction mode.
1800 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1802 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1803 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1804 to signal_changed_id.
1806 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1808 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1811 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1813 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1814 Updated the logical ids related to ampm format, as now it is required to
1815 show it correctly localized even on languages with no default
1816 abbreviations for am or pm
1817 (_check_am_pm_format): check correctly the 24h format gconf property
1819 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1821 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1823 * src/hildon-button.c: Documentation updates.
1825 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1827 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1828 * src/hildon-caption.c: (hildon_caption_class_init):
1829 * src/hildon-color-button.c: (hildon_color_button_class_init):
1830 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1831 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1832 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1833 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1835 Remove deprecated GTK+ marshalers and replace them with the ones
1836 provided by GLib, for those available, add a marshaler for
1837 BOOLEAN:VOID, which is not available in GLib, and use it.
1839 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1842 the text from the previous column if there is no
1843 HildonTouchSelectorColumn::text-property set.
1845 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1847 * src/hildon-button.h
1848 * src/hildon-button.c (hildon_button_set_property)
1849 (hildon_button_get_property, hildon_button_class_init)
1850 (hildon_button_set_style, hildon_button_get_style):
1851 New "style" property to change the visual appearance of the
1854 * src/hildon-picker-button.c (hildon_picker_button_new):
1855 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1857 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1858 HildonButton look like PickerButton)
1860 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1862 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1863 column while building the default string.
1865 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1867 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1868 scroll indicator by default.
1870 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1872 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1874 * src/hildon-main.c: Fix the documentation for hildon_init()
1876 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1878 * doc/hildon-docs.sgml
1882 * src/hildon-window-stack-private.h
1883 * src/hildon-window-stack.h
1884 * src/hildon-window-stack.c:
1885 New HildonWindowStack object, that adds support for multiple
1886 stacks of windows per process.
1888 * src/hildon-stackable-window-private.h
1889 * src/hildon-stackable-window.h
1890 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1891 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1892 (hildon_stackable_window_show, hildon_stackable_window_hide)
1893 (hildon_stackable_window_class_init)
1894 (hildon_stackable_window_init):
1895 Use HildonWindowStack for stack management.
1897 * src/hildon-program.c (hildon_program_pop_window_stack)
1898 (hildon_program_peek_window_stack)
1899 (hildon_program_go_to_root_window):
1900 Add a fallback implementation to the deprecated functions using
1903 * examples/hildon-stackable-window-example.c:
1904 Use the new HildonWindowStack API.
1906 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1908 * src/hildon-stackable-window-private.h
1909 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1910 (hildon_stackable_window_hide, hildon_stackable_window_init):
1911 Remove all window stack management.
1913 * src/hildon-program-private.h
1914 * src/hildon-program.h
1915 * src/hildon-program.c (hildon_program_init)
1916 (hildon_program_pop_window_stack)
1917 (hildon_program_peek_window_stack)
1918 (hildon_program_go_to_root_window):
1919 Remove all window stack management and mark functions as
1922 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1924 * src/hildon-app-menu.c (hildon_app_menu_realize):
1925 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1927 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1929 * configure.ac: post release version bump
1930 * debian/changelog: version bump
1932 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1937 * configure.ac: bump version
1938 * debian/changelog: updates
1940 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1942 Based on initial code by Christian Dywan (christian@imendio.com)
1944 * doc/hildon-docs.sgml: Add section for hildon-main.
1945 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1946 * src/Makefile.am: Add new hildon-main.[ch]
1947 * src/hildon-defines.h: Update the icon sizes.
1948 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1949 new library initialization files and register icon sizes.
1950 * src/hildon-main.h: New declarations.
1951 * src/hildon.h: Include hildon-main.h
1953 Add new initialization functions to the library. These methods
1954 will register the hildon specific icon sizes and can be used in the
1955 future for other hildon specific bits.
1957 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1959 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1961 * src/hildon-window.c: (hildon_window_realize),
1962 (hildon_window_notify), (-hildon_window_update_title): Do not set
1963 the application name in the window title.
1965 Fixes: NB#89754 (Applications shouldn't display their names in the
1968 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1970 * src/hildon-note-private.h:
1971 * src/hildon-note.c: (hildon_note_set_property),
1972 (hildon_note_get_property), (hildon_note_class_init),
1973 (hildon_note_init), (hildon_note_finalize),
1974 (hildon_note_new_confirmation_with_icon_name),
1975 (hildon_note_new_information_with_icon_name):
1977 No need to mark as deprecated the actual code. Revert
1978 to avoid missing symbols in widgets using deprecated API.
1980 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1982 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1984 * src/hildon-volumebar.h
1985 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1986 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1988 * src/hildon-helper.h
1989 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1990 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1992 * examples/Makefile.am:
1993 Deprecate hildon-insensitive-example
1995 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1997 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1999 * examples/hildon-pannable-area-buttons-scroll-example.c:
2000 Make all buttons finger height
2002 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
2004 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
2006 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
2007 update the day model only if it is really required, and to avoid the
2008 full-reconstruction aproach. Now it only add or remove the required days.
2010 The purpose of this is avoid superfluous HildonTouchSelector::changed
2013 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2014 with strange parameters)
2016 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2018 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2020 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2021 the WINDOW_TYPE property.
2023 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2025 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2028 Fix dependency to allow parallel compilation with make -jX
2030 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2032 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2033 color frame and some minor tweaks to make it more consistent with
2036 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2037 highlighted but not visible)
2039 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2041 * examples/Makefile.am: Fixed typo in the Makefile.am.
2043 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2045 Reviewed the use of MAEMO_GTK define, now we add the define in the
2046 compilation line, and we also add it to the pc file.
2048 * configure.ac: Added MAEMO_GTK define to the compilation command
2049 and removed it from the config.h.
2051 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2052 do not have to take care about this define if the library was
2056 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2058 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2060 * examples/Makefile.am,
2061 * examples/hildon-pannable-area-buttons-scroll-example.c,
2062 * examples/hildon-pannable-area-gesture-signals-example.c,
2063 * examples/hildon-pannable-area-scroll-jump-example.c,
2064 * examples/hildon-pannable-area-tree-view-example.c:
2065 Renamed the pannable area examples, now they have more meaningful
2068 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2070 * src/hildon-touch-selector.c:
2071 (hildon_touch_selector_set_column_selection_mode): Used of
2072 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2073 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2074 to avoid re-seting the same selection mode.
2076 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2077 breaks HildonPickerDialog)
2079 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2081 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2082 conditional in the Makefile.am
2084 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2086 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2087 Remove unused methods.
2089 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2091 * src/hildon-button.c (hildon_button_init):
2092 Make button images center-aligned by default
2094 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2097 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2098 activated, we have to think about how to deal with both defines
2099 MAEMO_GTK and MAEMO_CHANGES.
2101 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2103 * examples/hildon-app-menu-example.c (create_menu): Make all
2104 buttons finger size.
2106 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2108 Fixed the compilation without maemo gtk adding ifdefs with
2109 MAEMO_GTK define to the code, we have to check this version more
2112 * examples/Makefile.am: Added control to avoid some examples that
2113 just make sense with maemo gtk.
2116 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2117 hildon modes with the define.
2119 * examples/hildon-edit-toolbar-example.c,
2120 (create_icon_view): Create the icon view without hildon-gtk
2121 helpers if we are not using maemo gtk.
2123 * src/hildon-touch-selector.c,
2124 (_create_new_column): Create the treeview without hildon-gtk
2125 helpers if we are not using maemo gtk.
2127 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2129 * src/hildon-pnnable-area.c,
2130 (hildon_pannable_area_dispose),
2131 (hildon_pannable_area_button_press_cb),
2132 (hildon_pannable_area_child_mapped),
2133 (hildon_pannable_area_add),
2134 (hildon_pannable_area_remove): Added code to control the position
2135 of the event_window when adding and removing children from the
2136 pannable. We have to raise the event window when the child is
2139 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2140 selection mode using custom widget inside pannable)
2142 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2144 * configure.ac: post release version bump
2145 * debian/changelog: version bump
2147 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2152 * configure.ac: bump version
2153 * debian/changelog: updates
2155 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2157 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2158 search mode, in order to avoid lose the focus on the treeview when
2159 a hw key (like enter) is pressed.
2161 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2162 in HildonDateSelector dialog)
2164 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2166 * debian/rules: Added --enable-maintainer-mode
2167 * Makefile.am: Added ACLOCAL_AMFLAGS
2169 This allows to properly regenerate the Makefiles if you modify the
2170 configure.ac or any Makefile.am.
2172 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2174 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2175 properties, not needed at all.
2177 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2181 * src/hildon-note.c: (hildon_note_set_property),
2182 (hildon_note_get_property), (hildon_note_class_init),
2183 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2184 (hildon_note_new_confirmation_add_buttons): Remove icons.
2185 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2186 (hildon_note_new_information_with_icon_name): Deprecate.
2187 (hildon_note_new_confirmation): Act directly, without calling
2188 the deprecated constructor.
2189 (hildon_note_new_information): Act directly, without calling
2190 the deprecated constructor.
2191 * src/hildon-note.h: Mark deprecate methods as such.
2192 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2193 not run tests on the deprecated methods if built with deprecation
2196 Fixes: NB#91688 (Never show icons in information notes/confirmation
2199 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2201 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2202 (hildon_app_menu_key_press): Remove leftover usage of the
2203 private structure in HildonAppMenu struct.
2204 * src/hildon-app-menu.h: Remove leftover private structure
2205 from the HildonAppMenu struct.
2207 Fixes a crasher when using the HildonAppMenu.
2209 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-picker-dialog.c: Use appropriate logical id
2212 for the default "Done" text.
2214 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2216 * configure.ac: post release version bump
2217 * debian/changelog: version bump
2219 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2221 Modified the way to scroll to the current selection just when the touch
2222 selector is shown on the screen, avoiding a g_idle. Added too a property
2223 to configure this behaviour. See hildon_pannable_area_jump_to_child
2224 documentation for more information.
2226 * src/hildon-touch-selector.c
2227 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2228 Added 'initial-scroll' property
2229 (hildon_touch_selector_set_property): Added
2230 (hildon_touch_selector_map): Removed as not required anymore
2231 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2232 only a concrete column, instead of iterate along all the columns
2234 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2239 * configure.ac: bump version
2240 * debian/changelog: updates
2242 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2244 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2245 compilation time warnings.
2247 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2250 the default value for HildonPannableArea::mov-mode to
2251 HILDON_PANNABLE_AREA_MODE_VERT.
2253 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2255 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2257 Reverting following commit:
2259 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2261 * src/hildon-app-menu-private.h
2262 * src/hildon-app-menu.[ch]
2263 * src/hildon-button.[ch]
2264 * src/hildon-check-button.[ch]
2265 * src/hildon-entry.[ch]
2266 * src/hildon-pannable-area.[ch]
2267 * src/hildon-text-view.[ch]:
2268 Added private field to the object's structure.
2270 because it causes an ABI breakage. We will need to introduce these
2271 changes later at some point. See NB#91636 for an extensive
2272 explanation and status.
2274 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2276 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2278 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2279 remove special cases that are no longer necessary.
2281 Fixes: NB#91016 (Change toolbar sizes, simplification)
2283 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2286 is shown in the cancel note.
2288 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2290 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2291 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2292 (hildon_seekbar_init): Remove steppers, remove expose event.
2293 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2295 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2297 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2299 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2300 label font to "SmallSystemFont" for vertically arranged buttons.
2302 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2305 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2307 * src/hildon-check-button.c
2308 (hildon_check_button_set_active, hildon_check_button_clicked):
2309 Don't access private parts directly, use getters instead.
2311 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2313 * src/hildon-check-button.c (hildon_check_button_new):
2314 Align the contents of the check button to the left.
2316 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2318 * src/hildon-pannable-area.c,
2319 (hildon_pannable_area_scroll_to),
2320 (hildon_pannable_area_jump_to),
2321 (hildon_pannable_area_scroll_to_child),
2322 (hildon_pannable_area_jump_to_child): Replace the mapped
2323 precondition of these functions with the realized, it is the
2324 correct state of the widget in this case. Changed the
2325 documentation according to this modification.
2327 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2329 Added a new EXTRA_CFLAGS option to add the deprecated define to
2330 the compilation command. This way we can avoid using the define in
2331 the documentation compilation.
2333 * configure.ac: Defined EXTRA_CFLAGS.
2335 * examples/Makefile.am:
2337 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2339 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2341 * src/hildon-picker-dialog.c:
2342 Defined a utility macro with the desired touch selector height
2343 Removed currently unused separator, and title_label variables from
2345 (hildon_picker_dialog_init): Removed code related to the creation
2346 of unused private variables title_label and separator.
2347 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2348 to ensure correct visualization of the touch selector inside the dialog.
2349 * src/hildon-touch-selector.c
2350 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2351 ensure a concrete height of the widget.
2353 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2356 * tests/Makefile.am:
2358 Remove spurious whitespaces.
2360 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2362 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2363 compilation warning after the cancel button removal.
2365 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2367 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2369 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2370 Makefile.am, that way we can choose not to compile some examples
2371 and tests of the deprecated widgets.
2373 * examples/Makefile.am: Divided the sources in deprecated and
2376 * src/Makefile.am: Added undef statement of the deprecated
2377 symbol to the enums file generation process.
2379 * src/hildon-color-chooser-dialog.c
2380 * src/hildon-color-chooser-dialog.h
2381 * src/hildon-color-button.c
2382 * src/hildon-color-button.h
2383 * src/hildon-color-chooser.c
2384 * src/hildon-color-chooser.h
2385 * src/hildon-controlbar.c
2386 * src/hildon-controlbar.h
2387 * src/hildon-date-editor.c
2388 * src/hildon-date-editor.h
2389 * src/hildon-hvolumebar.c
2390 * src/hildon-hvolumebar.h
2391 * src/hildon-private.c
2392 * src/hildon-private.h
2393 * src/hildon-range-editor.c
2394 * src/hildon-range-editor.h
2395 * src/hildon-seekbar.c
2396 * src/hildon-seekbar.h
2397 * src/hildon-time-editor.c
2398 * src/hildon-time-editor.h
2399 * src/hildon-time-picker.c
2400 * src/hildon-time-picker.h
2401 * src/hildon-volumebar.c
2402 * src/hildon-volumebar.h
2403 * src/hildon-vvolumebar.c
2404 * src/hildon-vvolumebar.h
2405 * src/hildon-bread-crumb-trail.h
2406 * src/hildon-bread-crumb-trail.c
2407 * src/hildon-calendar-popup.c
2408 * src/hildon-calendar-popup.h
2409 * src/hildon-weekday-picker.c:
2410 * src/hildon-weekday-picker.h:
2411 * src/hildon-bread-crumb-widget.c:
2412 * src/hildon-bread-crumb-widget.h:
2413 * src/hildon-bread-crumb.c:
2414 * src/hildon-bread-crumb.h:
2415 * src/hildon-calendar.c:
2416 * src/hildon-calendar.h:
2417 * src/hildon-caption.c:
2418 * src/hildon-code-dialog.c:
2419 * src/hildon-code-dialog.h:
2420 * src/hildon-font-selection-dialog.c:
2421 * src/hildon-font-selection-dialog.h:
2422 * src/hildon-get-password-dialog.c:
2423 * src/hildon-get-password-dialog.h:
2424 * src/hildon-login-dialog.c:
2425 * src/hildon-login-dialog.h:
2426 * src/hildon-number-editor.c:
2427 * src/hildon-number-editor.h:
2428 * src/hildon-set-password-dialog.c:
2429 * src/hildon-set-password-dialog.h:
2430 * src/hildon-sort-dialog.c:
2431 * src/hildon-sort-dialog.h: This is the list of deprecated
2434 * src/hildon-touch-selector.c:
2435 * src/hildon-window.c: Added undef statement to avoid compilation
2438 * tests/Makefile.am: Divided the sources in deprecated and
2441 * tests/check_test.c,
2442 (configure_tests): Marked the deprecated code that was adding
2443 suites with deprecated tests.
2445 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2447 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2449 * src/hildon-touch-selector.c: (_default_print_func): Do not
2450 duplicate a string returned by gtk_tree_model_get(), it is already
2453 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2456 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2458 * src/hildon-pannable-area.c
2459 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2460 method, it had problems when adding a widget with viewport the
2461 second time. Now checks if it already has a viewport and uses it.
2463 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2466 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2468 * src/hildon-pannable-area.c,
2469 (hildon_pannable_area_scroll_to),
2470 (hildon_pannable_area_jump_to),
2471 (hildon_pannable_area_scroll_to_child),
2472 (hildon_pannable_area_jump_to_child): Added a precondition to the
2473 scroll and jump to functions: the widget must be mapped before we
2474 can safely call these functions. We have also added documentation
2475 to the functions to explain how to use them in this situation.
2478 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2480 Reviewed the threading handling of the pannable widget, we have
2481 used the gdk_threads_add_timeout function instead of the usual
2482 glib handlers. This avoids some problems with the threads.
2484 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2485 (hildon_pannable_area_initial_effect),
2486 (hildon_pannable_area_scroll_indicator_fade),
2487 (hildon_pannable_area_button_press_cb),
2488 (hildon_pannable_area_timeout),
2489 (hildon_pannable_area_motion_notify_cb),
2490 (hildon_pannable_area_button_release_cb),
2491 (hildon_pannable_area_scroll_cb),
2492 (hildon_pannable_area_scroll_to): Removed the
2493 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2494 gdk_threads_add_timeout.
2496 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2498 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2503 * configure.ac: bump version
2504 * debian/changelog: updates
2506 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2508 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2509 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2510 * src/hildon-color-chooser-dialog.c:
2511 (hildon_color_chooser_dialog_init):
2512 * src/hildon-font-selection-dialog.c:
2513 (hildon_font_selection_dialog_init):
2514 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2516 Remove all cancel/close-like dialogs, as these are not going to be
2519 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2521 * src/hildon-note.c: (hildon_note_rebuild),
2522 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2525 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2527 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2529 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2530 sure all buttons are shown, even the Cancel/Close-like ones.
2532 Fixes: NB#90861 (Custom Confirmation dialogs should be
2533 protected from cancel button removal)
2535 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2537 * debian/control: Change libhildon1-examples dependency from libhildon1
2539 * debian/libhildon1-examples.install
2541 * Makefile.am: Modified the final install directory for the examples on
2542 package libhildon1-examples
2543 * Makefile.static: Update clean target in order to remove all the binary
2546 Changes suggested by Claudio after review new libhildon1-examples package
2548 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2550 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2551 * src/hildon-touch-selector.c: Ditto.
2553 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2555 * debian/control: Added new package libhildon1-examples, in order to pack
2556 the current hildon examples as documentation
2557 * debian/rules: Not to compress .c files, modify some includes on the
2558 examples (as normally are compiled locally, but when installed it will
2559 require to include the installed libhildon1 library), and rename
2561 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2562 install all the example files on the new example package
2563 * examples/Makefile.static: Added static makefile that can be used to
2564 compile the examples, once installed the new example package
2565 * examples: Most of the examples were modified in order to grant that
2566 all use only '#include "hildon.h"', in order to be easy to prepare
2567 it on the example package
2569 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2572 * debian/libhildon1-dev.install
2573 * debian/libhildon1-doc.install:
2574 Move all gtk-doc files to a separate libhildon1-doc package.
2576 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2578 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2580 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2582 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2584 * debian/rules: Fixed a error in order to avoid unnecessary calls
2585 to autogen.sh on package building
2587 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2589 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2591 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2593 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2596 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2598 * src/hildon-picker-button.c
2599 (hildon_picker_button_finalize):
2600 Free priv->done_button_text
2602 * src/hildon-time-button.c
2603 (hildon_time_button_set_time)
2604 * src/hildon-picker-button.c
2605 (hildon_picker_button_clicked)
2606 (hildon_picker_button_selector_selection_changed)
2607 (hildon_picker_button_set_selector)
2608 * src/hildon-date-button.c
2609 (hildon_date_button_set_date):
2610 Free strings returned by hildon_touch_selector_get_current_text()
2612 * src/hildon-button.c (hildon_button_construct_child):
2613 Fix leaks in priv->image and priv->label_box
2615 Fixes: NB#90535 (Memory leak in picker button)
2617 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2619 * src/hildon-button.c: (hildon_button_get_property): Do not access
2620 private elements directly, use getters instead.
2622 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-app-menu-private.h
2625 * src/hildon-app-menu.c
2626 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2627 Store the menu's parent window.
2629 * src/hildon-stackable-window.c
2630 (hildon_stackable_window_toggle_menu)
2631 (hildon_stackable_window_finalize):
2632 Set the menu's parent window when the menu is shown, unset it when
2635 * src/hildon-app-menu.c
2636 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2637 (hildon_app_menu_class_init):
2638 Send unhandled keyboard accelerators to the parent window.
2640 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2642 * src/hildon-stackable-window.c
2643 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2645 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2647 * configure.ac: post release version bump
2649 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2652 * configure.ac: Bump version
2653 * debian/changelog: Updates
2654 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2657 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2659 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2662 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2663 GtkMenu with Hildon style.
2665 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2667 * src/hildon-picker-button.c:
2668 (hildon_picker_button_set_done_button_text): Set the dialog's
2669 done button text here as well.
2671 Fixes: NB#90232 (Picker button does not set the label on done button
2672 for the second time)
2674 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2679 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2681 * src/hildon-app-menu.c (hildon_app_menu_insert)
2682 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2683 the HildonAppMenu to be activatable using keyboard accelerators
2684 when the menu is not being shown.
2686 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2688 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-stackable-window.c
2691 (hildon_stackable_window_show):
2692 Don't hide old windows automatically when new windows are shown:
2693 this is now a task for the window manager.
2694 (hildon_stackable_window_class_init)
2695 (hildon_stackable_window_hide):
2696 Remove windows from the stack everytime they're hidden.
2697 (hildon_stackable_window_realize):
2698 Don't change the _NET_WM_WINDOW_TYPE property. Use
2699 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2700 it as a stackable window.
2702 * src/hildon-program.c
2703 (hildon_program_pop_window_stack):
2704 Just hide the window to remove it from the stack.
2705 (hildon_program_go_to_root_window):
2706 Don't call gtk_widget_show(), this is now a task for the window
2709 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2711 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2713 * src/hildon-button.c
2714 (hildon_button_construct_child):
2715 Don't pack anything in the button until text or image are
2716 set. This allows adding a custom child after creating the button
2717 with hildon_button_new().
2718 (hildon_button_finalize, hildon_button_class_init)
2719 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2720 alignment and the label box even when they're not packed in the
2723 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2725 * src/hildon-touch-selector.h:
2726 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2727 currently the type definition was using GTK_TYPE_VBOX
2728 * src/hildon-touch-selector.c:
2729 Added some implementation notes in order to clarify that any other widget
2730 added without the column related API will not be included on the
2731 selection logic, and how the widget is freed, as some people ask about
2733 (hildon_touch_selector_remove): Reimplemented in order to free properly
2734 the column related data when you remove the private hbox.
2735 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2736 to get a proper HildonTouchSelectorColumn documentation
2738 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2740 * src/hildon-touch-selector-entry.c:
2741 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2742 text in the GtkEntry and there is no item selected. Fixes a
2745 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2747 * src/hildon-app-menu-private.h
2748 * src/hildon-app-menu.[ch]
2749 * src/hildon-button.[ch]
2750 * src/hildon-check-button.[ch]
2751 * src/hildon-entry.[ch]
2752 * src/hildon-pannable-area.[ch]
2753 * src/hildon-text-view.[ch]:
2754 Added private field to the object's structure.
2756 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2758 * configure.ac: post-release version bump
2760 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2764 * configure.ac: pre-release version bump
2766 * debian/changelog: updates.
2768 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2770 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2771 Disconnect the handler for HildonTouchSelector::changed.
2773 (hildon_picker_button_selector_selection_changed): Update the button
2774 value if the selection change was not triggered by the
2777 (hildon_picker_button_set_selector): connect to
2778 HildonTouchSelector::changed.
2780 Fixes: NB#89650 (Picker button is not updated, when selection in
2781 selector has changed)
2783 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2785 * src/hildon-picker-dialog.c
2786 (hildon_picker_dialog_realize): Removed as not required
2787 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2788 * src/hildon-picker-button.c
2789 (_current_selector_empty): New function, checks if the selector is empty
2790 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2791 if the current selector is empty, in order to avoid to show the dialog
2792 close the dialog in this case (and shows a g_warning).
2794 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2796 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2798 * src/hildon-pannable-area.c,
2799 (hildon_pannable_area_scroll): Added clause to stop movement when
2800 the child of pannable is smaller than one page.
2801 (hildon_pannable_area_scroll_to): Added conditions to avoid
2802 starting the scrolling movement if the child is smaller than one
2803 page, the complete child is in the screen, we do not have to move.
2805 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2807 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2810 this is managed automatically by the widget when the size of the
2813 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-picker-button.c
2816 (hildon_picker_button_set_done_button_text): Make a copy of the
2817 text, and free the previous value.
2819 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2821 * src/hildon-touch-selector-entry.c:
2822 (hildon_touch_selector_entry_print_func): Return the selected row's
2823 text if the entry is empty.
2825 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2828 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2830 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2832 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2835 * src/hildon-check-button.h
2836 * src/hildon-check-button.c
2837 * examples/hildon-check-button-example.c:
2838 HildonCheckButton is now a new widget. 'toggled' signal added.
2840 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2842 * src/hildon-program-private.h
2843 * src/hildon-program.c (hildon_program_init)
2844 (hildon_program_finalize): Removed unused variables group_leader
2845 and name from HildonProgramPrivate.
2847 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2849 * src/hildon-check-button.c (hildon_check_button_set_active)
2850 (hildon_check_button_get_active, hildon_check_button_new): Use
2851 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2853 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2855 * src/hildon-touch-selector.h
2856 (hildon_touch_selector_set_column_attributes): added deprecation
2857 guard HILDON_DISABLE_DEPRECATED
2858 * src/hildon-time-selector.c
2859 (hildon_time_selector_set_time)
2860 (hildon_time_selector_get_time): Fixed a typo on documentation
2861 * src/hildon-touch-selector.c: update HildonTouchSelector and
2862 HildonTouchSelectorColumn documentation
2863 * src/hildon-touch-selector-entry.c: update "text-column" property
2865 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2866 to be added to the general documentation.
2868 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2870 * examples/hildon-pannable-area-example-4.c,
2872 * examples/hildon-pannable-area-example.c,
2873 (main): Modified the code in order to use the container add, with
2874 viewport treeviews could have problems if they are really big.
2876 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2878 * src/hildon-weekday-picker.c,
2879 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2880 the agreement regarding deprecation in the library.
2882 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2884 * examples/hildon-picker-button-multicolumn-example.c:
2885 (main): Use custom "done" button text.
2887 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2888 (hildon_picker_button_set_property),
2889 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2890 (hildon_picker_button_init),
2891 (+hildon_picker_button_get_done_button_text),
2892 (+hildon_picker_button_set_done_button_text): New methods to customize
2893 the "done" button label in the launched HildonPickerDialog. Also,
2896 * src/hildon-picker-button.h: add the public API.
2898 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2900 * src/hildon-date-selector.h:
2901 * src/hildon-picker-dialog.h:
2902 * src/hildon-time-selector.h:
2903 * src/hildon-touch-selector-column.h:
2904 * src/hildon-touch-selector.h:
2906 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2907 declarations. Fixes gtk-doc warnings.
2909 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-picker-dialog.h
2912 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2913 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2915 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2916 long text is set as label for done button)
2918 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2920 * src/hildon-dialog.c (hildon_dialog_add_button):
2921 Set fixed width to all buttons in the HildonDialog.
2923 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2925 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2927 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2928 Set widget name using class name plus "-finger" or "-thumb".
2930 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2932 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2933 'clicked' when the state of the button is manually changed.
2935 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2937 * src/hildon-app-menu.c (hildon_app_menu_realize)
2938 (hildon_app_menu_unrealize, hildon_app_menu_init)
2939 (hildon_app_menu_class_init, item_visibility_changed):
2940 Change the menu layout when the size of the screen changes.
2941 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2942 Show warning only when changing the number of colums using the
2945 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2947 * debian/compat: Set to 5
2948 * debian/control: Update dependencies.
2949 * debian/libhildon1-dbg.install: Remove.
2950 * debian/libhildon1-dev.install: Update according to cdbs paths.
2951 * debian/libhildon1.install: Update according to cdbs paths.
2952 * debian/rules: Switch to cdbs.
2954 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2957 'item' variable renamed to 'filter'
2959 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2961 * src/hildon-app-menu.c (hildon_app_menu_insert)
2962 (hildon_app_menu_add_filter, remove_item_from_list)
2963 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2964 Don't leak hidden items when the menu is destroyed.
2966 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2968 * src/hildon-app-menu.c (hildon_app_menu_insert)
2969 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2970 (hildon_app_menu_set_columns, item_visibility_changed)
2971 (filter_visibility_changed, hildon_app_menu_repack_filters)
2972 (hildon_app_menu_repack_items):
2973 Repack items and filters separately.
2975 Don't repack all items, change only the ones that are needed to
2978 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2980 * src/Makefile.am: added hildon-touch-selector-column.h
2982 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2984 * src/hildon-touch-selector.c: added the property "text-column" to the
2985 class HildonTouchSelectorColumn, and related get/set functions
2986 (_default_printf_func): updated to use "text-column" property
2987 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2988 "text-column" in his documentation, as this is now included on
2989 HildonTouchSelectorColumn. The get/set_property can still be used,
2990 working as a wrapper to the concrete column "text-column" property
2991 (_text_column_modified): callback added in order to handle the signal
2992 "notify::text-column" of the concrete HildonTouchSelectorColumn
2993 (hildon_touch_selector_entry_get_text_column)
2994 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2995 modified in order to use the HildonTouchSelectorColumn "text-column"
2997 * src/hildon-time-selector.c:
2998 * src/hildon-date-selector.c:
2999 * examples/hildon-touch-selector-example.c
3000 * examples/hildon-touch-selector-multi-cells-example.c
3001 * examples/hildon-picker-button-multicolumn-example.c
3002 Set the right value to "text-column" property on the creation of a new
3003 column using hildon_touch_selector_append_column()
3005 Fixes: NB#88644 (Hardcoded first column of the model as text column)
3007 2008-09-30 Alberto Garcia <agarcia@igalia.com>
3009 * src/hildon-app-menu.c
3010 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3011 updating the layout of the menu, don't create all widgets again,
3012 just repack the items in their new places.
3014 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3016 * src/hildon-time-selector.c
3017 (hildon_time_selector_get_time)
3018 (hildon_time_selector_set_time)
3019 Added documentation of these public methods
3021 * src/hildon-date-button.h
3022 * src/hildon-touch-selector-column.h
3023 * src/hildon-time-button.h
3024 * src/hildon-picker-dialog.h
3025 * src/hildon-time-selector.h
3026 * src/hildon-picker-button.h
3027 * src/hildon-touch-selector.h
3028 * src/hildon-time-picker.h
3029 * src/hildon-date-selector.h
3030 * src/hildon-touch-selector-entry.h
3031 Modified in order to use hildon-widgets code style
3033 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3035 Added deprecated support to the compilation process using
3036 HILDON_DISABLE_DEPRECATED
3038 * configure.ac: Added the --disable-deprecated to the configure
3041 * src/hildon-weekday-picker.c:
3042 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3043 to use the deprecated support. We will update the other deprecated
3044 widgets status in a new patch.
3046 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3048 * configure.ac: Fixed typo with fatal warnings support, the
3049 variable name was not correct
3051 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-app-menu.c
3054 * src/hildon-program.c: Update documentation.
3056 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3058 * configure.ac: Post-release version bump.
3060 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3065 * configure.ac: Pre-release version bump.
3066 * debian/changelog: Updates.
3068 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3070 * NEWS: Update news for previous releases.
3072 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3074 * examples/hildon-touch-selector-multi-cells-example.c:
3075 (create_selector): Update the example to use
3076 hildon_touch_selector_append_column() with a NULL renderer and set
3077 the renderers later.
3078 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3079 passed a NULL renderer. This is documented behavior now.
3081 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3082 This must be used if the developer wants full control on the layout of
3083 the renderers to be added to the column.
3085 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3087 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3089 * src/hildon-touch-selector.c: Documentation fixes.
3091 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3093 * src/hildon-wizard-dialog-private.h: Remove image and box.
3094 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3095 (hildon_wizard_dialog_set_property), (response): Completely remove
3096 image/icon support, and the containers required for the layout.
3098 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3100 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-app-menu.c: Updated documentation.
3104 * src/hildon-stackable-window.c
3105 (hildon_stackable_window_set_main_menu): Unref the old menu after
3106 ref'ing the new one.
3108 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3110 * src/hildon-stackable-window.c
3111 (hildon_stackable_window_set_main_menu): Unref the previous menu
3112 instead of destroying it.
3114 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3115 floating reference and set has_user_ref_count to FALSE to make
3116 HildonAppMenu act like a normal ref-counted widget and not a
3119 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3122 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3124 * src/hildon-touch-selector-column.h: new file
3125 * src/hildon-touch-selector.h
3126 * src/hildon-touch-selector.c
3127 Implemented GtkCellLayout interface, in order to allow to configure
3128 the cell layout on each individual selector column
3129 (hildon_touch_selector_set_column_attributes): marked as deprecated
3130 * examples/hildon-touch-selector-multi-cells-example.c
3131 Example of how to use the GtkCellLayout interface on the selector
3133 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3135 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3137 * src/hildon-app-menu.h
3138 * src/hildon-app-menu.c
3139 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3140 (hildon_app_menu_append, hildon_app_menu_prepend):
3141 New methods to prepend, insert and move items in the menu.
3143 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3145 * src/hildon-wizard-dialog.c:
3147 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3149 (create_title): Update logical IDs and related code.
3150 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3152 * src/hildon-wizard-dialog.h: Note that
3153 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3154 point, as it is not used anymore.
3156 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3158 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3160 * src/hildon-note.c:
3161 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3162 shown. Do not display an icon in confirmation notes nor information
3164 (hildon_note_set_button_text): Update logical ID for cancel button.
3166 Fixes: NB#88850 (Update HildonNote button strings + signals)
3168 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3170 * src/hildon-stackable-window.c
3171 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3173 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3175 * src/hildon-app-menu-private.h
3176 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3177 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3178 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3179 temporary property 'columns' to change the number of columns.
3181 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3183 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3185 * examples/hildon-note-example.c: (on_information_clicked),
3186 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3187 debugging information.
3188 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3190 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3191 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3192 in order to close: this will be handled by the WM from now on.
3194 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3196 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-app-menu-private.h
3199 * src/hildon-app-menu.c
3200 (hildon_app_menu_append, hildon_app_menu_add_filter)
3201 (button_visibility_changed, hildon_app_menu_apply_style)
3202 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3203 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3204 layout everytime a button (item or filter) is shown or hidden.
3206 * src/hildon-stackable-window.c
3207 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3210 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3212 * src/hildon-touch-selector.c:
3213 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3214 that the treeview inside the touch selector is in fremantle hildon mode
3215 * examples/hildon-date-button-example.c
3216 * examples/hildon-picker-button-multicolumn-example.c
3217 * examples/hildon-touch-selector-entry-example.c
3218 * examples/hildon-touch-selector-example.c
3219 * examples/hildon-time-button-example.c
3220 * examples/hildon-picker-button-example.c:
3221 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3223 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3225 * examples/hildon-text-view-example.c: (main): Remove the
3226 gtkrc bits, now handled by the theme.
3228 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3233 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3235 * po/Makefile.am: Install properly the mo files.
3236 * po/en_GB.po: Update translation, to ease testing purposes.
3238 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3240 * examples/hildon-picker-button-example.c: (main): Select an item
3241 in the selector before setting it to the button.
3243 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3245 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3246 Update button's value if the selector has an item active.
3248 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3249 'value' with the selector)
3251 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3253 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3254 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3255 (hildon_picker_button_class_init): Plug the finalize method.
3256 (hildon_picker_button_set_selector): If there's a previously set
3257 selector, unref'it before setting a new one.
3259 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3260 HildonTouchSelector)
3262 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3264 * src/hildon-touch-selector-entry.c:
3265 (hildon_touch_selector_entry_changed): Check if there is no text
3266 selected before setting the entry text.
3269 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-touch-selector.h
3272 * src/hildon-touch-selector.c
3273 (hildon_touch_selector_get_active)
3274 (hildon_touch_selector_set_active): New methods to set/get the
3275 index of the selected item.
3277 * src/hildon-picker-button.h
3278 * src/hildon-picker-button.c
3279 (hildon_picker_button_get_active)
3280 (hildon_picker_button_set_active): New methods to set/get the
3281 index of the selected item.
3283 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3285 * configure.ac: post-release version bump.
3287 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3291 * configure.ac: Pre-release version bump.
3292 * debian/changelog: Updates.
3293 * debian/control: Add myself as maintainer and depend on l10n
3296 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-window.c
3299 (hildon_window_set_main_menu)
3300 * src/hildon-stackable-window.c
3301 (hildon_stackable_window_set_main_menu):
3302 Updated documentation.
3304 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3306 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3307 Don't free selector->priv manually.
3310 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3313 (hildon_gtk_window_set_progress_indicator):
3314 * src/hildon-gtk.h: Added the new API
3315 hildon_gtk_window_set_progress_indicator, it changes the state of
3316 the window progress hint.
3318 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-button.c
3321 * src/hildon-stackable-window.c: Minor documentation updates.
3323 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3325 * src/hildon-stackable-window.c: Updated documentation.
3327 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3329 * src/hildon-defines.h: Update margins definitions
3330 to the Fremantle sizes.
3333 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-touch-selector.c,
3336 (_hildon_touch_selector_set_model): Cleaning the code after
3337 review, removed g_print and #if 0 from the code.
3339 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-edit-toolbar.c: Update documentation.
3343 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3345 * src/hildon-check-button.h
3346 * src/hildon-check-button.c
3347 (hildon_check_button_set_label, hildon_check_button_get_label)
3348 * examples/hildon-check-button-example.c
3349 (button_clicked_cb):
3350 Removed deprecated methods.
3352 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-text-view.c:
3355 Add sample code to the documentation.
3357 * src/hildon-entry.h
3358 * src/hildon-text-view.h:
3359 Minor cosmetic changes.
3361 * src/hildon-entry.c:
3362 Add sample code to the documentation.
3363 (hildon_entry_init, hildon_entry_refresh_contents):
3364 Don't allow NULL values in the placeholder.
3366 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3368 * doc/hildon-docs.sgml
3370 * examples/Makefile.am
3371 * examples/hildon-text-view-example.c
3373 * src/hildon-text-view.c
3374 * src/hildon-text-view.h
3376 New HildonTextView widget, with example.
3378 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3380 * po/POTFILES.in: Add missing files with translatable strings.
3381 Partially fixes NB#88287.
3383 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3385 * examples/hildon-pannable-area-example-2.c: (main): No need to
3386 set the cellrenderer height inside hildon touch lists, the theme does
3389 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3391 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3392 they are integrated in the theme.
3394 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3396 * examples/hildon-entry-example.c: Update the example adding
3397 widgets to modify the text and the placeholder of the HildonEntry.
3399 * src/hildon-entry.c: Show the placeholder everytime the widget
3400 is empty and loses the focus.
3402 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3404 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3406 * src/hildon-pannable-area.c,
3407 (hildon_pannable_area_size_request): Fixed bug in height
3408 requisition, avoid increasing size and add border twice.
3410 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3412 * configure.ac: postrelease version bump.
3414 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3418 * configure.ac: Prerelease version bump.
3419 * debian/changelog: update.
3420 * debian/rules: make -dbg package contain useful debugging symbols.
3422 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-dialog.h
3425 * src/hildon-dialog.c
3426 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3427 New methods to add buttons with finger size.
3428 (hildon_dialog_new_with_buttons):
3429 Create buttons with finger size.
3431 * examples/hildon-dialog-example.c (main): Use HildonDialog
3432 methods to add buttons.
3434 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3436 * src/hildon-entry.c: Updated HildonButton documentation.
3438 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3440 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3441 button value label with (FALSE, FALSE) to prevent NB#88126 from
3444 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3446 * examples/hildon-pannable-area-example.c,
3447 (main): Removed examples panning a vbox inside a pannable
3448 area. Check bug NB#87965
3450 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3452 Patch contributed by Kris Rietveld (kris@imendio.com)
3454 * src/hildon-pannable-area.c,
3455 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3456 get_size and get_position, this saves an X server roundtrip.
3458 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3460 * doc/hildon-docs.sgml
3462 * examples/Makefile.am
3463 * examples/hildon-entry-example.c
3465 * src/hildon-entry.c
3466 * src/hildon-entry.h
3468 New HildonEntry widget, with example.
3470 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3472 * src/hildon-button.c (hildon_button_construct_child): Pack the
3473 image with expand == fill == FALSE. This is a workaround for a bug
3476 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3478 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3479 labels for the text column, to make it more look more dynamic.
3481 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3483 * src/hildon-time-selector.c
3484 Define gettext auxiliar macro N_
3485 (_create_minutes_model)
3486 (_create_hours_model)
3487 (_create_ampm_model): use of strftime in order to fill the model
3488 * src/hildon-date-selector.c
3489 (hildon_date_selector_finalize):
3490 (_locales_init): remove the logic related to get the name of the months
3491 using nl_langinfo, as it is not required anymore
3493 (_create_year_model)
3494 (_create_month_model)
3495 (_update_day_model): use of strftime in order to fill the model properly
3498 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-button.h
3501 * src/hildon-button.c (hildon_button_get_image): New method to
3504 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3506 * src/hildon-touch-selector.c:
3507 (hildon_touch_selector_remove_column): Remove from the correct parent
3508 and also remove the list element and free it.
3511 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3513 * src/hildon-time-selector.c
3514 (_create_hours_model): change the range on 12h ampm format in order to use
3515 a 12-11 range instead of previous 01-12 range
3516 (hildon_time_selector_set_time): change the way to select the current time
3517 on 12h ampm format, due the change on the range
3518 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3521 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3523 * src/hildon-touch-selector.c
3524 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3525 in order to allow use this function on multiple row selection mode if
3526 the column is different that the first one
3529 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3531 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3532 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3534 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3536 * src/hildon-date-selector.h: clean some comments, now on the .c
3537 * src/hildon-date-selector.c
3538 (hildon_date_selector_select_month): first implementation
3539 (hildon_date_selector_select_day): added documentation, reimplemented
3540 using hildon_date_selector_select_current_date to avoid repeat code
3543 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3545 Reviewed interaction logic based on device experiences, refactored
3548 * src/hildon-pannable-area.c,
3549 (hildon_pannable_area_class_init): Updated default vmax speed.
3550 (hildon_pannable_area_calculate_velocity): Added this function, it
3551 avoids duplicate valocity calculation. Adjusted calculation to
3552 avoid problems with zero dist events.
3554 (hildon_pannable_area_motion_notify_cb): Now we use the
3555 calculate_velocity function.
3557 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3559 * src/hildon-date-selector.c
3560 (hildon_date_selector_select_current_date): fix the day range check
3561 as it failed using the last day of the current month
3564 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3566 * src/hildon-touch-selector.c
3567 (hildon_touch_selector_get_num_columns): added a parameter validation
3570 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3572 * examples/Makefile.am
3573 * examples/hildon-edit-toolbar-example.c: Example of the
3574 HildonEditToolbar widget.
3576 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3578 * configure.ac: postrelease version bump.
3580 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3584 * configure.ac: prerelease version bump.
3585 * debian/changelog: update.
3587 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3589 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3590 renderer to display stock icons in the touch list. Also, set the sizes
3591 to the recommended in the style guide.
3593 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3594 * src/hildon-touch-selector.h
3595 (hildon_touch_selector_set_active_iter): renamed, now is
3596 hildon_touch_selector_select_iter
3597 (hildon_touch_selector_get_active_iter): renamed, now is
3598 hildon_touch_selector_get_selected
3599 (hildon_touch_selector_unselect_iter): added
3600 * src/hildon-touch-selector.c
3601 Update after API modification (methods renamed)
3602 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3603 order to avoid problems selecting multiple elements on the column
3604 (hildon_touch_selector_unselect_iter): added the implementation
3605 * src/hildon-time-selector.c
3606 * src/hildon-date-selector.c
3607 * src/hildon-touch-selector-entry.c
3608 Update methods calls after hildon-touch-selector.h API modification (methods
3611 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3613 * src/hildon-stackable-window.c
3614 (hildon_stackable_window_finalize): Call the parent class's finalize.
3616 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3618 * examples/hildon-touch-selector-example.c: (create_selector): Use
3619 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3622 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3624 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3625 set a cell background color, to respect theming.
3627 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3629 * doc/hildon-docs.sgml
3632 * src/hildon-edit-toolbar.c
3633 * src/hildon-edit-toolbar.h
3634 * src/hildon.h: New HildonEditToolbar widget.
3636 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3638 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3641 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3642 * src/hildon-touch-selector.c
3643 (_create_new_column): use g_object_set instead of two g_object_set_property
3645 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3646 * src/hildon-touch-selector.c
3647 (_create_new_column): use of hildon_gtk_tree_view_new to create
3648 the treeview, instead of use directly g_object_new
3649 (_create_new_column): update the property name "vindicator-mode" for the
3650 new one "vscrollbar-policy"
3651 * examples/hildon-date-button-example.c
3652 * examples/hildon-picker-button-multicolumn-example.c
3653 * examples/hildon-touch-selector-entry-example.c
3654 * examples/hildon-touch-selector-example.c
3655 * examples/hildon-time-button-example.c
3656 * examples/hildon-picker-button-example.c
3657 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3658 to all the treeviews inside a pannable area.
3660 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3662 * src/hildon-button.h
3663 * src/hildon-button.c (hildon_button_init)
3664 (hildon_button_set_arrangement, hildon_button_set_alignment)
3665 (hildon_button_set_title_alignment)
3666 (hildon_button_set_value_alignment)
3667 (hildon_button_set_image_alignment)
3668 (hildon_button_construct_child): New methods to set the alignment
3669 of the individual components of the button (title, value,
3670 image). Also, new method to alter the xscale and yscale properties
3671 of the GtkAlignment inside the button, so more complex layouts can
3674 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3676 * src/hildon-button.c (hildon_button_style_set)
3677 (hildon_button_class_init, hildon_button_set_arrangement)
3678 (hildon_button_construct_child): Apply style properties
3679 correctly. Use the 'image-spacing' style property too.
3681 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3683 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3684 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3687 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3689 * src/hildon-pannable-area.c,
3690 (hildon_pannable_area_size_request): Fixed problem with
3691 pannable-area size_request.
3693 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3695 Added management for the grab-focus to a child widget, like a
3696 range, we need to fade out the scrollbar when releasing.
3698 * src/hildon-pannable-area.c,
3699 (hildon_pannable_area_init): Connected the grab-focus signal to
3701 (hildon_pannable_area_grab_notify): Added this function in order
3702 to manage the situation when the grab-focus ends. We have to
3703 fade-out the scrollbar.
3705 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3707 * src/hildon-app-menu.c: Minor documentation update.
3709 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3711 * src/hildon-app-menu.c
3712 * examples/hildon-app-menu-example.c (create_menu): Update
3713 examples and documentation to explain how to connect callbacks.
3715 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3717 * examples/hildon-button-example.c
3718 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3719 hildon_stackable_window_new instead of gtk_window_new
3721 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3723 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3724 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3725 (hildon_pannable_area_set_property),
3726 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3727 (hildon_pannable_area_unrealize),
3728 (hildon_pannable_area_size_request),
3729 (hildon_pannable_area_size_allocate),
3730 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3731 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3732 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3733 (hildon_pannable_area_initial_effect),
3734 (hildon_pannable_area_redraw),
3735 (hildon_pannable_area_scroll_indicator_fade),
3736 (hildon_pannable_area_expose_event),
3737 (hildon_pannable_area_get_topmost), (synth_crossing),
3738 (hildon_pannable_area_button_press_cb),
3739 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3740 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3741 (hildon_pannable_area_motion_notify_cb),
3742 (hildon_pannable_area_button_release_cb),
3743 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3744 (hildon_pannable_area_remove),
3745 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3746 chage the code layout to a more GtkWidget like. Review the use of
3749 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3751 * examples/hildon-pannable-area-example-4.c,
3752 (main): Modified the name of the hindicator_mode to
3755 * src/hildon-pannable-area.c,
3756 (hildon_pannable_area_class_init),
3757 (hildon_pannable_area_motion_notify_cb),
3758 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3759 we have reduced the amount of signals and managed reviewed its
3760 rationale. Changed the default decelerate value.
3762 (hildon_pannable_area_add),
3763 (hildon_pannable_area_redraw): Refactored functions.
3765 (hildon_pannable_area_init),
3766 (hildon_pannable_area_get_property),
3767 (hildon_pannable_area_set_property):
3768 (hildon_pannable_draw_vscroll),
3769 (hildon_pannable_draw_hscroll),
3770 (hildon_pannable_area_initial_effect),
3771 (hildon_pannable_area_expose_event),
3772 (hildon_pannable_area_scroll),
3773 (hildon_pannable_area_button_press_cb),
3774 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3775 and vindicator_mode with hscrollbar_policy and
3776 vscrollbar_policy. Replaced hscroll and vscroll with
3777 hscroll_visible and vscroll_visible.
3779 (hildon_pannable_area_refresh): Refactor the function, remove
3780 variables and check the calls to this function, added resize
3781 conditions in case the children change their layout.
3783 (hildon_pannable_area_size_request): Added more detailed
3784 size_request calculation.
3787 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3789 * src/hildon-color-chooser.c
3790 (init_borders): use the correct gtk_border_free instead of g_free, to
3791 avoid a crash when this widget is used (ie: the three color selection
3794 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3796 * src/hildon-check-button.c,
3797 (hildon_check_button_set_active): Fixed problem when setting the
3798 active value, the widget was not redrawn.
3800 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3802 * src/hildon-pannable-area.c,
3803 (hildon_pannable_area_refresh),
3804 (hildon_pannable_area_scroll),
3805 (hildon_pannable_area_motion_notify_cb): Small code style change.
3807 (hildon_pannable_area_class_init): Default initial_hint set to
3808 FALSE, it is not in the specs.
3810 (hildon_pannable_area_initial_effect),
3811 (hildon_pannable_area_expose_event),
3812 (hildon_pannable_area_map),
3813 (hildon_pannable_area_init): Moved the launching point of the
3814 initial effect, it was in map but the sizes where not correct in
3815 that method so we do not know if we have the reproduce it. Now it
3816 is placed in the expose_event method and uses a variable to
3817 reproduce it just once.
3819 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3821 * src/hildon-pannable-area.c,
3822 (hildon_pannable_draw_vscroll),
3823 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3824 position allowed for the scrollbars.
3826 (hildon_pannable_area_size_allocate): Small style change.
3828 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3830 * src/hildon-pannable-area.c,
3831 (hildon_pannable_area_scroll_indicator_fade),
3832 (hildon_pannable_area_button_press_cb),
3833 (hildon_pannable_area_button_release_cb),
3834 (hildon_pannable_area_scroll_cb),
3835 (hildon_pannable_area_expose_event),
3836 (hildon_pannable_area_init): Added the define parameter
3837 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3838 and refactor the fade variable.
3840 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3842 * src/hildon-pannable-area.c,
3843 (hildon_pannable_area_redraw),
3844 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3845 lines, we were reimplemeting the redraw code.
3847 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3849 * src/hildon-pannable-area.c,
3850 (hildon_pannable_area_scroll_cb),
3851 (hildon_pannable_area_realize),
3852 (hildon_pannable_area_class_init): Added scroll_event management
3853 for pannable area, now we can scroll the usual desktop method.
3855 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3856 initialization of the parameters should depend on idle_id.
3858 (hildon_pannable_area_init),
3859 (hildon_pannable_area_map): Small code style modifications
3861 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3863 * src/hildon-pannable-area.c
3864 (hildon_pannable_area_button_press_cb),
3865 (hildon_pannable_area_motion_notify_cb),
3866 (hildon_pannable_area_button_release_cb),
3867 (hildon_pannable_area_size_allocate),
3868 (hildon_pannable_area_scroll_to): Improved the timeouts
3869 management, we avoid creating them each time.
3871 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3873 * src/hildon-pannable-area.c:
3874 (hildon_pannable_area_refresh),
3875 (hildon_pannable_area_motion_notify_cb),
3876 (hildon_pannable_area_class_init):
3877 * src/hildon-pannable-area.h:
3878 * src/hildon-touch-selector.c
3879 (_create_new_column):
3880 * examples/hildon-pannable-area-example-4.c:
3881 (horizontal_movement),
3882 (vertical_movement),
3884 Replaced the names of enums in the HildonPannableArea:
3885 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3886 HILDON_MOVEMENT_MODE_*
3887 - HILDON_PANNABLE_AREA_MOV_* ->
3889 - Removed HildonPannableAreaIndicatorMode, now we
3892 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3894 * examples/hildon-pannable-area-touch-grid-example.c
3895 * examples/hildon-pannable-area-touch-list-example.c: Fix
3896 compilation warnings.
3898 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3900 * src/hildon-gtk.c (hildon_gtk_button_new)
3901 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3902 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3903 images overriding the value of the "gtk-button-images" setting.
3905 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3907 * src/hildon-check-button.c (hildon_check_button_new):
3908 Instead of using a custom container, display the label and the
3909 checkbox using the standard GtkButton API.
3911 * examples/hildon-check-button-example.c (main): Don't use
3912 hildon_check_button_set_label() anymore
3914 * src/hildon-check-button.h
3915 * src/hildon-check-button.c
3916 (hildon_check_button_set_label, hildon_check_button_get_label):
3917 Set as deprecated, now we're using gtk_button_{get,set}_label()
3919 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3921 * src/hildon-pannable-area.c,
3922 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3923 GtkTreeview first line we detected it after the inclusion of the
3924 GtkWindowImpl in gtk+. We now check if the window is visible, not
3925 just if the pointer is over the window.
3926 (hildon_pannable_axis_scroll),
3927 (hildon_pannable_area_expose_event): Small style changes.
3929 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3931 * src/hildon-button.c: Update documentation.
3933 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3935 * examples/hildon-button-example.c: Add a switch to show images in
3938 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3940 * doc/hildon-docs.sgml: Some docs reorganization.
3942 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3944 * examples/hildon-pannable-area-touch-list-example.c
3946 * examples/hildon-pannable-area-touch-grid-example.c
3947 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3948 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3949 Fix memory leak when setting the tree model.
3951 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3955 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3957 * doc/hildon.types: Remove duplicated hildon_window_get_type
3958 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3959 documentation comment.
3961 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3963 * doc/Makefile.am: Complete list of private headers.
3965 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3967 * doc/hildon-docs.sgml
3968 * src/hildon-app-menu.c
3969 * src/hildon-bread-crumb.c
3970 * src/hildon-button.c
3972 * src/hildon-program.c
3973 * src/hildon-stackable-window.c
3974 * src/hildon-window.c: Lots of documentation updates.
3976 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3978 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3980 * configure.ac: Require Gtk+ 2.12.9 at least
3982 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3984 * src/hildon-pannable-area.c
3985 (hildon_pannable_area_scroll_indicator_fade),
3986 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3987 to protect the return of this timeout callbacks, avoiding deadlocks.
3989 2008-08-12 Christian Dywan <christian@imendio.com>
3992 * src/hildon-*.h: Ensure a consistent include order,
3993 include <gtk/gtk.h> instead of particular files and
3994 only include the topmost header in the gtk stack. See NB #39857
3996 2008-08-12 Christian Dywan <christian@imendio.com>
3998 * src/hildon-picker-dialog.c
3999 * src/hildon-touch-selector.c: Fix warnings about unused and
4000 uninitialized variables.
4002 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4004 * examples/Makefile.am
4005 * examples/hildon-check-button-example.c: Example of the hildon
4008 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4010 * src/hildon-window.h
4011 * src/hildon-window.c (hildon_window_class_init)
4012 (hildon_window_unset_program): Don't make
4013 hildon_window_unset_program a virtual function anymore.
4015 * src/hildon-stackable-window.c: Update documentation
4017 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4020 * doc/hildon-docs.sgml
4021 * doc/visual_index.xml
4022 * src/hildon-defines.c
4024 * src/hildon-helper.c
4025 * src/hildon-range-editor.c: Lots of documentation fixes.
4027 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4029 * examples/hildon-picker-button-multicolumn-example.c
4030 (create_touch_selector): Fix compilation warning.
4032 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4034 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4035 (hildon_pannable_area_button_release_cb)
4036 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4038 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4040 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4043 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4045 * src/hildon-bread-crumb-trail.h
4046 * src/hildon-date-editor.c
4047 * src/hildon-date-selector.c
4048 * src/hildon-pannable-area.c
4049 * src/hildon-picker-dialog.c
4050 * src/hildon-time-selector.c
4051 * src/hildon-touch-selector-entry.c
4052 * src/hildon-touch-selector.c
4053 * src/hildon-touch-selector.h: Misc documentation fixes
4055 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4057 * examples/hildon-date-editor-example.c (main): Updated date
4060 * examples/hildon-note-example.c (on_confirmation_clicked):
4061 Updated confirmation note example.
4063 * src/hildon-date-editor.c
4064 * src/hildon-note.c: Updated sample programs in documentation.
4067 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-date-button.h:
4070 * src/hildon-picker-button.h:
4071 * src/hildon-time-button.c:
4072 * src/hildon-time-button.h:
4074 Some declarations changes to allow gtk-doc to document the widgets
4077 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4079 * src/hildon-date-button.c: Document the widget.
4080 * src/hildon-time-button.c: Document the widget.
4082 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4084 * src/hildon-picker-button.c: Document the widget.
4085 * src/hildon-touch-selector-entry.c: Document the widget.
4087 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4089 * doc/hildon-docs.sgml
4092 * src/hildon-check-button.h
4093 * src/hildon-check-button.c: New functions to create the Hildon
4097 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4099 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4101 * src/hildon-button.h
4102 * src/hildon-button.c
4103 (hildon_button_add_title_size_group)
4104 (hildon_button_add_value_size_group)
4105 (hildon_button_add_image_size_group)
4106 (hildon_button_add_size_groups): New functions to set size groups
4107 for the button labels and image.
4108 (hildon_button_new_full): Removed
4110 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4112 * src/hildon-time-selector.c
4113 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4114 in order to avoid a crash if gconf is not available
4116 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4118 * src/hildon-button.c (hildon_button_set_arrangement)
4119 (hildon_button_construct_child): Don't construct the button child
4120 before setting the arrangement.
4122 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4124 * src/hildon-program-private.h
4125 * src/hildon-program.c
4126 * src/hildon-program.h
4127 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4128 (hildon_program_peek_window_stack)
4129 (hildon_program_pop_window_stack)
4130 (hildon_program_go_to_root_window): HildonProgram now has a
4131 separate list for stackable windows. Functions are provided to
4132 manage that list with a stack-like API.
4134 * src/hildon-stackable-window.c: Stackable window management is
4135 now much simpler with the new HildonProgram API. Windows no
4136 longer need to be manually added to the program, they're
4137 automatically pushed to the top of the stack when shown.
4139 * examples/hildon-stackable-window-example.c: Updated example to
4140 reflect the API changes.
4142 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4144 * src/hildon-touch-selector.c: Comment out unimplemented
4145 hildon_touch_selector_insert_column() to avoid a compile warning.
4147 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4149 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4150 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4151 (hildon_touch_selector_set_column_selection_mode),
4152 (_hildon_touch_selector_set_model),
4153 (hildon_touch_selector_set_model):
4155 Complete review of HildonTouchSelector documentation.
4157 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4159 * doc/hildon-docs.sgml
4163 * src/hildon-gtk.c: Convenience functions for standard Gtk
4164 widgets, used to easily perform frequent operations.
4166 * src/hildon-button-helpers.h
4167 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4169 * src/hildon-helper.h
4170 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4171 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4173 * src/hildon-button.h
4174 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4176 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4178 * src/hildon-button.c (hildon_button_init)
4179 (hildon_button_set_arrangement, hildon_button_construct_child):
4180 Pack the image and the labels inside the same GtkAlignment so
4181 gtk_button_set_alignment() can be used
4183 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4185 * src/hildon-button.h
4186 * src/hildon-button.c
4187 (hildon_button_init, hildon_button_set_image)
4188 (hildon_button_set_image_position)
4189 (hildon_button_construct_child): New functions to add an image to
4192 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4194 * src/hildon-date-button.c
4195 * src/hildon-picker-button.c
4196 * src/hildon-time-button.c
4197 * src/hildon-button.c:
4198 (hildon_button_class_init): "size-flags" renamed to "size"
4199 (hildon_button_set_title): Hide the title label if set to NULL.
4201 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4203 HildonButtonFlags split into HildonButtonArrangement (to set the
4204 button layout) and HildonSizeType (which can be used for any
4207 * src/hildon-button.h
4208 * src/hildon-button.c
4209 (hildon_button_class_init)
4210 (hildon_button_set_arrangement)
4211 (hildon_button_set_property): New "size-flags"
4212 property. "arrangement-flags" renamed to "arrangement".
4213 (hildon_button_new, hildon_button_new_with_text)
4214 (hildon_button_new_full): Constructors updated to reflect type changes.
4216 * src/hildon-helper.h
4217 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4218 to set the size of a widget.
4222 * src/hildon-button-helpers.c
4223 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4225 * src/hildon-date-button.c
4226 * src/hildon-date-button.h
4227 * src/hildon-picker-button.c
4228 * src/hildon-picker-button.h
4229 * src/hildon-time-button.c
4230 * src/hildon-time-button.h: Updated widgets to reflect
4231 HildonButton API changes.
4233 * examples/hildon-button-example.c
4234 * examples/hildon-date-button-example.c
4235 * examples/hildon-picker-button-example.c
4236 * examples/hildon-picker-button-multicolumn-example.c
4237 * examples/hildon-time-button-example.c
4238 * examples/hildon-touch-selector-entry-example.c
4239 * examples/hildon-touch-selector-example.c: Updated examples to
4240 reflect HildonButton API changes.
4242 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4244 * doc/hildon-docs.sgml:
4246 * examples/Makefile.am:
4247 * examples/hildon-touch-selector-entry-example.c:
4249 * src/hildon-touch-selector-entry.c:
4250 * src/hildon-touch-selector-entry.h:
4253 Moved HildonTouchSelectorEntry from sandbox. Added its
4254 documentation and examples.
4256 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/hildon-touch-selector.h:
4259 * examples/hildon-picker-button-multicolumn-example.c:
4260 (hildon_touch_selector_append_text_column): Add a gboolean
4261 parameter to determine if text must be centered in the column.
4263 * src/hildon-date-selector.c: (hildon_date_selector_init):
4264 * src/hildon-time-selector.c: (hildon_time_selector_init):
4265 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4266 (create_touch_selector): Update widgets and example to reflect
4269 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4271 * src/hildon-touch-selector.c:
4272 (hildon_touch_selector_set_active_iter): Set also the cursor in
4275 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4277 * doc/hildon-docs.sgml
4280 * src/hildon-toggle-button.c
4281 * src/hildon-toggle-button.h
4282 * src/hildon.h: Removed HildonToggleButton widget, a derived
4283 class is not necessary for this.
4285 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4287 * src/hildon-pannable-area.c,
4288 (hildon_pannable_area_realize),
4289 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4292 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4294 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4295 "done" button the default widget for the dialog.
4297 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4299 * src/hildon-touch-selector.c:
4300 (hildon_touch_selector_class_init),
4301 (hildon_touch_selector_get_property),
4302 (_hildon_touch_selector_set_model),
4303 (_hildon_touch_selector_has_multiple_selection),
4304 (hildon_touch_selector_has_multiple_selection):
4305 Add a "has-multiple-selection" property with a virtual
4306 has_multiple_selection() method to allow derived classes to
4307 override the default value for it. See the method and property
4308 documentation for details.
4310 * src/hildon-touch-selector.h: Add the new API.
4312 * src/hildon-picker-dialog.c: (requires_done_button): Call
4313 hildon_touch_selector_has_multiple_selection() instead of
4314 determining the need for a button itself.
4316 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4319 (_hildon_touch_selector_set_model),
4320 (hildon_touch_selector_set_model): Move working code to
4321 _hildon_touch_selector_set_mode(). Call the class method instead.
4323 * src/hildon-touch-selector.h: Add (*set_model) to
4324 HildonTouchSelectorClass.
4326 Make hildon_touch_selector_set_model() a virtual method, so that
4327 derived classes can extend it and do fancy stuff with the model.
4329 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4331 * configure.ac: Set back the tarname in AC_INIT to hildon.
4333 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4337 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4338 instead of libesd (NB#86876). Volume handling is still an open issue.
4340 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4343 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4345 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4346 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4347 derived class to ease placement of an entry widget in
4348 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4349 end, where the selector columns are packed now.
4351 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4353 * src/hildon-picker-button.c: Removed the simple _text() API.
4354 * src/hildon-picker-button.h: Likewise.
4356 * src/hildon-touch-selector.h:
4357 * src/hildon-touch-selector.c:
4358 (hildon_touch_selector_new_text),
4359 (hildon_touch_selector_append_text),
4360 (hildon_touch_selector_prepend_text),
4361 (hildon_touch_selector_insert_text):
4363 Moved the simple _text() API from HildonPickerButton to
4364 HildonTouchPicker, to provide better escalability and not to tie
4365 that API to HildonPickerButton.
4367 * examples/hildon-picker-button-example.c: (main): Example updated.
4369 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4371 * src/hildon-button.c: Updated documentation.
4373 * examples/hildon-button-example.c: Add the posibility to create
4374 the buttons using horizontal layout for title and value.
4376 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-app-menu-private.h
4379 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4380 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4381 GtkSizeGroup for the filters, use the 'homogeneous' property of
4384 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4386 * examples/hildon-button-example.c: Updated example.
4388 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4390 * doc/hildon-docs.sgml:
4393 Update documentation.
4395 * examples/Makefile.am: Update renamed examples.
4397 * examples/hildon-picker-button-multicolumn-example.c:
4398 (create_touch_selector), (main): Update after the rename.
4400 * examples/hildon-touch-picker-example.c: Removed.
4401 * examples/hildon-touch-selector-example.c: (value_changed),
4402 (create_selector), (get_visible_content), (main): Renamed from
4403 hildon-touch-picker-example.c
4405 * src/Makefile.am: Updated renamed files.
4407 * src/hildon-date-button.c: (hildon_date_button_init),
4408 (hildon_date_button_get_date), (hildon_date_button_set_date):
4409 * src/hildon-date-selector.c: (hildon_date_selector_init),
4410 (_custom_print_func), (_update_day_model),
4411 (_manage_selector_change_cb),
4412 (hildon_date_selector_select_current_date),
4413 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4414 * src/hildon-date-selector.h:
4415 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4416 (hildon_picker_button_set_property),
4417 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4418 (hildon_picker_button_init), (hildon_picker_button_new_text),
4419 (hildon_picker_button_append_text),
4420 (hildon_picker_button_prepend_text),
4421 (hildon_picker_button_insert_text),
4422 (hildon_picker_button_set_selector),
4423 (hildon_picker_button_get_selector):
4424 * src/hildon-picker-button.h:
4425 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4426 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4427 (_update_title_on_selector_changed_cb), (requires_done_button),
4428 (_hildon_picker_dialog_set_selector),
4429 (hildon_picker_dialog_set_selector),
4430 (hildon_picker_dialog_get_selector):
4431 * src/hildon-picker-dialog.h:
4432 * src/hildon-time-button.c: (hildon_time_button_init),
4433 (hildon_time_button_get_time), (hildon_time_button_set_time):
4434 * src/hildon-time-selector.c: (hildon_time_selector_init),
4435 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4436 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4437 * src/hildon-time-selector.h:
4440 Massive code updates after the rename.
4442 * src/hildon-touch-picker.c: Removed.
4443 * src/hildon-touch-picker.h: Removed.
4445 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4446 (hildon_touch_selector_init), (hildon_touch_selector_map),
4447 (hildon_touch_selector_remove), (_default_print_func),
4448 (_selection_changed_cb), (_create_new_column),
4449 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4450 (hildon_touch_selector_append_text_column),
4451 (hildon_touch_selector_remove_column),
4452 (hildon_touch_selector_set_column_attributes),
4453 (hildon_touch_selector_insert_column),
4454 (hildon_touch_selector_get_num_columns),
4455 (hildon_touch_selector_get_column_selection_mode),
4456 (hildon_touch_selector_set_column_selection_mode),
4457 (hildon_touch_selector_set_print_func),
4458 (hildon_touch_selector_get_print_func),
4459 (hildon_touch_selector_get_active_iter),
4460 (hildon_touch_selector_set_active_iter),
4461 (hildon_touch_selector_get_selected_rows),
4462 (hildon_touch_selector_get_model),
4463 (hildon_touch_selector_set_model),
4464 (hildon_touch_selector_get_current_text),
4465 (_hildon_touch_selector_center_on_selected_items):
4466 * src/hildon-touch-selector.h: Renamed from
4467 hildon-touch-picker.[ch]
4469 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4470 references, code examples, and related documentation.
4472 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4474 * doc/hildon-docs.sgml
4477 * src/hildon-toggle-button.c
4478 * src/hildon-toggle-button.h
4479 * src/hildon.h: New HildonToggleButton widget.
4481 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4483 * src/hildon-button.c: Add API documentation.
4484 (hildon_button_set_size_groups): Check input parameters
4486 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4488 * src/hildon-pannable-area.c
4489 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4490 effect after reaching the movement thredshold. This way we start
4491 using the distance after passing the thredshold.
4493 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4495 * src/hildon-button.c: (hildon_button_set_property): Use the
4496 appropriate g_value_get_flags() method.
4498 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4500 * doc/hildon-docs.sgml:
4503 Add the touch pickers, picker dialogs, and picker button widgets
4504 to the documentation.
4506 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/hildon-button.c: (hildon_button_set_property),
4509 (hildon_button_class_init): Make "arrangement-flags" a proper
4510 G_TYPE_FLAGS derived property.
4512 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4514 * examples/Makefile.am: Add below examples.
4515 * examples/hildon-date-button-example.c:
4516 * examples/hildon-picker-button-example.c:
4517 * examples/hildon-picker-button-multicolumn-example.c:
4518 * examples/hildon-time-button-example.c:
4519 * examples/hildon-touch-picker-example.c:
4521 Add examples for the recently added touch pickers,
4522 picker dialogs, and picker button widgets.
4524 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4526 * src/hildon-button.c: Add some API documentation
4528 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4530 * src/hildon-button.h
4531 * src/hildon-button.c
4533 (hildon_button_new_with_text): New constructor to create a button
4534 with no text at all.
4535 (hildon_button_init, hildon_button_set_arrangement)
4536 (hildon_button_set_title, hildon_button_set_value)
4537 (hildon_button_set_text)
4538 (hildon_button_construct_child): Hide the value when it's not used
4539 so the rest of the text is properly aligned.
4540 Allow creating buttons with arbitrary widgets inside (not just
4541 title/value labels).
4543 * examples/hildon-button-example.c (vertical_buttons_window)
4544 (horizontal_buttons_window): Update example to use new API.
4546 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/Makefile.am: Added HildonTimeButton.
4549 * src/hildon-time-button.c: Added missing LGPL header.
4550 * src/hildon-time-button.h: Added missing LGPL header.
4551 * src/hildon.h: Add hildon-time-button.h
4553 Copied HildonTimeButton from sandbox to trunk. Future work on this
4554 widget must take place in trunk.
4556 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/Makefile.am: Added HildonDateButton.
4559 * src/hildon-date-button.c: Update includes.
4560 * src/hildon.h: Add hildon-date-button.h
4562 Copied HildonDateButton from sandbox to trunk. Future work on this
4563 widget must take place in trunk.
4565 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4567 * src/Makefile.am: Added HildonPickerButton.
4568 * src/hildon-picker-button.h: Update includes.
4569 * src/hildon.h: Add hildon-picker-button.h
4571 Copied HildonPickerButton from sandbox to trunk. Future work on
4572 this widget must take place in trunk.
4574 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4576 * src/Makefile.am: Added HildonPickerDialog.
4577 * src/hildon-picker-dialog.c: Update includes.
4578 * src/hildon.h: Add hildon-picker-dialog.h
4580 Copied HildonPickerDialog from sandbox to trunk. Future work
4581 on this widget must take place in trunk.
4583 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4585 * src/Makefile.am: Added HildonTimeSelector.
4586 * src/hildon.h: Add hildon-time-selector.h
4588 Copied HildonTimeSelector widget from sandbox to trunk. Future
4589 work on this widget must happen in trunk.
4591 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4593 * src/Makefile.am: Added HildonDateSelector.
4594 * src/hildon.h: Add hildon-date-selector.h
4596 Copied HildonDateSelector widget from sandbox to trunk. Future
4597 work on this widget must happen in trunk.
4599 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4601 * src/Makefile.am: Added HildonTouchPicker.
4602 * src/hildon-touch-picker.c: Update includes.
4603 * src/hildon.h: Add hildon-touch-picker.h
4605 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4606 on this widget must happen in trunk.
4608 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4610 * src/hildon-pannable-area.c:
4611 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4613 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4615 * examples/hildon-app-menu-example.c (main): Let the window
4618 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4620 * src/hildon-pannable-area.c
4621 (hildon_pannable_area_class_init): Set the min value of the
4622 overshoot properties to zero, which points out that not
4623 overshooting allowed.
4625 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4627 Modified the procedure to get the widget at a point inside the
4628 pannable area when using the movement type signals. Now the user
4629 has to call a function to get the child, that way we just
4630 calculate the child in case the user really want to use it and not
4633 * src/hildon-marshalers.list: Modified the marshallers, now we do
4634 not have the widget as a parameter.
4636 * src/hildon-pannable-area.c
4637 (hildon_pannable_area_motion_notify_cb),
4638 (hildon_pannable_area_class_init),
4639 (hildon_pannable_get_child_widget_at): Removed the widget
4640 parameter from the signal callback. We have also refactored the
4641 emission of the signals.
4643 * src/hildon-pannable-area.h: Added a new method to the API to
4644 calculate a widget at a point inside the pannable area,
4645 hildon_pannable_get_child_widget_at.
4647 * examples/hildon-pannable-area-example-4.c
4648 (horizontal_movement): Modified the example to use the new API,
4649 added condition to control which widget is under the event. This
4650 way we can avoid scrolling laterally over other widgets.
4652 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4654 * src/hildon-pannable-area.c
4655 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4656 modes, we stop getting the pointer events due to returning the
4657 callback without properly calling the get pointer again. Fixed
4658 also an error using the hscroll and vscroll.
4660 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-app-menu-private.h
4663 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4664 (hildon_app_menu_button_release, hildon_app_menu_init)
4665 (hildon_app_menu_class_init): Don't hide the menu on button
4666 release if the user didn't press outside first.
4668 * src/hildon-window.h
4669 * src/hildon-window.c (hildon_window_toggle_menu)
4670 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4671 hildon_window_toggle_menu a virtual function for the stackable
4672 window to override it.
4674 * src/hildon-stackable-window.h
4675 * src/hildon-stackable-window-private.h
4676 * src/hildon-stackable-window.c
4677 (hildon_stackable_window_realize)
4678 (hildon_stackable_window_finalize)
4679 (hildon_stackable_window_class_init)
4680 (hildon_stackable_window_init)
4681 (hildon_stackable_window_set_main_menu): New function to set the
4682 app menu of a HildonStackableWindow.
4684 * examples/hildon-app-menu-example.c: Remove the button to show
4685 the app menu, now it'll be shown when clicking on the title bar
4688 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4691 set the widget name if the arrangement flags do not specify
4694 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/hildon-button.c: (hildon_button_set_property),
4697 (hildon_button_class_init), (hildon_button_new_full),
4698 (hildon_button_set_arrangement): Added "arrangement-flags"
4701 Make the HildonButtonFlags a construction-only property, to allow
4702 subclasses to set them properly.
4704 2008-07-21 Tim Janik <timj@imendio.com>
4706 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4707 insertion position after backspace, so additional digits are appended,
4710 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4712 * src/hildon-pannable-area.c,
4713 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4714 TODO list, it was complete and removed the g_debug and g_print
4717 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4719 Added the movement modes to the hildon-pannable-area, with this
4720 modes the developers can control in which directions the widget
4721 can scroll. They can also connect to signals in order to do
4722 something when that happens, allowing applications scroll. There
4723 is an example uploaded showing how to use it.
4725 * examples/Makefile.am:
4726 * examples/hildon-pannable-area-example-4.c: Added this example of
4727 an application using the modes.
4729 * src/hildon-marshalers.list: Added a new marshaller for the new
4732 * src/hildon-pannable-area.h: Added new enumerations and flags in
4733 order to control the movement modes and the new signals to warn
4734 about the movements in the area.
4736 * src/hildon-pannable-area.c:
4737 (hildon_pannable_axis_scroll),
4738 (hildon_pannable_area_scroll),
4739 (hildon_pannable_area_motion_notify_cb),
4740 (hildon_pannable_area_get_property),
4741 (hildon_pannable_area_set_property),
4742 (hildon_pannable_area_map),
4743 (hildon_pannable_area_class_init),
4744 (hildon_pannable_area_init),
4745 (hildon_pannable_area_jump_to): Added the modes to control the
4746 movement in the widget. We have added properties to control it,
4747 signals to warn about the movements and refactored some code.
4749 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4751 Changes required in order to allow vfast_factor set to zero to
4754 * src/hildon-pannable-area.c:
4755 (hildon_pannable_area_button_press_cb): Changed the condition, it
4756 is required for not allowing click when vfast_factor is zero.
4757 (hildon_pannable_area_timeout): Initialized velocity variables
4758 when we stop moving, it was less than 1 but not zero and we need
4759 to check zero in some situations.
4760 (hildon_pannable_area_class_init): Changed the default value of
4761 the speed factor, now the button_press is just sent in case the
4762 speed is 2 per cent of the max speed.
4763 (hildon_pannable_area_init): Initialization with 0.
4765 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4767 * src/hildon-pannable-area.c,
4768 (hildon_pannable_area_get_topmost): replaced
4769 gdk_window_get_children with gdk_window_peek_children, this way we
4770 do not have to free the list because it is not a copy.
4772 (hildon_pannable_axis_scroll),
4773 (hildon_pannable_area_scroll),
4774 (hildon_pannable_area_timeout),
4775 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4776 two parameters that were only used inside the
4777 hildon_pannable_area_scroll function.
4779 * examples/hildon-pannable-area-example.c,
4780 (get_sawtooth_label): Fixed small memory leak.
4782 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4784 More checks for the case where the overshoot is bigger than the
4787 * src/hildon-pannable-area.c:
4788 (hildon_pannable_draw_vscroll),
4789 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4790 to draw the slider of the scrollbar under the other scrollbar.
4791 (hildon_pannable_area_expose_event): added new checks to control
4792 the drawing of the overshooting area rectangle, in case it is too
4793 big for the area of the widget.
4794 (hildon_pannable_area_size_allocate): add more checks to avoid
4795 setting a position to the child widget outside the area.
4797 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4799 * src/hildon-pannable-area.c
4800 (hildon_pannable_area_size_allocate): Added conditions to control
4801 when overshooting is bigger than the allocated space for the
4802 children, this avoids negative allocations.
4804 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4806 * doc/hildon-docs.sgml
4808 * examples/Makefile.am
4809 * examples/hildon-button-example.c
4811 * src/hildon-button.c
4812 * src/hildon-button.h
4813 * src/hildon.h: Initial version of the new HildonButton widget,
4816 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4818 * src/hildon-pannable-area.c:
4819 (hildon_pannable_area_button_press_cb),
4820 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4821 (hildon_pannable_area_motion_notify_cb),
4822 (hildon_pannable_area_button_release_cb),
4823 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4824 (hildon_pannable_area_jump_to_child):
4826 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4828 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4830 * examples/Makefile.am
4831 * examples/hildon-pannable-area-touch-grid-example.c
4832 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4833 the Hildon Touch List and Hildon Touch Grid using the
4834 HildonPannableArea widget.
4836 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4838 * src/hildon-pannable-area.c,
4839 (hildon_pannable_area_button_press_cb),
4840 (hildon_pannable_area_refresh),
4841 (hildon_pannable_area_scroll),
4842 (hildon_pannable_area_motion_notify_cb),
4843 (hildon_pannable_area_button_release_cb),
4844 (hildon_pannable_area_expose_event),
4845 (hildon_pannable_area_add),
4846 (hildon_pannable_area_remove),
4847 (hildon_pannable_area_realize),
4848 (hildon_pannable_area_size_allocate),
4849 (hildon_pannable_area_class_init),
4850 (hildon_pannable_area_init),
4851 (hildon_pannable_area_scroll_to_child),
4852 (hildon_pannable_area_jump_to_child): Fixed the problem of
4853 removing the child from the GtkBin, we have rearranged the widget
4854 hierarchy, now there is no GtkAlignment which was not doing
4855 anything interesting but breaking some of the assumptions of
4856 GtkContainer. Now developers if they want to add a GtkAlignment
4857 they could, but it is not inside the area.
4859 We had to review the whole allocation/expose process, now it is
4860 improved and we save at least three signals which would be saving
4861 some time when rendering the widget. The allocation of the
4862 scrollbars is now made in the allocate method as usual.
4864 We have also added some conditions in order to control when there
4865 is no child of the pannable area. Maybe we will need more work
4868 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4870 * src/hildon-pannable-area.c,
4871 (hildon_pannable_area_dispose): Released the fade-out timeout when
4872 disposing the widget.
4874 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4876 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4877 zero, we are going to use that property in order to deactivate the
4879 (hildon_pannable_axis_scroll),
4880 (hildon_pannable_area_size_allocate): Added conditions to control
4881 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4882 call, now it is called in all situations and we can remove calls
4883 in the allocate method.
4884 (hildon_pannable_area_map): Control the situation when
4885 overshoot_max is zero, we do not need the timeout.
4886 (hildon_pannable_area_class_init): Added documentation in order to
4887 point out that setting zero to overshoot_max means deactivate
4890 NOTE: removed trailing whitespaces from my previous comments of
4893 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4895 * src/hildon-pannable-area.c
4896 (hildon_pannable_area_get_property),
4897 (hildon_pannable_area_set_property),
4898 (hildon_pannable_area_map),
4899 (hildon_pannable_area_class_init),
4900 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4901 to cause the widget give a hint about its panning abilities upon
4904 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4906 * src/hildon-pannable-area.c: Several documentation improvements.
4908 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4910 * src/hildon-program.c
4911 * src/hildon-stackable-window.c: Update documentation.
4913 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4915 * src/hildon-stackable-window.c (get_previous_window_if_last):
4916 Renamed get_last_window()
4917 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4918 (hildon_stackable_window_unset_program):
4920 (get_previous_window_if_last):
4921 Detect if the window hasn't been added to a HildonProgram.
4923 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4925 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4927 * src/hildon-pannable-area.c
4928 (hildon_pannable_area_button_press_cb),
4929 (hildon_pannable_axis_scroll),
4930 (hildon_pannable_area_scroll),
4931 (hildon_pannable_area_timeout),
4932 (hildon_pannable_calculate_vel_factor),
4933 (hildon_pannable_area_get_property),
4934 (hildon_pannable_area_set_property),
4935 (hildon_pannable_area_class_init),
4936 (hildon_pannable_area_init),
4937 (hildon_pannable_area_scroll_to),
4938 (hildon_pannable_area_jump_to),
4939 (hildon_pannable_area_scroll_to_child),
4940 (hildon_pannable_area_jump_to_child):
4941 * src/hildon-pannable-area.h: Added the new API functions:
4942 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4943 hildon_pannable_area_scroll_to_child,
4944 hildon_pannable_area_jump_to_child
4947 * examples/Makefile.am
4948 * examples/hildon-pannable-area-example-2.c
4949 * examples/hildon-pannable-area-example-3.c: Added these two new
4950 examples in order to test and show how the new APIs work.
4952 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4954 * examples/hildon-stackable-window-example.c (new_window):
4955 * src/Makefile.am (noinst_HEADERS):
4956 * src/hildon-program.c (hildon_program_go_to_root_window):
4957 * src/hildon-program.h:
4958 * src/hildon-stackable-window-private.h:
4959 * src/hildon-stackable-window.c:
4960 * src/hildon-stackable-window.h:
4961 Create hildon-stackable-window-private.h
4962 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4964 * examples/hildon-app-menu-example.c (create_menu):
4965 * examples/hildon-hvolumebar-insensitive-example.c (main):
4966 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4967 * examples/hildon-toolbar-seekbar-example.c (main):
4968 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4969 * src/hildon-banner.c (hildon_banner_set_property):
4970 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4971 Fix compilation warnings
4973 * src/hildon-window.c:
4976 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4978 * src/hildon-stackable-window.c
4979 (hildon_stackable_window_unset_program):
4980 Calculate correctly whether to show the previous window if the
4981 last one is removed from the stack.
4982 (hildon_stackable_window_go_to_root_window):
4983 Send delete events starting from the topmost window.
4984 Stop if one of the windows is not destroyed.
4986 (hildon_stackable_window_delete_event)
4987 (hildon_stackable_window_class_init):
4988 Ignore the delete event if the window is not the topmost one.
4990 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4992 * src/hildon-pannable-area.c
4993 (hildon_pannable_area_expose_event): Fixed a problem when
4994 selecting the background color of the scrollbars.
4996 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4998 * examples/hildon-stackable-window-example.c
4999 * src/hildon-stackable-window.c
5000 * src/hildon-stackable-window.h
5001 hildon_stackable_window_go_home() renamed to
5002 hildon_stackable_window_go_to_root_window()
5003 Send delete events to windows rather than closing them with
5004 gtk_widget_destroy()
5006 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5008 * src/hildon-pannable-area.c
5009 (hildon_pannable_area_button_release_cb): Fix overshooting in
5012 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5014 * src/hildon-pannable-area.c
5015 (hildon_pannable_area_init): Initially show the scroll indicators.
5016 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5018 Add initial effect showing the widget is pannable.
5020 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5022 * src/hildon-pannable-area.c
5023 (hildon_pannable_area_class_init)
5024 (hildon_pannable_area_set_property)
5025 (hildon_pannable_area_get_property)
5026 (hildon_pannable_area_button_press_cb):
5027 New 'velocity_fast_factor' property to decide which velocity is
5030 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5032 * src/hildon-pannable-area.c
5033 (hildon_pannable_draw_hscroll)
5034 (hildon_pannable_draw_vscroll):
5035 Use float variables to calculate the size of the scrollbars to
5036 avoid error propagation and resizing during scrolling.
5038 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5040 * src/hildon-pannable-area.c
5041 (hildon_pannable_draw_vscroll)
5042 (hildon_pannable_draw_hscroll):
5043 Define a minimum size for the scroll bars
5045 * src/hildon-stackable-window.c
5046 (hildon_stackable_window_go_home): Fix compilation warning
5047 (get_last_window): Minor optimizations
5048 (hildon_stackable_window_class_init): Fix initialization of
5051 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5053 * src/hildon-stackable-window.c: Fixed typos in doc
5055 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5057 * src/hildon-pannable-area.c
5058 (hildon_pannable_area_scroll):
5059 Calculate here whether we need to scroll instead of using the booleans
5060 that tell us whether to /draw/ the scrolling bars.
5062 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5064 * src/hildon-app-menu.h
5066 * src/hildon-app-menu.c
5067 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5068 multiple filter groups related code and API. Now we support only
5070 * examples/hildon-app-menu-example.c:
5072 Update to reflect API changes.
5074 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5076 * src/hildon-stackable-window.c
5077 (hildon_stackable_window_class_init):
5078 Add hildon_stackable_window_realize.
5079 (hildon_stackable_window_realize):
5080 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5081 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5082 to apply theming and behavior specific to HildonStackableWindow
5085 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-note.c (hildon_note_button_release):
5088 Close information notes also when tapping on them
5090 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5092 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5093 ELASTICITY, refactor and review, fix some issues with drawing
5096 * src/hildon-pannable-area.c:
5097 (hildon_pannable_area_button_press_cb): removed the conditions to
5098 avoid clicks when overshooting. It is not required
5100 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5101 define. Refatored and reviewed the code, now we do not need to
5102 manage velocity in motion_notify.
5104 (hildon_pannable_area_motion_notify_cb): We have moved the code
5105 that controls the area_scroll to the axis_scroll function and get
5106 rid of duplicated code.
5108 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5110 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5112 (hildon_pannable_draw_vscroll),
5113 (hildon_pannable_draw_hscroll): Fixed the problems with the
5114 scrollbar drawing, now we do not use two surfaces, it is easier
5115 and saves resources.
5117 (hildon_pannable_area_get_property): Style modification.
5119 (hildon_pannable_area_class_init): Changed some default values.
5121 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5123 * src/hildon-stackable-window.c: Fix some typos in the
5126 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5128 * src/hildon-dialog.c:
5129 Change indentation style
5132 (hildon_note_button_release):
5133 Use root coordinates to check if the release event happened
5136 * src/hildon-app-menu.c
5137 (hildon_app_menu_button_release):
5138 Remove unnecessary check
5140 * examples/hildon-app-menu-example.c
5142 Add cast to fix warning
5144 * src/hildon-app-menu.c
5145 (hildon_app_menu_class_init):
5146 New inner-border style property.
5147 Set all default spacings to 16
5148 (hildon_app_menu_init):
5149 Use vertical-spacing to set the space between filter buttons and
5150 regular menu buttons.
5151 Set the default container border using the inner-border value.
5153 * examples/hildon-app-menu-example.c
5155 Don't set the menu border explicitly, now we have the inner-border
5156 style property for that.
5158 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5160 * src/hildon-app-menu.c (hildon_app_menu_init):
5161 Make the window modal
5163 * src/hildon-note.c (hildon_note_map)
5164 * src/hildon-app-menu.c (hildon_app_menu_map):
5165 Destroy the grab window if we're unable to grab the pointer
5167 * src/hildon-app-menu-private.h
5168 * src/hildon-app-menu.c
5169 (hildon_app_menu_init, hildon_app_menu_finalize)
5170 (hildon_app_menu_map, hildon_app_menu_unmap)
5171 (hildon_app_menu_button_release)
5172 (grab_transfer_window_get):
5173 Bring back the grab window
5174 (hildon_app_menu_realize):
5175 Decorate the window, set WM hint for Matchbox
5177 * src/hildon-note.c (hildon_note_realize):
5178 * src/hildon-banner.c (hildon_banner_realize):
5179 Add WM hints for Matchbox
5181 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5183 * src/hildon-app-menu-private.h
5184 * src/hildon-app-menu.c
5185 (hildon_app_menu_init, hildon_app_menu_finalize)
5186 (hildon_app_menu_map, hildon_app_menu_unmap)
5187 (hildon_app_menu_button_release):
5188 Remove the grab window, it's not needed anymore
5190 * src/hildon-program.c
5191 Fixed typo in documentation
5193 * src/hildon-app-menu.h
5194 * src/hildon-app-menu.c
5195 * examples/hildon-app-menu-example.c
5196 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5198 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5201 Added new transfer_window and close_if_pressed_outside private
5203 (hildon_note_rebuild):
5204 Don't add a cancel button to the information note. It will be
5205 closed when tapping outside
5206 Remove the comment about the OK button in the documentation
5207 (hildon_note_realize):
5208 Set the notification type hint
5209 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5210 Grab/ungrab pointer and keyboard if the note has to be closed when
5212 (hildon_note_button_release):
5213 Close the note when tapping outside (if applicable)
5215 * src/hildon-app-menu.c
5216 Grab/ungrab pointer and keyboard on map/unmap
5217 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5218 Close the menu on button release, not button press
5220 * src/hildon-banner.c
5221 (hildon_banner_set_property)
5222 (hildon_banner_check_position):
5223 Make the banner use the full width of the screen
5224 (hildon_banner_show_information)
5225 (hildon_banner_show_information_with_markup):
5226 Don't display an icon by default
5228 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5230 Added fading scrollbars and adapted all the overshooting code to
5231 horizontal scrolling. We have also fixed bugs with overshooting
5232 and current fading implementation.
5234 * src/hildon-pannable-area.c
5235 (hildon_pannable_area_scroll_indicator_fade): Time out function
5236 used to change the transparency of the scrollbars.
5238 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5239 control and fixed a problem with fading, we now remove the fade
5240 timeout before adding a new one.
5242 (hildon_pannable_axis_scroll):
5243 (hildon_pannable_area_scroll):
5244 (hildon_pannable_area_timeout): Added this functions so we can use
5245 the scroll code both for vertical and horizontal.
5247 (hildon_pannable_area_motion_notify_cb):
5248 (hildon_pannable_area_button_release_cb): Added the horizontal
5249 scrolling control, fixed a problem with the overshooting timeout.
5251 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5252 painting of the scrolls.
5254 (hildon_pannable_draw_vscroll):
5255 (hildon_pannable_draw_hscroll):
5256 (hildon_pannable_area_expose_event):
5257 Draw both scrollbars and rectangles in the overshooting area.
5259 (hildon_pannable_area_get_property):
5260 (hildon_pannable_area_set_property):
5261 Modified the overshoot property to overshoot_max
5263 (hildon_pannable_area_map):
5264 Replaced the comments symbols.
5266 (hildon_pannable_area_size_allocate):
5267 (hildon_pannable_area_class_init):
5268 (hildon_pannable_area_init): Added horizontal scroll, fading
5269 effect properties, fixed a problem when overshooting in the bottom
5272 * examples/hildon-pannable-area-example.c:
5273 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5274 looks better in the example.
5276 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5278 * src/hildon-window.c
5279 * src/hildon-window.h
5280 (hildon_window_class_init)
5281 (hildon_window_unset_program)
5282 (hildon_window_unset_program_real):
5283 Make unset_program a virtual function
5285 * src/hildon-stackable-window.c
5286 * src/hildon-stackable-window.h
5287 Added hildon_stackable_window_go_home()
5289 * examples/Makefile.am
5290 * examples/hildon-stackable-window-example.c
5291 HildonStackableWindow example
5293 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5295 * hildon-pannable-area.c: Added the overshoot property and removed
5296 the OVERSHOOT define. Fixed an indent style error.
5297 (hildon_pannable_area_motion_notify_cb):
5298 (hildon_pannable_area_get_property):
5299 (hildon_pannable_area_set_property): Add overshoot property.
5301 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5304 (hildon_pannable_area_class_init): Installed the new property.
5306 * hildon-pannable-area-example.c: Added a sawtooth function, this
5307 way it is easier to check the movement in the pannable.
5308 (get_sawtooth_label): Added this function.
5309 (main): Now we get the labels from the new get_sawtooth_label
5312 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5314 * src/hildon-app-menu.h
5315 * src/hildon-app-menu.c
5316 Renamed API variables for consistency
5318 (hildon_app_menu_popup): Use also the default window size to
5319 decide where to place the menu
5321 (hildon_app_menu_init, hildon_app_menu_class_init): New
5322 external-border style property
5324 2008-05-26 Michael Natterer <mitch@imendio.com>
5326 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5327 widget_class->tap_and_hold_setup signal slot doesn't exist any
5328 longer, stop overriding it.
5330 (hildon_time_editor_init): g_signal_connect() to the
5331 tap-and-hold-setup signal instead.
5333 (hildon_time_editor_entry_keypress): add cast to fix warning.
5335 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5337 * doc/hildon-docs.sgml
5339 * examples/Makefile.am
5340 * examples/hildon-app-menu-example.c
5342 * src/hildon-app-menu-private.h
5343 * src/hildon-app-menu.c
5344 * src/hildon-app-menu.h
5346 New HildonAppMenu widget
5348 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5350 Rearranged the inheritance of the pannable area, now it inherits
5351 from GtkBin. This will allow us to control the event_window and
5352 the allocation process of the widget, required for some effects.
5354 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5355 GtkBin structures. * src/hildon-pannable-area.c: Added the
5356 event_window variable.
5357 (hildon_pannable_area_button_press_cb):
5358 (hildon_pannable_area_button_release_cb):
5359 (hildon_pannable_area_motion_notify_cb):
5360 Changed the signature of the method, now we override the event
5361 callback instead of connecting to the signal.
5363 (hildon_pannable_area_realize):
5364 (hildon_pannable_area_unrealize):
5365 (hildon_pannable_area_map):
5366 (hildon_pannable_area_unmap):
5367 (hildon_pannable_area_size_allocate):
5368 Added functions to control the widget construction. We add a
5369 INPUT_ONLY window and we put it over the widgets inside the
5370 container, this event_window handles the events.
5372 (hildon_pannable_area_class_init):
5373 Replaced the signal connections with overrides of the event
5376 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5378 Bouncing effect added when touching the borders, you can change
5379 the elasticity of the border changing the ELASTICITY define.
5381 * src/hildon-pannable-area.c: Added ELASTICITY define.
5382 (hildon_pannable_area_timeout): Added inverse velocity when
5383 touching the border of the child widget, that causes a bounce.
5385 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5387 Improved performance, we now do not go to the X server in order to
5388 get the list of window children. Apparently the effect is the
5389 same, we have to be careful and check if this breaks something in
5392 * src/hildon-pannable-area.c:
5393 (get_ordered_children): Removed this function.
5394 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5395 the children windows function with gdk_window_get_children.
5397 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5399 * src/hildon-pannable-area.c:
5400 (hildon_pannable_area_dispose): Fixed a crash when closing the
5401 window and kinetics is activated.
5403 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5405 * src/hildon-pannable-area.h
5406 * src/hildon-pannable-area.c
5407 Changed indentation style to meet the one used in Hildon
5409 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5411 Reviewed the interaction of the AUTO mode, now we use the time
5412 attribute of the events and calculate the velocity in the motion,
5413 doing a gimp like calculation. The velocity is calculated in each
5414 motion event using the last velocity and the current one, the
5415 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5417 * src/hildon-pannable-area.c: Replaced the time based algorithm
5419 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5420 timeout for the AUTO mode when we are still moving the cursor. We
5421 added also the velocity calculation in this function.
5422 (hildon_pannable_area_button_release_cb): launch the timeout in
5423 case we are in AUTO mode. There are still some constants here that
5424 come from the old implementation that should be reviewed and
5427 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5429 * doc/hildon-docs.sgml
5432 * src/hildon-stackable-window.c
5433 * src/hildon-stackable-window.h
5435 New HildonStackableWindow widget
5437 * examples/hildon-dialog-example.c
5438 * examples/hildon-pannable-area-example.c
5441 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5443 * src/hildon-dialog.c
5444 (hildon_dialog_new_with_buttons): New constructor.
5446 * examples/hildon-dialog-example.c
5447 (main): Update the example to use the new
5448 hildon_dialog_new_with_buttons().
5450 * examples/hildon-pannable-area-example.c
5451 (main): Update example.
5453 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5455 * doc/hildon-docs.sgml
5457 Added HildonPannableArea to the documentation.
5459 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5461 * doc/visual_index.xml
5462 Fix reference to HildonLoginDialog in documentation
5464 * doc/hildon-docs.sgml
5466 * examples/Makefile.am
5467 * examples/hildon-dialog-example.c
5469 * src/hildon-dialog.c
5470 * src/hildon-dialog.h
5472 New HildonDialog widget.
5474 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5476 * src/hildon-pannable-area.c
5477 Merge latest changes (r4318, r4342) from libmokoui trunk
5479 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5481 * examples/Makefile.am
5482 * examples/hildon-pannable-area-example.c
5484 * src/hildon-pannable-area.c
5485 * src/hildon-pannable-area.h
5487 New HildonPannableArea widget.
5489 2008-04-15 18:05:19 <timj@imendio.com>
5491 * src/hildon-banner.c: revert the recent change, that introduced
5492 gtk_window_present() calls. this reopens:
5493 Bug 78481 - [freetest] information banners are hidden under browser menu
5494 But resolves another variant of:
5495 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5497 2008-04-15 13:21:13 <timj@imendio.com>
5499 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5500 recreated its layout, spotted by Kris. this fixes all remaining
5501 artefacts and stability issues with the banner code. in particular:
5502 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5504 2008-04-14 16:52:59 <timj@imendio.com>
5506 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5507 operating on unrealized widgets, fixes:
5508 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5510 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5512 2008-04-09 Kristian Rietveld <kris@imendio.com>
5514 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5515 makes banner disappear.
5516 Fixes: NB#79182: info banner flickering with certain message lengts.
5518 * src/hildon-banner.c (hildon_banner_constructor),
5519 (hildon_banner_init), (hildon_banner_set_text),
5520 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5521 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5522 FALSE, reset size requests of label and banner,
5523 (force_to_wrap_truncated): when the text is too wide, always enforce
5524 the maximum possible width instead of recalculating it from the
5525 layout; enforce the maximum banner height of 3 lines,
5526 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5527 nicer wrapping and no truncated chars if space gets tight.
5529 * src/hildon-banner-private.h: add has_been_wrapped and
5530 has_been_truncated fields.
5532 2008-04-07 Sven Herzberg <sven@imendio.com>
5534 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5535 local values in hildon_date_editor_size_allocate
5537 * src/hildon-date-editor.c: moved the real allocation code into the
5540 2008-04-07 Sven Herzberg <sven@imendio.com>
5542 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5543 local values in hildon_date_editor_size_allocate
5545 * src/hildon-date-editor.c: merged the two if() branches together
5547 2008-04-07 Sven Herzberg <sven@imendio.com>
5549 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5550 local values in hildon_date_editor_size_allocate
5552 * src/hildon-date-editor.c: changed the arguments of the if()
5555 2008-04-07 Sven Herzberg <sven@imendio.com>
5557 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5558 local values in hildon_date_editor_size_allocate
5560 * src/hildon-date-editor.c: split the calculation of the allocation
5561 from the real allocation
5563 2008-03-27 Michael Natterer <mitch@imendio.com>
5565 Fixes: NB#81696: The passcode is not overwritten even after
5568 * src/hildon-code-dialog.c
5569 (hildon_code_dialog_button_clicked)
5570 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5571 because that doesn't overwrite selected text. Instead, emit the
5572 "commit" signal on the entry's im_context so the entry's normal
5573 insert logic is triggered. Set the cursor to the end of the entry
5574 after each insert operation so that we *only* insert in the middle
5575 of the text if something was selected.
5577 2008-03-27 Michael Natterer <mitch@imendio.com>
5579 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5580 selector cannot be opened
5582 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5583 when the popup color selector is created. Please connect to this
5584 signal in order to set the dialog's help ID.
5586 2008-03-25 Sven Herzberg <sven@imendio.com>
5588 Fixes: MB#1212: Hide info banners (infoprints) on click
5590 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5591 extracted the close event simulation into an extra function
5592 (hildon_banner_button_press_event): simulate a close event and destroy
5593 the widget if the event wasn't handled
5594 (hildon_banner_class_init): added the button_press_event handler
5595 (hildon_banner_init): added button-press events to the widget
5597 2008-03-25 Sven Herzberg <sven@imendio.com>
5599 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5600 Patch from: Mohammad Anwari <mdamt@maemo.org>
5602 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5603 instead of the right in RTL mode
5604 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5605 breadcrumb button list in RTL mode
5606 * src/hildon-caption.c: mirror the appearance of the caption widget in
5608 * src/hildon-date-editor.c: mirror appearance of the date editor in
5610 * src/hildon-time-editor.c: mirror appearance of the time editor in
5612 * src/hildon-window.c: fix the position of the popup in RTL mode
5614 2008-03-25 Sven Herzberg <sven@imendio.com>
5616 Amendment to the fix of NB#22072. Fix compilation.
5618 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5620 2008-03-19 Sven Herzberg <sven@imendio.com>
5622 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5625 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5626 timeout id properly when the timeout will disappear this leaves no
5627 artifacts around in the destroy(); there will only be the timeout
5628 created by hildon_banner_ensure_timeout() and adding a new timeout
5629 will also work if the timeout gets removed because the timeout_handler
5632 2008-03-19 Michael Natterer <mitch@imendio.com>
5634 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5636 * src/hildon-volumebar.c
5637 * src/hildon-vvolumebar.c
5638 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5639 the widget becomes focussable at all.
5641 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5642 set the focus to wither the mute button or the volumebar.
5644 Remove own "can-focus" property and instead listen to
5645 notify::can-focus in order to update the widget's state.
5647 Implement GtkWidget::focus() and make sure we can also *leave* the
5648 widget, not only enter it, depending on volumebar orientation and
5649 requested focus direction.
5651 Clean up set_mute() to cooperate nicely with all the above.
5653 2008-03-04 Michael Natterer <mitch@imendio.com>
5655 Fixes: NB#78481: information banners are hidden under browser menu
5657 * src/hildon-banner.c: call gtk_window_present() on the banners so
5658 they are risen if they are already visible.
5660 2008-03-03 Sven Herzberg <sven@imendio.com>
5662 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5664 * examples/hildon-window-menu-example.c: (main): extended the window
5665 menu example to serve as a testcase for automatically added
5666 accelerator groups, too
5667 * src/hildon-window.c: (hildon_window_add_accel_group),
5668 (hildon_window_set_menu): added patch by Tommi Komulainen
5670 2008-03-03 Sven Herzberg <sven@imendio.com>
5672 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5674 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5675 knowledge about the border allocators used within GTK+
5677 2008-02-26 Sven Herzberg <sven@imendio.com>
5679 Fixes: MB#2981: Build with asserts broken
5681 * src/hildon-date-editor.c,
5682 * src/hildon-number-editor.c,
5683 * src/hildon-time-editor.c,
5684 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5685 the proper GType instance check
5687 2008-02-25 Sven Herzberg <sven@imendio.com>
5689 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5691 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5692 * examples/hildon-window-menu-example.c: (main): explicitly show
5694 * src/hildon-window.c:
5695 (hildon_window_set_main_menu): moved most of the code from set_menu()
5696 to this place; skipped the call to gtk_widget_show_all(); also didn't
5697 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5698 (hildon_window_set_menu): removed most of the code, just keep the
5699 questionable gtk_widget_show_all()
5700 * src/hildon-window.h: added the new function and deprecate the old
5703 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5709 * debian/changelog: Updating.
5711 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5714 * pkgconfig/Makefile.am:
5715 * pkgconfig/hildon.pc.in:
5718 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5719 use newly created API_MAJOR_VERSION.
5721 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5727 * debian/changelog: Updating.
5729 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5731 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5733 Add outer_border style property, we use it but don't define it (!).
5737 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5739 * examples/hildon-bread-crumb-trail-example.c (main):
5743 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5745 Fix logic for the bread crumb trail node removal.
5749 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5755 * debian/changelog: Updating.
5757 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5759 Patch by Alejandro to get/set passwords dialogs accesibility.
5761 * hildon-1/src/hildon-get-password-dialog.c:
5762 * hildon-1/src/hildon-set-password-dialog.c:
5763 Set atk_set_name to the passwd entries in order to allow
5764 accessibility by name on this entries.
5766 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5771 * debian/control: Updating gtk dep.
5773 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5775 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5776 USE_MAEMO_GTK is enabled.
5778 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5780 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5781 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5783 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5789 * debian/changelog: Updating.
5791 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5793 * examples/Makefile.am:
5794 * examples/hildon-logical-color-example.c:
5795 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5796 applied + adding a test case. Fixes: NB#71660.
5798 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5800 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5801 to be visible, fixes warning on map for windows without toolbars.
5803 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5805 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5806 2.11.0, add a check for that besides the MAEMO_GTK check.
5808 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5814 * debian/changelog: Updating.
5816 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5819 visibility. Fixes: NB#70842 and MB#615.
5821 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5823 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5824 set the separator as no-show-all so it doesn't unintentionally appear when
5825 someone does a show_all.
5827 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5829 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5830 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5831 toplevel item. Fixes: NB#62031
5833 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5835 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5836 fix the name of the function in the docs.
5838 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5844 * debian/changelog: Updating.
5846 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5848 * examples/hildon-banner-long-example.c: Adding a test-case for long
5851 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5853 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5855 * src/hildon-color-chooser-dialog.c:
5856 * src/hildon-color-chooser.c:
5857 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5858 memory leaks in font selector and color selector. Fixes: NB#70499 and
5861 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5863 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5865 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5868 little bit bigger. Fixes: #NB63694.
5870 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5876 * debian/changelog: Updating.
5878 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5881 * doc/hildon-docs.sgml:
5882 * doc/images/bread-crumb-trail.png:
5883 * doc/images/calendar-popup.png:
5884 * doc/images/caption.png:
5885 * doc/images/code-dialog.png:
5886 * doc/images/color-button.png:
5887 * doc/images/color-chooser-dialog.png:
5888 * doc/images/color-chooser.png:
5889 * doc/images/controlbar.png:
5890 * doc/images/date-editor.png:
5891 * doc/images/font-selection-dialog.png:
5892 * doc/images/get-password-dialog.png:
5893 * doc/images/hvolumebar.png:
5894 * doc/images/login-dialog.png:
5895 * doc/images/note.png:
5896 * doc/images/number-editor.png:
5897 * doc/images/range-editor.png:
5898 * doc/images/seekbar.png:
5899 * doc/images/set-password-dialog.png:
5900 * doc/images/sort-dialog.png:
5901 * doc/images/time-editor.png:
5902 * doc/images/time-picker.png:
5903 * doc/images/vvolumebar.png:
5904 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5905 Adding the bread-crumb-trial and helpers to the documentation.
5907 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5909 * examples/hildon-find-toolbar-example.c:
5910 * src/hildon-find-toolbar.c:
5911 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5912 actually continue firing the other handlers if connected. Adding a new
5914 hildon_find_toolbar_get_last_index that gets the index of the most
5915 recently added (last) item. Fixes: NB#52301.
5917 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5919 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5920 behaviour. Fixes: NB#68610.
5922 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5924 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5927 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5929 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5930 when realizing the banner. Should make the infonbanner effect a bit more
5933 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5935 * src/hildon-volumebar.c:
5936 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5937 hildon_volumebar_set_range_insensitive_message and
5938 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5940 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5942 * src/hildon-window.c: Fixing the border freeing on destroy.
5944 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5946 * src/hildon-code-dialog-private.h:
5947 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5948 kw keyboard support in HildonCodeDialog.
5950 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5956 * debian/changelog: Updating.
5958 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5960 * src/hildon-date-editor.c:
5961 * src/hildon-number-editor.c:
5962 * src/hildon-private.c:
5963 * src/hildon-private.h:
5964 * src/hildon-time-editor.c:
5965 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5966 handling in subclassed composite widgets. Fixes: NB#66628.
5968 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5971 from destroy_ callback as it introduces problems in async dbus signal
5972 handlers. Fixes NB#66673.
5974 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5976 * examples/hildon-hvolumebar-example.c:
5977 * src/hildon-volumebar.c: Improving the focus handling in the
5978 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5979 set_property accessor so that "mute" property can be actually set. I'm
5980 scared that nobody noticed it's totally broken.
5982 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5984 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5987 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5989 * src/hildon-calendar.c:
5990 * src/hildon-number-editor.c:
5991 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5992 matches the spec of 6 chars per second. Fixes: NB#60489.
5994 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5996 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5997 gtk_style_lookup_color sometime returns FALSE even though color was
5998 found and values were filled properly. Weird. Removing the warning for the
6001 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6003 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
6004 expand vertically. Adding some extra space to the find toolbar buttons to
6005 make them thumbable. Fixes NB#66060.
6007 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6009 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6010 popup with "Ok" and "Cancel". Fixes NB#59299.
6012 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6014 * src/hildon-calendar.c: Process all window updates before executing next
6015 timeout. Fixes: NB#54146.
6017 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6023 * debian/changelog: Updating.
6025 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6027 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6028 the client event and ignore it, since we use the delete event to close
6031 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6033 * src/hildon-helper.c: Remove the bogus warning about color not being
6034 found. Fixes NB#58352.
6036 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6038 * examples/Makefile.am:
6039 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6040 HildonSeekbar widget inside a toolbar.
6042 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6044 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6045 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6046 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6047 don't want to be closed by non-temporary windows on map.
6049 Also use G_DEFINE_TYPE instead of manually typed code.
6051 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6058 * debian/rules: Updating.
6060 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6062 * examples/Makefile.am:
6063 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6064 bug NB#61128. Strangely it works.
6066 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6068 * src/hildon-date-editor.c: When the date editor entry has been changed
6069 but the numbers of characters < max, turn off the skip validation flag.
6070 Prevents a situation when we enter first a valid year and later re-write
6071 it with an invalid one. Fixes NB#60154.
6073 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6075 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6076 code dialog. Fixes NB#64355.
6078 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6080 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6081 switching the page. Fixes NB#49374.
6083 * examples/Makefile.am:
6084 * examples/hildon-wizard-dialog-example.c: Adding an example for
6085 HildonWizardDialog that shows how to handle manual sensitivity setting on
6088 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6092 * src/hildon-version.h.in:
6093 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6095 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6097 * src/hildon-volumebar.c: Updating the docs.
6099 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * debian/changelog: Updating.
6107 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6109 * src/hildon-find-toolbar.c:
6110 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6111 selected item: hildon_find_toolbar_set_active,
6112 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6113 hildon_find_toolbar_get_active_iter . They correspond to respective
6114 GtkComboBox functions.
6116 * examples/Makefile.am:
6117 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6120 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6122 * examples/Makefile.am:
6123 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6126 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6127 when font size > 32 and we pack a focusable widget inside. Actually using
6128 the default response would work too, but since we don't show default
6129 response state in any way (no theming) it would not be visible to the
6130 user. Fixes NB#63430.
6132 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6134 * src/hildon-date-editor.c: Adding the missing variable setter in the
6135 set_property handler. Fixes NB#54182.
6137 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6139 * src/hildon-window.h: Changing the long key press time from 1500ms to
6140 800ms as requested in NB#63700. I have a bad feeling about this, let's
6141 see... Fixes NB#63700.
6143 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6145 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6146 hildon_time_picker_map, hildon_time_picker_realize,
6147 hildon_time_picker_style_set): Split the contents of map to more
6148 appropriate functions; set window decorations on realize and update
6149 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6151 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6156 * debian/changelog: Updating.
6158 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6160 * src/Makefile.am: fixed installation of the header files
6162 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6168 * debian/changelog: Updating.
6170 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6172 * configure.ac: Removing some remaining of --enable-xan.
6174 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6176 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6177 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6179 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6180 2.10.12-osso6 because the move-focus signal needs to be available in
6183 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6185 * examples/Makefile.am:
6186 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6187 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6188 fine. Prolly NB#61128 is fixed now.
6190 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6192 * src/hildon-volumebar.c:
6193 * src/hildon-volumebar.h: Adding the
6194 hildon_volumebar_set_range_insensitive_message and
6195 hildon_volumebar_set_range_insensitive_messagef functions to set
6196 insensitive message on the slider of the volumebar. Fixes NB#61129.
6198 * examples/Makefile.am:
6199 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6200 test the new insensitive messsage functionality on HildonVolumebar.
6202 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6204 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6207 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6209 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6210 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6211 button on after clearing the trail.
6213 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6215 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6217 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6219 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6220 by splitting the installed headers in generated and non-generated groups. Use
6221 only the non-generated headers to create the hildon-enum-types.h file.
6223 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6225 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6227 * src/hildon-window.c: Hide the window before performing the destroy.
6228 Should make the app closing a little tiny bit more snappy.
6230 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6232 * src/hildon-seekbar.c: add gtkrange.h header
6233 * src/hildon-caption.c: remove unused variable
6235 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6237 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6240 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6246 * debian/changelog: Updating.
6248 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6250 * src/hildon-window.c (hildon_window_window_state_event,
6251 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6252 escape timeout on focus-out-event rather than notify::is-topmost; the
6253 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6255 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6257 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6258 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6260 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6262 * src/hildon-window: actually, you need to use the macro always, there's
6263 no private pointer in the instance structure. We should have cleaned this up
6264 when we had the chance...
6266 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6268 * src/hildon-window.c: do not get the private date from HildonWindow before
6269 it passes the g_return_if_fail check. Once it's passed the test, there's no
6270 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6271 if you are only going to access the data once. Whitespace cleanups.
6273 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6275 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6276 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6278 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6284 * debian/changelog: Updating.
6286 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6288 * src/hildon-window.c: When destroying the window, remove (if exists) the
6289 escape timeout handler. Fixes #NB59276.
6291 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6293 * src/hildon-banner.c: When realizing the widget, set the window
6294 transiency. Setting the transiency in the gobject constructor is not
6295 good, as the widget is not realized at that point. Fixes: #NB56624.
6297 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6299 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6300 Add padding for future expansions.
6302 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6304 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6305 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6306 will fake an activation on the previous to the last item of the trail, so
6307 the effect can be overrided by the developer as usual.
6308 Also change the callback for the back button to do the same thing, so its
6309 effect can be overrided too. Fixes: NB#58982
6311 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6313 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6314 HildonCaption. Fixes NB#52379.
6316 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6318 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6319 the internal state of the trail after the user has had the chance of executing
6320 his handler for the signal. Specifically, it may happen that the activated button
6321 is removed and the user still lets the default handler run. This would segfault
6324 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6326 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6327 scrollbar to the preview dialog. Fixes NB#54147.
6329 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6331 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6332 max/min year properties can be altered, so the client can modify it
6333 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6335 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6337 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6338 hildonlike by default. Fixing a problem with disappearing arrows when
6339 scrolling through months and years. Fixes NB#54127.
6341 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6343 * examples/hildon-date-editor-example.c: Adding error callback to the date
6346 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6352 * configure.ac: Updating.
6354 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6356 * configure.ac: Adding a special '--enable-xan' configure option that
6357 turns off the -Werror compilation setting. Usefull for development.
6359 * src/hildon-calendar.c:
6360 * src/hildon-number-editor.c:
6361 * src/hildon-time-picker.c: Adding the 5* multiplier to
6364 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6366 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6367 instead of g_object_ref + gtk_object_sink.
6369 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6375 * debian/changelog: Updating.
6377 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6379 * src/hildon-color-chooser-dialog.c:
6380 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6381 straight from Tommi labs.
6383 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6385 * examples/hildon-finger-example.c: Correcting the header file path.
6387 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6388 the changed signal. Fixes a small memory leak.
6390 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6394 * src/hildon-banner.c: Importing several usefull fixes from the
6395 ubuntu-mobile branch.
6397 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6399 * examples/Makefile.am:
6400 * examples/hildon-finger-example.c: Adding a finger-checking code
6403 * src/hildon-font-selection-dialog.c: Do not allocate the color
6404 structure using the g_new. Fixes NB#54061.
6406 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6408 * src/hildon-helper.c: Correcting tabs in file.
6410 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6412 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6413 control the visibility of the children.
6415 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6417 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6423 * debian/changelog: Updating.
6425 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6427 * src/hildon-bread-crumb-trail.c:
6428 (hildon_bread_crumb_trail_size_allocate):
6430 Make the back button always a square.
6432 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6434 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6435 from the .c file as it's a private file.
6437 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6439 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6440 uses slightly bigger height.
6442 * src/hildon-font-selection-dialog.c: Adding some checks before
6443 freeing memory in the font selection dialog.
6445 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6447 * src/hildon-font-selection-dialog.c: Adding a small check when
6450 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6451 buttons sensitivity on page switching.
6453 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6455 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6456 internal details of adding a bread crumb to the trail.
6458 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6464 * debian/changelog: Updating.
6466 * src/hildon-bread-crumb-trail.h:
6467 * src/hildon-bread-crumb.h: Changing the API guard to
6468 HILDON_ENABLE_UNSTABLE_API.
6470 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6478 * src/hildon-helper.h: Updating.
6480 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6488 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6492 * src/hildon-helper.h: Small fix to make the package actually compile.
6494 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6496 * src/hildon-bread-crumb-trail.h:
6497 * src/hildon-bread-crumb.h:
6499 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6500 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6502 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6504 * examples/hildon-bread-crumb-trail-example.c:
6506 * src/hildon-bread-crumb-trail.c:
6507 * src/hildon-bread-crumb-trail.h:
6508 * src/hildon-bread-crumb.c:
6509 * src/hildon-bread-crumb.h:
6510 * src/hildon-marshalers.list:
6511 * src/hildon-bread-crumb-widget.c:
6512 * src/hildon-bread-crumb-widget.h:
6514 Slight change in the widget design. The bread crumb trail API is
6515 unchanged, but HildonBreadCrumb is now an interface. A *private*
6516 implementation, hildon-bread-crumb-widget, is provided and used
6517 internally by the trail for the push_text/push_icon functions.
6519 The generic push API is still available, so anyone can implement
6520 and use its own bread crumb widget.
6522 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6524 * debian/rules: Fixing the shlibs.
6526 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6528 * src/hildon-banner.c: Fixing a problem with timed banners having
6529 their parrent destroyed before they are.
6531 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6533 * src/hildon-bread-crumb.c:
6534 * src/hildon-bread-crumb.h:
6536 Make the get_natural_size function a vfunc.
6538 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6540 * src/hildon-bread-crumb.c:
6541 * src/hildon-bread-crumb-trail.c:
6545 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6552 * debian/changelog: Updating for release.
6554 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6556 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6557 don't leak the pango layout.
6559 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6562 * examples/hildon-bread-crumb-trail-example.c:
6566 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6568 * debian/changelog: Removing the bug-fixed entries that were actually
6569 resolved as WONTFIX.
6571 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6574 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6576 * src/hildon-bread-crumb-trail.c:
6577 * src/hildon-bread-crumb-trail.h:
6578 * src/hildon-bread-crumb.c:
6579 * src/hildon-bread-crumb.h:
6583 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6585 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6586 until it's passed the type check.
6588 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6590 * examples/hildon-bread-crumb-trail-example.c
6594 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6596 * examples/Makefile.am
6597 * examples/hildon-bread-crumb-trail-example.c
6599 * src/hildon-bread-crumb-trail.c
6600 * src/hildon-bread-crumb-trail.h
6601 * src/hildon-bread-crumb.c
6602 * src/hildon-bread-crumb.h
6604 New HildonBreadCrumbTrail widget.
6606 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6608 * src/hildon-range-editor.c (hildon_range_editor_init),
6609 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6610 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6611 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6612 hildon_time_editor_class_init, hildon_time_editor_init),
6613 src/hildon-get-password-dialog.c (invalid_input,
6614 hildon_get_password_set_property, hildon_get_password_get_property,
6615 create_contents, hildon_get_password_dialog_set_max_characters),
6616 src/hildon-set-password-dialog.c (create_contents),
6617 src/hildon-date-editor.c (hildon_date_editor_init),
6618 src/hildon-login-dialog.c (hildon_login_dialog_init),
6619 src/hildon-number-editor.c (hildon_number_editor_init),
6620 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6621 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6622 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6623 configure option and adding the respective checks in the code.
6624 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6625 hildon_calendar_drag_data_received): fixed some build warnings.
6627 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6629 * debian/changelog: A 1.0.0 release notes.