1 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-gtk.c: Check that the window is realized.
5 Fixes: NB#102225 (Crash setting the progress indicator to a non
8 2009-02-17 Alberto Garcia <agarcia@igalia.com>
10 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
11 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
12 instead of modifying the one in the widget style.
14 Fixes: NB#101043 (Second row of all the command button are
15 displayed in transparent mode.)
17 2009-02-17 Alberto Garcia <agarcia@igalia.com>
19 * src/hildon-date-button.c
20 * src/hildon-time-button.c: Add gettext macros
22 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
24 * src/hildon-date-button.c (hildon_date_button_new):
25 * src/hildon-time-button.c (hildon_time_button_new_step):
26 Use new logical strings to set the button default title.
28 Fixes: NB#99915 (Date and Time options are not localised in Date
31 2009-02-16 Alejandro G. Castro <alex@igalia.com>
33 * src/hildon-pannable-area.c
34 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
35 the PANNING_THRESHOLD.
37 2009-02-16 Alejandro G. Castro <alex@igalia.com>
39 * src/hildon-pannable-area.c,
40 (hildon_pannable_area_class_init): Increased the maximum speed.
41 (hildon_pannable_area_get_property),
42 (hildon_pannable_area_set_property),
43 (hildon_pannable_area_timeout): Added a new low friction mode, it
44 allows the user avoid friction when launching the widget fast
45 enough. It is interesting to traverse long lists.
47 2009-02-16 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
50 (+hildon_stackable_window_delete_event): Ignore delete events if
51 the window is not the topmost one.
53 Fixes: NB#101698 (Back button long press and delete-event handling)
55 2009-02-16 Alejandro G. Castro <alex@igalia.com>
57 * src/hildon-pannable-area.c,
58 (hildon_pannable_area_motion_notify_cb): Removed the use of the
59 gtk-dnd-drag-threshold, it was too big. We have defined our own
60 dnd define and set a smaller value: PANNIG_THRESHOLD.
62 2009-02-16 Alberto Garcia <agarcia@igalia.com>
64 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
65 user-defined icons, use always the default one.
67 Fixes: NB#101916 (Do not allow custom icons on animation banner)
69 2009-02-13 Alejandro G. Castro <alex@igalia.com>
71 This patch was applied before but reverted because it caused
72 problems, we have changed the main condition and tested the
73 regressions we detected before and they work ok.
75 * src/hildon-pannable-area.c,
76 (hildon_pannable_area_get_topmost): Added a new parameter to
77 filter the the windows that do not include those events. Added
78 also a condition when finding the window to filter windows that do
79 not ask for those events.
80 (hildon_pannable_area_button_press_cb),
81 (hildon_pannable_area_button_release_cb),
82 (hildon_pannable_get_child_widget_at): Reviewed the call the the
83 topmost function, we have added the new parameter.
85 Fixes: NB#97458 (Pannable area prevents propagation of button
88 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
90 * tests/check-hildon-color-button.c (START_TEST): do not leak
93 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
95 * src/hildon-font-selection-dialog.c
96 (hildon_font_selection_dialog_get_preview_text): Return NULL
97 instead of FALSE on the g_return_val_if_fail().
99 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
101 * src/hildon-time-selector.c (hildon_time_selector_set_time):
102 * src/hildon-date-selector.c
103 (hildon_date_selector_select_current_date):
104 Do not compare unsigned integers to be greater than or equal 0,
105 because it's always TRUE.
107 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
109 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
110 (hildon_date_selector_constructor): Do not select the current
111 date until we are handle the "changed" signal, to avoid having bogus
112 elements in the days model.
114 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
116 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
117 for num_days, since _month_days() can return a negative value.
119 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
121 * src/hildon-caption.c (hildon_caption_size_allocate):
122 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
123 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
125 Initialize allocation variables to 0, to avoid eventually using
126 unitialized variables.
128 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
130 * src/hildon-bread-crumb-trail.c
131 (hildon_bread_crumb_trail_size_allocate):
132 * src/hildon-calendar.c (hildon_calendar_set_background):
133 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
134 * src/hildon-range-editor.c (hildon_range_editor_get_range):
135 * src/hildon-seekbar.c (hildon_seekbar_init):
136 * src/hildon-time-editor.c (hildon_time_editor_get_time):
137 * src/hildon-time-selector.c (hildon_time_selector_finalize):
138 * src/hildon-touch-selector-entry.c
139 (hildon_touch_selector_get_text_from_model):
140 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
141 * src/hildon-window.c (hildon_window_finalize):
143 Remove many unused variables.
145 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
147 * src/hildon-seekbar.c: (hildon_seekbar_init),
148 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
150 Remove unnecessary g_assert() calls.
152 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
154 * src/hildon-caption.c: (hildon_caption_expose),
155 (hildon_caption_set_property), (hildon_caption_init),
156 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
157 (hildon_caption_size_request), (hildon_caption_size_allocate),
158 (hildon_caption_forall), (hildon_caption_set_separator),
159 (hildon_caption_activate), (hildon_caption_set_child_expand),
160 (hildon_caption_set_label_text),
161 (hildon_caption_get_label_alignment):
163 Remove unnecessary g_assert() calls.
165 2009-02-12 Alberto Garcia <agarcia@igalia.com>
167 * src/hildon-banner.c
168 (hildon_banner_map, hildon_banner_init): Make banner temporary
169 before mapping it to avoid closing other temporary windows, but
170 make it non-temporary afterwards to avoid being closed by other
171 non-temporary windows.
172 (-hildon_banner_client_event, hildon_banner_init):
173 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
175 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
178 2009-02-11 Alberto Garcia <agarcia@igalia.com>
180 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
183 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
185 * src/hildon-remote-texture.c
186 * src/hildon-remote-texture.h
187 * src/hildon-remote-texture-private.h
188 * examples/hildon-remote-texture-example.c:
189 Updates/fixes to remote-texture and its example.
191 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
193 Patch by Mox Soini (ext-mox.soini@nokia.com)
195 * src/hildon-code-dialog.c: Update logical id.
196 * src/hildon-set-password-dialog.c: Update logical id.
198 Fixes: NB#100646 (Logical strings is shown for ok in set
199 password,Password needed dialogs)
201 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
204 * src/hildon-remote-texture.c
205 * src/hildon-remote-texture.h
206 * src/hildon-remote-texture-private.h
208 Added remote texture widget (for Clutter shared memory textures)
210 * examples/hildon-remote-texture-example.c
211 * examples/Makefile.am
212 Added example file for remote texture usage
214 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
216 * configure.ac: post release version bump.
217 * debian/changelog: version bump.
219 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
224 * configure.ac: Bump version.
225 * debian/changelog: Updates.
227 2009-02-06 Alberto Garcia <agarcia@igalia.com>
229 * src/hildon-date-selector.c (hildon_date_selector_init)
230 (hildon_date_selector_constructor): Don't connect to the "changed"
231 signal until the selector is completely constructed.
233 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
235 * src/hildon-touch-selector.c: (_create_new_column),
236 (hildon_touch_selector_append_column),
237 (hildon_touch_selector_set_column_selection_mode),
238 (hildon_touch_selector_set_active),
239 (hildon_touch_selector_select_iter):
240 Emit the HildonTouchSelector::changed signal every time selection
241 is changed in any of the methods above. This behavior was already
242 documented but not fully functional.
244 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
245 selection is programmatically changed)
247 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
249 * doc/hildon-sections.txt: Remove obsolete icon
250 sizes from here as well.
252 2009-02-05 Alberto Garcia <agarcia@igalia.com>
254 * examples/hildon-stackable-window-example.c (add_window): Remove
257 2009-02-05 Alberto Garcia <agarcia@igalia.com>
259 * src/hildon-app-menu.c
260 (hildon_app_menu_show): Check whether the parent window of a menu
261 is topmost before popping it up.
263 Fixes: NB#100468 (Application menu window is launched even when a
264 new secondary-window/dialog is pending to be shown/realized.)
266 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
268 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
271 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
273 Patch by Mox Soini (ext-mox.soini@nokia.com)
275 * src/hildon-banner.c: (hildon_banner_show_animation):
276 use stylus size instead of obsolete note size.
277 * src/hildon-defines.h: Update icon sizes.
279 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
281 * src/hildon-touch-selector-entry.c:
282 (hildon_touch_selector_entry_init): Disable unsupported
284 (hildon_touch_selector_entry_get_text_column): Emit a warning
285 if an unsupported input modes is used and explicitile state
286 these modes in the documentation.
288 Fixes: NB#99802 (Hildon touch selector entry not working properly
289 for some of the input modes)
291 2009-02-05 Alejandro G. Castro <alex@igalia.com>
293 * src/hildon-pannable-area.c,
294 (hildon_pannable_area_init): Added the changed signal handlers of
297 Fixes: NB#100320 (HildonPannableArea does not listen to
298 GtkAdjustment "change" signals)
300 2009-02-04 Alberto Garcia <agarcia@igalia.com>
302 * doc/hildon-sections.txt
303 * src/hildon-window-private.h
304 * src/hildon-window.h
305 * src/hildon-window.c (hildon_window_init)
306 (hildon_window_realize, hildon_window_unrealize)
307 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
308 (hildon_window_size_request, hildon_window_size_allocate)
309 (hildon_window_forall, hildon_window_show_all)
310 (hildon_window_destroy, +paint_edit_toolbar)
311 (+hildon_window_set_edit_toolbar):
312 New hildon_window_set_edit_toolbar() method, to add a
313 HildonEditToolbar to a window without having to pack it manually.
315 Reorganize hildon_window_size_allocate()
317 * src/hildon-edit-toolbar.c: Update documentation.
319 * examples/hildon-edit-toolbar-example.c (edit_window): Update
320 example to use the new API.
322 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
324 2009-02-04 Alberto Garcia <agarcia@igalia.com>
326 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
327 Remove from stack before calling parent's hide.
329 2009-02-04 Alberto Garcia <agarcia@igalia.com>
331 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
332 window is removed from the middle of the stack, update the
333 transiency of the previous one.
335 Fixes: NB#100487 (HildonStackableWindow transiency becomes
338 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
340 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
341 block/unblock the signal handler if it's not actually being used.
342 Fixes some critical warnings.
344 2009-02-02 Alberto Garcia <agarcia@igalia.com>
346 Based on a patch by Iván Gómez (igomez@igalia.com)
348 * src/hildon-banner.c
352 * src/hildon-pannable-area.c
353 * src/hildon-picker-dialog.c
354 * src/hildon-wizard-dialog.h
355 * src/hildon-wizard-dialog.c: Documentation updates.
357 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
358 gtk_dialog_add_button() instead of hildon_dialog_add_button().
360 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
362 * configure.ac: post release version bump.
363 * debian/changelog: version bump.
365 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
370 * configure.ac: Bump version.
371 * debian/changelog: Updates.
373 2009-01-29 Alberto Garcia <agarcia@igalia.com>
375 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
376 a stock icon nor change the relief of the back arrow.
378 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
381 2009-01-29 Alberto Garcia <agarcia@igalia.com>
383 * src/hildon-button.c (hildon_button_set_alignment): Use
384 priv->alignment if the button has no child yet.
386 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
388 * src/hildon-button.c: (hildon_button_init): Set the
389 button style during initialization to give it the proper
392 Fixes: NB#99713 (HildonButton value label color is wrong)
394 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-touch-selector.c: Document
397 hildon_touch_selector_center_on_selected()
399 2009-01-28 Alberto Garcia <agarcia@igalia.com>
401 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
402 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
403 all menu items, but not the menu itself.
404 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
405 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
406 items after adding them to the menu so keyboard accelerators work.
407 (hildon_app_menu_show): Don't show the menu if it contains items
408 but none of them are visible.
410 * examples/hildon-app-menu-example.c (create_menu): Use
411 gtk_widget_show_all() to show all menu items.
413 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
415 * src/hildon-picker-dialog.c:
416 (-_update_title_on_selector_changed_cb),
417 (-_dialog_update_title): Removed.
418 (_select_on_selector_changed_cb), (_on_dialog_response),
419 (on_selector_columns_changed): Do not update the dialog title.
420 (setup_interaction_mode): Do not connect to
421 HildonTouchSelector::changed signal if there's a "done" button, as
422 the dialog title doesn't need to be updated.
424 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
427 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
429 Patch by Kristian Rietveld (kris@imendio.com)
431 * src/hildon-touch-selector.c: (_create_new_column): Use new
432 GtkTreeView::hildon-row-tapped signal to react to user interactions
433 instead of ::changed.
435 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
436 with some dynamic tree model)
438 2009-01-27 Alberto Garcia <agarcia@igalia.com>
440 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
441 (+screen_size_changed, +label_size_request)
442 (hildon_note_class_init): Make the Hildon information note have a
443 minimum height, and make its text hvae a maximum width.
445 Fixes: NB#98614 (Hildon information note (background) should have
446 minimum height and maximum text width)
448 2009-01-26 Alberto Garcia <agarcia@igalia.com>
450 * src/hildon-banner.h
451 * src/hildon-banner.c (hildon_banner_show_information)
452 (hildon_banner_show_informationf)
453 (hildon_banner_show_information_with_markup): Update documentation
454 to reflect that the icon_name parameter is not used anymore.
455 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
456 Remove all code from these functions and mark them as deprecated.
457 (hildon_banner_show_progress): Mark as deprecated.
459 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
461 2009-01-26 Alejandro G. Castro <alex@igalia.com>
463 * src/hildon-pannable-area.c,
464 (hildon_pannable_area_class_init),
466 (hildon_pannable_draw_vscroll),
467 (hildon_pannable_draw_hscroll),
468 (hildon_pannable_area_expose_event): Added a new way to render the
469 scrollbars of the pannable area avoiding using cairo at all. This
470 way we improve the performance of the pannable area rendering. The
471 cairo rendering procedure is still in the code, we can control
472 which one to use changing the value of the define
473 USE_CAIRO_SCROLLBARS.
475 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
477 * configure.ac: post release version bump.
478 * debian/changelog: version bump.
480 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
485 * configure.ac: Bump version.
486 * debian/changelog: Updates.
488 2009-01-23 Alberto Garcia <agarcia@igalia.com>
490 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
491 banners instead of destroying them when they receive a button
494 2009-01-23 Alejandro G. Castro <alex@igalia.com>
496 Reverted commit 34028, it was causing regressions, probably the
497 topmost condition is not correct, we have to check it in more
498 detail. We have reponed the bug: NB#97458 (Pannable area prevents
499 propagation of button press events)
501 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
503 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
504 that the selection is not empty before attempting to retrieve the
505 current ampm selection.
507 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
509 * src/hildon-picker-button.c:
510 (hildon_picker_button_on_dialog_response): Directly update the
511 button contents when required instead of calling _selection_changed.
513 2009-01-23 Alberto Garcia <agarcia@igalia.com>
515 * src/hildon-program.c (hildon_program_update_top_most): Update
516 'is-topmost' property also when wm_hints is not set.
518 Fixes: NB#98383 (is-topmost signal is not emitted when task
519 switcher is clicked.)
521 2009-01-23 Alejandro G. Castro <alex@igalia.com>
523 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
527 * src/hildon-animation-actor.c,
528 * src/hildon-animation-actor.h: Added the animation actor class,
529 this widget represents an animation actor for WM-assisted
530 animation effects in the Hildon framework.
532 2009-01-23 Alberto Garcia <agarcia@igalia.com>
534 * src/hildon-window-stack-private.h
535 * src/hildon-window-stack.c
536 * src/hildon-stackable-window.c (hildon_stackable_window_show):
537 Avoid calling gtk_widget_show() again indirectly from
538 hildon_stackable_window_show()
540 2009-01-23 Alberto Garcia <agarcia@igalia.com>
542 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
545 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
547 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
548 (hildon_time_selector_init): Move the construction of the hours and
549 ampm columns to the constructor to preserve the order the columns
552 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
554 * src/hildon-picker-dialog.c:
555 (hildon_picker_dialog_class_init): Connect a realize method.
556 (+hildon_picker_dialog_realize): Setup the interaction mode here
558 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
559 yet, do it during the realize instead.
560 (_on_dialog_response):
561 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
562 if the widget is not realized, to avoid the dialog response before it
565 Avoid premature responses in the HildonPickerDialog that can cause it
566 to be hidden before it's even shown.
568 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
570 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
571 (on_selector_columns_changed), (requires_done_button),
572 (+prepare_action_area), (setup_interaction_mode),
573 (_hildon_picker_dialog_set_selector):
575 Split the interaction mode setup into preparation of the
576 action area (prepare_action_area()) and the connection of
577 the signals in setup_interaction_mode() and update the code to
580 2009-01-22 Alejandro G. Castro <alex@igalia.com>
582 * src/hildon-pannable-area.c,
583 (hildon_pannable_area_class_init): Reduced the amount of scrolls
584 per second to 15, we will check if this is ok regarding
587 2009-01-22 Alejandro G. Castro <alex@igalia.com>
589 * src/hildon-pannable-area.c,
590 (hildon_pannable_axis_scroll): Avoid resize if we already have
591 reached overshoot_max.
593 2009-01-22 Alejandro G. Castro <alex@igalia.com>
595 * src/hildon-pannable-area.c,
596 (hildon_pannable_area_init),
597 (hildon_pannable_area_realize),
598 (hildon_pannable_area_size_allocate),
599 (hildon_pannable_area_map),
600 (hildon_pannable_area_unmap),
601 (hildon_pannable_draw_vscroll),
602 (hildon_pannable_draw_hscroll),
603 (hildon_pannable_area_expose_event),
604 (hildon_pannable_area_refresh): Added a new GdkWindow to the
605 pannable are to avoid the expose events go to the window and
606 redraw the window. We save this way that part of the stack and the
607 paint_boxes. We had to change the positions of the elements when
610 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
613 * src/hildon-color-chooser-dialog.c:
614 (hildon_color_chooser_dialog_init):
615 * src/hildon-font-selection-dialog.c:
616 (hildon_font_selection_dialog_init),
617 (hildon_font_selection_dialog_show_preview):
618 * src/hildon-get-password-dialog.c:
619 * src/hildon-login-dialog.c:
620 * src/hildon-set-password-dialog.c:
621 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
622 * src/hildon-time-picker.c: (hildon_time_picker_init):
624 Remove obsolete logical string IDs and update to the appropriate ones.
626 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
628 2009-01-21 Alberto Garcia <agarcia@igalia.com>
630 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
631 that happens if the window hasn't been realized yet.
633 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
634 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
636 2009-01-20 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-app-menu.c (hildon_app_menu_class_init)
639 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
642 Fixes: NB#98537 (Device hangs in account settings dialog)
644 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
646 * configure.ac: post release version bump.
647 * debian/changelog: version bump
649 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
654 * configure.ac: Bump version.
655 * debian/changelog: Updates.
657 2009-01-20 Alejandro G. Castro <alex@igalia.com>
659 Added a new function to the HildonTimeButton widget that allows to
660 change the step of the minutes in the selector associated with the
661 button: hildon_time_button_new_step
663 * src/hildon-time-button.c,
664 (hildon_time_button_init),
665 (hildon_time_button_new),
666 (hildon_time_button_new_step):
667 * src/hildon-time-button.h: Added the new function and refactored
669 * examples/hildon-time-button-example.c,
670 (main): We have replaced the function without parameters with the
671 function with the steps set to 5
673 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
675 2009-01-20 Alejandro G. Castro <alex@igalia.com>
677 * src/hildon-time-selector.c,
678 (hildon_time_selector_class_init),
679 (hildon_time_selector_constructor),
680 (hildon_time_selector_get_property),
681 (hildon_time_selector_set_property),
682 (_create_minutes_model),
683 (hildon_time_selector_new_step),
684 (hildon_time_selector_set_time),
685 * src/hildon-time-selector.h: Added a new property to the
686 HildonTimeSelector (minutes-step), we use that property to control
687 the steps between the minutes in the list of the selector. We have
688 added a new function to the API to create a widget changing the
689 step: hildon_time_selector_new_step.
691 2009-01-20 Alejandro G. Castro <alex@igalia.com>
693 * src/hildon-time-selector.c,
694 (hildon_time_selector_class_init),
695 (hildon_time_selector_constructor),
696 (hildon_time_selector_init): Overrided the construct function when
697 creating the time selector object. We have moved the minutes model
698 handling code from the init to the new construction function:
699 hildon_time_selector_constructor.
701 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
703 * examples/hildon-date-button-example.c: (main): Use the new
704 hildon_date_button_new_with_year_range() method in the example.
705 * src/hildon-date-button.c:
706 (+hildon_date_button_new_with_year_range): New public method
707 to conveniently create a HildonDateButton with a custom year range
708 in its HildonDateSelector.
709 * src/hildon-date-button.h: Add the new public method definition.
711 Fixes: NB#97908 (Not possible to change the year range in
712 HildonDateSelector/HildonDateButton)
714 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
716 * src/hildon-date-selector.c:
717 (+hildon_date_selector_set_property),
718 (+hildon_date_selector_get_property),
719 (hildon_date_selector_class_init): Install new properties "min-year"
720 and "max-year" to define boundaries for the year column.
721 (_create_year_model): Use the boundary properties to populate the model.
722 (+hildon_date_selector_new_with_year_range): New public method to
723 create a HildonDateSelector with a user defined year range.
724 (hildon_date_selector_select_current_date): Use the new boundaries to
725 calculate the iterator of current year.
726 * src/hildon-date-selector.h: Add the new public method definition.
728 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
730 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
731 Install a constructor method.
732 (+hildon_date_selector_construct_ui): construct the widget.
733 (+hildon_date_selector_constructor): new constructor.
734 (+hildon_date_selector_init): move out widget construction code to
737 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
739 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
740 that there's actually a month or year selected before obtaining them.
741 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
742 of the HildonTouchSelector::changed signal, as it was emitted on every
743 single item selection.
745 Fix some warnings and possible crashers due to the selection restoring.
747 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
749 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
750 the signal handlers only after creating the dialog instead of on every
753 2009-01-19 Alberto Garcia <agarcia@igalia.com>
755 * src/hildon-button.c (hildon_button_init)
756 * src/hildon-check-button.c (hildon_check_button_init)
757 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
758 focus when clicked by default.
760 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
762 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
765 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
767 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
768 Alejandro G. Castro (alex@igalia.com)
770 * src/hildon-picker-dialog.c:
771 (hildon_picker_dialog_class_init): install new "center-on-show"
773 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
774 (hildon_picker_dialog_set_property): add setter code for the new
776 (hildon_picker_dialog_get_property): add getter code for the new
778 (hildon_picker_dialog_show): Ensure visibility of selected items in the
779 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
782 Fixes: NB#92849 (Selected item is not always visible when
783 HildonTouchSelector is shown)
785 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
787 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
788 Alejandro G. Castro (alex@igalia.com)
790 * src/hildon-touch-selector.c:
791 (_create_new_column): Do not connect to the "realize" signal of the
793 (hildon_touch_selector_append_column): center on the selected items
794 when a new column is appended.
795 (hildon_touch_selector_select_iter): Factor out the code to select a
796 column to hildon_touch_selector_scroll_to().
797 (+search_nearest_element): Method to retrieve the nearest selected
798 element to the visible area of the pannable area in a column.
799 (+on_realize_cb): scroll to the initially selected item.
800 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
801 the pannable area is realized, otherwise delay this until it is.
802 (+_hildon_touch_selector_center_on_selected_items): Centers on the
803 selected items of a given column.
804 (+hildon_touch_selector_center_on_selected): Public method to center
805 all columns on the nearest selected item.
806 * src/hildon-touch-selector.h: Add definition for
807 hildon_touch_selector_center_on_selected().
809 Implement public API to ensure visibility of all selected items in
810 a HildonTouchSelector.
812 2009-01-16 Alejandro G. Castro <alex@igalia.com>
814 Fixed a problem in the fading when calling the scroll_to API, and
815 improve scrollbar fading handling.
817 * src/hildon-pannable-area.c,
818 (hildon_pannable_area_grab_notify): avoid the timeout when the
820 (hildon_pannable_area_button_press_cb),
821 (hildon_pannable_area_motion_notify_cb): Code style changes.
822 (hildon_pannable_area_button_release_cb): Review the conditions
823 when releasing the mouse button to avoid unrequired fading
825 (hildon_pannable_area_scroll_to): Do not calculate and set the
826 velocity if the scroll is not required.
828 2009-01-15 Alberto Garcia <agarcia@igalia.com>
830 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
831 Don't check whether the new selector is NULL: it cannot be.
832 Hold a reference to the selector while doing the replacement.
834 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
836 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
837 unnecessary size_request in a removed widget.
839 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
842 an unnecessary reference tracking that was leaking.
844 2009-01-15 Alejandro G. Castro <alex@igalia.com>
846 Added delayed motion notify event handling, this way we can
847 discard redrawing if more than 25 events arrive per second.
849 * src/hildon-pannable-area.c,
850 (hildon_pannable_area_init): Initialized the new private atributes
851 controlling this timeout
852 (hildon_pannable_area_dispose): Remove the timeout that controls
853 the motion notify events.
854 (hildon_pannable_area_scroll): Added a condition to control the
855 use of the acceleration.
856 (hildon_pannable_area_motion_event_scroll_timeout),
857 (hildon_pannable_area_motion_event_scroll): Added this two
858 functions, they handle the motion notify events inside the
860 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
861 to the scroll method with the new function.
862 (hildon_pannable_area_button_release_cb): We have to remove the
863 timeout handler and move to the last position if the last motion
864 events were not handled.
866 Fixes: NB#97028 (Pannable area updates on every motion event)
868 2009-01-15 Alejandro G. Castro <alex@igalia.com>
870 * src/hildon-pannable-area.c,
871 (hildon_pannable_area_get_topmost): Added a new parameter to
872 filter the the windows that do not include those events. Added
873 also a condition when finding the window to filter windows that do
874 not ask for those events.
875 (hildon_pannable_area_button_press_cb),
876 (hildon_pannable_area_button_release_cb),
877 (hildon_pannable_get_child_widget_at): Reviewed the call the the
878 topmost function, we have added the new parameter.
880 Fixes: NB#97458 (Pannable area prevents propagation of button
883 2009-01-15 Alejandro G. Castro <alex@igalia.com>
885 * src/hildon-pannable-area.c,
886 (hildon_pannable_area_initial_effect): Added controls before
887 launching the timeout and the idle functions.
888 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
889 of the method, in some situations it can return with TRUE and 0 in
891 (hildon_pannable_area_button_press_cb): We do not need to set
892 DELAY for fading out here.
894 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
896 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
898 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
899 post-cleaning if the selection is not NULL.
901 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
903 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
904 all items before restoring the selection.
906 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
908 * src/hildon-touch-selector.c:
909 (+hildon_touch_selector_unselect_all):
910 * src/hildon-touch-selector.h: New API to unselect all items in a
911 column of the touch selector.
913 2009-01-14 Alejandro G. Castro <alex@igalia.com>
915 * src/hildon-pannable-area.c,
916 (hildon_pannable_area_redraw): Added a call to the refresh
917 function inside the redraw because apparently in some cases the
918 change in the adjustment does not imply a size allocate.
920 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
921 despite the view not being scrollable)
923 2009-01-14 Alberto Garcia <agarcia@igalia.com>
925 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
926 leak. Check for NULL before attempting to set the window title.
928 2009-01-14 Alberto Garcia <agarcia@igalia.com>
930 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
931 whether to show or not the 'Done' button each time the dialog is
932 shown, as it depends on the HildonTouchSelector selection mode.
934 Fixes: NB#96226 (In multiple selection mode Done button is shown
935 sometimes in listpicker)
937 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
939 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
940 for the number of columns in the HildonTouchSelector more than once.
942 2009-01-14 Alberto Garcia <agarcia@igalia.com>
944 * src/hildon-touch-selector.c: Minor documentation fixes.
946 * src/hildon-picker-dialog.c (+_dialog_update_title)
947 (_select_on_selector_changed_cb)
948 (_update_title_on_selector_changed_cb)
949 (on_selector_columns_changed): Update dialog title when there's no
950 'Done' button and also when the number of columns in the selector
954 * src/hildon-picker-button.c (hildon_picker_button_finalize)
955 (+_selection_changed, hildon_picker_button_on_dialog_response)
956 (hildon_picker_button_selector_selection_changed)
957 (+hildon_picker_button_selector_columns_changed)
958 (hildon_picker_button_set_selector): Update button value and emit
959 'value-changed' when the number of columns in the selector
963 Fixes: NB#96225 (Dialog titles are not shown according to the
964 values selected in the list picker)
966 2009-01-13 Alberto Garcia <agarcia@igalia.com>
968 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
969 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
970 New "arrow-width" and "arrow-height" style properties to set the
971 size of the arrow button.
972 Set name of arrow button ("hildon-edit-toolbar-arrow").
974 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
977 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
979 * src/hildon-picker-button.c:
980 (hildon_picker_button_selector_selection_changed): Use
981 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
982 the dialog is present.
984 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
985 the selection is accepted in the dialog)
987 2009-01-13 Alberto Garcia <agarcia@igalia.com>
989 * src/hildon-color-chooser.h
990 * src/hildon-color-chooser-dialog.h:
991 Added G_BEGIN_DECLS and G_END_DECLS
993 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
995 (_clean_current_selection): plug a leak in the list.
997 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
999 * src/hildon-picker-dialog.c:
1000 (+free_path_list): Method to free a GList of GtkTreePaths.
1001 (_clean_current_selection), (_save_current_selection),
1002 (_restore_current_selection): Save the current selection in
1003 as a list of lists, to support multiple selection properly.
1005 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1007 patch by Claudio Saavedra (csaavedra@igalia.com)
1009 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1010 Store the press position.
1011 (+hildon_text_view_button_release_event): If the release position is
1012 close enough to the press position, move the cursor here. Otherwise,
1014 (hildon_text_view_class_init): Override GtkTextView press, release, and
1015 motion event handlers, disabling this way text selection through
1016 pointer interaction, and allowing the container widget to handle the
1019 Fixes: NB#95828 (HildonTextView functionality)
1021 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1023 Based on a patch by Iván Gómez (igomez@igalia.com)
1025 * src/hildon-button.[ch]
1026 * src/hildon-calendar.c
1027 * src/hildon-check-button.c
1028 * src/hildon-date-editor.c
1029 * src/hildon-date-selector.c
1030 * src/hildon-picker-button.c
1031 * src/hildon-time-editor.c
1032 * src/hildon-time-selector.c
1033 * src/hildon-touch-selector.[ch]:
1034 Documentation updates
1036 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1038 * src/hildon-pannable-area.c,
1039 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1040 threshold, it was required due to X events handling.
1042 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1044 * src/hildon-pannable-area.c,
1045 (hildon_pannable_area_grab_notify),
1046 (hildon_pannable_area_initial_effect),
1047 (hildon_pannable_area_button_press_cb),
1048 (hildon_pannable_area_button_release_cb),
1049 (hildon_pannable_area_scroll_cb),
1050 (hildon_pannable_area_scroll_to): Review the timeout management of
1051 the scrollbar, the frecuency was incorrectly set.
1053 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1055 * src/hildon-picker-button.c:
1056 (+hildon_picker_button_on_dialog_response),
1057 (hildon_picker_button_clicked): Present the dialog instead of
1058 running it with gtk_dialog_run().
1060 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1063 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1065 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1066 (hildon_app_menu_finalize): When a window is hidden it doesn't
1067 emit notify::is-topmost, so make sure than the menu also
1068 disappears in that case.
1069 (parent_window_topmost_notify): Renamed from parent_window_hidden
1071 Fixes: NB#94460 (stackable window's menu is not closed when its
1074 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1076 * src/hildon-touch-selector-entry.c:
1077 (+hildon_touch_selector_entry_set_input_mode),
1078 (+hildon_touch_selector_entry_get_input_mode):
1079 * src/hildon-touch-selector-entry.h: New methods to access the input
1080 mode in the selector's entry.
1082 Fixes: NB#93410 (API required for setting IM mode in
1083 HildonTouchSelectorEntry)
1085 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1087 * configure.ac: post release version bump.
1088 * debian/changelog: version bump
1090 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1095 * configure.ac: Bump version.
1096 * debian/changelog: Updates.
1098 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1100 * src/hildon-touch-selector.c:
1101 (_hildon_touch_selector_has_multiple_selection): No need
1102 to initialize the variables here.
1104 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-note-private.h
1107 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1108 (hildon_note_finalize, hildon_note_rebuild): Close information
1109 notes when they receive a button press.
1111 Fixes: NB#89890 (Information notes does not get disappeared after
1114 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1116 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1117 mark from the wizard title, as it's not really necessary. Also,
1118 do not display the page title if not set.
1120 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1122 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1123 (parent_window_hidden): Use the window's "is-topmost" property to
1124 detect when to hide the menu.
1126 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1128 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1129 (hildon_app_menu_finalize): If the parent window of the menu is
1130 hidden, hide the menu too.
1132 Fixes: NB#94460 (stackable window's menu is not closed when its
1135 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1138 * debian/libhildon1-examples.install
1140 * examples/Makefile.am:
1141 Use dh_install to install all examples.
1142 Use DEB_SRCDIR instead of defining SOURCE_DIR
1144 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1146 * configure.ac: post release version bump.
1147 * debian/changelog: version bump
1149 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1154 * configure.ac: bump version
1155 * debian/changelog: updates
1156 * debian/control: bump gtk+ dependency
1158 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1160 patch by Christian Dywan (christian@imendio.com)
1162 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1163 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1165 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-check-button.c (hildon_check_button_init)
1168 (hildon_check_button_class_init, hildon_check_button_style_set)
1169 (hildon_check_button_apply_style):
1170 New "checkbox-size" style property.
1172 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1173 larger / configurable size)
1175 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1177 * configure.ac: post release version bump.
1178 * debian/changelog: version bump
1180 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1185 * configure.ac: bump version
1186 * debian/changelog: updates
1188 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1190 * doc/hildon-sections.txt
1191 * src/hildon-pannable-area.c
1192 * src/hildon-program.c
1193 * src/hildon-time-editor.c
1194 * src/hildon-touch-selector-entry.c:
1196 More documentation updates.
1198 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1200 * doc/hildon-sections.txt
1201 * src/hildon-caption.c
1202 * src/hildon-code-dialog.c
1203 * src/hildon-color-button.c
1204 * src/hildon-controlbar.c
1205 * src/hildon-date-editor.c
1206 * src/hildon-date-selector.c
1207 * src/hildon-edit-toolbar.c
1208 * src/hildon-find-toolbar.c
1209 * src/hildon-font-selection-dialog.c
1211 * src/hildon-program.c
1212 * src/hildon-range-editor.c
1213 * src/hildon-seekbar.c
1214 * src/hildon-time-editor.c
1215 * src/hildon-time-selector.c
1216 * src/hildon-volumebar-range.c
1217 * src/hildon-volumebar.c
1218 * src/hildon-vvolumebar.c
1219 * src/hildon-weekday-picker.c
1220 * src/hildon-window.c
1221 * src/hildon-wizard-dialog.c:
1223 Lots of documentation fixes.
1225 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1227 Patch contributed by Iván Gómez (igomez@igalia.com)
1229 * src/hildon-check-button.c:
1230 * src/hildon-date-button.c:
1231 * src/hildon-date-selector.c:
1232 * src/hildon-dialog.c:
1233 * src/hildon-edit-toolbar.c:
1234 * src/hildon-entry.c:
1235 * src/hildon-picker-button.c:
1236 * src/hildon-program.c:
1237 * src/hildon-text-view.c:
1238 * src/hildon-time-button.c:
1239 * src/hildon-touch-selector-entry.c:
1240 * src/hildon-window-stack.c:
1242 Add more "since" tags to the new API.
1244 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1246 * doc/hildon-sections.txt: Add below method.
1247 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1248 version for the hildonized scale.
1249 * src/hildon-gtk.h: Add the definition.
1251 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1253 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1255 * doc/hildon-sections.txt: Add missing entries for new methods.
1257 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1259 Added API to pannable are in order to get its adjustments. We
1260 added two properties to manage the values we had in the private
1263 * src/hildon-pannable-area.c:
1264 (hildon_pannable_area_class_init): Added hadjustment and
1265 vadjustment properties in order to expose horizontal and vertical
1267 (hildon_pannable_area_get_property),
1268 (hildon_pannable_area_set_property): Added code to handle the new
1270 (hildon_pannable_area_get_hadjustment),
1271 (hildon_pannable_area_get_vadjustment): API functions to get the
1273 * src/hildon-pannable-area.h:
1274 (hildon_pannable_area_get_hadjustment),
1275 (hildon_pannable_area_get_vadjustment): API functions to get the
1278 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1280 Fixed some leaks, after valgrinding.
1282 * src/hildon-touch-selector.c:
1283 (_default_print_func): Fixed a leak.
1284 (hildon_touch_selector_append_column): Fixed a leak.
1285 * src/hildon-date-button.c:
1286 (hildon_date_button_init): Fixed a leak.
1287 * src/hildon-date-selector.c
1288 (hildon_date_selector_finalize): Fixed a leak.
1290 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1292 Based on a patch by Christian Dywan (christian@imendio.com)
1294 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1296 * src/hildon-gtk.h: Add definition.
1298 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1300 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1302 * src/hildon-picker-button.c: (hildon_picker_button_init),
1303 (hildon_picker_button_new): Set the HildonButton::style property
1304 in the init method, to propagate the value to the derived classes.
1306 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1308 * src/hildon-button.c: (hildon_button_class_init): Do not make
1309 the "style" property a construct property.
1311 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-wizard-dialog.h
1314 * src/hildon-wizard-dialog.c
1315 (hildon_wizard_dialog_set_forward_page_func)
1316 * src/hildon-pannable-area.h
1317 * src/hildon-pannable-area.c
1318 (hildon_pannable_area_set_size_request_policy):
1319 Documentation fixes.
1321 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1323 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1325 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1327 * doc/hildon-sections.txt: Added sections file.
1329 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1332 * src/*.[ch]: Updates.
1334 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1336 * examples/hildon-progress-indicator-example.c: new file
1337 * examples/Makefile.am: include the new example program
1339 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1341 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1343 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1345 * configure.ac: post release version bump
1346 * debian/changelog: version bump
1348 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1353 * configure.ac: bump version
1354 * debian/changelog: updates
1355 * debian/control: bump gtk+ dependency
1357 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1359 * src/hildon-dialog.c: Mark as deprecated.
1360 * src/hildon-dialog.h: Mark as deprecated.
1361 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1362 from HildonDialog and still work, even if
1363 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1364 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1366 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1367 maemo changes) instead)
1369 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1371 * src/hildon-pannable_area.h:
1372 * src/hildon-pannable_area.c:
1373 (hildon_pannable_area_class_init),
1374 (hildon_pannable_area_set_property),
1375 (hildon_pannable_area_get_property),
1376 (hildon_pannable_area_size_request),
1377 (hildon_pannable_area_get_size_request_policy),
1378 (hildon_pannable_area_set_size_request_policy): Added new API
1379 allowing applications to control the request policy. Now they can
1380 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1381 children allocation (HILDON_MOVEMENT_CHILDREN).
1383 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1387 (hildon_gtk_tree_view_set_ui_mode)
1388 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1389 mode of treeviews and iconviews.
1391 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-touch-selector-entry.c:
1394 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1395 of a GtkEntry to get proper theming.
1397 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1398 widget, not GtkEntry)
1400 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1402 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1403 no HildonWizardDialogPageFunc.
1405 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1407 Patch contributed by Iván Gómez (igomez@igalia.com)
1409 * src/hildon-app-menu.c:
1410 * src/hildon-button.c:
1411 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1412 * src/hildon-stackable-window.c:
1413 * src/hildon-time-selector.c:
1414 * src/hildon-touch-selector.c:
1415 * src/hildon-window.c:
1417 Add more "since" tags to the new API in hildon 2.2.
1419 2008-12-05 Tim Janik <timj@imendio.com>
1421 Patch contributed by Christian Dywan (christian@imendio.com)
1423 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1424 HildonSizeType, which are supplied by Gtk+ now.
1426 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1428 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1429 (with maemo changes) instead)
1431 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1433 Patch contributed by Iván Gómez (igomez@igalia.com)
1435 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1438 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1440 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1441 (some_page_func), (main): Update the example to use a
1442 HildonWizardDialogPageFunc function.
1444 * src/hildon-wizard-dialog-private.h: Add private data for
1445 the HildonWizardDialogPageFunc function usage.
1447 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1448 (destroy), (hildon_wizard_dialog_init), (response),
1449 (hildon_wizard_dialog_set_forward_page_func):
1450 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1451 that applications can use to stop a HildonWizardDialog to jump to
1454 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1457 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1459 * src/hildon-program.h
1460 * src/hildon-program-private.h
1461 * src/hildon-program.c (hildon_program_init)
1462 (hildon_program_set_common_app_menu)
1463 (hildon_program_get_common_app_menu):
1464 New API for setting a common HildonAppMenu for all
1465 HildonStackableWindows registered with the HildonProgram.
1467 * src/hildon-stackable-window.c
1468 (hildon_stackable_window_toggle_menu):
1469 Use the common HildonAppMenu if a window doesn't have a specific
1472 * src/hildon-app-menu-private.h
1473 * src/hildon-app-menu.c
1474 (hildon_app_menu_get_parent_window):
1475 Function to obtain the window a HildonAppMenu is attached to.
1476 (hildon_app_menu_set_parent_window):
1477 Hide the menu if the parent window is set to NULL.
1479 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1481 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1482 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1483 search widget to popup.
1485 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1487 * configure.ac: post release version bump
1488 * debian/changelog: version bump
1490 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1495 * configure.ac: bump version
1496 * debian/changelog: updates
1498 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1500 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1502 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1503 (hildon_window_stack_window_realized)
1504 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1505 Set the leader GdkWindow when a window is stacked and realized,
1506 unset it when it's unstacked.
1507 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1509 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1511 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1513 * src/hildon-stackable-window.h
1514 * src/hildon-window-stack.h:
1515 Protect definition of HildonWindowStack using the preprocessor.
1517 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1520 Fix warning if all menu items are hidden.
1522 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1524 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1526 * src/hildon-controlbar.c:
1527 * src/hildon-hvolumebar.c:
1528 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1529 Multiple scale size defines updates.
1531 Fixes: NB#94322 (Scale Updates)
1533 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1535 * examples/hildon-app-menu-example.c (create_menu)
1536 Show items after adding them to the menu, as in the future the
1537 menu will no longer call gtk_widget_show() on the added items.
1539 * src/hildon-app-menu.c:
1540 Update example as explained above.
1542 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1544 * src/hildon-app-menu.c
1545 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1546 Make sure that all menu items have finger height.
1548 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1550 * src/hildon-picker-dialog.c:
1551 (_on_dialog_response), (_save_current_selection),
1552 (_restore_current_selection), (_clean_current_selection),
1553 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1554 Defined new functions in order to save the current internal selector
1555 selection previous open the dialog, in case that the use cancel the
1556 interaction, so the widget restores the previous selection.
1558 Fixes: NB#92032 (In calendar application, date values in 'new event'
1561 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1563 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1565 * src/hildon-button.c: Add a reference to the button examples in
1566 hildon-button-example.c
1568 * examples/hildon-button-example.c: Added examples of the most
1569 common button layouts.
1571 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1573 * src/hildon-app-menu.c (hildon_app_menu_show)
1574 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1576 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1578 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1580 * src/hildon-picker-dialog.c:
1581 (hildon_picker_dialog_init): Initialize the signal id for
1582 HildonTouchSelector::columns-changed.
1583 (+on_selector_columns_changed): Set up the interaction mode everytime a
1584 column is added or removed from the HildonTouchSelector.
1585 (_hildon_picker_dialog_set_selector): Connect to
1586 HildonTouchSelector::columns-changed and keep track of it.
1588 Make sure to update the interaction mode of the dialog everytime a
1589 column is added or removed in the HildonTouchSelector.
1591 Fixes: NB#93228 (Done button is not shown always in listpicker)
1593 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1595 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1596 a new ::columns-changed signal.
1597 (hildon_touch_selector_append_column): Emit ::columns-changed.
1598 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1600 Add a ::columns-changed signal, emitted when the number of columns in a
1601 HildonTouchSelector changes.
1603 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1605 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1606 (_hildon_picker_dialog_set_selector): Factor out the code
1607 to set up the dialog interaction mode.
1609 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1611 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1612 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1613 to signal_changed_id.
1615 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1620 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1622 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1623 Updated the logical ids related to ampm format, as now it is required to
1624 show it correctly localized even on languages with no default
1625 abbreviations for am or pm
1626 (_check_am_pm_format): check correctly the 24h format gconf property
1628 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1630 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1632 * src/hildon-button.c: Documentation updates.
1634 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1636 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1637 * src/hildon-caption.c: (hildon_caption_class_init):
1638 * src/hildon-color-button.c: (hildon_color_button_class_init):
1639 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1640 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1641 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1642 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1644 Remove deprecated GTK+ marshalers and replace them with the ones
1645 provided by GLib, for those available, add a marshaler for
1646 BOOLEAN:VOID, which is not available in GLib, and use it.
1648 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1651 the text from the previous column if there is no
1652 HildonTouchSelectorColumn::text-property set.
1654 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1656 * src/hildon-button.h
1657 * src/hildon-button.c (hildon_button_set_property)
1658 (hildon_button_get_property, hildon_button_class_init)
1659 (hildon_button_set_style, hildon_button_get_style):
1660 New "style" property to change the visual appearance of the
1663 * src/hildon-picker-button.c (hildon_picker_button_new):
1664 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1666 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1667 HildonButton look like PickerButton)
1669 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1671 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1672 column while building the default string.
1674 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1676 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1677 scroll indicator by default.
1679 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1681 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1683 * src/hildon-main.c: Fix the documentation for hildon_init()
1685 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1687 * doc/hildon-docs.sgml
1691 * src/hildon-window-stack-private.h
1692 * src/hildon-window-stack.h
1693 * src/hildon-window-stack.c:
1694 New HildonWindowStack object, that adds support for multiple
1695 stacks of windows per process.
1697 * src/hildon-stackable-window-private.h
1698 * src/hildon-stackable-window.h
1699 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1700 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1701 (hildon_stackable_window_show, hildon_stackable_window_hide)
1702 (hildon_stackable_window_class_init)
1703 (hildon_stackable_window_init):
1704 Use HildonWindowStack for stack management.
1706 * src/hildon-program.c (hildon_program_pop_window_stack)
1707 (hildon_program_peek_window_stack)
1708 (hildon_program_go_to_root_window):
1709 Add a fallback implementation to the deprecated functions using
1712 * examples/hildon-stackable-window-example.c:
1713 Use the new HildonWindowStack API.
1715 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1717 * src/hildon-stackable-window-private.h
1718 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1719 (hildon_stackable_window_hide, hildon_stackable_window_init):
1720 Remove all window stack management.
1722 * src/hildon-program-private.h
1723 * src/hildon-program.h
1724 * src/hildon-program.c (hildon_program_init)
1725 (hildon_program_pop_window_stack)
1726 (hildon_program_peek_window_stack)
1727 (hildon_program_go_to_root_window):
1728 Remove all window stack management and mark functions as
1731 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1733 * src/hildon-app-menu.c (hildon_app_menu_realize):
1734 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1736 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1738 * configure.ac: post release version bump
1739 * debian/changelog: version bump
1741 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1746 * configure.ac: bump version
1747 * debian/changelog: updates
1749 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1751 Based on initial code by Christian Dywan (christian@imendio.com)
1753 * doc/hildon-docs.sgml: Add section for hildon-main.
1754 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1755 * src/Makefile.am: Add new hildon-main.[ch]
1756 * src/hildon-defines.h: Update the icon sizes.
1757 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1758 new library initialization files and register icon sizes.
1759 * src/hildon-main.h: New declarations.
1760 * src/hildon.h: Include hildon-main.h
1762 Add new initialization functions to the library. These methods
1763 will register the hildon specific icon sizes and can be used in the
1764 future for other hildon specific bits.
1766 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1768 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1770 * src/hildon-window.c: (hildon_window_realize),
1771 (hildon_window_notify), (-hildon_window_update_title): Do not set
1772 the application name in the window title.
1774 Fixes: NB#89754 (Applications shouldn't display their names in the
1777 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1779 * src/hildon-note-private.h:
1780 * src/hildon-note.c: (hildon_note_set_property),
1781 (hildon_note_get_property), (hildon_note_class_init),
1782 (hildon_note_init), (hildon_note_finalize),
1783 (hildon_note_new_confirmation_with_icon_name),
1784 (hildon_note_new_information_with_icon_name):
1786 No need to mark as deprecated the actual code. Revert
1787 to avoid missing symbols in widgets using deprecated API.
1789 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1791 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1793 * src/hildon-volumebar.h
1794 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1795 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1797 * src/hildon-helper.h
1798 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1799 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1801 * examples/Makefile.am:
1802 Deprecate hildon-insensitive-example
1804 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1806 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1808 * examples/hildon-pannable-area-buttons-scroll-example.c:
1809 Make all buttons finger height
1811 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1813 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1815 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1816 update the day model only if it is really required, and to avoid the
1817 full-reconstruction aproach. Now it only add or remove the required days.
1819 The purpose of this is avoid superfluous HildonTouchSelector::changed
1822 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1823 with strange parameters)
1825 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1827 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1829 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1830 the WINDOW_TYPE property.
1832 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1834 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1837 Fix dependency to allow parallel compilation with make -jX
1839 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1841 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1842 color frame and some minor tweaks to make it more consistent with
1845 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1846 highlighted but not visible)
1848 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1850 * examples/Makefile.am: Fixed typo in the Makefile.am.
1852 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1854 Reviewed the use of MAEMO_GTK define, now we add the define in the
1855 compilation line, and we also add it to the pc file.
1857 * configure.ac: Added MAEMO_GTK define to the compilation command
1858 and removed it from the config.h.
1860 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1861 do not have to take care about this define if the library was
1865 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1867 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1869 * examples/Makefile.am,
1870 * examples/hildon-pannable-area-buttons-scroll-example.c,
1871 * examples/hildon-pannable-area-gesture-signals-example.c,
1872 * examples/hildon-pannable-area-scroll-jump-example.c,
1873 * examples/hildon-pannable-area-tree-view-example.c:
1874 Renamed the pannable area examples, now they have more meaningful
1877 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1879 * src/hildon-touch-selector.c:
1880 (hildon_touch_selector_set_column_selection_mode): Used of
1881 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1882 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1883 to avoid re-seting the same selection mode.
1885 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1886 breaks HildonPickerDialog)
1888 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1890 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1891 conditional in the Makefile.am
1893 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1895 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1896 Remove unused methods.
1898 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1900 * src/hildon-button.c (hildon_button_init):
1901 Make button images center-aligned by default
1903 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1906 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1907 activated, we have to think about how to deal with both defines
1908 MAEMO_GTK and MAEMO_CHANGES.
1910 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1912 * examples/hildon-app-menu-example.c (create_menu): Make all
1913 buttons finger size.
1915 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1917 Fixed the compilation without maemo gtk adding ifdefs with
1918 MAEMO_GTK define to the code, we have to check this version more
1921 * examples/Makefile.am: Added control to avoid some examples that
1922 just make sense with maemo gtk.
1925 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1926 hildon modes with the define.
1928 * examples/hildon-edit-toolbar-example.c,
1929 (create_icon_view): Create the icon view without hildon-gtk
1930 helpers if we are not using maemo gtk.
1932 * src/hildon-touch-selector.c,
1933 (_create_new_column): Create the treeview without hildon-gtk
1934 helpers if we are not using maemo gtk.
1936 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1938 * src/hildon-pnnable-area.c,
1939 (hildon_pannable_area_dispose),
1940 (hildon_pannable_area_button_press_cb),
1941 (hildon_pannable_area_child_mapped),
1942 (hildon_pannable_area_add),
1943 (hildon_pannable_area_remove): Added code to control the position
1944 of the event_window when adding and removing children from the
1945 pannable. We have to raise the event window when the child is
1948 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1949 selection mode using custom widget inside pannable)
1951 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1953 * configure.ac: post release version bump
1954 * debian/changelog: version bump
1956 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1961 * configure.ac: bump version
1962 * debian/changelog: updates
1964 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1966 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1967 search mode, in order to avoid lose the focus on the treeview when
1968 a hw key (like enter) is pressed.
1970 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1971 in HildonDateSelector dialog)
1973 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1975 * debian/rules: Added --enable-maintainer-mode
1976 * Makefile.am: Added ACLOCAL_AMFLAGS
1978 This allows to properly regenerate the Makefiles if you modify the
1979 configure.ac or any Makefile.am.
1981 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1983 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1984 properties, not needed at all.
1986 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1990 * src/hildon-note.c: (hildon_note_set_property),
1991 (hildon_note_get_property), (hildon_note_class_init),
1992 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1993 (hildon_note_new_confirmation_add_buttons): Remove icons.
1994 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1995 (hildon_note_new_information_with_icon_name): Deprecate.
1996 (hildon_note_new_confirmation): Act directly, without calling
1997 the deprecated constructor.
1998 (hildon_note_new_information): Act directly, without calling
1999 the deprecated constructor.
2000 * src/hildon-note.h: Mark deprecate methods as such.
2001 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2002 not run tests on the deprecated methods if built with deprecation
2005 Fixes: NB#91688 (Never show icons in information notes/confirmation
2008 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2010 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2011 (hildon_app_menu_key_press): Remove leftover usage of the
2012 private structure in HildonAppMenu struct.
2013 * src/hildon-app-menu.h: Remove leftover private structure
2014 from the HildonAppMenu struct.
2016 Fixes a crasher when using the HildonAppMenu.
2018 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-picker-dialog.c: Use appropriate logical id
2021 for the default "Done" text.
2023 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2025 * configure.ac: post release version bump
2026 * debian/changelog: version bump
2028 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2030 Modified the way to scroll to the current selection just when the touch
2031 selector is shown on the screen, avoiding a g_idle. Added too a property
2032 to configure this behaviour. See hildon_pannable_area_jump_to_child
2033 documentation for more information.
2035 * src/hildon-touch-selector.c
2036 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2037 Added 'initial-scroll' property
2038 (hildon_touch_selector_set_property): Added
2039 (hildon_touch_selector_map): Removed as not required anymore
2040 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2041 only a concrete column, instead of iterate along all the columns
2043 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2048 * configure.ac: bump version
2049 * debian/changelog: updates
2051 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2053 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2054 compilation time warnings.
2056 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2059 the default value for HildonPannableArea::mov-mode to
2060 HILDON_PANNABLE_AREA_MODE_VERT.
2062 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2064 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2066 Reverting following commit:
2068 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2070 * src/hildon-app-menu-private.h
2071 * src/hildon-app-menu.[ch]
2072 * src/hildon-button.[ch]
2073 * src/hildon-check-button.[ch]
2074 * src/hildon-entry.[ch]
2075 * src/hildon-pannable-area.[ch]
2076 * src/hildon-text-view.[ch]:
2077 Added private field to the object's structure.
2079 because it causes an ABI breakage. We will need to introduce these
2080 changes later at some point. See NB#91636 for an extensive
2081 explanation and status.
2083 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2085 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2087 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2088 remove special cases that are no longer necessary.
2090 Fixes: NB#91016 (Change toolbar sizes, simplification)
2092 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2095 is shown in the cancel note.
2097 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2100 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2101 (hildon_seekbar_init): Remove steppers, remove expose event.
2102 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2104 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2106 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2108 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2109 label font to "SmallSystemFont" for vertically arranged buttons.
2111 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2114 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2116 * src/hildon-check-button.c
2117 (hildon_check_button_set_active, hildon_check_button_clicked):
2118 Don't access private parts directly, use getters instead.
2120 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2122 * src/hildon-check-button.c (hildon_check_button_new):
2123 Align the contents of the check button to the left.
2125 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2127 * src/hildon-pannable-area.c,
2128 (hildon_pannable_area_scroll_to),
2129 (hildon_pannable_area_jump_to),
2130 (hildon_pannable_area_scroll_to_child),
2131 (hildon_pannable_area_jump_to_child): Replace the mapped
2132 precondition of these functions with the realized, it is the
2133 correct state of the widget in this case. Changed the
2134 documentation according to this modification.
2136 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2138 Added a new EXTRA_CFLAGS option to add the deprecated define to
2139 the compilation command. This way we can avoid using the define in
2140 the documentation compilation.
2142 * configure.ac: Defined EXTRA_CFLAGS.
2144 * examples/Makefile.am:
2146 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2148 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2150 * src/hildon-picker-dialog.c:
2151 Defined a utility macro with the desired touch selector height
2152 Removed currently unused separator, and title_label variables from
2154 (hildon_picker_dialog_init): Removed code related to the creation
2155 of unused private variables title_label and separator.
2156 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2157 to ensure correct visualization of the touch selector inside the dialog.
2158 * src/hildon-touch-selector.c
2159 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2160 ensure a concrete height of the widget.
2162 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2165 * tests/Makefile.am:
2167 Remove spurious whitespaces.
2169 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2171 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2172 compilation warning after the cancel button removal.
2174 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2176 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2178 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2179 Makefile.am, that way we can choose not to compile some examples
2180 and tests of the deprecated widgets.
2182 * examples/Makefile.am: Divided the sources in deprecated and
2185 * src/Makefile.am: Added undef statement of the deprecated
2186 symbol to the enums file generation process.
2188 * src/hildon-color-chooser-dialog.c
2189 * src/hildon-color-chooser-dialog.h
2190 * src/hildon-color-button.c
2191 * src/hildon-color-button.h
2192 * src/hildon-color-chooser.c
2193 * src/hildon-color-chooser.h
2194 * src/hildon-controlbar.c
2195 * src/hildon-controlbar.h
2196 * src/hildon-date-editor.c
2197 * src/hildon-date-editor.h
2198 * src/hildon-hvolumebar.c
2199 * src/hildon-hvolumebar.h
2200 * src/hildon-private.c
2201 * src/hildon-private.h
2202 * src/hildon-range-editor.c
2203 * src/hildon-range-editor.h
2204 * src/hildon-seekbar.c
2205 * src/hildon-seekbar.h
2206 * src/hildon-time-editor.c
2207 * src/hildon-time-editor.h
2208 * src/hildon-time-picker.c
2209 * src/hildon-time-picker.h
2210 * src/hildon-volumebar.c
2211 * src/hildon-volumebar.h
2212 * src/hildon-vvolumebar.c
2213 * src/hildon-vvolumebar.h
2214 * src/hildon-bread-crumb-trail.h
2215 * src/hildon-bread-crumb-trail.c
2216 * src/hildon-calendar-popup.c
2217 * src/hildon-calendar-popup.h
2218 * src/hildon-weekday-picker.c:
2219 * src/hildon-weekday-picker.h:
2220 * src/hildon-bread-crumb-widget.c:
2221 * src/hildon-bread-crumb-widget.h:
2222 * src/hildon-bread-crumb.c:
2223 * src/hildon-bread-crumb.h:
2224 * src/hildon-calendar.c:
2225 * src/hildon-calendar.h:
2226 * src/hildon-caption.c:
2227 * src/hildon-code-dialog.c:
2228 * src/hildon-code-dialog.h:
2229 * src/hildon-font-selection-dialog.c:
2230 * src/hildon-font-selection-dialog.h:
2231 * src/hildon-get-password-dialog.c:
2232 * src/hildon-get-password-dialog.h:
2233 * src/hildon-login-dialog.c:
2234 * src/hildon-login-dialog.h:
2235 * src/hildon-number-editor.c:
2236 * src/hildon-number-editor.h:
2237 * src/hildon-set-password-dialog.c:
2238 * src/hildon-set-password-dialog.h:
2239 * src/hildon-sort-dialog.c:
2240 * src/hildon-sort-dialog.h: This is the list of deprecated
2243 * src/hildon-touch-selector.c:
2244 * src/hildon-window.c: Added undef statement to avoid compilation
2247 * tests/Makefile.am: Divided the sources in deprecated and
2250 * tests/check_test.c,
2251 (configure_tests): Marked the deprecated code that was adding
2252 suites with deprecated tests.
2254 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2256 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-touch-selector.c: (_default_print_func): Do not
2259 duplicate a string returned by gtk_tree_model_get(), it is already
2262 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2265 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2267 * src/hildon-pannable-area.c
2268 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2269 method, it had problems when adding a widget with viewport the
2270 second time. Now checks if it already has a viewport and uses it.
2272 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2275 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2277 * src/hildon-pannable-area.c,
2278 (hildon_pannable_area_scroll_to),
2279 (hildon_pannable_area_jump_to),
2280 (hildon_pannable_area_scroll_to_child),
2281 (hildon_pannable_area_jump_to_child): Added a precondition to the
2282 scroll and jump to functions: the widget must be mapped before we
2283 can safely call these functions. We have also added documentation
2284 to the functions to explain how to use them in this situation.
2287 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2289 Reviewed the threading handling of the pannable widget, we have
2290 used the gdk_threads_add_timeout function instead of the usual
2291 glib handlers. This avoids some problems with the threads.
2293 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2294 (hildon_pannable_area_initial_effect),
2295 (hildon_pannable_area_scroll_indicator_fade),
2296 (hildon_pannable_area_button_press_cb),
2297 (hildon_pannable_area_timeout),
2298 (hildon_pannable_area_motion_notify_cb),
2299 (hildon_pannable_area_button_release_cb),
2300 (hildon_pannable_area_scroll_cb),
2301 (hildon_pannable_area_scroll_to): Removed the
2302 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2303 gdk_threads_add_timeout.
2305 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2307 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2312 * configure.ac: bump version
2313 * debian/changelog: updates
2315 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2317 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2318 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2319 * src/hildon-color-chooser-dialog.c:
2320 (hildon_color_chooser_dialog_init):
2321 * src/hildon-font-selection-dialog.c:
2322 (hildon_font_selection_dialog_init):
2323 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2325 Remove all cancel/close-like dialogs, as these are not going to be
2328 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2330 * src/hildon-note.c: (hildon_note_rebuild),
2331 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2334 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2336 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2338 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2339 sure all buttons are shown, even the Cancel/Close-like ones.
2341 Fixes: NB#90861 (Custom Confirmation dialogs should be
2342 protected from cancel button removal)
2344 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2346 * debian/control: Change libhildon1-examples dependency from libhildon1
2348 * debian/libhildon1-examples.install
2350 * Makefile.am: Modified the final install directory for the examples on
2351 package libhildon1-examples
2352 * Makefile.static: Update clean target in order to remove all the binary
2355 Changes suggested by Claudio after review new libhildon1-examples package
2357 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2359 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2360 * src/hildon-touch-selector.c: Ditto.
2362 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2364 * debian/control: Added new package libhildon1-examples, in order to pack
2365 the current hildon examples as documentation
2366 * debian/rules: Not to compress .c files, modify some includes on the
2367 examples (as normally are compiled locally, but when installed it will
2368 require to include the installed libhildon1 library), and rename
2370 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2371 install all the example files on the new example package
2372 * examples/Makefile.static: Added static makefile that can be used to
2373 compile the examples, once installed the new example package
2374 * examples: Most of the examples were modified in order to grant that
2375 all use only '#include "hildon.h"', in order to be easy to prepare
2376 it on the example package
2378 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2381 * debian/libhildon1-dev.install
2382 * debian/libhildon1-doc.install:
2383 Move all gtk-doc files to a separate libhildon1-doc package.
2385 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2387 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2389 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2391 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2393 * debian/rules: Fixed a error in order to avoid unnecessary calls
2394 to autogen.sh on package building
2396 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2398 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2400 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2402 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2405 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2407 * src/hildon-picker-button.c
2408 (hildon_picker_button_finalize):
2409 Free priv->done_button_text
2411 * src/hildon-time-button.c
2412 (hildon_time_button_set_time)
2413 * src/hildon-picker-button.c
2414 (hildon_picker_button_clicked)
2415 (hildon_picker_button_selector_selection_changed)
2416 (hildon_picker_button_set_selector)
2417 * src/hildon-date-button.c
2418 (hildon_date_button_set_date):
2419 Free strings returned by hildon_touch_selector_get_current_text()
2421 * src/hildon-button.c (hildon_button_construct_child):
2422 Fix leaks in priv->image and priv->label_box
2424 Fixes: NB#90535 (Memory leak in picker button)
2426 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-button.c: (hildon_button_get_property): Do not access
2429 private elements directly, use getters instead.
2431 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2433 * src/hildon-app-menu-private.h
2434 * src/hildon-app-menu.c
2435 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2436 Store the menu's parent window.
2438 * src/hildon-stackable-window.c
2439 (hildon_stackable_window_toggle_menu)
2440 (hildon_stackable_window_finalize):
2441 Set the menu's parent window when the menu is shown, unset it when
2444 * src/hildon-app-menu.c
2445 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2446 (hildon_app_menu_class_init):
2447 Send unhandled keyboard accelerators to the parent window.
2449 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-stackable-window.c
2452 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2454 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2456 * configure.ac: post release version bump
2458 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2461 * configure.ac: Bump version
2462 * debian/changelog: Updates
2463 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2466 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2468 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2471 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2472 GtkMenu with Hildon style.
2474 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2476 * src/hildon-picker-button.c:
2477 (hildon_picker_button_set_done_button_text): Set the dialog's
2478 done button text here as well.
2480 Fixes: NB#90232 (Picker button does not set the label on done button
2481 for the second time)
2483 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2485 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2488 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-app-menu.c (hildon_app_menu_insert)
2491 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2492 the HildonAppMenu to be activatable using keyboard accelerators
2493 when the menu is not being shown.
2495 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2497 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-stackable-window.c
2500 (hildon_stackable_window_show):
2501 Don't hide old windows automatically when new windows are shown:
2502 this is now a task for the window manager.
2503 (hildon_stackable_window_class_init)
2504 (hildon_stackable_window_hide):
2505 Remove windows from the stack everytime they're hidden.
2506 (hildon_stackable_window_realize):
2507 Don't change the _NET_WM_WINDOW_TYPE property. Use
2508 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2509 it as a stackable window.
2511 * src/hildon-program.c
2512 (hildon_program_pop_window_stack):
2513 Just hide the window to remove it from the stack.
2514 (hildon_program_go_to_root_window):
2515 Don't call gtk_widget_show(), this is now a task for the window
2518 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2520 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2522 * src/hildon-button.c
2523 (hildon_button_construct_child):
2524 Don't pack anything in the button until text or image are
2525 set. This allows adding a custom child after creating the button
2526 with hildon_button_new().
2527 (hildon_button_finalize, hildon_button_class_init)
2528 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2529 alignment and the label box even when they're not packed in the
2532 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2534 * src/hildon-touch-selector.h:
2535 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2536 currently the type definition was using GTK_TYPE_VBOX
2537 * src/hildon-touch-selector.c:
2538 Added some implementation notes in order to clarify that any other widget
2539 added without the column related API will not be included on the
2540 selection logic, and how the widget is freed, as some people ask about
2542 (hildon_touch_selector_remove): Reimplemented in order to free properly
2543 the column related data when you remove the private hbox.
2544 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2545 to get a proper HildonTouchSelectorColumn documentation
2547 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2549 * src/hildon-touch-selector-entry.c:
2550 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2551 text in the GtkEntry and there is no item selected. Fixes a
2554 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-app-menu-private.h
2557 * src/hildon-app-menu.[ch]
2558 * src/hildon-button.[ch]
2559 * src/hildon-check-button.[ch]
2560 * src/hildon-entry.[ch]
2561 * src/hildon-pannable-area.[ch]
2562 * src/hildon-text-view.[ch]:
2563 Added private field to the object's structure.
2565 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2567 * configure.ac: post-release version bump
2569 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2573 * configure.ac: pre-release version bump
2575 * debian/changelog: updates.
2577 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2579 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2580 Disconnect the handler for HildonTouchSelector::changed.
2582 (hildon_picker_button_selector_selection_changed): Update the button
2583 value if the selection change was not triggered by the
2586 (hildon_picker_button_set_selector): connect to
2587 HildonTouchSelector::changed.
2589 Fixes: NB#89650 (Picker button is not updated, when selection in
2590 selector has changed)
2592 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2594 * src/hildon-picker-dialog.c
2595 (hildon_picker_dialog_realize): Removed as not required
2596 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2597 * src/hildon-picker-button.c
2598 (_current_selector_empty): New function, checks if the selector is empty
2599 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2600 if the current selector is empty, in order to avoid to show the dialog
2601 close the dialog in this case (and shows a g_warning).
2603 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2605 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2607 * src/hildon-pannable-area.c,
2608 (hildon_pannable_area_scroll): Added clause to stop movement when
2609 the child of pannable is smaller than one page.
2610 (hildon_pannable_area_scroll_to): Added conditions to avoid
2611 starting the scrolling movement if the child is smaller than one
2612 page, the complete child is in the screen, we do not have to move.
2614 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2616 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2619 this is managed automatically by the widget when the size of the
2622 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2624 * src/hildon-picker-button.c
2625 (hildon_picker_button_set_done_button_text): Make a copy of the
2626 text, and free the previous value.
2628 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2630 * src/hildon-touch-selector-entry.c:
2631 (hildon_touch_selector_entry_print_func): Return the selected row's
2632 text if the entry is empty.
2634 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2637 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2639 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2641 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2644 * src/hildon-check-button.h
2645 * src/hildon-check-button.c
2646 * examples/hildon-check-button-example.c:
2647 HildonCheckButton is now a new widget. 'toggled' signal added.
2649 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2651 * src/hildon-program-private.h
2652 * src/hildon-program.c (hildon_program_init)
2653 (hildon_program_finalize): Removed unused variables group_leader
2654 and name from HildonProgramPrivate.
2656 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2658 * src/hildon-check-button.c (hildon_check_button_set_active)
2659 (hildon_check_button_get_active, hildon_check_button_new): Use
2660 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2662 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2664 * src/hildon-touch-selector.h
2665 (hildon_touch_selector_set_column_attributes): added deprecation
2666 guard HILDON_DISABLE_DEPRECATED
2667 * src/hildon-time-selector.c
2668 (hildon_time_selector_set_time)
2669 (hildon_time_selector_get_time): Fixed a typo on documentation
2670 * src/hildon-touch-selector.c: update HildonTouchSelector and
2671 HildonTouchSelectorColumn documentation
2672 * src/hildon-touch-selector-entry.c: update "text-column" property
2674 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2675 to be added to the general documentation.
2677 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2679 * examples/hildon-pannable-area-example-4.c,
2681 * examples/hildon-pannable-area-example.c,
2682 (main): Modified the code in order to use the container add, with
2683 viewport treeviews could have problems if they are really big.
2685 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2687 * src/hildon-weekday-picker.c,
2688 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2689 the agreement regarding deprecation in the library.
2691 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2693 * examples/hildon-picker-button-multicolumn-example.c:
2694 (main): Use custom "done" button text.
2696 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2697 (hildon_picker_button_set_property),
2698 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2699 (hildon_picker_button_init),
2700 (+hildon_picker_button_get_done_button_text),
2701 (+hildon_picker_button_set_done_button_text): New methods to customize
2702 the "done" button label in the launched HildonPickerDialog. Also,
2705 * src/hildon-picker-button.h: add the public API.
2707 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2709 * src/hildon-date-selector.h:
2710 * src/hildon-picker-dialog.h:
2711 * src/hildon-time-selector.h:
2712 * src/hildon-touch-selector-column.h:
2713 * src/hildon-touch-selector.h:
2715 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2716 declarations. Fixes gtk-doc warnings.
2718 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-picker-dialog.h
2721 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2722 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2724 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2725 long text is set as label for done button)
2727 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2729 * src/hildon-dialog.c (hildon_dialog_add_button):
2730 Set fixed width to all buttons in the HildonDialog.
2732 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2734 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2736 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2737 Set widget name using class name plus "-finger" or "-thumb".
2739 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2742 'clicked' when the state of the button is manually changed.
2744 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-app-menu.c (hildon_app_menu_realize)
2747 (hildon_app_menu_unrealize, hildon_app_menu_init)
2748 (hildon_app_menu_class_init, item_visibility_changed):
2749 Change the menu layout when the size of the screen changes.
2750 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2751 Show warning only when changing the number of colums using the
2754 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2756 * debian/compat: Set to 5
2757 * debian/control: Update dependencies.
2758 * debian/libhildon1-dbg.install: Remove.
2759 * debian/libhildon1-dev.install: Update according to cdbs paths.
2760 * debian/libhildon1.install: Update according to cdbs paths.
2761 * debian/rules: Switch to cdbs.
2763 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2765 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2766 'item' variable renamed to 'filter'
2768 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2770 * src/hildon-app-menu.c (hildon_app_menu_insert)
2771 (hildon_app_menu_add_filter, remove_item_from_list)
2772 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2773 Don't leak hidden items when the menu is destroyed.
2775 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2777 * src/hildon-app-menu.c (hildon_app_menu_insert)
2778 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2779 (hildon_app_menu_set_columns, item_visibility_changed)
2780 (filter_visibility_changed, hildon_app_menu_repack_filters)
2781 (hildon_app_menu_repack_items):
2782 Repack items and filters separately.
2784 Don't repack all items, change only the ones that are needed to
2787 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2789 * src/Makefile.am: added hildon-touch-selector-column.h
2791 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2793 * src/hildon-touch-selector.c: added the property "text-column" to the
2794 class HildonTouchSelectorColumn, and related get/set functions
2795 (_default_printf_func): updated to use "text-column" property
2796 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2797 "text-column" in his documentation, as this is now included on
2798 HildonTouchSelectorColumn. The get/set_property can still be used,
2799 working as a wrapper to the concrete column "text-column" property
2800 (_text_column_modified): callback added in order to handle the signal
2801 "notify::text-column" of the concrete HildonTouchSelectorColumn
2802 (hildon_touch_selector_entry_get_text_column)
2803 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2804 modified in order to use the HildonTouchSelectorColumn "text-column"
2806 * src/hildon-time-selector.c:
2807 * src/hildon-date-selector.c:
2808 * examples/hildon-touch-selector-example.c
2809 * examples/hildon-touch-selector-multi-cells-example.c
2810 * examples/hildon-picker-button-multicolumn-example.c
2811 Set the right value to "text-column" property on the creation of a new
2812 column using hildon_touch_selector_append_column()
2814 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2816 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2818 * src/hildon-app-menu.c
2819 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2820 updating the layout of the menu, don't create all widgets again,
2821 just repack the items in their new places.
2823 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2825 * src/hildon-time-selector.c
2826 (hildon_time_selector_get_time)
2827 (hildon_time_selector_set_time)
2828 Added documentation of these public methods
2830 * src/hildon-date-button.h
2831 * src/hildon-touch-selector-column.h
2832 * src/hildon-time-button.h
2833 * src/hildon-picker-dialog.h
2834 * src/hildon-time-selector.h
2835 * src/hildon-picker-button.h
2836 * src/hildon-touch-selector.h
2837 * src/hildon-time-picker.h
2838 * src/hildon-date-selector.h
2839 * src/hildon-touch-selector-entry.h
2840 Modified in order to use hildon-widgets code style
2842 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2844 Added deprecated support to the compilation process using
2845 HILDON_DISABLE_DEPRECATED
2847 * configure.ac: Added the --disable-deprecated to the configure
2850 * src/hildon-weekday-picker.c:
2851 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2852 to use the deprecated support. We will update the other deprecated
2853 widgets status in a new patch.
2855 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2857 * configure.ac: Fixed typo with fatal warnings support, the
2858 variable name was not correct
2860 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2862 * src/hildon-app-menu.c
2863 * src/hildon-program.c: Update documentation.
2865 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2867 * configure.ac: Post-release version bump.
2869 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2874 * configure.ac: Pre-release version bump.
2875 * debian/changelog: Updates.
2877 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2879 * NEWS: Update news for previous releases.
2881 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2883 * examples/hildon-touch-selector-multi-cells-example.c:
2884 (create_selector): Update the example to use
2885 hildon_touch_selector_append_column() with a NULL renderer and set
2886 the renderers later.
2887 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2888 passed a NULL renderer. This is documented behavior now.
2890 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2891 This must be used if the developer wants full control on the layout of
2892 the renderers to be added to the column.
2894 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2896 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2898 * src/hildon-touch-selector.c: Documentation fixes.
2900 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2902 * src/hildon-wizard-dialog-private.h: Remove image and box.
2903 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2904 (hildon_wizard_dialog_set_property), (response): Completely remove
2905 image/icon support, and the containers required for the layout.
2907 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2909 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-app-menu.c: Updated documentation.
2913 * src/hildon-stackable-window.c
2914 (hildon_stackable_window_set_main_menu): Unref the old menu after
2915 ref'ing the new one.
2917 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2919 * src/hildon-stackable-window.c
2920 (hildon_stackable_window_set_main_menu): Unref the previous menu
2921 instead of destroying it.
2923 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2924 floating reference and set has_user_ref_count to FALSE to make
2925 HildonAppMenu act like a normal ref-counted widget and not a
2928 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2931 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2933 * src/hildon-touch-selector-column.h: new file
2934 * src/hildon-touch-selector.h
2935 * src/hildon-touch-selector.c
2936 Implemented GtkCellLayout interface, in order to allow to configure
2937 the cell layout on each individual selector column
2938 (hildon_touch_selector_set_column_attributes): marked as deprecated
2939 * examples/hildon-touch-selector-multi-cells-example.c
2940 Example of how to use the GtkCellLayout interface on the selector
2942 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2944 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2946 * src/hildon-app-menu.h
2947 * src/hildon-app-menu.c
2948 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2949 (hildon_app_menu_append, hildon_app_menu_prepend):
2950 New methods to prepend, insert and move items in the menu.
2952 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2954 * src/hildon-wizard-dialog.c:
2956 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2958 (create_title): Update logical IDs and related code.
2959 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2961 * src/hildon-wizard-dialog.h: Note that
2962 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2963 point, as it is not used anymore.
2965 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2967 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2969 * src/hildon-note.c:
2970 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2971 shown. Do not display an icon in confirmation notes nor information
2973 (hildon_note_set_button_text): Update logical ID for cancel button.
2975 Fixes: NB#88850 (Update HildonNote button strings + signals)
2977 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-stackable-window.c
2980 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2982 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-app-menu-private.h
2985 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2986 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2987 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2988 temporary property 'columns' to change the number of columns.
2990 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2992 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2994 * examples/hildon-note-example.c: (on_information_clicked),
2995 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2996 debugging information.
2997 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2999 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3000 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3001 in order to close: this will be handled by the WM from now on.
3003 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3005 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-app-menu-private.h
3008 * src/hildon-app-menu.c
3009 (hildon_app_menu_append, hildon_app_menu_add_filter)
3010 (button_visibility_changed, hildon_app_menu_apply_style)
3011 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3012 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3013 layout everytime a button (item or filter) is shown or hidden.
3015 * src/hildon-stackable-window.c
3016 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3019 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3021 * src/hildon-touch-selector.c:
3022 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3023 that the treeview inside the touch selector is in fremantle hildon mode
3024 * examples/hildon-date-button-example.c
3025 * examples/hildon-picker-button-multicolumn-example.c
3026 * examples/hildon-touch-selector-entry-example.c
3027 * examples/hildon-touch-selector-example.c
3028 * examples/hildon-time-button-example.c
3029 * examples/hildon-picker-button-example.c:
3030 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3032 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3034 * examples/hildon-text-view-example.c: (main): Remove the
3035 gtkrc bits, now handled by the theme.
3037 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3042 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3044 * po/Makefile.am: Install properly the mo files.
3045 * po/en_GB.po: Update translation, to ease testing purposes.
3047 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3049 * examples/hildon-picker-button-example.c: (main): Select an item
3050 in the selector before setting it to the button.
3052 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3054 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3055 Update button's value if the selector has an item active.
3057 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3058 'value' with the selector)
3060 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3063 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3064 (hildon_picker_button_class_init): Plug the finalize method.
3065 (hildon_picker_button_set_selector): If there's a previously set
3066 selector, unref'it before setting a new one.
3068 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3069 HildonTouchSelector)
3071 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3073 * src/hildon-touch-selector-entry.c:
3074 (hildon_touch_selector_entry_changed): Check if there is no text
3075 selected before setting the entry text.
3078 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3080 * src/hildon-touch-selector.h
3081 * src/hildon-touch-selector.c
3082 (hildon_touch_selector_get_active)
3083 (hildon_touch_selector_set_active): New methods to set/get the
3084 index of the selected item.
3086 * src/hildon-picker-button.h
3087 * src/hildon-picker-button.c
3088 (hildon_picker_button_get_active)
3089 (hildon_picker_button_set_active): New methods to set/get the
3090 index of the selected item.
3092 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3094 * configure.ac: post-release version bump.
3096 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3100 * configure.ac: Pre-release version bump.
3101 * debian/changelog: Updates.
3102 * debian/control: Add myself as maintainer and depend on l10n
3105 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-window.c
3108 (hildon_window_set_main_menu)
3109 * src/hildon-stackable-window.c
3110 (hildon_stackable_window_set_main_menu):
3111 Updated documentation.
3113 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3115 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3116 Don't free selector->priv manually.
3119 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3122 (hildon_gtk_window_set_progress_indicator):
3123 * src/hildon-gtk.h: Added the new API
3124 hildon_gtk_window_set_progress_indicator, it changes the state of
3125 the window progress hint.
3127 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3129 * src/hildon-button.c
3130 * src/hildon-stackable-window.c: Minor documentation updates.
3132 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-stackable-window.c: Updated documentation.
3136 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3138 * src/hildon-defines.h: Update margins definitions
3139 to the Fremantle sizes.
3142 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3144 * src/hildon-touch-selector.c,
3145 (_hildon_touch_selector_set_model): Cleaning the code after
3146 review, removed g_print and #if 0 from the code.
3148 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3150 * src/hildon-edit-toolbar.c: Update documentation.
3152 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-check-button.h
3155 * src/hildon-check-button.c
3156 (hildon_check_button_set_label, hildon_check_button_get_label)
3157 * examples/hildon-check-button-example.c
3158 (button_clicked_cb):
3159 Removed deprecated methods.
3161 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3163 * src/hildon-text-view.c:
3164 Add sample code to the documentation.
3166 * src/hildon-entry.h
3167 * src/hildon-text-view.h:
3168 Minor cosmetic changes.
3170 * src/hildon-entry.c:
3171 Add sample code to the documentation.
3172 (hildon_entry_init, hildon_entry_refresh_contents):
3173 Don't allow NULL values in the placeholder.
3175 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3177 * doc/hildon-docs.sgml
3179 * examples/Makefile.am
3180 * examples/hildon-text-view-example.c
3182 * src/hildon-text-view.c
3183 * src/hildon-text-view.h
3185 New HildonTextView widget, with example.
3187 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3189 * po/POTFILES.in: Add missing files with translatable strings.
3190 Partially fixes NB#88287.
3192 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3194 * examples/hildon-pannable-area-example-2.c: (main): No need to
3195 set the cellrenderer height inside hildon touch lists, the theme does
3198 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3200 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3201 they are integrated in the theme.
3203 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3205 * examples/hildon-entry-example.c: Update the example adding
3206 widgets to modify the text and the placeholder of the HildonEntry.
3208 * src/hildon-entry.c: Show the placeholder everytime the widget
3209 is empty and loses the focus.
3211 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3213 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3215 * src/hildon-pannable-area.c,
3216 (hildon_pannable_area_size_request): Fixed bug in height
3217 requisition, avoid increasing size and add border twice.
3219 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3221 * configure.ac: postrelease version bump.
3223 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3227 * configure.ac: Prerelease version bump.
3228 * debian/changelog: update.
3229 * debian/rules: make -dbg package contain useful debugging symbols.
3231 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3233 * src/hildon-dialog.h
3234 * src/hildon-dialog.c
3235 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3236 New methods to add buttons with finger size.
3237 (hildon_dialog_new_with_buttons):
3238 Create buttons with finger size.
3240 * examples/hildon-dialog-example.c (main): Use HildonDialog
3241 methods to add buttons.
3243 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3245 * src/hildon-entry.c: Updated HildonButton documentation.
3247 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3249 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3250 button value label with (FALSE, FALSE) to prevent NB#88126 from
3253 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3255 * examples/hildon-pannable-area-example.c,
3256 (main): Removed examples panning a vbox inside a pannable
3257 area. Check bug NB#87965
3259 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3261 Patch contributed by Kris Rietveld (kris@imendio.com)
3263 * src/hildon-pannable-area.c,
3264 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3265 get_size and get_position, this saves an X server roundtrip.
3267 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3269 * doc/hildon-docs.sgml
3271 * examples/Makefile.am
3272 * examples/hildon-entry-example.c
3274 * src/hildon-entry.c
3275 * src/hildon-entry.h
3277 New HildonEntry widget, with example.
3279 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3281 * src/hildon-button.c (hildon_button_construct_child): Pack the
3282 image with expand == fill == FALSE. This is a workaround for a bug
3285 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3287 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3288 labels for the text column, to make it more look more dynamic.
3290 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3292 * src/hildon-time-selector.c
3293 Define gettext auxiliar macro N_
3294 (_create_minutes_model)
3295 (_create_hours_model)
3296 (_create_ampm_model): use of strftime in order to fill the model
3297 * src/hildon-date-selector.c
3298 (hildon_date_selector_finalize):
3299 (_locales_init): remove the logic related to get the name of the months
3300 using nl_langinfo, as it is not required anymore
3302 (_create_year_model)
3303 (_create_month_model)
3304 (_update_day_model): use of strftime in order to fill the model properly
3307 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-button.h
3310 * src/hildon-button.c (hildon_button_get_image): New method to
3313 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3315 * src/hildon-touch-selector.c:
3316 (hildon_touch_selector_remove_column): Remove from the correct parent
3317 and also remove the list element and free it.
3320 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3322 * src/hildon-time-selector.c
3323 (_create_hours_model): change the range on 12h ampm format in order to use
3324 a 12-11 range instead of previous 01-12 range
3325 (hildon_time_selector_set_time): change the way to select the current time
3326 on 12h ampm format, due the change on the range
3327 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3330 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3332 * src/hildon-touch-selector.c
3333 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3334 in order to allow use this function on multiple row selection mode if
3335 the column is different that the first one
3338 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3340 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3341 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3343 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3345 * src/hildon-date-selector.h: clean some comments, now on the .c
3346 * src/hildon-date-selector.c
3347 (hildon_date_selector_select_month): first implementation
3348 (hildon_date_selector_select_day): added documentation, reimplemented
3349 using hildon_date_selector_select_current_date to avoid repeat code
3352 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3354 Reviewed interaction logic based on device experiences, refactored
3357 * src/hildon-pannable-area.c,
3358 (hildon_pannable_area_class_init): Updated default vmax speed.
3359 (hildon_pannable_area_calculate_velocity): Added this function, it
3360 avoids duplicate valocity calculation. Adjusted calculation to
3361 avoid problems with zero dist events.
3363 (hildon_pannable_area_motion_notify_cb): Now we use the
3364 calculate_velocity function.
3366 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3368 * src/hildon-date-selector.c
3369 (hildon_date_selector_select_current_date): fix the day range check
3370 as it failed using the last day of the current month
3373 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3375 * src/hildon-touch-selector.c
3376 (hildon_touch_selector_get_num_columns): added a parameter validation
3379 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3381 * examples/Makefile.am
3382 * examples/hildon-edit-toolbar-example.c: Example of the
3383 HildonEditToolbar widget.
3385 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3387 * configure.ac: postrelease version bump.
3389 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3393 * configure.ac: prerelease version bump.
3394 * debian/changelog: update.
3396 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3398 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3399 renderer to display stock icons in the touch list. Also, set the sizes
3400 to the recommended in the style guide.
3402 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3403 * src/hildon-touch-selector.h
3404 (hildon_touch_selector_set_active_iter): renamed, now is
3405 hildon_touch_selector_select_iter
3406 (hildon_touch_selector_get_active_iter): renamed, now is
3407 hildon_touch_selector_get_selected
3408 (hildon_touch_selector_unselect_iter): added
3409 * src/hildon-touch-selector.c
3410 Update after API modification (methods renamed)
3411 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3412 order to avoid problems selecting multiple elements on the column
3413 (hildon_touch_selector_unselect_iter): added the implementation
3414 * src/hildon-time-selector.c
3415 * src/hildon-date-selector.c
3416 * src/hildon-touch-selector-entry.c
3417 Update methods calls after hildon-touch-selector.h API modification (methods
3420 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3422 * src/hildon-stackable-window.c
3423 (hildon_stackable_window_finalize): Call the parent class's finalize.
3425 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3427 * examples/hildon-touch-selector-example.c: (create_selector): Use
3428 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3431 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3433 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3434 set a cell background color, to respect theming.
3436 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3438 * doc/hildon-docs.sgml
3441 * src/hildon-edit-toolbar.c
3442 * src/hildon-edit-toolbar.h
3443 * src/hildon.h: New HildonEditToolbar widget.
3445 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3447 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3450 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3451 * src/hildon-touch-selector.c
3452 (_create_new_column): use g_object_set instead of two g_object_set_property
3454 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3455 * src/hildon-touch-selector.c
3456 (_create_new_column): use of hildon_gtk_tree_view_new to create
3457 the treeview, instead of use directly g_object_new
3458 (_create_new_column): update the property name "vindicator-mode" for the
3459 new one "vscrollbar-policy"
3460 * examples/hildon-date-button-example.c
3461 * examples/hildon-picker-button-multicolumn-example.c
3462 * examples/hildon-touch-selector-entry-example.c
3463 * examples/hildon-touch-selector-example.c
3464 * examples/hildon-time-button-example.c
3465 * examples/hildon-picker-button-example.c
3466 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3467 to all the treeviews inside a pannable area.
3469 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3471 * src/hildon-button.h
3472 * src/hildon-button.c (hildon_button_init)
3473 (hildon_button_set_arrangement, hildon_button_set_alignment)
3474 (hildon_button_set_title_alignment)
3475 (hildon_button_set_value_alignment)
3476 (hildon_button_set_image_alignment)
3477 (hildon_button_construct_child): New methods to set the alignment
3478 of the individual components of the button (title, value,
3479 image). Also, new method to alter the xscale and yscale properties
3480 of the GtkAlignment inside the button, so more complex layouts can
3483 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3485 * src/hildon-button.c (hildon_button_style_set)
3486 (hildon_button_class_init, hildon_button_set_arrangement)
3487 (hildon_button_construct_child): Apply style properties
3488 correctly. Use the 'image-spacing' style property too.
3490 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3492 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3493 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3496 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3498 * src/hildon-pannable-area.c,
3499 (hildon_pannable_area_size_request): Fixed problem with
3500 pannable-area size_request.
3502 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3504 Added management for the grab-focus to a child widget, like a
3505 range, we need to fade out the scrollbar when releasing.
3507 * src/hildon-pannable-area.c,
3508 (hildon_pannable_area_init): Connected the grab-focus signal to
3510 (hildon_pannable_area_grab_notify): Added this function in order
3511 to manage the situation when the grab-focus ends. We have to
3512 fade-out the scrollbar.
3514 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-app-menu.c: Minor documentation update.
3518 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3520 * src/hildon-app-menu.c
3521 * examples/hildon-app-menu-example.c (create_menu): Update
3522 examples and documentation to explain how to connect callbacks.
3524 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3526 * examples/hildon-button-example.c
3527 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3528 hildon_stackable_window_new instead of gtk_window_new
3530 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3532 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3533 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3534 (hildon_pannable_area_set_property),
3535 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3536 (hildon_pannable_area_unrealize),
3537 (hildon_pannable_area_size_request),
3538 (hildon_pannable_area_size_allocate),
3539 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3540 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3541 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3542 (hildon_pannable_area_initial_effect),
3543 (hildon_pannable_area_redraw),
3544 (hildon_pannable_area_scroll_indicator_fade),
3545 (hildon_pannable_area_expose_event),
3546 (hildon_pannable_area_get_topmost), (synth_crossing),
3547 (hildon_pannable_area_button_press_cb),
3548 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3549 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3550 (hildon_pannable_area_motion_notify_cb),
3551 (hildon_pannable_area_button_release_cb),
3552 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3553 (hildon_pannable_area_remove),
3554 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3555 chage the code layout to a more GtkWidget like. Review the use of
3558 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3560 * examples/hildon-pannable-area-example-4.c,
3561 (main): Modified the name of the hindicator_mode to
3564 * src/hildon-pannable-area.c,
3565 (hildon_pannable_area_class_init),
3566 (hildon_pannable_area_motion_notify_cb),
3567 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3568 we have reduced the amount of signals and managed reviewed its
3569 rationale. Changed the default decelerate value.
3571 (hildon_pannable_area_add),
3572 (hildon_pannable_area_redraw): Refactored functions.
3574 (hildon_pannable_area_init),
3575 (hildon_pannable_area_get_property),
3576 (hildon_pannable_area_set_property):
3577 (hildon_pannable_draw_vscroll),
3578 (hildon_pannable_draw_hscroll),
3579 (hildon_pannable_area_initial_effect),
3580 (hildon_pannable_area_expose_event),
3581 (hildon_pannable_area_scroll),
3582 (hildon_pannable_area_button_press_cb),
3583 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3584 and vindicator_mode with hscrollbar_policy and
3585 vscrollbar_policy. Replaced hscroll and vscroll with
3586 hscroll_visible and vscroll_visible.
3588 (hildon_pannable_area_refresh): Refactor the function, remove
3589 variables and check the calls to this function, added resize
3590 conditions in case the children change their layout.
3592 (hildon_pannable_area_size_request): Added more detailed
3593 size_request calculation.
3596 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3598 * src/hildon-color-chooser.c
3599 (init_borders): use the correct gtk_border_free instead of g_free, to
3600 avoid a crash when this widget is used (ie: the three color selection
3603 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3605 * src/hildon-check-button.c,
3606 (hildon_check_button_set_active): Fixed problem when setting the
3607 active value, the widget was not redrawn.
3609 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3611 * src/hildon-pannable-area.c,
3612 (hildon_pannable_area_refresh),
3613 (hildon_pannable_area_scroll),
3614 (hildon_pannable_area_motion_notify_cb): Small code style change.
3616 (hildon_pannable_area_class_init): Default initial_hint set to
3617 FALSE, it is not in the specs.
3619 (hildon_pannable_area_initial_effect),
3620 (hildon_pannable_area_expose_event),
3621 (hildon_pannable_area_map),
3622 (hildon_pannable_area_init): Moved the launching point of the
3623 initial effect, it was in map but the sizes where not correct in
3624 that method so we do not know if we have the reproduce it. Now it
3625 is placed in the expose_event method and uses a variable to
3626 reproduce it just once.
3628 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3630 * src/hildon-pannable-area.c,
3631 (hildon_pannable_draw_vscroll),
3632 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3633 position allowed for the scrollbars.
3635 (hildon_pannable_area_size_allocate): Small style change.
3637 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3639 * src/hildon-pannable-area.c,
3640 (hildon_pannable_area_scroll_indicator_fade),
3641 (hildon_pannable_area_button_press_cb),
3642 (hildon_pannable_area_button_release_cb),
3643 (hildon_pannable_area_scroll_cb),
3644 (hildon_pannable_area_expose_event),
3645 (hildon_pannable_area_init): Added the define parameter
3646 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3647 and refactor the fade variable.
3649 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3651 * src/hildon-pannable-area.c,
3652 (hildon_pannable_area_redraw),
3653 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3654 lines, we were reimplemeting the redraw code.
3656 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3658 * src/hildon-pannable-area.c,
3659 (hildon_pannable_area_scroll_cb),
3660 (hildon_pannable_area_realize),
3661 (hildon_pannable_area_class_init): Added scroll_event management
3662 for pannable area, now we can scroll the usual desktop method.
3664 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3665 initialization of the parameters should depend on idle_id.
3667 (hildon_pannable_area_init),
3668 (hildon_pannable_area_map): Small code style modifications
3670 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3672 * src/hildon-pannable-area.c
3673 (hildon_pannable_area_button_press_cb),
3674 (hildon_pannable_area_motion_notify_cb),
3675 (hildon_pannable_area_button_release_cb),
3676 (hildon_pannable_area_size_allocate),
3677 (hildon_pannable_area_scroll_to): Improved the timeouts
3678 management, we avoid creating them each time.
3680 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3682 * src/hildon-pannable-area.c:
3683 (hildon_pannable_area_refresh),
3684 (hildon_pannable_area_motion_notify_cb),
3685 (hildon_pannable_area_class_init):
3686 * src/hildon-pannable-area.h:
3687 * src/hildon-touch-selector.c
3688 (_create_new_column):
3689 * examples/hildon-pannable-area-example-4.c:
3690 (horizontal_movement),
3691 (vertical_movement),
3693 Replaced the names of enums in the HildonPannableArea:
3694 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3695 HILDON_MOVEMENT_MODE_*
3696 - HILDON_PANNABLE_AREA_MOV_* ->
3698 - Removed HildonPannableAreaIndicatorMode, now we
3701 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3703 * examples/hildon-pannable-area-touch-grid-example.c
3704 * examples/hildon-pannable-area-touch-list-example.c: Fix
3705 compilation warnings.
3707 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-gtk.c (hildon_gtk_button_new)
3710 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3711 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3712 images overriding the value of the "gtk-button-images" setting.
3714 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-check-button.c (hildon_check_button_new):
3717 Instead of using a custom container, display the label and the
3718 checkbox using the standard GtkButton API.
3720 * examples/hildon-check-button-example.c (main): Don't use
3721 hildon_check_button_set_label() anymore
3723 * src/hildon-check-button.h
3724 * src/hildon-check-button.c
3725 (hildon_check_button_set_label, hildon_check_button_get_label):
3726 Set as deprecated, now we're using gtk_button_{get,set}_label()
3728 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3730 * src/hildon-pannable-area.c,
3731 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3732 GtkTreeview first line we detected it after the inclusion of the
3733 GtkWindowImpl in gtk+. We now check if the window is visible, not
3734 just if the pointer is over the window.
3735 (hildon_pannable_axis_scroll),
3736 (hildon_pannable_area_expose_event): Small style changes.
3738 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3740 * src/hildon-button.c: Update documentation.
3742 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3744 * examples/hildon-button-example.c: Add a switch to show images in
3747 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3749 * doc/hildon-docs.sgml: Some docs reorganization.
3751 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3753 * examples/hildon-pannable-area-touch-list-example.c
3755 * examples/hildon-pannable-area-touch-grid-example.c
3756 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3757 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3758 Fix memory leak when setting the tree model.
3760 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3764 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3766 * doc/hildon.types: Remove duplicated hildon_window_get_type
3767 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3768 documentation comment.
3770 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3772 * doc/Makefile.am: Complete list of private headers.
3774 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3776 * doc/hildon-docs.sgml
3777 * src/hildon-app-menu.c
3778 * src/hildon-bread-crumb.c
3779 * src/hildon-button.c
3781 * src/hildon-program.c
3782 * src/hildon-stackable-window.c
3783 * src/hildon-window.c: Lots of documentation updates.
3785 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3787 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3789 * configure.ac: Require Gtk+ 2.12.9 at least
3791 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3793 * src/hildon-pannable-area.c
3794 (hildon_pannable_area_scroll_indicator_fade),
3795 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3796 to protect the return of this timeout callbacks, avoiding deadlocks.
3798 2008-08-12 Christian Dywan <christian@imendio.com>
3801 * src/hildon-*.h: Ensure a consistent include order,
3802 include <gtk/gtk.h> instead of particular files and
3803 only include the topmost header in the gtk stack. See NB #39857
3805 2008-08-12 Christian Dywan <christian@imendio.com>
3807 * src/hildon-picker-dialog.c
3808 * src/hildon-touch-selector.c: Fix warnings about unused and
3809 uninitialized variables.
3811 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3813 * examples/Makefile.am
3814 * examples/hildon-check-button-example.c: Example of the hildon
3817 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3819 * src/hildon-window.h
3820 * src/hildon-window.c (hildon_window_class_init)
3821 (hildon_window_unset_program): Don't make
3822 hildon_window_unset_program a virtual function anymore.
3824 * src/hildon-stackable-window.c: Update documentation
3826 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3829 * doc/hildon-docs.sgml
3830 * doc/visual_index.xml
3831 * src/hildon-defines.c
3833 * src/hildon-helper.c
3834 * src/hildon-range-editor.c: Lots of documentation fixes.
3836 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3838 * examples/hildon-picker-button-multicolumn-example.c
3839 (create_touch_selector): Fix compilation warning.
3841 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3843 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3844 (hildon_pannable_area_button_release_cb)
3845 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3847 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3849 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3852 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-bread-crumb-trail.h
3855 * src/hildon-date-editor.c
3856 * src/hildon-date-selector.c
3857 * src/hildon-pannable-area.c
3858 * src/hildon-picker-dialog.c
3859 * src/hildon-time-selector.c
3860 * src/hildon-touch-selector-entry.c
3861 * src/hildon-touch-selector.c
3862 * src/hildon-touch-selector.h: Misc documentation fixes
3864 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3866 * examples/hildon-date-editor-example.c (main): Updated date
3869 * examples/hildon-note-example.c (on_confirmation_clicked):
3870 Updated confirmation note example.
3872 * src/hildon-date-editor.c
3873 * src/hildon-note.c: Updated sample programs in documentation.
3876 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3878 * src/hildon-date-button.h:
3879 * src/hildon-picker-button.h:
3880 * src/hildon-time-button.c:
3881 * src/hildon-time-button.h:
3883 Some declarations changes to allow gtk-doc to document the widgets
3886 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3888 * src/hildon-date-button.c: Document the widget.
3889 * src/hildon-time-button.c: Document the widget.
3891 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3893 * src/hildon-picker-button.c: Document the widget.
3894 * src/hildon-touch-selector-entry.c: Document the widget.
3896 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3898 * doc/hildon-docs.sgml
3901 * src/hildon-check-button.h
3902 * src/hildon-check-button.c: New functions to create the Hildon
3906 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3908 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3910 * src/hildon-button.h
3911 * src/hildon-button.c
3912 (hildon_button_add_title_size_group)
3913 (hildon_button_add_value_size_group)
3914 (hildon_button_add_image_size_group)
3915 (hildon_button_add_size_groups): New functions to set size groups
3916 for the button labels and image.
3917 (hildon_button_new_full): Removed
3919 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3921 * src/hildon-time-selector.c
3922 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3923 in order to avoid a crash if gconf is not available
3925 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3927 * src/hildon-button.c (hildon_button_set_arrangement)
3928 (hildon_button_construct_child): Don't construct the button child
3929 before setting the arrangement.
3931 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3933 * src/hildon-program-private.h
3934 * src/hildon-program.c
3935 * src/hildon-program.h
3936 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3937 (hildon_program_peek_window_stack)
3938 (hildon_program_pop_window_stack)
3939 (hildon_program_go_to_root_window): HildonProgram now has a
3940 separate list for stackable windows. Functions are provided to
3941 manage that list with a stack-like API.
3943 * src/hildon-stackable-window.c: Stackable window management is
3944 now much simpler with the new HildonProgram API. Windows no
3945 longer need to be manually added to the program, they're
3946 automatically pushed to the top of the stack when shown.
3948 * examples/hildon-stackable-window-example.c: Updated example to
3949 reflect the API changes.
3951 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-touch-selector.c: Comment out unimplemented
3954 hildon_touch_selector_insert_column() to avoid a compile warning.
3956 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3959 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3960 (hildon_touch_selector_set_column_selection_mode),
3961 (_hildon_touch_selector_set_model),
3962 (hildon_touch_selector_set_model):
3964 Complete review of HildonTouchSelector documentation.
3966 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3968 * doc/hildon-docs.sgml
3972 * src/hildon-gtk.c: Convenience functions for standard Gtk
3973 widgets, used to easily perform frequent operations.
3975 * src/hildon-button-helpers.h
3976 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3978 * src/hildon-helper.h
3979 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3980 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3982 * src/hildon-button.h
3983 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3985 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3987 * src/hildon-button.c (hildon_button_init)
3988 (hildon_button_set_arrangement, hildon_button_construct_child):
3989 Pack the image and the labels inside the same GtkAlignment so
3990 gtk_button_set_alignment() can be used
3992 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3994 * src/hildon-button.h
3995 * src/hildon-button.c
3996 (hildon_button_init, hildon_button_set_image)
3997 (hildon_button_set_image_position)
3998 (hildon_button_construct_child): New functions to add an image to
4001 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4003 * src/hildon-date-button.c
4004 * src/hildon-picker-button.c
4005 * src/hildon-time-button.c
4006 * src/hildon-button.c:
4007 (hildon_button_class_init): "size-flags" renamed to "size"
4008 (hildon_button_set_title): Hide the title label if set to NULL.
4010 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4012 HildonButtonFlags split into HildonButtonArrangement (to set the
4013 button layout) and HildonSizeType (which can be used for any
4016 * src/hildon-button.h
4017 * src/hildon-button.c
4018 (hildon_button_class_init)
4019 (hildon_button_set_arrangement)
4020 (hildon_button_set_property): New "size-flags"
4021 property. "arrangement-flags" renamed to "arrangement".
4022 (hildon_button_new, hildon_button_new_with_text)
4023 (hildon_button_new_full): Constructors updated to reflect type changes.
4025 * src/hildon-helper.h
4026 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4027 to set the size of a widget.
4031 * src/hildon-button-helpers.c
4032 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4034 * src/hildon-date-button.c
4035 * src/hildon-date-button.h
4036 * src/hildon-picker-button.c
4037 * src/hildon-picker-button.h
4038 * src/hildon-time-button.c
4039 * src/hildon-time-button.h: Updated widgets to reflect
4040 HildonButton API changes.
4042 * examples/hildon-button-example.c
4043 * examples/hildon-date-button-example.c
4044 * examples/hildon-picker-button-example.c
4045 * examples/hildon-picker-button-multicolumn-example.c
4046 * examples/hildon-time-button-example.c
4047 * examples/hildon-touch-selector-entry-example.c
4048 * examples/hildon-touch-selector-example.c: Updated examples to
4049 reflect HildonButton API changes.
4051 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4053 * doc/hildon-docs.sgml:
4055 * examples/Makefile.am:
4056 * examples/hildon-touch-selector-entry-example.c:
4058 * src/hildon-touch-selector-entry.c:
4059 * src/hildon-touch-selector-entry.h:
4062 Moved HildonTouchSelectorEntry from sandbox. Added its
4063 documentation and examples.
4065 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/hildon-touch-selector.h:
4068 * examples/hildon-picker-button-multicolumn-example.c:
4069 (hildon_touch_selector_append_text_column): Add a gboolean
4070 parameter to determine if text must be centered in the column.
4072 * src/hildon-date-selector.c: (hildon_date_selector_init):
4073 * src/hildon-time-selector.c: (hildon_time_selector_init):
4074 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4075 (create_touch_selector): Update widgets and example to reflect
4078 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4080 * src/hildon-touch-selector.c:
4081 (hildon_touch_selector_set_active_iter): Set also the cursor in
4084 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4086 * doc/hildon-docs.sgml
4089 * src/hildon-toggle-button.c
4090 * src/hildon-toggle-button.h
4091 * src/hildon.h: Removed HildonToggleButton widget, a derived
4092 class is not necessary for this.
4094 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4096 * src/hildon-pannable-area.c,
4097 (hildon_pannable_area_realize),
4098 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4101 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4103 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4104 "done" button the default widget for the dialog.
4106 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-touch-selector.c:
4109 (hildon_touch_selector_class_init),
4110 (hildon_touch_selector_get_property),
4111 (_hildon_touch_selector_set_model),
4112 (_hildon_touch_selector_has_multiple_selection),
4113 (hildon_touch_selector_has_multiple_selection):
4114 Add a "has-multiple-selection" property with a virtual
4115 has_multiple_selection() method to allow derived classes to
4116 override the default value for it. See the method and property
4117 documentation for details.
4119 * src/hildon-touch-selector.h: Add the new API.
4121 * src/hildon-picker-dialog.c: (requires_done_button): Call
4122 hildon_touch_selector_has_multiple_selection() instead of
4123 determining the need for a button itself.
4125 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4127 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4128 (_hildon_touch_selector_set_model),
4129 (hildon_touch_selector_set_model): Move working code to
4130 _hildon_touch_selector_set_mode(). Call the class method instead.
4132 * src/hildon-touch-selector.h: Add (*set_model) to
4133 HildonTouchSelectorClass.
4135 Make hildon_touch_selector_set_model() a virtual method, so that
4136 derived classes can extend it and do fancy stuff with the model.
4138 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4140 * configure.ac: Set back the tarname in AC_INIT to hildon.
4142 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4146 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4147 instead of libesd (NB#86876). Volume handling is still an open issue.
4149 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4152 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4154 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4155 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4156 derived class to ease placement of an entry widget in
4157 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4158 end, where the selector columns are packed now.
4160 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4162 * src/hildon-picker-button.c: Removed the simple _text() API.
4163 * src/hildon-picker-button.h: Likewise.
4165 * src/hildon-touch-selector.h:
4166 * src/hildon-touch-selector.c:
4167 (hildon_touch_selector_new_text),
4168 (hildon_touch_selector_append_text),
4169 (hildon_touch_selector_prepend_text),
4170 (hildon_touch_selector_insert_text):
4172 Moved the simple _text() API from HildonPickerButton to
4173 HildonTouchPicker, to provide better escalability and not to tie
4174 that API to HildonPickerButton.
4176 * examples/hildon-picker-button-example.c: (main): Example updated.
4178 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4180 * src/hildon-button.c: Updated documentation.
4182 * examples/hildon-button-example.c: Add the posibility to create
4183 the buttons using horizontal layout for title and value.
4185 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4187 * src/hildon-app-menu-private.h
4188 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4189 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4190 GtkSizeGroup for the filters, use the 'homogeneous' property of
4193 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4195 * examples/hildon-button-example.c: Updated example.
4197 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4199 * doc/hildon-docs.sgml:
4202 Update documentation.
4204 * examples/Makefile.am: Update renamed examples.
4206 * examples/hildon-picker-button-multicolumn-example.c:
4207 (create_touch_selector), (main): Update after the rename.
4209 * examples/hildon-touch-picker-example.c: Removed.
4210 * examples/hildon-touch-selector-example.c: (value_changed),
4211 (create_selector), (get_visible_content), (main): Renamed from
4212 hildon-touch-picker-example.c
4214 * src/Makefile.am: Updated renamed files.
4216 * src/hildon-date-button.c: (hildon_date_button_init),
4217 (hildon_date_button_get_date), (hildon_date_button_set_date):
4218 * src/hildon-date-selector.c: (hildon_date_selector_init),
4219 (_custom_print_func), (_update_day_model),
4220 (_manage_selector_change_cb),
4221 (hildon_date_selector_select_current_date),
4222 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4223 * src/hildon-date-selector.h:
4224 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4225 (hildon_picker_button_set_property),
4226 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4227 (hildon_picker_button_init), (hildon_picker_button_new_text),
4228 (hildon_picker_button_append_text),
4229 (hildon_picker_button_prepend_text),
4230 (hildon_picker_button_insert_text),
4231 (hildon_picker_button_set_selector),
4232 (hildon_picker_button_get_selector):
4233 * src/hildon-picker-button.h:
4234 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4235 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4236 (_update_title_on_selector_changed_cb), (requires_done_button),
4237 (_hildon_picker_dialog_set_selector),
4238 (hildon_picker_dialog_set_selector),
4239 (hildon_picker_dialog_get_selector):
4240 * src/hildon-picker-dialog.h:
4241 * src/hildon-time-button.c: (hildon_time_button_init),
4242 (hildon_time_button_get_time), (hildon_time_button_set_time):
4243 * src/hildon-time-selector.c: (hildon_time_selector_init),
4244 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4245 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4246 * src/hildon-time-selector.h:
4249 Massive code updates after the rename.
4251 * src/hildon-touch-picker.c: Removed.
4252 * src/hildon-touch-picker.h: Removed.
4254 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4255 (hildon_touch_selector_init), (hildon_touch_selector_map),
4256 (hildon_touch_selector_remove), (_default_print_func),
4257 (_selection_changed_cb), (_create_new_column),
4258 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4259 (hildon_touch_selector_append_text_column),
4260 (hildon_touch_selector_remove_column),
4261 (hildon_touch_selector_set_column_attributes),
4262 (hildon_touch_selector_insert_column),
4263 (hildon_touch_selector_get_num_columns),
4264 (hildon_touch_selector_get_column_selection_mode),
4265 (hildon_touch_selector_set_column_selection_mode),
4266 (hildon_touch_selector_set_print_func),
4267 (hildon_touch_selector_get_print_func),
4268 (hildon_touch_selector_get_active_iter),
4269 (hildon_touch_selector_set_active_iter),
4270 (hildon_touch_selector_get_selected_rows),
4271 (hildon_touch_selector_get_model),
4272 (hildon_touch_selector_set_model),
4273 (hildon_touch_selector_get_current_text),
4274 (_hildon_touch_selector_center_on_selected_items):
4275 * src/hildon-touch-selector.h: Renamed from
4276 hildon-touch-picker.[ch]
4278 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4279 references, code examples, and related documentation.
4281 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4283 * doc/hildon-docs.sgml
4286 * src/hildon-toggle-button.c
4287 * src/hildon-toggle-button.h
4288 * src/hildon.h: New HildonToggleButton widget.
4290 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4292 * src/hildon-button.c: Add API documentation.
4293 (hildon_button_set_size_groups): Check input parameters
4295 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4297 * src/hildon-pannable-area.c
4298 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4299 effect after reaching the movement thredshold. This way we start
4300 using the distance after passing the thredshold.
4302 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4304 * src/hildon-button.c: (hildon_button_set_property): Use the
4305 appropriate g_value_get_flags() method.
4307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4309 * doc/hildon-docs.sgml:
4312 Add the touch pickers, picker dialogs, and picker button widgets
4313 to the documentation.
4315 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/hildon-button.c: (hildon_button_set_property),
4318 (hildon_button_class_init): Make "arrangement-flags" a proper
4319 G_TYPE_FLAGS derived property.
4321 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4323 * examples/Makefile.am: Add below examples.
4324 * examples/hildon-date-button-example.c:
4325 * examples/hildon-picker-button-example.c:
4326 * examples/hildon-picker-button-multicolumn-example.c:
4327 * examples/hildon-time-button-example.c:
4328 * examples/hildon-touch-picker-example.c:
4330 Add examples for the recently added touch pickers,
4331 picker dialogs, and picker button widgets.
4333 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4335 * src/hildon-button.c: Add some API documentation
4337 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4339 * src/hildon-button.h
4340 * src/hildon-button.c
4342 (hildon_button_new_with_text): New constructor to create a button
4343 with no text at all.
4344 (hildon_button_init, hildon_button_set_arrangement)
4345 (hildon_button_set_title, hildon_button_set_value)
4346 (hildon_button_set_text)
4347 (hildon_button_construct_child): Hide the value when it's not used
4348 so the rest of the text is properly aligned.
4349 Allow creating buttons with arbitrary widgets inside (not just
4350 title/value labels).
4352 * examples/hildon-button-example.c (vertical_buttons_window)
4353 (horizontal_buttons_window): Update example to use new API.
4355 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/Makefile.am: Added HildonTimeButton.
4358 * src/hildon-time-button.c: Added missing LGPL header.
4359 * src/hildon-time-button.h: Added missing LGPL header.
4360 * src/hildon.h: Add hildon-time-button.h
4362 Copied HildonTimeButton from sandbox to trunk. Future work on this
4363 widget must take place in trunk.
4365 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4367 * src/Makefile.am: Added HildonDateButton.
4368 * src/hildon-date-button.c: Update includes.
4369 * src/hildon.h: Add hildon-date-button.h
4371 Copied HildonDateButton from sandbox to trunk. Future work on this
4372 widget must take place in trunk.
4374 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4376 * src/Makefile.am: Added HildonPickerButton.
4377 * src/hildon-picker-button.h: Update includes.
4378 * src/hildon.h: Add hildon-picker-button.h
4380 Copied HildonPickerButton from sandbox to trunk. Future work on
4381 this widget must take place in trunk.
4383 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4385 * src/Makefile.am: Added HildonPickerDialog.
4386 * src/hildon-picker-dialog.c: Update includes.
4387 * src/hildon.h: Add hildon-picker-dialog.h
4389 Copied HildonPickerDialog from sandbox to trunk. Future work
4390 on this widget must take place in trunk.
4392 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4394 * src/Makefile.am: Added HildonTimeSelector.
4395 * src/hildon.h: Add hildon-time-selector.h
4397 Copied HildonTimeSelector widget from sandbox to trunk. Future
4398 work on this widget must happen in trunk.
4400 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4402 * src/Makefile.am: Added HildonDateSelector.
4403 * src/hildon.h: Add hildon-date-selector.h
4405 Copied HildonDateSelector widget from sandbox to trunk. Future
4406 work on this widget must happen in trunk.
4408 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4410 * src/Makefile.am: Added HildonTouchPicker.
4411 * src/hildon-touch-picker.c: Update includes.
4412 * src/hildon.h: Add hildon-touch-picker.h
4414 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4415 on this widget must happen in trunk.
4417 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4419 * src/hildon-pannable-area.c:
4420 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4422 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4424 * examples/hildon-app-menu-example.c (main): Let the window
4427 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4429 * src/hildon-pannable-area.c
4430 (hildon_pannable_area_class_init): Set the min value of the
4431 overshoot properties to zero, which points out that not
4432 overshooting allowed.
4434 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4436 Modified the procedure to get the widget at a point inside the
4437 pannable area when using the movement type signals. Now the user
4438 has to call a function to get the child, that way we just
4439 calculate the child in case the user really want to use it and not
4442 * src/hildon-marshalers.list: Modified the marshallers, now we do
4443 not have the widget as a parameter.
4445 * src/hildon-pannable-area.c
4446 (hildon_pannable_area_motion_notify_cb),
4447 (hildon_pannable_area_class_init),
4448 (hildon_pannable_get_child_widget_at): Removed the widget
4449 parameter from the signal callback. We have also refactored the
4450 emission of the signals.
4452 * src/hildon-pannable-area.h: Added a new method to the API to
4453 calculate a widget at a point inside the pannable area,
4454 hildon_pannable_get_child_widget_at.
4456 * examples/hildon-pannable-area-example-4.c
4457 (horizontal_movement): Modified the example to use the new API,
4458 added condition to control which widget is under the event. This
4459 way we can avoid scrolling laterally over other widgets.
4461 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4463 * src/hildon-pannable-area.c
4464 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4465 modes, we stop getting the pointer events due to returning the
4466 callback without properly calling the get pointer again. Fixed
4467 also an error using the hscroll and vscroll.
4469 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4471 * src/hildon-app-menu-private.h
4472 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4473 (hildon_app_menu_button_release, hildon_app_menu_init)
4474 (hildon_app_menu_class_init): Don't hide the menu on button
4475 release if the user didn't press outside first.
4477 * src/hildon-window.h
4478 * src/hildon-window.c (hildon_window_toggle_menu)
4479 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4480 hildon_window_toggle_menu a virtual function for the stackable
4481 window to override it.
4483 * src/hildon-stackable-window.h
4484 * src/hildon-stackable-window-private.h
4485 * src/hildon-stackable-window.c
4486 (hildon_stackable_window_realize)
4487 (hildon_stackable_window_finalize)
4488 (hildon_stackable_window_class_init)
4489 (hildon_stackable_window_init)
4490 (hildon_stackable_window_set_main_menu): New function to set the
4491 app menu of a HildonStackableWindow.
4493 * examples/hildon-app-menu-example.c: Remove the button to show
4494 the app menu, now it'll be shown when clicking on the title bar
4497 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4499 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4500 set the widget name if the arrangement flags do not specify
4503 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4505 * src/hildon-button.c: (hildon_button_set_property),
4506 (hildon_button_class_init), (hildon_button_new_full),
4507 (hildon_button_set_arrangement): Added "arrangement-flags"
4510 Make the HildonButtonFlags a construction-only property, to allow
4511 subclasses to set them properly.
4513 2008-07-21 Tim Janik <timj@imendio.com>
4515 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4516 insertion position after backspace, so additional digits are appended,
4519 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4521 * src/hildon-pannable-area.c,
4522 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4523 TODO list, it was complete and removed the g_debug and g_print
4526 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4528 Added the movement modes to the hildon-pannable-area, with this
4529 modes the developers can control in which directions the widget
4530 can scroll. They can also connect to signals in order to do
4531 something when that happens, allowing applications scroll. There
4532 is an example uploaded showing how to use it.
4534 * examples/Makefile.am:
4535 * examples/hildon-pannable-area-example-4.c: Added this example of
4536 an application using the modes.
4538 * src/hildon-marshalers.list: Added a new marshaller for the new
4541 * src/hildon-pannable-area.h: Added new enumerations and flags in
4542 order to control the movement modes and the new signals to warn
4543 about the movements in the area.
4545 * src/hildon-pannable-area.c:
4546 (hildon_pannable_axis_scroll),
4547 (hildon_pannable_area_scroll),
4548 (hildon_pannable_area_motion_notify_cb),
4549 (hildon_pannable_area_get_property),
4550 (hildon_pannable_area_set_property),
4551 (hildon_pannable_area_map),
4552 (hildon_pannable_area_class_init),
4553 (hildon_pannable_area_init),
4554 (hildon_pannable_area_jump_to): Added the modes to control the
4555 movement in the widget. We have added properties to control it,
4556 signals to warn about the movements and refactored some code.
4558 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4560 Changes required in order to allow vfast_factor set to zero to
4563 * src/hildon-pannable-area.c:
4564 (hildon_pannable_area_button_press_cb): Changed the condition, it
4565 is required for not allowing click when vfast_factor is zero.
4566 (hildon_pannable_area_timeout): Initialized velocity variables
4567 when we stop moving, it was less than 1 but not zero and we need
4568 to check zero in some situations.
4569 (hildon_pannable_area_class_init): Changed the default value of
4570 the speed factor, now the button_press is just sent in case the
4571 speed is 2 per cent of the max speed.
4572 (hildon_pannable_area_init): Initialization with 0.
4574 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4576 * src/hildon-pannable-area.c,
4577 (hildon_pannable_area_get_topmost): replaced
4578 gdk_window_get_children with gdk_window_peek_children, this way we
4579 do not have to free the list because it is not a copy.
4581 (hildon_pannable_axis_scroll),
4582 (hildon_pannable_area_scroll),
4583 (hildon_pannable_area_timeout),
4584 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4585 two parameters that were only used inside the
4586 hildon_pannable_area_scroll function.
4588 * examples/hildon-pannable-area-example.c,
4589 (get_sawtooth_label): Fixed small memory leak.
4591 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4593 More checks for the case where the overshoot is bigger than the
4596 * src/hildon-pannable-area.c:
4597 (hildon_pannable_draw_vscroll),
4598 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4599 to draw the slider of the scrollbar under the other scrollbar.
4600 (hildon_pannable_area_expose_event): added new checks to control
4601 the drawing of the overshooting area rectangle, in case it is too
4602 big for the area of the widget.
4603 (hildon_pannable_area_size_allocate): add more checks to avoid
4604 setting a position to the child widget outside the area.
4606 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4608 * src/hildon-pannable-area.c
4609 (hildon_pannable_area_size_allocate): Added conditions to control
4610 when overshooting is bigger than the allocated space for the
4611 children, this avoids negative allocations.
4613 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4615 * doc/hildon-docs.sgml
4617 * examples/Makefile.am
4618 * examples/hildon-button-example.c
4620 * src/hildon-button.c
4621 * src/hildon-button.h
4622 * src/hildon.h: Initial version of the new HildonButton widget,
4625 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4627 * src/hildon-pannable-area.c:
4628 (hildon_pannable_area_button_press_cb),
4629 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4630 (hildon_pannable_area_motion_notify_cb),
4631 (hildon_pannable_area_button_release_cb),
4632 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4633 (hildon_pannable_area_jump_to_child):
4635 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4637 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4639 * examples/Makefile.am
4640 * examples/hildon-pannable-area-touch-grid-example.c
4641 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4642 the Hildon Touch List and Hildon Touch Grid using the
4643 HildonPannableArea widget.
4645 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4647 * src/hildon-pannable-area.c,
4648 (hildon_pannable_area_button_press_cb),
4649 (hildon_pannable_area_refresh),
4650 (hildon_pannable_area_scroll),
4651 (hildon_pannable_area_motion_notify_cb),
4652 (hildon_pannable_area_button_release_cb),
4653 (hildon_pannable_area_expose_event),
4654 (hildon_pannable_area_add),
4655 (hildon_pannable_area_remove),
4656 (hildon_pannable_area_realize),
4657 (hildon_pannable_area_size_allocate),
4658 (hildon_pannable_area_class_init),
4659 (hildon_pannable_area_init),
4660 (hildon_pannable_area_scroll_to_child),
4661 (hildon_pannable_area_jump_to_child): Fixed the problem of
4662 removing the child from the GtkBin, we have rearranged the widget
4663 hierarchy, now there is no GtkAlignment which was not doing
4664 anything interesting but breaking some of the assumptions of
4665 GtkContainer. Now developers if they want to add a GtkAlignment
4666 they could, but it is not inside the area.
4668 We had to review the whole allocation/expose process, now it is
4669 improved and we save at least three signals which would be saving
4670 some time when rendering the widget. The allocation of the
4671 scrollbars is now made in the allocate method as usual.
4673 We have also added some conditions in order to control when there
4674 is no child of the pannable area. Maybe we will need more work
4677 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4679 * src/hildon-pannable-area.c,
4680 (hildon_pannable_area_dispose): Released the fade-out timeout when
4681 disposing the widget.
4683 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4685 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4686 zero, we are going to use that property in order to deactivate the
4688 (hildon_pannable_axis_scroll),
4689 (hildon_pannable_area_size_allocate): Added conditions to control
4690 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4691 call, now it is called in all situations and we can remove calls
4692 in the allocate method.
4693 (hildon_pannable_area_map): Control the situation when
4694 overshoot_max is zero, we do not need the timeout.
4695 (hildon_pannable_area_class_init): Added documentation in order to
4696 point out that setting zero to overshoot_max means deactivate
4699 NOTE: removed trailing whitespaces from my previous comments of
4702 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4704 * src/hildon-pannable-area.c
4705 (hildon_pannable_area_get_property),
4706 (hildon_pannable_area_set_property),
4707 (hildon_pannable_area_map),
4708 (hildon_pannable_area_class_init),
4709 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4710 to cause the widget give a hint about its panning abilities upon
4713 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-pannable-area.c: Several documentation improvements.
4717 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-program.c
4720 * src/hildon-stackable-window.c: Update documentation.
4722 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4724 * src/hildon-stackable-window.c (get_previous_window_if_last):
4725 Renamed get_last_window()
4726 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4727 (hildon_stackable_window_unset_program):
4729 (get_previous_window_if_last):
4730 Detect if the window hasn't been added to a HildonProgram.
4732 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4734 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4736 * src/hildon-pannable-area.c
4737 (hildon_pannable_area_button_press_cb),
4738 (hildon_pannable_axis_scroll),
4739 (hildon_pannable_area_scroll),
4740 (hildon_pannable_area_timeout),
4741 (hildon_pannable_calculate_vel_factor),
4742 (hildon_pannable_area_get_property),
4743 (hildon_pannable_area_set_property),
4744 (hildon_pannable_area_class_init),
4745 (hildon_pannable_area_init),
4746 (hildon_pannable_area_scroll_to),
4747 (hildon_pannable_area_jump_to),
4748 (hildon_pannable_area_scroll_to_child),
4749 (hildon_pannable_area_jump_to_child):
4750 * src/hildon-pannable-area.h: Added the new API functions:
4751 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4752 hildon_pannable_area_scroll_to_child,
4753 hildon_pannable_area_jump_to_child
4756 * examples/Makefile.am
4757 * examples/hildon-pannable-area-example-2.c
4758 * examples/hildon-pannable-area-example-3.c: Added these two new
4759 examples in order to test and show how the new APIs work.
4761 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4763 * examples/hildon-stackable-window-example.c (new_window):
4764 * src/Makefile.am (noinst_HEADERS):
4765 * src/hildon-program.c (hildon_program_go_to_root_window):
4766 * src/hildon-program.h:
4767 * src/hildon-stackable-window-private.h:
4768 * src/hildon-stackable-window.c:
4769 * src/hildon-stackable-window.h:
4770 Create hildon-stackable-window-private.h
4771 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4773 * examples/hildon-app-menu-example.c (create_menu):
4774 * examples/hildon-hvolumebar-insensitive-example.c (main):
4775 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4776 * examples/hildon-toolbar-seekbar-example.c (main):
4777 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4778 * src/hildon-banner.c (hildon_banner_set_property):
4779 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4780 Fix compilation warnings
4782 * src/hildon-window.c:
4785 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4787 * src/hildon-stackable-window.c
4788 (hildon_stackable_window_unset_program):
4789 Calculate correctly whether to show the previous window if the
4790 last one is removed from the stack.
4791 (hildon_stackable_window_go_to_root_window):
4792 Send delete events starting from the topmost window.
4793 Stop if one of the windows is not destroyed.
4795 (hildon_stackable_window_delete_event)
4796 (hildon_stackable_window_class_init):
4797 Ignore the delete event if the window is not the topmost one.
4799 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4801 * src/hildon-pannable-area.c
4802 (hildon_pannable_area_expose_event): Fixed a problem when
4803 selecting the background color of the scrollbars.
4805 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4807 * examples/hildon-stackable-window-example.c
4808 * src/hildon-stackable-window.c
4809 * src/hildon-stackable-window.h
4810 hildon_stackable_window_go_home() renamed to
4811 hildon_stackable_window_go_to_root_window()
4812 Send delete events to windows rather than closing them with
4813 gtk_widget_destroy()
4815 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4817 * src/hildon-pannable-area.c
4818 (hildon_pannable_area_button_release_cb): Fix overshooting in
4821 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4823 * src/hildon-pannable-area.c
4824 (hildon_pannable_area_init): Initially show the scroll indicators.
4825 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4827 Add initial effect showing the widget is pannable.
4829 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4831 * src/hildon-pannable-area.c
4832 (hildon_pannable_area_class_init)
4833 (hildon_pannable_area_set_property)
4834 (hildon_pannable_area_get_property)
4835 (hildon_pannable_area_button_press_cb):
4836 New 'velocity_fast_factor' property to decide which velocity is
4839 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4841 * src/hildon-pannable-area.c
4842 (hildon_pannable_draw_hscroll)
4843 (hildon_pannable_draw_vscroll):
4844 Use float variables to calculate the size of the scrollbars to
4845 avoid error propagation and resizing during scrolling.
4847 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4849 * src/hildon-pannable-area.c
4850 (hildon_pannable_draw_vscroll)
4851 (hildon_pannable_draw_hscroll):
4852 Define a minimum size for the scroll bars
4854 * src/hildon-stackable-window.c
4855 (hildon_stackable_window_go_home): Fix compilation warning
4856 (get_last_window): Minor optimizations
4857 (hildon_stackable_window_class_init): Fix initialization of
4860 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4862 * src/hildon-stackable-window.c: Fixed typos in doc
4864 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4866 * src/hildon-pannable-area.c
4867 (hildon_pannable_area_scroll):
4868 Calculate here whether we need to scroll instead of using the booleans
4869 that tell us whether to /draw/ the scrolling bars.
4871 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4873 * src/hildon-app-menu.h
4875 * src/hildon-app-menu.c
4876 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4877 multiple filter groups related code and API. Now we support only
4879 * examples/hildon-app-menu-example.c:
4881 Update to reflect API changes.
4883 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4885 * src/hildon-stackable-window.c
4886 (hildon_stackable_window_class_init):
4887 Add hildon_stackable_window_realize.
4888 (hildon_stackable_window_realize):
4889 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4890 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4891 to apply theming and behavior specific to HildonStackableWindow
4894 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4896 * src/hildon-note.c (hildon_note_button_release):
4897 Close information notes also when tapping on them
4899 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4901 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4902 ELASTICITY, refactor and review, fix some issues with drawing
4905 * src/hildon-pannable-area.c:
4906 (hildon_pannable_area_button_press_cb): removed the conditions to
4907 avoid clicks when overshooting. It is not required
4909 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4910 define. Refatored and reviewed the code, now we do not need to
4911 manage velocity in motion_notify.
4913 (hildon_pannable_area_motion_notify_cb): We have moved the code
4914 that controls the area_scroll to the axis_scroll function and get
4915 rid of duplicated code.
4917 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4919 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4921 (hildon_pannable_draw_vscroll),
4922 (hildon_pannable_draw_hscroll): Fixed the problems with the
4923 scrollbar drawing, now we do not use two surfaces, it is easier
4924 and saves resources.
4926 (hildon_pannable_area_get_property): Style modification.
4928 (hildon_pannable_area_class_init): Changed some default values.
4930 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4932 * src/hildon-stackable-window.c: Fix some typos in the
4935 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4937 * src/hildon-dialog.c:
4938 Change indentation style
4941 (hildon_note_button_release):
4942 Use root coordinates to check if the release event happened
4945 * src/hildon-app-menu.c
4946 (hildon_app_menu_button_release):
4947 Remove unnecessary check
4949 * examples/hildon-app-menu-example.c
4951 Add cast to fix warning
4953 * src/hildon-app-menu.c
4954 (hildon_app_menu_class_init):
4955 New inner-border style property.
4956 Set all default spacings to 16
4957 (hildon_app_menu_init):
4958 Use vertical-spacing to set the space between filter buttons and
4959 regular menu buttons.
4960 Set the default container border using the inner-border value.
4962 * examples/hildon-app-menu-example.c
4964 Don't set the menu border explicitly, now we have the inner-border
4965 style property for that.
4967 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4969 * src/hildon-app-menu.c (hildon_app_menu_init):
4970 Make the window modal
4972 * src/hildon-note.c (hildon_note_map)
4973 * src/hildon-app-menu.c (hildon_app_menu_map):
4974 Destroy the grab window if we're unable to grab the pointer
4976 * src/hildon-app-menu-private.h
4977 * src/hildon-app-menu.c
4978 (hildon_app_menu_init, hildon_app_menu_finalize)
4979 (hildon_app_menu_map, hildon_app_menu_unmap)
4980 (hildon_app_menu_button_release)
4981 (grab_transfer_window_get):
4982 Bring back the grab window
4983 (hildon_app_menu_realize):
4984 Decorate the window, set WM hint for Matchbox
4986 * src/hildon-note.c (hildon_note_realize):
4987 * src/hildon-banner.c (hildon_banner_realize):
4988 Add WM hints for Matchbox
4990 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4992 * src/hildon-app-menu-private.h
4993 * src/hildon-app-menu.c
4994 (hildon_app_menu_init, hildon_app_menu_finalize)
4995 (hildon_app_menu_map, hildon_app_menu_unmap)
4996 (hildon_app_menu_button_release):
4997 Remove the grab window, it's not needed anymore
4999 * src/hildon-program.c
5000 Fixed typo in documentation
5002 * src/hildon-app-menu.h
5003 * src/hildon-app-menu.c
5004 * examples/hildon-app-menu-example.c
5005 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5007 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5010 Added new transfer_window and close_if_pressed_outside private
5012 (hildon_note_rebuild):
5013 Don't add a cancel button to the information note. It will be
5014 closed when tapping outside
5015 Remove the comment about the OK button in the documentation
5016 (hildon_note_realize):
5017 Set the notification type hint
5018 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5019 Grab/ungrab pointer and keyboard if the note has to be closed when
5021 (hildon_note_button_release):
5022 Close the note when tapping outside (if applicable)
5024 * src/hildon-app-menu.c
5025 Grab/ungrab pointer and keyboard on map/unmap
5026 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5027 Close the menu on button release, not button press
5029 * src/hildon-banner.c
5030 (hildon_banner_set_property)
5031 (hildon_banner_check_position):
5032 Make the banner use the full width of the screen
5033 (hildon_banner_show_information)
5034 (hildon_banner_show_information_with_markup):
5035 Don't display an icon by default
5037 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5039 Added fading scrollbars and adapted all the overshooting code to
5040 horizontal scrolling. We have also fixed bugs with overshooting
5041 and current fading implementation.
5043 * src/hildon-pannable-area.c
5044 (hildon_pannable_area_scroll_indicator_fade): Time out function
5045 used to change the transparency of the scrollbars.
5047 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5048 control and fixed a problem with fading, we now remove the fade
5049 timeout before adding a new one.
5051 (hildon_pannable_axis_scroll):
5052 (hildon_pannable_area_scroll):
5053 (hildon_pannable_area_timeout): Added this functions so we can use
5054 the scroll code both for vertical and horizontal.
5056 (hildon_pannable_area_motion_notify_cb):
5057 (hildon_pannable_area_button_release_cb): Added the horizontal
5058 scrolling control, fixed a problem with the overshooting timeout.
5060 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5061 painting of the scrolls.
5063 (hildon_pannable_draw_vscroll):
5064 (hildon_pannable_draw_hscroll):
5065 (hildon_pannable_area_expose_event):
5066 Draw both scrollbars and rectangles in the overshooting area.
5068 (hildon_pannable_area_get_property):
5069 (hildon_pannable_area_set_property):
5070 Modified the overshoot property to overshoot_max
5072 (hildon_pannable_area_map):
5073 Replaced the comments symbols.
5075 (hildon_pannable_area_size_allocate):
5076 (hildon_pannable_area_class_init):
5077 (hildon_pannable_area_init): Added horizontal scroll, fading
5078 effect properties, fixed a problem when overshooting in the bottom
5081 * examples/hildon-pannable-area-example.c:
5082 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5083 looks better in the example.
5085 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-window.c
5088 * src/hildon-window.h
5089 (hildon_window_class_init)
5090 (hildon_window_unset_program)
5091 (hildon_window_unset_program_real):
5092 Make unset_program a virtual function
5094 * src/hildon-stackable-window.c
5095 * src/hildon-stackable-window.h
5096 Added hildon_stackable_window_go_home()
5098 * examples/Makefile.am
5099 * examples/hildon-stackable-window-example.c
5100 HildonStackableWindow example
5102 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5104 * hildon-pannable-area.c: Added the overshoot property and removed
5105 the OVERSHOOT define. Fixed an indent style error.
5106 (hildon_pannable_area_motion_notify_cb):
5107 (hildon_pannable_area_get_property):
5108 (hildon_pannable_area_set_property): Add overshoot property.
5110 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5113 (hildon_pannable_area_class_init): Installed the new property.
5115 * hildon-pannable-area-example.c: Added a sawtooth function, this
5116 way it is easier to check the movement in the pannable.
5117 (get_sawtooth_label): Added this function.
5118 (main): Now we get the labels from the new get_sawtooth_label
5121 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5123 * src/hildon-app-menu.h
5124 * src/hildon-app-menu.c
5125 Renamed API variables for consistency
5127 (hildon_app_menu_popup): Use also the default window size to
5128 decide where to place the menu
5130 (hildon_app_menu_init, hildon_app_menu_class_init): New
5131 external-border style property
5133 2008-05-26 Michael Natterer <mitch@imendio.com>
5135 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5136 widget_class->tap_and_hold_setup signal slot doesn't exist any
5137 longer, stop overriding it.
5139 (hildon_time_editor_init): g_signal_connect() to the
5140 tap-and-hold-setup signal instead.
5142 (hildon_time_editor_entry_keypress): add cast to fix warning.
5144 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5146 * doc/hildon-docs.sgml
5148 * examples/Makefile.am
5149 * examples/hildon-app-menu-example.c
5151 * src/hildon-app-menu-private.h
5152 * src/hildon-app-menu.c
5153 * src/hildon-app-menu.h
5155 New HildonAppMenu widget
5157 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5159 Rearranged the inheritance of the pannable area, now it inherits
5160 from GtkBin. This will allow us to control the event_window and
5161 the allocation process of the widget, required for some effects.
5163 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5164 GtkBin structures. * src/hildon-pannable-area.c: Added the
5165 event_window variable.
5166 (hildon_pannable_area_button_press_cb):
5167 (hildon_pannable_area_button_release_cb):
5168 (hildon_pannable_area_motion_notify_cb):
5169 Changed the signature of the method, now we override the event
5170 callback instead of connecting to the signal.
5172 (hildon_pannable_area_realize):
5173 (hildon_pannable_area_unrealize):
5174 (hildon_pannable_area_map):
5175 (hildon_pannable_area_unmap):
5176 (hildon_pannable_area_size_allocate):
5177 Added functions to control the widget construction. We add a
5178 INPUT_ONLY window and we put it over the widgets inside the
5179 container, this event_window handles the events.
5181 (hildon_pannable_area_class_init):
5182 Replaced the signal connections with overrides of the event
5185 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5187 Bouncing effect added when touching the borders, you can change
5188 the elasticity of the border changing the ELASTICITY define.
5190 * src/hildon-pannable-area.c: Added ELASTICITY define.
5191 (hildon_pannable_area_timeout): Added inverse velocity when
5192 touching the border of the child widget, that causes a bounce.
5194 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5196 Improved performance, we now do not go to the X server in order to
5197 get the list of window children. Apparently the effect is the
5198 same, we have to be careful and check if this breaks something in
5201 * src/hildon-pannable-area.c:
5202 (get_ordered_children): Removed this function.
5203 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5204 the children windows function with gdk_window_get_children.
5206 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5208 * src/hildon-pannable-area.c:
5209 (hildon_pannable_area_dispose): Fixed a crash when closing the
5210 window and kinetics is activated.
5212 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5214 * src/hildon-pannable-area.h
5215 * src/hildon-pannable-area.c
5216 Changed indentation style to meet the one used in Hildon
5218 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5220 Reviewed the interaction of the AUTO mode, now we use the time
5221 attribute of the events and calculate the velocity in the motion,
5222 doing a gimp like calculation. The velocity is calculated in each
5223 motion event using the last velocity and the current one, the
5224 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5226 * src/hildon-pannable-area.c: Replaced the time based algorithm
5228 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5229 timeout for the AUTO mode when we are still moving the cursor. We
5230 added also the velocity calculation in this function.
5231 (hildon_pannable_area_button_release_cb): launch the timeout in
5232 case we are in AUTO mode. There are still some constants here that
5233 come from the old implementation that should be reviewed and
5236 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5238 * doc/hildon-docs.sgml
5241 * src/hildon-stackable-window.c
5242 * src/hildon-stackable-window.h
5244 New HildonStackableWindow widget
5246 * examples/hildon-dialog-example.c
5247 * examples/hildon-pannable-area-example.c
5250 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5252 * src/hildon-dialog.c
5253 (hildon_dialog_new_with_buttons): New constructor.
5255 * examples/hildon-dialog-example.c
5256 (main): Update the example to use the new
5257 hildon_dialog_new_with_buttons().
5259 * examples/hildon-pannable-area-example.c
5260 (main): Update example.
5262 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5264 * doc/hildon-docs.sgml
5266 Added HildonPannableArea to the documentation.
5268 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5270 * doc/visual_index.xml
5271 Fix reference to HildonLoginDialog in documentation
5273 * doc/hildon-docs.sgml
5275 * examples/Makefile.am
5276 * examples/hildon-dialog-example.c
5278 * src/hildon-dialog.c
5279 * src/hildon-dialog.h
5281 New HildonDialog widget.
5283 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5285 * src/hildon-pannable-area.c
5286 Merge latest changes (r4318, r4342) from libmokoui trunk
5288 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5290 * examples/Makefile.am
5291 * examples/hildon-pannable-area-example.c
5293 * src/hildon-pannable-area.c
5294 * src/hildon-pannable-area.h
5296 New HildonPannableArea widget.
5298 2008-04-15 18:05:19 <timj@imendio.com>
5300 * src/hildon-banner.c: revert the recent change, that introduced
5301 gtk_window_present() calls. this reopens:
5302 Bug 78481 - [freetest] information banners are hidden under browser menu
5303 But resolves another variant of:
5304 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5306 2008-04-15 13:21:13 <timj@imendio.com>
5308 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5309 recreated its layout, spotted by Kris. this fixes all remaining
5310 artefacts and stability issues with the banner code. in particular:
5311 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5313 2008-04-14 16:52:59 <timj@imendio.com>
5315 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5316 operating on unrealized widgets, fixes:
5317 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5319 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5321 2008-04-09 Kristian Rietveld <kris@imendio.com>
5323 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5324 makes banner disappear.
5325 Fixes: NB#79182: info banner flickering with certain message lengts.
5327 * src/hildon-banner.c (hildon_banner_constructor),
5328 (hildon_banner_init), (hildon_banner_set_text),
5329 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5330 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5331 FALSE, reset size requests of label and banner,
5332 (force_to_wrap_truncated): when the text is too wide, always enforce
5333 the maximum possible width instead of recalculating it from the
5334 layout; enforce the maximum banner height of 3 lines,
5335 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5336 nicer wrapping and no truncated chars if space gets tight.
5338 * src/hildon-banner-private.h: add has_been_wrapped and
5339 has_been_truncated fields.
5341 2008-04-07 Sven Herzberg <sven@imendio.com>
5343 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5344 local values in hildon_date_editor_size_allocate
5346 * src/hildon-date-editor.c: moved the real allocation code into the
5349 2008-04-07 Sven Herzberg <sven@imendio.com>
5351 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5352 local values in hildon_date_editor_size_allocate
5354 * src/hildon-date-editor.c: merged the two if() branches together
5356 2008-04-07 Sven Herzberg <sven@imendio.com>
5358 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5359 local values in hildon_date_editor_size_allocate
5361 * src/hildon-date-editor.c: changed the arguments of the if()
5364 2008-04-07 Sven Herzberg <sven@imendio.com>
5366 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5367 local values in hildon_date_editor_size_allocate
5369 * src/hildon-date-editor.c: split the calculation of the allocation
5370 from the real allocation
5372 2008-03-27 Michael Natterer <mitch@imendio.com>
5374 Fixes: NB#81696: The passcode is not overwritten even after
5377 * src/hildon-code-dialog.c
5378 (hildon_code_dialog_button_clicked)
5379 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5380 because that doesn't overwrite selected text. Instead, emit the
5381 "commit" signal on the entry's im_context so the entry's normal
5382 insert logic is triggered. Set the cursor to the end of the entry
5383 after each insert operation so that we *only* insert in the middle
5384 of the text if something was selected.
5386 2008-03-27 Michael Natterer <mitch@imendio.com>
5388 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5389 selector cannot be opened
5391 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5392 when the popup color selector is created. Please connect to this
5393 signal in order to set the dialog's help ID.
5395 2008-03-25 Sven Herzberg <sven@imendio.com>
5397 Fixes: MB#1212: Hide info banners (infoprints) on click
5399 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5400 extracted the close event simulation into an extra function
5401 (hildon_banner_button_press_event): simulate a close event and destroy
5402 the widget if the event wasn't handled
5403 (hildon_banner_class_init): added the button_press_event handler
5404 (hildon_banner_init): added button-press events to the widget
5406 2008-03-25 Sven Herzberg <sven@imendio.com>
5408 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5409 Patch from: Mohammad Anwari <mdamt@maemo.org>
5411 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5412 instead of the right in RTL mode
5413 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5414 breadcrumb button list in RTL mode
5415 * src/hildon-caption.c: mirror the appearance of the caption widget in
5417 * src/hildon-date-editor.c: mirror appearance of the date editor in
5419 * src/hildon-time-editor.c: mirror appearance of the time editor in
5421 * src/hildon-window.c: fix the position of the popup in RTL mode
5423 2008-03-25 Sven Herzberg <sven@imendio.com>
5425 Amendment to the fix of NB#22072. Fix compilation.
5427 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5429 2008-03-19 Sven Herzberg <sven@imendio.com>
5431 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5434 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5435 timeout id properly when the timeout will disappear this leaves no
5436 artifacts around in the destroy(); there will only be the timeout
5437 created by hildon_banner_ensure_timeout() and adding a new timeout
5438 will also work if the timeout gets removed because the timeout_handler
5441 2008-03-19 Michael Natterer <mitch@imendio.com>
5443 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5445 * src/hildon-volumebar.c
5446 * src/hildon-vvolumebar.c
5447 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5448 the widget becomes focussable at all.
5450 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5451 set the focus to wither the mute button or the volumebar.
5453 Remove own "can-focus" property and instead listen to
5454 notify::can-focus in order to update the widget's state.
5456 Implement GtkWidget::focus() and make sure we can also *leave* the
5457 widget, not only enter it, depending on volumebar orientation and
5458 requested focus direction.
5460 Clean up set_mute() to cooperate nicely with all the above.
5462 2008-03-04 Michael Natterer <mitch@imendio.com>
5464 Fixes: NB#78481: information banners are hidden under browser menu
5466 * src/hildon-banner.c: call gtk_window_present() on the banners so
5467 they are risen if they are already visible.
5469 2008-03-03 Sven Herzberg <sven@imendio.com>
5471 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5473 * examples/hildon-window-menu-example.c: (main): extended the window
5474 menu example to serve as a testcase for automatically added
5475 accelerator groups, too
5476 * src/hildon-window.c: (hildon_window_add_accel_group),
5477 (hildon_window_set_menu): added patch by Tommi Komulainen
5479 2008-03-03 Sven Herzberg <sven@imendio.com>
5481 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5483 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5484 knowledge about the border allocators used within GTK+
5486 2008-02-26 Sven Herzberg <sven@imendio.com>
5488 Fixes: MB#2981: Build with asserts broken
5490 * src/hildon-date-editor.c,
5491 * src/hildon-number-editor.c,
5492 * src/hildon-time-editor.c,
5493 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5494 the proper GType instance check
5496 2008-02-25 Sven Herzberg <sven@imendio.com>
5498 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5500 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5501 * examples/hildon-window-menu-example.c: (main): explicitly show
5503 * src/hildon-window.c:
5504 (hildon_window_set_main_menu): moved most of the code from set_menu()
5505 to this place; skipped the call to gtk_widget_show_all(); also didn't
5506 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5507 (hildon_window_set_menu): removed most of the code, just keep the
5508 questionable gtk_widget_show_all()
5509 * src/hildon-window.h: added the new function and deprecate the old
5512 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5518 * debian/changelog: Updating.
5520 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5523 * pkgconfig/Makefile.am:
5524 * pkgconfig/hildon.pc.in:
5527 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5528 use newly created API_MAJOR_VERSION.
5530 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5536 * debian/changelog: Updating.
5538 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5540 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5542 Add outer_border style property, we use it but don't define it (!).
5546 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5548 * examples/hildon-bread-crumb-trail-example.c (main):
5552 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5554 Fix logic for the bread crumb trail node removal.
5558 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5564 * debian/changelog: Updating.
5566 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5568 Patch by Alejandro to get/set passwords dialogs accesibility.
5570 * hildon-1/src/hildon-get-password-dialog.c:
5571 * hildon-1/src/hildon-set-password-dialog.c:
5572 Set atk_set_name to the passwd entries in order to allow
5573 accessibility by name on this entries.
5575 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5580 * debian/control: Updating gtk dep.
5582 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5584 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5585 USE_MAEMO_GTK is enabled.
5587 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5589 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5590 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5592 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5598 * debian/changelog: Updating.
5600 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5602 * examples/Makefile.am:
5603 * examples/hildon-logical-color-example.c:
5604 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5605 applied + adding a test case. Fixes: NB#71660.
5607 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5609 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5610 to be visible, fixes warning on map for windows without toolbars.
5612 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5614 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5615 2.11.0, add a check for that besides the MAEMO_GTK check.
5617 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5623 * debian/changelog: Updating.
5625 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5627 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5628 visibility. Fixes: NB#70842 and MB#615.
5630 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5632 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5633 set the separator as no-show-all so it doesn't unintentionally appear when
5634 someone does a show_all.
5636 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5638 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5639 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5640 toplevel item. Fixes: NB#62031
5642 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5644 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5645 fix the name of the function in the docs.
5647 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5653 * debian/changelog: Updating.
5655 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5657 * examples/hildon-banner-long-example.c: Adding a test-case for long
5660 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5662 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5664 * src/hildon-color-chooser-dialog.c:
5665 * src/hildon-color-chooser.c:
5666 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5667 memory leaks in font selector and color selector. Fixes: NB#70499 and
5670 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5672 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5674 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5676 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5677 little bit bigger. Fixes: #NB63694.
5679 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5685 * debian/changelog: Updating.
5687 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5690 * doc/hildon-docs.sgml:
5691 * doc/images/bread-crumb-trail.png:
5692 * doc/images/calendar-popup.png:
5693 * doc/images/caption.png:
5694 * doc/images/code-dialog.png:
5695 * doc/images/color-button.png:
5696 * doc/images/color-chooser-dialog.png:
5697 * doc/images/color-chooser.png:
5698 * doc/images/controlbar.png:
5699 * doc/images/date-editor.png:
5700 * doc/images/font-selection-dialog.png:
5701 * doc/images/get-password-dialog.png:
5702 * doc/images/hvolumebar.png:
5703 * doc/images/login-dialog.png:
5704 * doc/images/note.png:
5705 * doc/images/number-editor.png:
5706 * doc/images/range-editor.png:
5707 * doc/images/seekbar.png:
5708 * doc/images/set-password-dialog.png:
5709 * doc/images/sort-dialog.png:
5710 * doc/images/time-editor.png:
5711 * doc/images/time-picker.png:
5712 * doc/images/vvolumebar.png:
5713 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5714 Adding the bread-crumb-trial and helpers to the documentation.
5716 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5718 * examples/hildon-find-toolbar-example.c:
5719 * src/hildon-find-toolbar.c:
5720 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5721 actually continue firing the other handlers if connected. Adding a new
5723 hildon_find_toolbar_get_last_index that gets the index of the most
5724 recently added (last) item. Fixes: NB#52301.
5726 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5728 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5729 behaviour. Fixes: NB#68610.
5731 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5733 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5736 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5738 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5739 when realizing the banner. Should make the infonbanner effect a bit more
5742 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5744 * src/hildon-volumebar.c:
5745 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5746 hildon_volumebar_set_range_insensitive_message and
5747 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5749 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5751 * src/hildon-window.c: Fixing the border freeing on destroy.
5753 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5755 * src/hildon-code-dialog-private.h:
5756 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5757 kw keyboard support in HildonCodeDialog.
5759 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5765 * debian/changelog: Updating.
5767 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5769 * src/hildon-date-editor.c:
5770 * src/hildon-number-editor.c:
5771 * src/hildon-private.c:
5772 * src/hildon-private.h:
5773 * src/hildon-time-editor.c:
5774 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5775 handling in subclassed composite widgets. Fixes: NB#66628.
5777 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5779 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5780 from destroy_ callback as it introduces problems in async dbus signal
5781 handlers. Fixes NB#66673.
5783 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5785 * examples/hildon-hvolumebar-example.c:
5786 * src/hildon-volumebar.c: Improving the focus handling in the
5787 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5788 set_property accessor so that "mute" property can be actually set. I'm
5789 scared that nobody noticed it's totally broken.
5791 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5793 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5796 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5798 * src/hildon-calendar.c:
5799 * src/hildon-number-editor.c:
5800 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5801 matches the spec of 6 chars per second. Fixes: NB#60489.
5803 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5805 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5806 gtk_style_lookup_color sometime returns FALSE even though color was
5807 found and values were filled properly. Weird. Removing the warning for the
5810 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5812 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5813 expand vertically. Adding some extra space to the find toolbar buttons to
5814 make them thumbable. Fixes NB#66060.
5816 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5819 popup with "Ok" and "Cancel". Fixes NB#59299.
5821 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5823 * src/hildon-calendar.c: Process all window updates before executing next
5824 timeout. Fixes: NB#54146.
5826 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5832 * debian/changelog: Updating.
5834 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5836 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5837 the client event and ignore it, since we use the delete event to close
5840 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5842 * src/hildon-helper.c: Remove the bogus warning about color not being
5843 found. Fixes NB#58352.
5845 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5847 * examples/Makefile.am:
5848 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5849 HildonSeekbar widget inside a toolbar.
5851 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5853 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5854 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5855 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5856 don't want to be closed by non-temporary windows on map.
5858 Also use G_DEFINE_TYPE instead of manually typed code.
5860 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * debian/rules: Updating.
5869 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5871 * examples/Makefile.am:
5872 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5873 bug NB#61128. Strangely it works.
5875 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5877 * src/hildon-date-editor.c: When the date editor entry has been changed
5878 but the numbers of characters < max, turn off the skip validation flag.
5879 Prevents a situation when we enter first a valid year and later re-write
5880 it with an invalid one. Fixes NB#60154.
5882 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5884 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5885 code dialog. Fixes NB#64355.
5887 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5889 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5890 switching the page. Fixes NB#49374.
5892 * examples/Makefile.am:
5893 * examples/hildon-wizard-dialog-example.c: Adding an example for
5894 HildonWizardDialog that shows how to handle manual sensitivity setting on
5897 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5901 * src/hildon-version.h.in:
5902 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5904 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5906 * src/hildon-volumebar.c: Updating the docs.
5908 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5914 * debian/changelog: Updating.
5916 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5918 * src/hildon-find-toolbar.c:
5919 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5920 selected item: hildon_find_toolbar_set_active,
5921 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5922 hildon_find_toolbar_get_active_iter . They correspond to respective
5923 GtkComboBox functions.
5925 * examples/Makefile.am:
5926 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5929 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5931 * examples/Makefile.am:
5932 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5935 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5936 when font size > 32 and we pack a focusable widget inside. Actually using
5937 the default response would work too, but since we don't show default
5938 response state in any way (no theming) it would not be visible to the
5939 user. Fixes NB#63430.
5941 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5943 * src/hildon-date-editor.c: Adding the missing variable setter in the
5944 set_property handler. Fixes NB#54182.
5946 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5948 * src/hildon-window.h: Changing the long key press time from 1500ms to
5949 800ms as requested in NB#63700. I have a bad feeling about this, let's
5950 see... Fixes NB#63700.
5952 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5954 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5955 hildon_time_picker_map, hildon_time_picker_realize,
5956 hildon_time_picker_style_set): Split the contents of map to more
5957 appropriate functions; set window decorations on realize and update
5958 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5960 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5965 * debian/changelog: Updating.
5967 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5969 * src/Makefile.am: fixed installation of the header files
5971 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5977 * debian/changelog: Updating.
5979 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5981 * configure.ac: Removing some remaining of --enable-xan.
5983 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5985 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5986 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5988 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5989 2.10.12-osso6 because the move-focus signal needs to be available in
5992 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * examples/Makefile.am:
5995 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5996 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5997 fine. Prolly NB#61128 is fixed now.
5999 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6001 * src/hildon-volumebar.c:
6002 * src/hildon-volumebar.h: Adding the
6003 hildon_volumebar_set_range_insensitive_message and
6004 hildon_volumebar_set_range_insensitive_messagef functions to set
6005 insensitive message on the slider of the volumebar. Fixes NB#61129.
6007 * examples/Makefile.am:
6008 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6009 test the new insensitive messsage functionality on HildonVolumebar.
6011 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6013 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6016 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6018 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6019 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6020 button on after clearing the trail.
6022 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6024 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6026 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6028 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6029 by splitting the installed headers in generated and non-generated groups. Use
6030 only the non-generated headers to create the hildon-enum-types.h file.
6032 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6034 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6036 * src/hildon-window.c: Hide the window before performing the destroy.
6037 Should make the app closing a little tiny bit more snappy.
6039 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6041 * src/hildon-seekbar.c: add gtkrange.h header
6042 * src/hildon-caption.c: remove unused variable
6044 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6046 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6049 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6055 * debian/changelog: Updating.
6057 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6059 * src/hildon-window.c (hildon_window_window_state_event,
6060 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6061 escape timeout on focus-out-event rather than notify::is-topmost; the
6062 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6064 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6066 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6067 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6069 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6071 * src/hildon-window: actually, you need to use the macro always, there's
6072 no private pointer in the instance structure. We should have cleaned this up
6073 when we had the chance...
6075 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6077 * src/hildon-window.c: do not get the private date from HildonWindow before
6078 it passes the g_return_if_fail check. Once it's passed the test, there's no
6079 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6080 if you are only going to access the data once. Whitespace cleanups.
6082 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6084 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6085 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6087 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6093 * debian/changelog: Updating.
6095 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6097 * src/hildon-window.c: When destroying the window, remove (if exists) the
6098 escape timeout handler. Fixes #NB59276.
6100 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6102 * src/hildon-banner.c: When realizing the widget, set the window
6103 transiency. Setting the transiency in the gobject constructor is not
6104 good, as the widget is not realized at that point. Fixes: #NB56624.
6106 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6108 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6109 Add padding for future expansions.
6111 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6113 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6114 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6115 will fake an activation on the previous to the last item of the trail, so
6116 the effect can be overrided by the developer as usual.
6117 Also change the callback for the back button to do the same thing, so its
6118 effect can be overrided too. Fixes: NB#58982
6120 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6122 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6123 HildonCaption. Fixes NB#52379.
6125 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6127 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6128 the internal state of the trail after the user has had the chance of executing
6129 his handler for the signal. Specifically, it may happen that the activated button
6130 is removed and the user still lets the default handler run. This would segfault
6133 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6135 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6136 scrollbar to the preview dialog. Fixes NB#54147.
6138 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6140 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6141 max/min year properties can be altered, so the client can modify it
6142 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6144 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6146 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6147 hildonlike by default. Fixing a problem with disappearing arrows when
6148 scrolling through months and years. Fixes NB#54127.
6150 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6152 * examples/hildon-date-editor-example.c: Adding error callback to the date
6155 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6161 * configure.ac: Updating.
6163 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6165 * configure.ac: Adding a special '--enable-xan' configure option that
6166 turns off the -Werror compilation setting. Usefull for development.
6168 * src/hildon-calendar.c:
6169 * src/hildon-number-editor.c:
6170 * src/hildon-time-picker.c: Adding the 5* multiplier to
6173 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6175 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6176 instead of g_object_ref + gtk_object_sink.
6178 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6184 * debian/changelog: Updating.
6186 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6188 * src/hildon-color-chooser-dialog.c:
6189 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6190 straight from Tommi labs.
6192 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6194 * examples/hildon-finger-example.c: Correcting the header file path.
6196 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6197 the changed signal. Fixes a small memory leak.
6199 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6203 * src/hildon-banner.c: Importing several usefull fixes from the
6204 ubuntu-mobile branch.
6206 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6208 * examples/Makefile.am:
6209 * examples/hildon-finger-example.c: Adding a finger-checking code
6212 * src/hildon-font-selection-dialog.c: Do not allocate the color
6213 structure using the g_new. Fixes NB#54061.
6215 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6217 * src/hildon-helper.c: Correcting tabs in file.
6219 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6221 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6222 control the visibility of the children.
6224 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6226 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6232 * debian/changelog: Updating.
6234 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6236 * src/hildon-bread-crumb-trail.c:
6237 (hildon_bread_crumb_trail_size_allocate):
6239 Make the back button always a square.
6241 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6243 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6244 from the .c file as it's a private file.
6246 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6248 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6249 uses slightly bigger height.
6251 * src/hildon-font-selection-dialog.c: Adding some checks before
6252 freeing memory in the font selection dialog.
6254 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6256 * src/hildon-font-selection-dialog.c: Adding a small check when
6259 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6260 buttons sensitivity on page switching.
6262 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6264 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6265 internal details of adding a bread crumb to the trail.
6267 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6273 * debian/changelog: Updating.
6275 * src/hildon-bread-crumb-trail.h:
6276 * src/hildon-bread-crumb.h: Changing the API guard to
6277 HILDON_ENABLE_UNSTABLE_API.
6279 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6287 * src/hildon-helper.h: Updating.
6289 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6297 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6301 * src/hildon-helper.h: Small fix to make the package actually compile.
6303 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6305 * src/hildon-bread-crumb-trail.h:
6306 * src/hildon-bread-crumb.h:
6308 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6309 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6311 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6313 * examples/hildon-bread-crumb-trail-example.c:
6315 * src/hildon-bread-crumb-trail.c:
6316 * src/hildon-bread-crumb-trail.h:
6317 * src/hildon-bread-crumb.c:
6318 * src/hildon-bread-crumb.h:
6319 * src/hildon-marshalers.list:
6320 * src/hildon-bread-crumb-widget.c:
6321 * src/hildon-bread-crumb-widget.h:
6323 Slight change in the widget design. The bread crumb trail API is
6324 unchanged, but HildonBreadCrumb is now an interface. A *private*
6325 implementation, hildon-bread-crumb-widget, is provided and used
6326 internally by the trail for the push_text/push_icon functions.
6328 The generic push API is still available, so anyone can implement
6329 and use its own bread crumb widget.
6331 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6333 * debian/rules: Fixing the shlibs.
6335 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6337 * src/hildon-banner.c: Fixing a problem with timed banners having
6338 their parrent destroyed before they are.
6340 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6342 * src/hildon-bread-crumb.c:
6343 * src/hildon-bread-crumb.h:
6345 Make the get_natural_size function a vfunc.
6347 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6349 * src/hildon-bread-crumb.c:
6350 * src/hildon-bread-crumb-trail.c:
6354 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6361 * debian/changelog: Updating for release.
6363 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6365 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6366 don't leak the pango layout.
6368 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6371 * examples/hildon-bread-crumb-trail-example.c:
6375 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6377 * debian/changelog: Removing the bug-fixed entries that were actually
6378 resolved as WONTFIX.
6380 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6383 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6385 * src/hildon-bread-crumb-trail.c:
6386 * src/hildon-bread-crumb-trail.h:
6387 * src/hildon-bread-crumb.c:
6388 * src/hildon-bread-crumb.h:
6392 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6394 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6395 until it's passed the type check.
6397 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6399 * examples/hildon-bread-crumb-trail-example.c
6403 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6405 * examples/Makefile.am
6406 * examples/hildon-bread-crumb-trail-example.c
6408 * src/hildon-bread-crumb-trail.c
6409 * src/hildon-bread-crumb-trail.h
6410 * src/hildon-bread-crumb.c
6411 * src/hildon-bread-crumb.h
6413 New HildonBreadCrumbTrail widget.
6415 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6417 * src/hildon-range-editor.c (hildon_range_editor_init),
6418 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6419 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6420 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6421 hildon_time_editor_class_init, hildon_time_editor_init),
6422 src/hildon-get-password-dialog.c (invalid_input,
6423 hildon_get_password_set_property, hildon_get_password_get_property,
6424 create_contents, hildon_get_password_dialog_set_max_characters),
6425 src/hildon-set-password-dialog.c (create_contents),
6426 src/hildon-date-editor.c (hildon_date_editor_init),
6427 src/hildon-login-dialog.c (hildon_login_dialog_init),
6428 src/hildon-number-editor.c (hildon_number_editor_init),
6429 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6430 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6431 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6432 configure option and adding the respective checks in the code.
6433 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6434 hildon_calendar_drag_data_received): fixed some build warnings.
6436 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6438 * debian/changelog: A 1.0.0 release notes.