1 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
4 full height of the toolbar for the button and the label.
6 2009-02-18 Alberto Garcia <agarcia@igalia.com>
8 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
9 padding before the label and after the button.
11 2009-02-18 Alberto Garcia <agarcia@igalia.com>
13 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
15 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
16 Add a GtkVSeparator between the button and the back arrow.
17 Let the button have automatic size.
18 Set a name to the widget for theming handling.
20 Fixes: NB#101793 (Make edit toolbar the same height as window
21 title bar (use title area theming))
23 2009-02-18 Alberto Garcia <agarcia@igalia.com>
25 * src/hildon-helper.c (attach_new_color_element): Fix memory
28 Fixes: NB#102262 (memory leak in hildon_button_set_style())
30 2009-02-18 Alberto Garcia <agarcia@igalia.com>
32 * examples/hildon-button-example.c (common_buttons_window): Don't
35 2009-02-18 Alberto Garcia <agarcia@igalia.com>
37 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
38 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
40 2009-02-18 Alberto Garcia <agarcia@igalia.com>
42 * src/hildon-gtk.c: Check that the window is realized.
44 Fixes: NB#102225 (Crash setting the progress indicator to a non
47 2009-02-17 Alberto Garcia <agarcia@igalia.com>
49 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
50 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
51 instead of modifying the one in the widget style.
53 Fixes: NB#101043 (Second row of all the command button are
54 displayed in transparent mode.)
56 2009-02-17 Alberto Garcia <agarcia@igalia.com>
58 * src/hildon-date-button.c
59 * src/hildon-time-button.c: Add gettext macros
61 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
63 * src/hildon-date-button.c (hildon_date_button_new):
64 * src/hildon-time-button.c (hildon_time_button_new_step):
65 Use new logical strings to set the button default title.
67 Fixes: NB#99915 (Date and Time options are not localised in Date
70 2009-02-16 Alejandro G. Castro <alex@igalia.com>
72 * src/hildon-pannable-area.c
73 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
74 the PANNING_THRESHOLD.
76 2009-02-16 Alejandro G. Castro <alex@igalia.com>
78 * src/hildon-pannable-area.c,
79 (hildon_pannable_area_class_init): Increased the maximum speed.
80 (hildon_pannable_area_get_property),
81 (hildon_pannable_area_set_property),
82 (hildon_pannable_area_timeout): Added a new low friction mode, it
83 allows the user avoid friction when launching the widget fast
84 enough. It is interesting to traverse long lists.
86 2009-02-16 Alberto Garcia <agarcia@igalia.com>
88 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
89 (+hildon_stackable_window_delete_event): Ignore delete events if
90 the window is not the topmost one.
92 Fixes: NB#101698 (Back button long press and delete-event handling)
94 2009-02-16 Alejandro G. Castro <alex@igalia.com>
96 * src/hildon-pannable-area.c,
97 (hildon_pannable_area_motion_notify_cb): Removed the use of the
98 gtk-dnd-drag-threshold, it was too big. We have defined our own
99 dnd define and set a smaller value: PANNIG_THRESHOLD.
101 2009-02-16 Alberto Garcia <agarcia@igalia.com>
103 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
104 user-defined icons, use always the default one.
106 Fixes: NB#101916 (Do not allow custom icons on animation banner)
108 2009-02-13 Alejandro G. Castro <alex@igalia.com>
110 This patch was applied before but reverted because it caused
111 problems, we have changed the main condition and tested the
112 regressions we detected before and they work ok.
114 * src/hildon-pannable-area.c,
115 (hildon_pannable_area_get_topmost): Added a new parameter to
116 filter the the windows that do not include those events. Added
117 also a condition when finding the window to filter windows that do
118 not ask for those events.
119 (hildon_pannable_area_button_press_cb),
120 (hildon_pannable_area_button_release_cb),
121 (hildon_pannable_get_child_widget_at): Reviewed the call the the
122 topmost function, we have added the new parameter.
124 Fixes: NB#97458 (Pannable area prevents propagation of button
127 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
129 * tests/check-hildon-color-button.c (START_TEST): do not leak
132 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
134 * src/hildon-font-selection-dialog.c
135 (hildon_font_selection_dialog_get_preview_text): Return NULL
136 instead of FALSE on the g_return_val_if_fail().
138 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
140 * src/hildon-time-selector.c (hildon_time_selector_set_time):
141 * src/hildon-date-selector.c
142 (hildon_date_selector_select_current_date):
143 Do not compare unsigned integers to be greater than or equal 0,
144 because it's always TRUE.
146 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
148 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
149 (hildon_date_selector_constructor): Do not select the current
150 date until we are handle the "changed" signal, to avoid having bogus
151 elements in the days model.
153 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
155 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
156 for num_days, since _month_days() can return a negative value.
158 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-caption.c (hildon_caption_size_allocate):
161 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
162 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
164 Initialize allocation variables to 0, to avoid eventually using
165 unitialized variables.
167 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
169 * src/hildon-bread-crumb-trail.c
170 (hildon_bread_crumb_trail_size_allocate):
171 * src/hildon-calendar.c (hildon_calendar_set_background):
172 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
173 * src/hildon-range-editor.c (hildon_range_editor_get_range):
174 * src/hildon-seekbar.c (hildon_seekbar_init):
175 * src/hildon-time-editor.c (hildon_time_editor_get_time):
176 * src/hildon-time-selector.c (hildon_time_selector_finalize):
177 * src/hildon-touch-selector-entry.c
178 (hildon_touch_selector_get_text_from_model):
179 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
180 * src/hildon-window.c (hildon_window_finalize):
182 Remove many unused variables.
184 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
186 * src/hildon-seekbar.c: (hildon_seekbar_init),
187 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
189 Remove unnecessary g_assert() calls.
191 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
193 * src/hildon-caption.c: (hildon_caption_expose),
194 (hildon_caption_set_property), (hildon_caption_init),
195 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
196 (hildon_caption_size_request), (hildon_caption_size_allocate),
197 (hildon_caption_forall), (hildon_caption_set_separator),
198 (hildon_caption_activate), (hildon_caption_set_child_expand),
199 (hildon_caption_set_label_text),
200 (hildon_caption_get_label_alignment):
202 Remove unnecessary g_assert() calls.
204 2009-02-12 Alberto Garcia <agarcia@igalia.com>
206 * src/hildon-banner.c
207 (hildon_banner_map, hildon_banner_init): Make banner temporary
208 before mapping it to avoid closing other temporary windows, but
209 make it non-temporary afterwards to avoid being closed by other
210 non-temporary windows.
211 (-hildon_banner_client_event, hildon_banner_init):
212 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
214 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
217 2009-02-11 Alberto Garcia <agarcia@igalia.com>
219 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
222 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
224 * src/hildon-remote-texture.c
225 * src/hildon-remote-texture.h
226 * src/hildon-remote-texture-private.h
227 * examples/hildon-remote-texture-example.c:
228 Updates/fixes to remote-texture and its example.
230 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
232 Patch by Mox Soini (ext-mox.soini@nokia.com)
234 * src/hildon-code-dialog.c: Update logical id.
235 * src/hildon-set-password-dialog.c: Update logical id.
237 Fixes: NB#100646 (Logical strings is shown for ok in set
238 password,Password needed dialogs)
240 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
243 * src/hildon-remote-texture.c
244 * src/hildon-remote-texture.h
245 * src/hildon-remote-texture-private.h
247 Added remote texture widget (for Clutter shared memory textures)
249 * examples/hildon-remote-texture-example.c
250 * examples/Makefile.am
251 Added example file for remote texture usage
253 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
255 * configure.ac: post release version bump.
256 * debian/changelog: version bump.
258 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
263 * configure.ac: Bump version.
264 * debian/changelog: Updates.
266 2009-02-06 Alberto Garcia <agarcia@igalia.com>
268 * src/hildon-date-selector.c (hildon_date_selector_init)
269 (hildon_date_selector_constructor): Don't connect to the "changed"
270 signal until the selector is completely constructed.
272 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
274 * src/hildon-touch-selector.c: (_create_new_column),
275 (hildon_touch_selector_append_column),
276 (hildon_touch_selector_set_column_selection_mode),
277 (hildon_touch_selector_set_active),
278 (hildon_touch_selector_select_iter):
279 Emit the HildonTouchSelector::changed signal every time selection
280 is changed in any of the methods above. This behavior was already
281 documented but not fully functional.
283 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
284 selection is programmatically changed)
286 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
288 * doc/hildon-sections.txt: Remove obsolete icon
289 sizes from here as well.
291 2009-02-05 Alberto Garcia <agarcia@igalia.com>
293 * examples/hildon-stackable-window-example.c (add_window): Remove
296 2009-02-05 Alberto Garcia <agarcia@igalia.com>
298 * src/hildon-app-menu.c
299 (hildon_app_menu_show): Check whether the parent window of a menu
300 is topmost before popping it up.
302 Fixes: NB#100468 (Application menu window is launched even when a
303 new secondary-window/dialog is pending to be shown/realized.)
305 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
307 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
310 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
312 Patch by Mox Soini (ext-mox.soini@nokia.com)
314 * src/hildon-banner.c: (hildon_banner_show_animation):
315 use stylus size instead of obsolete note size.
316 * src/hildon-defines.h: Update icon sizes.
318 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
320 * src/hildon-touch-selector-entry.c:
321 (hildon_touch_selector_entry_init): Disable unsupported
323 (hildon_touch_selector_entry_get_text_column): Emit a warning
324 if an unsupported input modes is used and explicitile state
325 these modes in the documentation.
327 Fixes: NB#99802 (Hildon touch selector entry not working properly
328 for some of the input modes)
330 2009-02-05 Alejandro G. Castro <alex@igalia.com>
332 * src/hildon-pannable-area.c,
333 (hildon_pannable_area_init): Added the changed signal handlers of
336 Fixes: NB#100320 (HildonPannableArea does not listen to
337 GtkAdjustment "change" signals)
339 2009-02-04 Alberto Garcia <agarcia@igalia.com>
341 * doc/hildon-sections.txt
342 * src/hildon-window-private.h
343 * src/hildon-window.h
344 * src/hildon-window.c (hildon_window_init)
345 (hildon_window_realize, hildon_window_unrealize)
346 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
347 (hildon_window_size_request, hildon_window_size_allocate)
348 (hildon_window_forall, hildon_window_show_all)
349 (hildon_window_destroy, +paint_edit_toolbar)
350 (+hildon_window_set_edit_toolbar):
351 New hildon_window_set_edit_toolbar() method, to add a
352 HildonEditToolbar to a window without having to pack it manually.
354 Reorganize hildon_window_size_allocate()
356 * src/hildon-edit-toolbar.c: Update documentation.
358 * examples/hildon-edit-toolbar-example.c (edit_window): Update
359 example to use the new API.
361 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
363 2009-02-04 Alberto Garcia <agarcia@igalia.com>
365 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
366 Remove from stack before calling parent's hide.
368 2009-02-04 Alberto Garcia <agarcia@igalia.com>
370 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
371 window is removed from the middle of the stack, update the
372 transiency of the previous one.
374 Fixes: NB#100487 (HildonStackableWindow transiency becomes
377 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
379 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
380 block/unblock the signal handler if it's not actually being used.
381 Fixes some critical warnings.
383 2009-02-02 Alberto Garcia <agarcia@igalia.com>
385 Based on a patch by Iván Gómez (igomez@igalia.com)
387 * src/hildon-banner.c
391 * src/hildon-pannable-area.c
392 * src/hildon-picker-dialog.c
393 * src/hildon-wizard-dialog.h
394 * src/hildon-wizard-dialog.c: Documentation updates.
396 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
397 gtk_dialog_add_button() instead of hildon_dialog_add_button().
399 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
401 * configure.ac: post release version bump.
402 * debian/changelog: version bump.
404 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
409 * configure.ac: Bump version.
410 * debian/changelog: Updates.
412 2009-01-29 Alberto Garcia <agarcia@igalia.com>
414 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
415 a stock icon nor change the relief of the back arrow.
417 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
420 2009-01-29 Alberto Garcia <agarcia@igalia.com>
422 * src/hildon-button.c (hildon_button_set_alignment): Use
423 priv->alignment if the button has no child yet.
425 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
427 * src/hildon-button.c: (hildon_button_init): Set the
428 button style during initialization to give it the proper
431 Fixes: NB#99713 (HildonButton value label color is wrong)
433 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
435 * src/hildon-touch-selector.c: Document
436 hildon_touch_selector_center_on_selected()
438 2009-01-28 Alberto Garcia <agarcia@igalia.com>
440 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
441 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
442 all menu items, but not the menu itself.
443 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
444 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
445 items after adding them to the menu so keyboard accelerators work.
446 (hildon_app_menu_show): Don't show the menu if it contains items
447 but none of them are visible.
449 * examples/hildon-app-menu-example.c (create_menu): Use
450 gtk_widget_show_all() to show all menu items.
452 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
454 * src/hildon-picker-dialog.c:
455 (-_update_title_on_selector_changed_cb),
456 (-_dialog_update_title): Removed.
457 (_select_on_selector_changed_cb), (_on_dialog_response),
458 (on_selector_columns_changed): Do not update the dialog title.
459 (setup_interaction_mode): Do not connect to
460 HildonTouchSelector::changed signal if there's a "done" button, as
461 the dialog title doesn't need to be updated.
463 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
466 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
468 Patch by Kristian Rietveld (kris@imendio.com)
470 * src/hildon-touch-selector.c: (_create_new_column): Use new
471 GtkTreeView::hildon-row-tapped signal to react to user interactions
472 instead of ::changed.
474 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
475 with some dynamic tree model)
477 2009-01-27 Alberto Garcia <agarcia@igalia.com>
479 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
480 (+screen_size_changed, +label_size_request)
481 (hildon_note_class_init): Make the Hildon information note have a
482 minimum height, and make its text hvae a maximum width.
484 Fixes: NB#98614 (Hildon information note (background) should have
485 minimum height and maximum text width)
487 2009-01-26 Alberto Garcia <agarcia@igalia.com>
489 * src/hildon-banner.h
490 * src/hildon-banner.c (hildon_banner_show_information)
491 (hildon_banner_show_informationf)
492 (hildon_banner_show_information_with_markup): Update documentation
493 to reflect that the icon_name parameter is not used anymore.
494 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
495 Remove all code from these functions and mark them as deprecated.
496 (hildon_banner_show_progress): Mark as deprecated.
498 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
500 2009-01-26 Alejandro G. Castro <alex@igalia.com>
502 * src/hildon-pannable-area.c,
503 (hildon_pannable_area_class_init),
505 (hildon_pannable_draw_vscroll),
506 (hildon_pannable_draw_hscroll),
507 (hildon_pannable_area_expose_event): Added a new way to render the
508 scrollbars of the pannable area avoiding using cairo at all. This
509 way we improve the performance of the pannable area rendering. The
510 cairo rendering procedure is still in the code, we can control
511 which one to use changing the value of the define
512 USE_CAIRO_SCROLLBARS.
514 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
516 * configure.ac: post release version bump.
517 * debian/changelog: version bump.
519 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
524 * configure.ac: Bump version.
525 * debian/changelog: Updates.
527 2009-01-23 Alberto Garcia <agarcia@igalia.com>
529 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
530 banners instead of destroying them when they receive a button
533 2009-01-23 Alejandro G. Castro <alex@igalia.com>
535 Reverted commit 34028, it was causing regressions, probably the
536 topmost condition is not correct, we have to check it in more
537 detail. We have reponed the bug: NB#97458 (Pannable area prevents
538 propagation of button press events)
540 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
542 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
543 that the selection is not empty before attempting to retrieve the
544 current ampm selection.
546 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
548 * src/hildon-picker-button.c:
549 (hildon_picker_button_on_dialog_response): Directly update the
550 button contents when required instead of calling _selection_changed.
552 2009-01-23 Alberto Garcia <agarcia@igalia.com>
554 * src/hildon-program.c (hildon_program_update_top_most): Update
555 'is-topmost' property also when wm_hints is not set.
557 Fixes: NB#98383 (is-topmost signal is not emitted when task
558 switcher is clicked.)
560 2009-01-23 Alejandro G. Castro <alex@igalia.com>
562 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
566 * src/hildon-animation-actor.c,
567 * src/hildon-animation-actor.h: Added the animation actor class,
568 this widget represents an animation actor for WM-assisted
569 animation effects in the Hildon framework.
571 2009-01-23 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-window-stack-private.h
574 * src/hildon-window-stack.c
575 * src/hildon-stackable-window.c (hildon_stackable_window_show):
576 Avoid calling gtk_widget_show() again indirectly from
577 hildon_stackable_window_show()
579 2009-01-23 Alberto Garcia <agarcia@igalia.com>
581 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
584 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
586 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
587 (hildon_time_selector_init): Move the construction of the hours and
588 ampm columns to the constructor to preserve the order the columns
591 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
593 * src/hildon-picker-dialog.c:
594 (hildon_picker_dialog_class_init): Connect a realize method.
595 (+hildon_picker_dialog_realize): Setup the interaction mode here
597 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
598 yet, do it during the realize instead.
599 (_on_dialog_response):
600 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
601 if the widget is not realized, to avoid the dialog response before it
604 Avoid premature responses in the HildonPickerDialog that can cause it
605 to be hidden before it's even shown.
607 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
609 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
610 (on_selector_columns_changed), (requires_done_button),
611 (+prepare_action_area), (setup_interaction_mode),
612 (_hildon_picker_dialog_set_selector):
614 Split the interaction mode setup into preparation of the
615 action area (prepare_action_area()) and the connection of
616 the signals in setup_interaction_mode() and update the code to
619 2009-01-22 Alejandro G. Castro <alex@igalia.com>
621 * src/hildon-pannable-area.c,
622 (hildon_pannable_area_class_init): Reduced the amount of scrolls
623 per second to 15, we will check if this is ok regarding
626 2009-01-22 Alejandro G. Castro <alex@igalia.com>
628 * src/hildon-pannable-area.c,
629 (hildon_pannable_axis_scroll): Avoid resize if we already have
630 reached overshoot_max.
632 2009-01-22 Alejandro G. Castro <alex@igalia.com>
634 * src/hildon-pannable-area.c,
635 (hildon_pannable_area_init),
636 (hildon_pannable_area_realize),
637 (hildon_pannable_area_size_allocate),
638 (hildon_pannable_area_map),
639 (hildon_pannable_area_unmap),
640 (hildon_pannable_draw_vscroll),
641 (hildon_pannable_draw_hscroll),
642 (hildon_pannable_area_expose_event),
643 (hildon_pannable_area_refresh): Added a new GdkWindow to the
644 pannable are to avoid the expose events go to the window and
645 redraw the window. We save this way that part of the stack and the
646 paint_boxes. We had to change the positions of the elements when
649 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
651 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
652 * src/hildon-color-chooser-dialog.c:
653 (hildon_color_chooser_dialog_init):
654 * src/hildon-font-selection-dialog.c:
655 (hildon_font_selection_dialog_init),
656 (hildon_font_selection_dialog_show_preview):
657 * src/hildon-get-password-dialog.c:
658 * src/hildon-login-dialog.c:
659 * src/hildon-set-password-dialog.c:
660 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
661 * src/hildon-time-picker.c: (hildon_time_picker_init):
663 Remove obsolete logical string IDs and update to the appropriate ones.
665 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
667 2009-01-21 Alberto Garcia <agarcia@igalia.com>
669 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
670 that happens if the window hasn't been realized yet.
672 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
673 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
675 2009-01-20 Alberto Garcia <agarcia@igalia.com>
677 * src/hildon-app-menu.c (hildon_app_menu_class_init)
678 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
681 Fixes: NB#98537 (Device hangs in account settings dialog)
683 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
685 * configure.ac: post release version bump.
686 * debian/changelog: version bump
688 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
693 * configure.ac: Bump version.
694 * debian/changelog: Updates.
696 2009-01-20 Alejandro G. Castro <alex@igalia.com>
698 Added a new function to the HildonTimeButton widget that allows to
699 change the step of the minutes in the selector associated with the
700 button: hildon_time_button_new_step
702 * src/hildon-time-button.c,
703 (hildon_time_button_init),
704 (hildon_time_button_new),
705 (hildon_time_button_new_step):
706 * src/hildon-time-button.h: Added the new function and refactored
708 * examples/hildon-time-button-example.c,
709 (main): We have replaced the function without parameters with the
710 function with the steps set to 5
712 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
714 2009-01-20 Alejandro G. Castro <alex@igalia.com>
716 * src/hildon-time-selector.c,
717 (hildon_time_selector_class_init),
718 (hildon_time_selector_constructor),
719 (hildon_time_selector_get_property),
720 (hildon_time_selector_set_property),
721 (_create_minutes_model),
722 (hildon_time_selector_new_step),
723 (hildon_time_selector_set_time),
724 * src/hildon-time-selector.h: Added a new property to the
725 HildonTimeSelector (minutes-step), we use that property to control
726 the steps between the minutes in the list of the selector. We have
727 added a new function to the API to create a widget changing the
728 step: hildon_time_selector_new_step.
730 2009-01-20 Alejandro G. Castro <alex@igalia.com>
732 * src/hildon-time-selector.c,
733 (hildon_time_selector_class_init),
734 (hildon_time_selector_constructor),
735 (hildon_time_selector_init): Overrided the construct function when
736 creating the time selector object. We have moved the minutes model
737 handling code from the init to the new construction function:
738 hildon_time_selector_constructor.
740 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
742 * examples/hildon-date-button-example.c: (main): Use the new
743 hildon_date_button_new_with_year_range() method in the example.
744 * src/hildon-date-button.c:
745 (+hildon_date_button_new_with_year_range): New public method
746 to conveniently create a HildonDateButton with a custom year range
747 in its HildonDateSelector.
748 * src/hildon-date-button.h: Add the new public method definition.
750 Fixes: NB#97908 (Not possible to change the year range in
751 HildonDateSelector/HildonDateButton)
753 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
755 * src/hildon-date-selector.c:
756 (+hildon_date_selector_set_property),
757 (+hildon_date_selector_get_property),
758 (hildon_date_selector_class_init): Install new properties "min-year"
759 and "max-year" to define boundaries for the year column.
760 (_create_year_model): Use the boundary properties to populate the model.
761 (+hildon_date_selector_new_with_year_range): New public method to
762 create a HildonDateSelector with a user defined year range.
763 (hildon_date_selector_select_current_date): Use the new boundaries to
764 calculate the iterator of current year.
765 * src/hildon-date-selector.h: Add the new public method definition.
767 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
769 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
770 Install a constructor method.
771 (+hildon_date_selector_construct_ui): construct the widget.
772 (+hildon_date_selector_constructor): new constructor.
773 (+hildon_date_selector_init): move out widget construction code to
776 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
778 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
779 that there's actually a month or year selected before obtaining them.
780 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
781 of the HildonTouchSelector::changed signal, as it was emitted on every
782 single item selection.
784 Fix some warnings and possible crashers due to the selection restoring.
786 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
788 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
789 the signal handlers only after creating the dialog instead of on every
792 2009-01-19 Alberto Garcia <agarcia@igalia.com>
794 * src/hildon-button.c (hildon_button_init)
795 * src/hildon-check-button.c (hildon_check_button_init)
796 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
797 focus when clicked by default.
799 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
801 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
804 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
806 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
807 Alejandro G. Castro (alex@igalia.com)
809 * src/hildon-picker-dialog.c:
810 (hildon_picker_dialog_class_init): install new "center-on-show"
812 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
813 (hildon_picker_dialog_set_property): add setter code for the new
815 (hildon_picker_dialog_get_property): add getter code for the new
817 (hildon_picker_dialog_show): Ensure visibility of selected items in the
818 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
821 Fixes: NB#92849 (Selected item is not always visible when
822 HildonTouchSelector is shown)
824 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
826 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
827 Alejandro G. Castro (alex@igalia.com)
829 * src/hildon-touch-selector.c:
830 (_create_new_column): Do not connect to the "realize" signal of the
832 (hildon_touch_selector_append_column): center on the selected items
833 when a new column is appended.
834 (hildon_touch_selector_select_iter): Factor out the code to select a
835 column to hildon_touch_selector_scroll_to().
836 (+search_nearest_element): Method to retrieve the nearest selected
837 element to the visible area of the pannable area in a column.
838 (+on_realize_cb): scroll to the initially selected item.
839 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
840 the pannable area is realized, otherwise delay this until it is.
841 (+_hildon_touch_selector_center_on_selected_items): Centers on the
842 selected items of a given column.
843 (+hildon_touch_selector_center_on_selected): Public method to center
844 all columns on the nearest selected item.
845 * src/hildon-touch-selector.h: Add definition for
846 hildon_touch_selector_center_on_selected().
848 Implement public API to ensure visibility of all selected items in
849 a HildonTouchSelector.
851 2009-01-16 Alejandro G. Castro <alex@igalia.com>
853 Fixed a problem in the fading when calling the scroll_to API, and
854 improve scrollbar fading handling.
856 * src/hildon-pannable-area.c,
857 (hildon_pannable_area_grab_notify): avoid the timeout when the
859 (hildon_pannable_area_button_press_cb),
860 (hildon_pannable_area_motion_notify_cb): Code style changes.
861 (hildon_pannable_area_button_release_cb): Review the conditions
862 when releasing the mouse button to avoid unrequired fading
864 (hildon_pannable_area_scroll_to): Do not calculate and set the
865 velocity if the scroll is not required.
867 2009-01-15 Alberto Garcia <agarcia@igalia.com>
869 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
870 Don't check whether the new selector is NULL: it cannot be.
871 Hold a reference to the selector while doing the replacement.
873 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
875 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
876 unnecessary size_request in a removed widget.
878 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
880 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
881 an unnecessary reference tracking that was leaking.
883 2009-01-15 Alejandro G. Castro <alex@igalia.com>
885 Added delayed motion notify event handling, this way we can
886 discard redrawing if more than 25 events arrive per second.
888 * src/hildon-pannable-area.c,
889 (hildon_pannable_area_init): Initialized the new private atributes
890 controlling this timeout
891 (hildon_pannable_area_dispose): Remove the timeout that controls
892 the motion notify events.
893 (hildon_pannable_area_scroll): Added a condition to control the
894 use of the acceleration.
895 (hildon_pannable_area_motion_event_scroll_timeout),
896 (hildon_pannable_area_motion_event_scroll): Added this two
897 functions, they handle the motion notify events inside the
899 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
900 to the scroll method with the new function.
901 (hildon_pannable_area_button_release_cb): We have to remove the
902 timeout handler and move to the last position if the last motion
903 events were not handled.
905 Fixes: NB#97028 (Pannable area updates on every motion event)
907 2009-01-15 Alejandro G. Castro <alex@igalia.com>
909 * src/hildon-pannable-area.c,
910 (hildon_pannable_area_get_topmost): Added a new parameter to
911 filter the the windows that do not include those events. Added
912 also a condition when finding the window to filter windows that do
913 not ask for those events.
914 (hildon_pannable_area_button_press_cb),
915 (hildon_pannable_area_button_release_cb),
916 (hildon_pannable_get_child_widget_at): Reviewed the call the the
917 topmost function, we have added the new parameter.
919 Fixes: NB#97458 (Pannable area prevents propagation of button
922 2009-01-15 Alejandro G. Castro <alex@igalia.com>
924 * src/hildon-pannable-area.c,
925 (hildon_pannable_area_initial_effect): Added controls before
926 launching the timeout and the idle functions.
927 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
928 of the method, in some situations it can return with TRUE and 0 in
930 (hildon_pannable_area_button_press_cb): We do not need to set
931 DELAY for fading out here.
933 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
935 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
937 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
938 post-cleaning if the selection is not NULL.
940 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
942 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
943 all items before restoring the selection.
945 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
947 * src/hildon-touch-selector.c:
948 (+hildon_touch_selector_unselect_all):
949 * src/hildon-touch-selector.h: New API to unselect all items in a
950 column of the touch selector.
952 2009-01-14 Alejandro G. Castro <alex@igalia.com>
954 * src/hildon-pannable-area.c,
955 (hildon_pannable_area_redraw): Added a call to the refresh
956 function inside the redraw because apparently in some cases the
957 change in the adjustment does not imply a size allocate.
959 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
960 despite the view not being scrollable)
962 2009-01-14 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
965 leak. Check for NULL before attempting to set the window title.
967 2009-01-14 Alberto Garcia <agarcia@igalia.com>
969 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
970 whether to show or not the 'Done' button each time the dialog is
971 shown, as it depends on the HildonTouchSelector selection mode.
973 Fixes: NB#96226 (In multiple selection mode Done button is shown
974 sometimes in listpicker)
976 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
978 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
979 for the number of columns in the HildonTouchSelector more than once.
981 2009-01-14 Alberto Garcia <agarcia@igalia.com>
983 * src/hildon-touch-selector.c: Minor documentation fixes.
985 * src/hildon-picker-dialog.c (+_dialog_update_title)
986 (_select_on_selector_changed_cb)
987 (_update_title_on_selector_changed_cb)
988 (on_selector_columns_changed): Update dialog title when there's no
989 'Done' button and also when the number of columns in the selector
993 * src/hildon-picker-button.c (hildon_picker_button_finalize)
994 (+_selection_changed, hildon_picker_button_on_dialog_response)
995 (hildon_picker_button_selector_selection_changed)
996 (+hildon_picker_button_selector_columns_changed)
997 (hildon_picker_button_set_selector): Update button value and emit
998 'value-changed' when the number of columns in the selector
1002 Fixes: NB#96225 (Dialog titles are not shown according to the
1003 values selected in the list picker)
1005 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1007 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1008 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1009 New "arrow-width" and "arrow-height" style properties to set the
1010 size of the arrow button.
1011 Set name of arrow button ("hildon-edit-toolbar-arrow").
1013 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1014 graphics from theme)
1016 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1018 * src/hildon-picker-button.c:
1019 (hildon_picker_button_selector_selection_changed): Use
1020 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1021 the dialog is present.
1023 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1024 the selection is accepted in the dialog)
1026 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1028 * src/hildon-color-chooser.h
1029 * src/hildon-color-chooser-dialog.h:
1030 Added G_BEGIN_DECLS and G_END_DECLS
1032 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1034 (_clean_current_selection): plug a leak in the list.
1036 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-picker-dialog.c:
1039 (+free_path_list): Method to free a GList of GtkTreePaths.
1040 (_clean_current_selection), (_save_current_selection),
1041 (_restore_current_selection): Save the current selection in
1042 as a list of lists, to support multiple selection properly.
1044 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1046 patch by Claudio Saavedra (csaavedra@igalia.com)
1048 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1049 Store the press position.
1050 (+hildon_text_view_button_release_event): If the release position is
1051 close enough to the press position, move the cursor here. Otherwise,
1053 (hildon_text_view_class_init): Override GtkTextView press, release, and
1054 motion event handlers, disabling this way text selection through
1055 pointer interaction, and allowing the container widget to handle the
1058 Fixes: NB#95828 (HildonTextView functionality)
1060 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1062 Based on a patch by Iván Gómez (igomez@igalia.com)
1064 * src/hildon-button.[ch]
1065 * src/hildon-calendar.c
1066 * src/hildon-check-button.c
1067 * src/hildon-date-editor.c
1068 * src/hildon-date-selector.c
1069 * src/hildon-picker-button.c
1070 * src/hildon-time-editor.c
1071 * src/hildon-time-selector.c
1072 * src/hildon-touch-selector.[ch]:
1073 Documentation updates
1075 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1077 * src/hildon-pannable-area.c,
1078 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1079 threshold, it was required due to X events handling.
1081 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1083 * src/hildon-pannable-area.c,
1084 (hildon_pannable_area_grab_notify),
1085 (hildon_pannable_area_initial_effect),
1086 (hildon_pannable_area_button_press_cb),
1087 (hildon_pannable_area_button_release_cb),
1088 (hildon_pannable_area_scroll_cb),
1089 (hildon_pannable_area_scroll_to): Review the timeout management of
1090 the scrollbar, the frecuency was incorrectly set.
1092 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1094 * src/hildon-picker-button.c:
1095 (+hildon_picker_button_on_dialog_response),
1096 (hildon_picker_button_clicked): Present the dialog instead of
1097 running it with gtk_dialog_run().
1099 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1102 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1104 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1105 (hildon_app_menu_finalize): When a window is hidden it doesn't
1106 emit notify::is-topmost, so make sure than the menu also
1107 disappears in that case.
1108 (parent_window_topmost_notify): Renamed from parent_window_hidden
1110 Fixes: NB#94460 (stackable window's menu is not closed when its
1113 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1115 * src/hildon-touch-selector-entry.c:
1116 (+hildon_touch_selector_entry_set_input_mode),
1117 (+hildon_touch_selector_entry_get_input_mode):
1118 * src/hildon-touch-selector-entry.h: New methods to access the input
1119 mode in the selector's entry.
1121 Fixes: NB#93410 (API required for setting IM mode in
1122 HildonTouchSelectorEntry)
1124 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1126 * configure.ac: post release version bump.
1127 * debian/changelog: version bump
1129 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1134 * configure.ac: Bump version.
1135 * debian/changelog: Updates.
1137 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1139 * src/hildon-touch-selector.c:
1140 (_hildon_touch_selector_has_multiple_selection): No need
1141 to initialize the variables here.
1143 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1145 * src/hildon-note-private.h
1146 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1147 (hildon_note_finalize, hildon_note_rebuild): Close information
1148 notes when they receive a button press.
1150 Fixes: NB#89890 (Information notes does not get disappeared after
1153 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1155 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1156 mark from the wizard title, as it's not really necessary. Also,
1157 do not display the page title if not set.
1159 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1161 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1162 (parent_window_hidden): Use the window's "is-topmost" property to
1163 detect when to hide the menu.
1165 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1167 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1168 (hildon_app_menu_finalize): If the parent window of the menu is
1169 hidden, hide the menu too.
1171 Fixes: NB#94460 (stackable window's menu is not closed when its
1174 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1177 * debian/libhildon1-examples.install
1179 * examples/Makefile.am:
1180 Use dh_install to install all examples.
1181 Use DEB_SRCDIR instead of defining SOURCE_DIR
1183 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1185 * configure.ac: post release version bump.
1186 * debian/changelog: version bump
1188 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1193 * configure.ac: bump version
1194 * debian/changelog: updates
1195 * debian/control: bump gtk+ dependency
1197 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1199 patch by Christian Dywan (christian@imendio.com)
1201 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1202 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1204 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1206 * src/hildon-check-button.c (hildon_check_button_init)
1207 (hildon_check_button_class_init, hildon_check_button_style_set)
1208 (hildon_check_button_apply_style):
1209 New "checkbox-size" style property.
1211 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1212 larger / configurable size)
1214 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1216 * configure.ac: post release version bump.
1217 * debian/changelog: version bump
1219 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1224 * configure.ac: bump version
1225 * debian/changelog: updates
1227 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1229 * doc/hildon-sections.txt
1230 * src/hildon-pannable-area.c
1231 * src/hildon-program.c
1232 * src/hildon-time-editor.c
1233 * src/hildon-touch-selector-entry.c:
1235 More documentation updates.
1237 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1239 * doc/hildon-sections.txt
1240 * src/hildon-caption.c
1241 * src/hildon-code-dialog.c
1242 * src/hildon-color-button.c
1243 * src/hildon-controlbar.c
1244 * src/hildon-date-editor.c
1245 * src/hildon-date-selector.c
1246 * src/hildon-edit-toolbar.c
1247 * src/hildon-find-toolbar.c
1248 * src/hildon-font-selection-dialog.c
1250 * src/hildon-program.c
1251 * src/hildon-range-editor.c
1252 * src/hildon-seekbar.c
1253 * src/hildon-time-editor.c
1254 * src/hildon-time-selector.c
1255 * src/hildon-volumebar-range.c
1256 * src/hildon-volumebar.c
1257 * src/hildon-vvolumebar.c
1258 * src/hildon-weekday-picker.c
1259 * src/hildon-window.c
1260 * src/hildon-wizard-dialog.c:
1262 Lots of documentation fixes.
1264 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1266 Patch contributed by Iván Gómez (igomez@igalia.com)
1268 * src/hildon-check-button.c:
1269 * src/hildon-date-button.c:
1270 * src/hildon-date-selector.c:
1271 * src/hildon-dialog.c:
1272 * src/hildon-edit-toolbar.c:
1273 * src/hildon-entry.c:
1274 * src/hildon-picker-button.c:
1275 * src/hildon-program.c:
1276 * src/hildon-text-view.c:
1277 * src/hildon-time-button.c:
1278 * src/hildon-touch-selector-entry.c:
1279 * src/hildon-window-stack.c:
1281 Add more "since" tags to the new API.
1283 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1285 * doc/hildon-sections.txt: Add below method.
1286 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1287 version for the hildonized scale.
1288 * src/hildon-gtk.h: Add the definition.
1290 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1292 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1294 * doc/hildon-sections.txt: Add missing entries for new methods.
1296 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1298 Added API to pannable are in order to get its adjustments. We
1299 added two properties to manage the values we had in the private
1302 * src/hildon-pannable-area.c:
1303 (hildon_pannable_area_class_init): Added hadjustment and
1304 vadjustment properties in order to expose horizontal and vertical
1306 (hildon_pannable_area_get_property),
1307 (hildon_pannable_area_set_property): Added code to handle the new
1309 (hildon_pannable_area_get_hadjustment),
1310 (hildon_pannable_area_get_vadjustment): API functions to get the
1312 * src/hildon-pannable-area.h:
1313 (hildon_pannable_area_get_hadjustment),
1314 (hildon_pannable_area_get_vadjustment): API functions to get the
1317 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1319 Fixed some leaks, after valgrinding.
1321 * src/hildon-touch-selector.c:
1322 (_default_print_func): Fixed a leak.
1323 (hildon_touch_selector_append_column): Fixed a leak.
1324 * src/hildon-date-button.c:
1325 (hildon_date_button_init): Fixed a leak.
1326 * src/hildon-date-selector.c
1327 (hildon_date_selector_finalize): Fixed a leak.
1329 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1331 Based on a patch by Christian Dywan (christian@imendio.com)
1333 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1335 * src/hildon-gtk.h: Add definition.
1337 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1339 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1341 * src/hildon-picker-button.c: (hildon_picker_button_init),
1342 (hildon_picker_button_new): Set the HildonButton::style property
1343 in the init method, to propagate the value to the derived classes.
1345 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-button.c: (hildon_button_class_init): Do not make
1348 the "style" property a construct property.
1350 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1352 * src/hildon-wizard-dialog.h
1353 * src/hildon-wizard-dialog.c
1354 (hildon_wizard_dialog_set_forward_page_func)
1355 * src/hildon-pannable-area.h
1356 * src/hildon-pannable-area.c
1357 (hildon_pannable_area_set_size_request_policy):
1358 Documentation fixes.
1360 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1362 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1364 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1366 * doc/hildon-sections.txt: Added sections file.
1368 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/*.[ch]: Updates.
1373 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1375 * examples/hildon-progress-indicator-example.c: new file
1376 * examples/Makefile.am: include the new example program
1378 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1382 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1384 * configure.ac: post release version bump
1385 * debian/changelog: version bump
1387 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1392 * configure.ac: bump version
1393 * debian/changelog: updates
1394 * debian/control: bump gtk+ dependency
1396 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-dialog.c: Mark as deprecated.
1399 * src/hildon-dialog.h: Mark as deprecated.
1400 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1401 from HildonDialog and still work, even if
1402 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1403 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1405 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1406 maemo changes) instead)
1408 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1410 * src/hildon-pannable_area.h:
1411 * src/hildon-pannable_area.c:
1412 (hildon_pannable_area_class_init),
1413 (hildon_pannable_area_set_property),
1414 (hildon_pannable_area_get_property),
1415 (hildon_pannable_area_size_request),
1416 (hildon_pannable_area_get_size_request_policy),
1417 (hildon_pannable_area_set_size_request_policy): Added new API
1418 allowing applications to control the request policy. Now they can
1419 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1420 children allocation (HILDON_MOVEMENT_CHILDREN).
1422 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1426 (hildon_gtk_tree_view_set_ui_mode)
1427 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1428 mode of treeviews and iconviews.
1430 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1432 * src/hildon-touch-selector-entry.c:
1433 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1434 of a GtkEntry to get proper theming.
1436 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1437 widget, not GtkEntry)
1439 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1442 no HildonWizardDialogPageFunc.
1444 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1446 Patch contributed by Iván Gómez (igomez@igalia.com)
1448 * src/hildon-app-menu.c:
1449 * src/hildon-button.c:
1450 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1451 * src/hildon-stackable-window.c:
1452 * src/hildon-time-selector.c:
1453 * src/hildon-touch-selector.c:
1454 * src/hildon-window.c:
1456 Add more "since" tags to the new API in hildon 2.2.
1458 2008-12-05 Tim Janik <timj@imendio.com>
1460 Patch contributed by Christian Dywan (christian@imendio.com)
1462 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1463 HildonSizeType, which are supplied by Gtk+ now.
1465 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1467 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1468 (with maemo changes) instead)
1470 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1472 Patch contributed by Iván Gómez (igomez@igalia.com)
1474 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1477 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1479 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1480 (some_page_func), (main): Update the example to use a
1481 HildonWizardDialogPageFunc function.
1483 * src/hildon-wizard-dialog-private.h: Add private data for
1484 the HildonWizardDialogPageFunc function usage.
1486 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1487 (destroy), (hildon_wizard_dialog_init), (response),
1488 (hildon_wizard_dialog_set_forward_page_func):
1489 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1490 that applications can use to stop a HildonWizardDialog to jump to
1493 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1496 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1498 * src/hildon-program.h
1499 * src/hildon-program-private.h
1500 * src/hildon-program.c (hildon_program_init)
1501 (hildon_program_set_common_app_menu)
1502 (hildon_program_get_common_app_menu):
1503 New API for setting a common HildonAppMenu for all
1504 HildonStackableWindows registered with the HildonProgram.
1506 * src/hildon-stackable-window.c
1507 (hildon_stackable_window_toggle_menu):
1508 Use the common HildonAppMenu if a window doesn't have a specific
1511 * src/hildon-app-menu-private.h
1512 * src/hildon-app-menu.c
1513 (hildon_app_menu_get_parent_window):
1514 Function to obtain the window a HildonAppMenu is attached to.
1515 (hildon_app_menu_set_parent_window):
1516 Hide the menu if the parent window is set to NULL.
1518 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1520 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1521 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1522 search widget to popup.
1524 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1526 * configure.ac: post release version bump
1527 * debian/changelog: version bump
1529 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1534 * configure.ac: bump version
1535 * debian/changelog: updates
1537 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1539 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1541 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1542 (hildon_window_stack_window_realized)
1543 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1544 Set the leader GdkWindow when a window is stacked and realized,
1545 unset it when it's unstacked.
1546 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1548 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1550 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1552 * src/hildon-stackable-window.h
1553 * src/hildon-window-stack.h:
1554 Protect definition of HildonWindowStack using the preprocessor.
1556 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1558 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1559 Fix warning if all menu items are hidden.
1561 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1563 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1565 * src/hildon-controlbar.c:
1566 * src/hildon-hvolumebar.c:
1567 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1568 Multiple scale size defines updates.
1570 Fixes: NB#94322 (Scale Updates)
1572 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1574 * examples/hildon-app-menu-example.c (create_menu)
1575 Show items after adding them to the menu, as in the future the
1576 menu will no longer call gtk_widget_show() on the added items.
1578 * src/hildon-app-menu.c:
1579 Update example as explained above.
1581 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1583 * src/hildon-app-menu.c
1584 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1585 Make sure that all menu items have finger height.
1587 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1589 * src/hildon-picker-dialog.c:
1590 (_on_dialog_response), (_save_current_selection),
1591 (_restore_current_selection), (_clean_current_selection),
1592 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1593 Defined new functions in order to save the current internal selector
1594 selection previous open the dialog, in case that the use cancel the
1595 interaction, so the widget restores the previous selection.
1597 Fixes: NB#92032 (In calendar application, date values in 'new event'
1600 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1602 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-button.c: Add a reference to the button examples in
1605 hildon-button-example.c
1607 * examples/hildon-button-example.c: Added examples of the most
1608 common button layouts.
1610 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1612 * src/hildon-app-menu.c (hildon_app_menu_show)
1613 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1615 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1617 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1619 * src/hildon-picker-dialog.c:
1620 (hildon_picker_dialog_init): Initialize the signal id for
1621 HildonTouchSelector::columns-changed.
1622 (+on_selector_columns_changed): Set up the interaction mode everytime a
1623 column is added or removed from the HildonTouchSelector.
1624 (_hildon_picker_dialog_set_selector): Connect to
1625 HildonTouchSelector::columns-changed and keep track of it.
1627 Make sure to update the interaction mode of the dialog everytime a
1628 column is added or removed in the HildonTouchSelector.
1630 Fixes: NB#93228 (Done button is not shown always in listpicker)
1632 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1634 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1635 a new ::columns-changed signal.
1636 (hildon_touch_selector_append_column): Emit ::columns-changed.
1637 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1639 Add a ::columns-changed signal, emitted when the number of columns in a
1640 HildonTouchSelector changes.
1642 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1644 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1645 (_hildon_picker_dialog_set_selector): Factor out the code
1646 to set up the dialog interaction mode.
1648 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1650 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1651 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1652 to signal_changed_id.
1654 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1656 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1659 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1661 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1662 Updated the logical ids related to ampm format, as now it is required to
1663 show it correctly localized even on languages with no default
1664 abbreviations for am or pm
1665 (_check_am_pm_format): check correctly the 24h format gconf property
1667 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1669 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1671 * src/hildon-button.c: Documentation updates.
1673 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1675 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1676 * src/hildon-caption.c: (hildon_caption_class_init):
1677 * src/hildon-color-button.c: (hildon_color_button_class_init):
1678 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1679 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1680 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1681 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1683 Remove deprecated GTK+ marshalers and replace them with the ones
1684 provided by GLib, for those available, add a marshaler for
1685 BOOLEAN:VOID, which is not available in GLib, and use it.
1687 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1689 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1690 the text from the previous column if there is no
1691 HildonTouchSelectorColumn::text-property set.
1693 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1695 * src/hildon-button.h
1696 * src/hildon-button.c (hildon_button_set_property)
1697 (hildon_button_get_property, hildon_button_class_init)
1698 (hildon_button_set_style, hildon_button_get_style):
1699 New "style" property to change the visual appearance of the
1702 * src/hildon-picker-button.c (hildon_picker_button_new):
1703 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1705 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1706 HildonButton look like PickerButton)
1708 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1711 column while building the default string.
1713 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1716 scroll indicator by default.
1718 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1720 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1722 * src/hildon-main.c: Fix the documentation for hildon_init()
1724 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1726 * doc/hildon-docs.sgml
1730 * src/hildon-window-stack-private.h
1731 * src/hildon-window-stack.h
1732 * src/hildon-window-stack.c:
1733 New HildonWindowStack object, that adds support for multiple
1734 stacks of windows per process.
1736 * src/hildon-stackable-window-private.h
1737 * src/hildon-stackable-window.h
1738 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1739 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1740 (hildon_stackable_window_show, hildon_stackable_window_hide)
1741 (hildon_stackable_window_class_init)
1742 (hildon_stackable_window_init):
1743 Use HildonWindowStack for stack management.
1745 * src/hildon-program.c (hildon_program_pop_window_stack)
1746 (hildon_program_peek_window_stack)
1747 (hildon_program_go_to_root_window):
1748 Add a fallback implementation to the deprecated functions using
1751 * examples/hildon-stackable-window-example.c:
1752 Use the new HildonWindowStack API.
1754 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1756 * src/hildon-stackable-window-private.h
1757 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1758 (hildon_stackable_window_hide, hildon_stackable_window_init):
1759 Remove all window stack management.
1761 * src/hildon-program-private.h
1762 * src/hildon-program.h
1763 * src/hildon-program.c (hildon_program_init)
1764 (hildon_program_pop_window_stack)
1765 (hildon_program_peek_window_stack)
1766 (hildon_program_go_to_root_window):
1767 Remove all window stack management and mark functions as
1770 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1772 * src/hildon-app-menu.c (hildon_app_menu_realize):
1773 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1775 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1777 * configure.ac: post release version bump
1778 * debian/changelog: version bump
1780 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1785 * configure.ac: bump version
1786 * debian/changelog: updates
1788 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1790 Based on initial code by Christian Dywan (christian@imendio.com)
1792 * doc/hildon-docs.sgml: Add section for hildon-main.
1793 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1794 * src/Makefile.am: Add new hildon-main.[ch]
1795 * src/hildon-defines.h: Update the icon sizes.
1796 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1797 new library initialization files and register icon sizes.
1798 * src/hildon-main.h: New declarations.
1799 * src/hildon.h: Include hildon-main.h
1801 Add new initialization functions to the library. These methods
1802 will register the hildon specific icon sizes and can be used in the
1803 future for other hildon specific bits.
1805 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1807 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1809 * src/hildon-window.c: (hildon_window_realize),
1810 (hildon_window_notify), (-hildon_window_update_title): Do not set
1811 the application name in the window title.
1813 Fixes: NB#89754 (Applications shouldn't display their names in the
1816 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1818 * src/hildon-note-private.h:
1819 * src/hildon-note.c: (hildon_note_set_property),
1820 (hildon_note_get_property), (hildon_note_class_init),
1821 (hildon_note_init), (hildon_note_finalize),
1822 (hildon_note_new_confirmation_with_icon_name),
1823 (hildon_note_new_information_with_icon_name):
1825 No need to mark as deprecated the actual code. Revert
1826 to avoid missing symbols in widgets using deprecated API.
1828 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1830 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1832 * src/hildon-volumebar.h
1833 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1834 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1836 * src/hildon-helper.h
1837 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1838 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1840 * examples/Makefile.am:
1841 Deprecate hildon-insensitive-example
1843 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1845 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1847 * examples/hildon-pannable-area-buttons-scroll-example.c:
1848 Make all buttons finger height
1850 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1852 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1854 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1855 update the day model only if it is really required, and to avoid the
1856 full-reconstruction aproach. Now it only add or remove the required days.
1858 The purpose of this is avoid superfluous HildonTouchSelector::changed
1861 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1862 with strange parameters)
1864 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1866 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1868 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1869 the WINDOW_TYPE property.
1871 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1873 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1876 Fix dependency to allow parallel compilation with make -jX
1878 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1880 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1881 color frame and some minor tweaks to make it more consistent with
1884 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1885 highlighted but not visible)
1887 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1889 * examples/Makefile.am: Fixed typo in the Makefile.am.
1891 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1893 Reviewed the use of MAEMO_GTK define, now we add the define in the
1894 compilation line, and we also add it to the pc file.
1896 * configure.ac: Added MAEMO_GTK define to the compilation command
1897 and removed it from the config.h.
1899 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1900 do not have to take care about this define if the library was
1904 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1906 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1908 * examples/Makefile.am,
1909 * examples/hildon-pannable-area-buttons-scroll-example.c,
1910 * examples/hildon-pannable-area-gesture-signals-example.c,
1911 * examples/hildon-pannable-area-scroll-jump-example.c,
1912 * examples/hildon-pannable-area-tree-view-example.c:
1913 Renamed the pannable area examples, now they have more meaningful
1916 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1918 * src/hildon-touch-selector.c:
1919 (hildon_touch_selector_set_column_selection_mode): Used of
1920 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1921 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1922 to avoid re-seting the same selection mode.
1924 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1925 breaks HildonPickerDialog)
1927 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1929 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1930 conditional in the Makefile.am
1932 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1935 Remove unused methods.
1937 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1939 * src/hildon-button.c (hildon_button_init):
1940 Make button images center-aligned by default
1942 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1945 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1946 activated, we have to think about how to deal with both defines
1947 MAEMO_GTK and MAEMO_CHANGES.
1949 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1951 * examples/hildon-app-menu-example.c (create_menu): Make all
1952 buttons finger size.
1954 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1956 Fixed the compilation without maemo gtk adding ifdefs with
1957 MAEMO_GTK define to the code, we have to check this version more
1960 * examples/Makefile.am: Added control to avoid some examples that
1961 just make sense with maemo gtk.
1964 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1965 hildon modes with the define.
1967 * examples/hildon-edit-toolbar-example.c,
1968 (create_icon_view): Create the icon view without hildon-gtk
1969 helpers if we are not using maemo gtk.
1971 * src/hildon-touch-selector.c,
1972 (_create_new_column): Create the treeview without hildon-gtk
1973 helpers if we are not using maemo gtk.
1975 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1977 * src/hildon-pnnable-area.c,
1978 (hildon_pannable_area_dispose),
1979 (hildon_pannable_area_button_press_cb),
1980 (hildon_pannable_area_child_mapped),
1981 (hildon_pannable_area_add),
1982 (hildon_pannable_area_remove): Added code to control the position
1983 of the event_window when adding and removing children from the
1984 pannable. We have to raise the event window when the child is
1987 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1988 selection mode using custom widget inside pannable)
1990 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1992 * configure.ac: post release version bump
1993 * debian/changelog: version bump
1995 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2000 * configure.ac: bump version
2001 * debian/changelog: updates
2003 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2005 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2006 search mode, in order to avoid lose the focus on the treeview when
2007 a hw key (like enter) is pressed.
2009 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2010 in HildonDateSelector dialog)
2012 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2014 * debian/rules: Added --enable-maintainer-mode
2015 * Makefile.am: Added ACLOCAL_AMFLAGS
2017 This allows to properly regenerate the Makefiles if you modify the
2018 configure.ac or any Makefile.am.
2020 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2022 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2023 properties, not needed at all.
2025 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2027 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2029 * src/hildon-note.c: (hildon_note_set_property),
2030 (hildon_note_get_property), (hildon_note_class_init),
2031 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2032 (hildon_note_new_confirmation_add_buttons): Remove icons.
2033 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2034 (hildon_note_new_information_with_icon_name): Deprecate.
2035 (hildon_note_new_confirmation): Act directly, without calling
2036 the deprecated constructor.
2037 (hildon_note_new_information): Act directly, without calling
2038 the deprecated constructor.
2039 * src/hildon-note.h: Mark deprecate methods as such.
2040 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2041 not run tests on the deprecated methods if built with deprecation
2044 Fixes: NB#91688 (Never show icons in information notes/confirmation
2047 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2049 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2050 (hildon_app_menu_key_press): Remove leftover usage of the
2051 private structure in HildonAppMenu struct.
2052 * src/hildon-app-menu.h: Remove leftover private structure
2053 from the HildonAppMenu struct.
2055 Fixes a crasher when using the HildonAppMenu.
2057 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2059 * src/hildon-picker-dialog.c: Use appropriate logical id
2060 for the default "Done" text.
2062 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2064 * configure.ac: post release version bump
2065 * debian/changelog: version bump
2067 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2069 Modified the way to scroll to the current selection just when the touch
2070 selector is shown on the screen, avoiding a g_idle. Added too a property
2071 to configure this behaviour. See hildon_pannable_area_jump_to_child
2072 documentation for more information.
2074 * src/hildon-touch-selector.c
2075 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2076 Added 'initial-scroll' property
2077 (hildon_touch_selector_set_property): Added
2078 (hildon_touch_selector_map): Removed as not required anymore
2079 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2080 only a concrete column, instead of iterate along all the columns
2082 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2087 * configure.ac: bump version
2088 * debian/changelog: updates
2090 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2092 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2093 compilation time warnings.
2095 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2097 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2098 the default value for HildonPannableArea::mov-mode to
2099 HILDON_PANNABLE_AREA_MODE_VERT.
2101 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2103 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2105 Reverting following commit:
2107 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2109 * src/hildon-app-menu-private.h
2110 * src/hildon-app-menu.[ch]
2111 * src/hildon-button.[ch]
2112 * src/hildon-check-button.[ch]
2113 * src/hildon-entry.[ch]
2114 * src/hildon-pannable-area.[ch]
2115 * src/hildon-text-view.[ch]:
2116 Added private field to the object's structure.
2118 because it causes an ABI breakage. We will need to introduce these
2119 changes later at some point. See NB#91636 for an extensive
2120 explanation and status.
2122 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2124 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2126 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2127 remove special cases that are no longer necessary.
2129 Fixes: NB#91016 (Change toolbar sizes, simplification)
2131 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2134 is shown in the cancel note.
2136 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2139 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2140 (hildon_seekbar_init): Remove steppers, remove expose event.
2141 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2143 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2145 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2147 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2148 label font to "SmallSystemFont" for vertically arranged buttons.
2150 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2153 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-check-button.c
2156 (hildon_check_button_set_active, hildon_check_button_clicked):
2157 Don't access private parts directly, use getters instead.
2159 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2161 * src/hildon-check-button.c (hildon_check_button_new):
2162 Align the contents of the check button to the left.
2164 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2166 * src/hildon-pannable-area.c,
2167 (hildon_pannable_area_scroll_to),
2168 (hildon_pannable_area_jump_to),
2169 (hildon_pannable_area_scroll_to_child),
2170 (hildon_pannable_area_jump_to_child): Replace the mapped
2171 precondition of these functions with the realized, it is the
2172 correct state of the widget in this case. Changed the
2173 documentation according to this modification.
2175 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2177 Added a new EXTRA_CFLAGS option to add the deprecated define to
2178 the compilation command. This way we can avoid using the define in
2179 the documentation compilation.
2181 * configure.ac: Defined EXTRA_CFLAGS.
2183 * examples/Makefile.am:
2185 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2187 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2189 * src/hildon-picker-dialog.c:
2190 Defined a utility macro with the desired touch selector height
2191 Removed currently unused separator, and title_label variables from
2193 (hildon_picker_dialog_init): Removed code related to the creation
2194 of unused private variables title_label and separator.
2195 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2196 to ensure correct visualization of the touch selector inside the dialog.
2197 * src/hildon-touch-selector.c
2198 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2199 ensure a concrete height of the widget.
2201 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2204 * tests/Makefile.am:
2206 Remove spurious whitespaces.
2208 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2210 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2211 compilation warning after the cancel button removal.
2213 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2215 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2217 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2218 Makefile.am, that way we can choose not to compile some examples
2219 and tests of the deprecated widgets.
2221 * examples/Makefile.am: Divided the sources in deprecated and
2224 * src/Makefile.am: Added undef statement of the deprecated
2225 symbol to the enums file generation process.
2227 * src/hildon-color-chooser-dialog.c
2228 * src/hildon-color-chooser-dialog.h
2229 * src/hildon-color-button.c
2230 * src/hildon-color-button.h
2231 * src/hildon-color-chooser.c
2232 * src/hildon-color-chooser.h
2233 * src/hildon-controlbar.c
2234 * src/hildon-controlbar.h
2235 * src/hildon-date-editor.c
2236 * src/hildon-date-editor.h
2237 * src/hildon-hvolumebar.c
2238 * src/hildon-hvolumebar.h
2239 * src/hildon-private.c
2240 * src/hildon-private.h
2241 * src/hildon-range-editor.c
2242 * src/hildon-range-editor.h
2243 * src/hildon-seekbar.c
2244 * src/hildon-seekbar.h
2245 * src/hildon-time-editor.c
2246 * src/hildon-time-editor.h
2247 * src/hildon-time-picker.c
2248 * src/hildon-time-picker.h
2249 * src/hildon-volumebar.c
2250 * src/hildon-volumebar.h
2251 * src/hildon-vvolumebar.c
2252 * src/hildon-vvolumebar.h
2253 * src/hildon-bread-crumb-trail.h
2254 * src/hildon-bread-crumb-trail.c
2255 * src/hildon-calendar-popup.c
2256 * src/hildon-calendar-popup.h
2257 * src/hildon-weekday-picker.c:
2258 * src/hildon-weekday-picker.h:
2259 * src/hildon-bread-crumb-widget.c:
2260 * src/hildon-bread-crumb-widget.h:
2261 * src/hildon-bread-crumb.c:
2262 * src/hildon-bread-crumb.h:
2263 * src/hildon-calendar.c:
2264 * src/hildon-calendar.h:
2265 * src/hildon-caption.c:
2266 * src/hildon-code-dialog.c:
2267 * src/hildon-code-dialog.h:
2268 * src/hildon-font-selection-dialog.c:
2269 * src/hildon-font-selection-dialog.h:
2270 * src/hildon-get-password-dialog.c:
2271 * src/hildon-get-password-dialog.h:
2272 * src/hildon-login-dialog.c:
2273 * src/hildon-login-dialog.h:
2274 * src/hildon-number-editor.c:
2275 * src/hildon-number-editor.h:
2276 * src/hildon-set-password-dialog.c:
2277 * src/hildon-set-password-dialog.h:
2278 * src/hildon-sort-dialog.c:
2279 * src/hildon-sort-dialog.h: This is the list of deprecated
2282 * src/hildon-touch-selector.c:
2283 * src/hildon-window.c: Added undef statement to avoid compilation
2286 * tests/Makefile.am: Divided the sources in deprecated and
2289 * tests/check_test.c,
2290 (configure_tests): Marked the deprecated code that was adding
2291 suites with deprecated tests.
2293 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2295 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2297 * src/hildon-touch-selector.c: (_default_print_func): Do not
2298 duplicate a string returned by gtk_tree_model_get(), it is already
2301 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2304 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2306 * src/hildon-pannable-area.c
2307 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2308 method, it had problems when adding a widget with viewport the
2309 second time. Now checks if it already has a viewport and uses it.
2311 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2314 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2316 * src/hildon-pannable-area.c,
2317 (hildon_pannable_area_scroll_to),
2318 (hildon_pannable_area_jump_to),
2319 (hildon_pannable_area_scroll_to_child),
2320 (hildon_pannable_area_jump_to_child): Added a precondition to the
2321 scroll and jump to functions: the widget must be mapped before we
2322 can safely call these functions. We have also added documentation
2323 to the functions to explain how to use them in this situation.
2326 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2328 Reviewed the threading handling of the pannable widget, we have
2329 used the gdk_threads_add_timeout function instead of the usual
2330 glib handlers. This avoids some problems with the threads.
2332 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2333 (hildon_pannable_area_initial_effect),
2334 (hildon_pannable_area_scroll_indicator_fade),
2335 (hildon_pannable_area_button_press_cb),
2336 (hildon_pannable_area_timeout),
2337 (hildon_pannable_area_motion_notify_cb),
2338 (hildon_pannable_area_button_release_cb),
2339 (hildon_pannable_area_scroll_cb),
2340 (hildon_pannable_area_scroll_to): Removed the
2341 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2342 gdk_threads_add_timeout.
2344 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2346 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2351 * configure.ac: bump version
2352 * debian/changelog: updates
2354 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2356 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2357 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2358 * src/hildon-color-chooser-dialog.c:
2359 (hildon_color_chooser_dialog_init):
2360 * src/hildon-font-selection-dialog.c:
2361 (hildon_font_selection_dialog_init):
2362 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2364 Remove all cancel/close-like dialogs, as these are not going to be
2367 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-note.c: (hildon_note_rebuild),
2370 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2373 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2375 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2377 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2378 sure all buttons are shown, even the Cancel/Close-like ones.
2380 Fixes: NB#90861 (Custom Confirmation dialogs should be
2381 protected from cancel button removal)
2383 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2385 * debian/control: Change libhildon1-examples dependency from libhildon1
2387 * debian/libhildon1-examples.install
2389 * Makefile.am: Modified the final install directory for the examples on
2390 package libhildon1-examples
2391 * Makefile.static: Update clean target in order to remove all the binary
2394 Changes suggested by Claudio after review new libhildon1-examples package
2396 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2399 * src/hildon-touch-selector.c: Ditto.
2401 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2403 * debian/control: Added new package libhildon1-examples, in order to pack
2404 the current hildon examples as documentation
2405 * debian/rules: Not to compress .c files, modify some includes on the
2406 examples (as normally are compiled locally, but when installed it will
2407 require to include the installed libhildon1 library), and rename
2409 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2410 install all the example files on the new example package
2411 * examples/Makefile.static: Added static makefile that can be used to
2412 compile the examples, once installed the new example package
2413 * examples: Most of the examples were modified in order to grant that
2414 all use only '#include "hildon.h"', in order to be easy to prepare
2415 it on the example package
2417 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2420 * debian/libhildon1-dev.install
2421 * debian/libhildon1-doc.install:
2422 Move all gtk-doc files to a separate libhildon1-doc package.
2424 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2426 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2430 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2432 * debian/rules: Fixed a error in order to avoid unnecessary calls
2433 to autogen.sh on package building
2435 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2437 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2439 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2441 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2444 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2446 * src/hildon-picker-button.c
2447 (hildon_picker_button_finalize):
2448 Free priv->done_button_text
2450 * src/hildon-time-button.c
2451 (hildon_time_button_set_time)
2452 * src/hildon-picker-button.c
2453 (hildon_picker_button_clicked)
2454 (hildon_picker_button_selector_selection_changed)
2455 (hildon_picker_button_set_selector)
2456 * src/hildon-date-button.c
2457 (hildon_date_button_set_date):
2458 Free strings returned by hildon_touch_selector_get_current_text()
2460 * src/hildon-button.c (hildon_button_construct_child):
2461 Fix leaks in priv->image and priv->label_box
2463 Fixes: NB#90535 (Memory leak in picker button)
2465 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2467 * src/hildon-button.c: (hildon_button_get_property): Do not access
2468 private elements directly, use getters instead.
2470 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2472 * src/hildon-app-menu-private.h
2473 * src/hildon-app-menu.c
2474 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2475 Store the menu's parent window.
2477 * src/hildon-stackable-window.c
2478 (hildon_stackable_window_toggle_menu)
2479 (hildon_stackable_window_finalize):
2480 Set the menu's parent window when the menu is shown, unset it when
2483 * src/hildon-app-menu.c
2484 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2485 (hildon_app_menu_class_init):
2486 Send unhandled keyboard accelerators to the parent window.
2488 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2490 * src/hildon-stackable-window.c
2491 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2493 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2495 * configure.ac: post release version bump
2497 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2500 * configure.ac: Bump version
2501 * debian/changelog: Updates
2502 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2505 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2507 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2510 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2511 GtkMenu with Hildon style.
2513 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2515 * src/hildon-picker-button.c:
2516 (hildon_picker_button_set_done_button_text): Set the dialog's
2517 done button text here as well.
2519 Fixes: NB#90232 (Picker button does not set the label on done button
2520 for the second time)
2522 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2524 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2527 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2529 * src/hildon-app-menu.c (hildon_app_menu_insert)
2530 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2531 the HildonAppMenu to be activatable using keyboard accelerators
2532 when the menu is not being shown.
2534 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2536 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-stackable-window.c
2539 (hildon_stackable_window_show):
2540 Don't hide old windows automatically when new windows are shown:
2541 this is now a task for the window manager.
2542 (hildon_stackable_window_class_init)
2543 (hildon_stackable_window_hide):
2544 Remove windows from the stack everytime they're hidden.
2545 (hildon_stackable_window_realize):
2546 Don't change the _NET_WM_WINDOW_TYPE property. Use
2547 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2548 it as a stackable window.
2550 * src/hildon-program.c
2551 (hildon_program_pop_window_stack):
2552 Just hide the window to remove it from the stack.
2553 (hildon_program_go_to_root_window):
2554 Don't call gtk_widget_show(), this is now a task for the window
2557 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2559 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-button.c
2562 (hildon_button_construct_child):
2563 Don't pack anything in the button until text or image are
2564 set. This allows adding a custom child after creating the button
2565 with hildon_button_new().
2566 (hildon_button_finalize, hildon_button_class_init)
2567 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2568 alignment and the label box even when they're not packed in the
2571 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2573 * src/hildon-touch-selector.h:
2574 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2575 currently the type definition was using GTK_TYPE_VBOX
2576 * src/hildon-touch-selector.c:
2577 Added some implementation notes in order to clarify that any other widget
2578 added without the column related API will not be included on the
2579 selection logic, and how the widget is freed, as some people ask about
2581 (hildon_touch_selector_remove): Reimplemented in order to free properly
2582 the column related data when you remove the private hbox.
2583 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2584 to get a proper HildonTouchSelectorColumn documentation
2586 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2588 * src/hildon-touch-selector-entry.c:
2589 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2590 text in the GtkEntry and there is no item selected. Fixes a
2593 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-app-menu-private.h
2596 * src/hildon-app-menu.[ch]
2597 * src/hildon-button.[ch]
2598 * src/hildon-check-button.[ch]
2599 * src/hildon-entry.[ch]
2600 * src/hildon-pannable-area.[ch]
2601 * src/hildon-text-view.[ch]:
2602 Added private field to the object's structure.
2604 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2606 * configure.ac: post-release version bump
2608 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2612 * configure.ac: pre-release version bump
2614 * debian/changelog: updates.
2616 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2619 Disconnect the handler for HildonTouchSelector::changed.
2621 (hildon_picker_button_selector_selection_changed): Update the button
2622 value if the selection change was not triggered by the
2625 (hildon_picker_button_set_selector): connect to
2626 HildonTouchSelector::changed.
2628 Fixes: NB#89650 (Picker button is not updated, when selection in
2629 selector has changed)
2631 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2633 * src/hildon-picker-dialog.c
2634 (hildon_picker_dialog_realize): Removed as not required
2635 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2636 * src/hildon-picker-button.c
2637 (_current_selector_empty): New function, checks if the selector is empty
2638 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2639 if the current selector is empty, in order to avoid to show the dialog
2640 close the dialog in this case (and shows a g_warning).
2642 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2644 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2646 * src/hildon-pannable-area.c,
2647 (hildon_pannable_area_scroll): Added clause to stop movement when
2648 the child of pannable is smaller than one page.
2649 (hildon_pannable_area_scroll_to): Added conditions to avoid
2650 starting the scrolling movement if the child is smaller than one
2651 page, the complete child is in the screen, we do not have to move.
2653 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2655 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2658 this is managed automatically by the widget when the size of the
2661 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-picker-button.c
2664 (hildon_picker_button_set_done_button_text): Make a copy of the
2665 text, and free the previous value.
2667 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2669 * src/hildon-touch-selector-entry.c:
2670 (hildon_touch_selector_entry_print_func): Return the selected row's
2671 text if the entry is empty.
2673 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2676 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2678 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2680 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2683 * src/hildon-check-button.h
2684 * src/hildon-check-button.c
2685 * examples/hildon-check-button-example.c:
2686 HildonCheckButton is now a new widget. 'toggled' signal added.
2688 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2690 * src/hildon-program-private.h
2691 * src/hildon-program.c (hildon_program_init)
2692 (hildon_program_finalize): Removed unused variables group_leader
2693 and name from HildonProgramPrivate.
2695 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-check-button.c (hildon_check_button_set_active)
2698 (hildon_check_button_get_active, hildon_check_button_new): Use
2699 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2701 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2703 * src/hildon-touch-selector.h
2704 (hildon_touch_selector_set_column_attributes): added deprecation
2705 guard HILDON_DISABLE_DEPRECATED
2706 * src/hildon-time-selector.c
2707 (hildon_time_selector_set_time)
2708 (hildon_time_selector_get_time): Fixed a typo on documentation
2709 * src/hildon-touch-selector.c: update HildonTouchSelector and
2710 HildonTouchSelectorColumn documentation
2711 * src/hildon-touch-selector-entry.c: update "text-column" property
2713 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2714 to be added to the general documentation.
2716 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2718 * examples/hildon-pannable-area-example-4.c,
2720 * examples/hildon-pannable-area-example.c,
2721 (main): Modified the code in order to use the container add, with
2722 viewport treeviews could have problems if they are really big.
2724 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2726 * src/hildon-weekday-picker.c,
2727 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2728 the agreement regarding deprecation in the library.
2730 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2732 * examples/hildon-picker-button-multicolumn-example.c:
2733 (main): Use custom "done" button text.
2735 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2736 (hildon_picker_button_set_property),
2737 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2738 (hildon_picker_button_init),
2739 (+hildon_picker_button_get_done_button_text),
2740 (+hildon_picker_button_set_done_button_text): New methods to customize
2741 the "done" button label in the launched HildonPickerDialog. Also,
2744 * src/hildon-picker-button.h: add the public API.
2746 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2748 * src/hildon-date-selector.h:
2749 * src/hildon-picker-dialog.h:
2750 * src/hildon-time-selector.h:
2751 * src/hildon-touch-selector-column.h:
2752 * src/hildon-touch-selector.h:
2754 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2755 declarations. Fixes gtk-doc warnings.
2757 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2759 * src/hildon-picker-dialog.h
2760 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2761 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2763 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2764 long text is set as label for done button)
2766 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-dialog.c (hildon_dialog_add_button):
2769 Set fixed width to all buttons in the HildonDialog.
2771 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2773 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2775 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2776 Set widget name using class name plus "-finger" or "-thumb".
2778 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2780 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2781 'clicked' when the state of the button is manually changed.
2783 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2785 * src/hildon-app-menu.c (hildon_app_menu_realize)
2786 (hildon_app_menu_unrealize, hildon_app_menu_init)
2787 (hildon_app_menu_class_init, item_visibility_changed):
2788 Change the menu layout when the size of the screen changes.
2789 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2790 Show warning only when changing the number of colums using the
2793 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2795 * debian/compat: Set to 5
2796 * debian/control: Update dependencies.
2797 * debian/libhildon1-dbg.install: Remove.
2798 * debian/libhildon1-dev.install: Update according to cdbs paths.
2799 * debian/libhildon1.install: Update according to cdbs paths.
2800 * debian/rules: Switch to cdbs.
2802 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2804 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2805 'item' variable renamed to 'filter'
2807 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2809 * src/hildon-app-menu.c (hildon_app_menu_insert)
2810 (hildon_app_menu_add_filter, remove_item_from_list)
2811 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2812 Don't leak hidden items when the menu is destroyed.
2814 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2816 * src/hildon-app-menu.c (hildon_app_menu_insert)
2817 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2818 (hildon_app_menu_set_columns, item_visibility_changed)
2819 (filter_visibility_changed, hildon_app_menu_repack_filters)
2820 (hildon_app_menu_repack_items):
2821 Repack items and filters separately.
2823 Don't repack all items, change only the ones that are needed to
2826 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2828 * src/Makefile.am: added hildon-touch-selector-column.h
2830 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2832 * src/hildon-touch-selector.c: added the property "text-column" to the
2833 class HildonTouchSelectorColumn, and related get/set functions
2834 (_default_printf_func): updated to use "text-column" property
2835 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2836 "text-column" in his documentation, as this is now included on
2837 HildonTouchSelectorColumn. The get/set_property can still be used,
2838 working as a wrapper to the concrete column "text-column" property
2839 (_text_column_modified): callback added in order to handle the signal
2840 "notify::text-column" of the concrete HildonTouchSelectorColumn
2841 (hildon_touch_selector_entry_get_text_column)
2842 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2843 modified in order to use the HildonTouchSelectorColumn "text-column"
2845 * src/hildon-time-selector.c:
2846 * src/hildon-date-selector.c:
2847 * examples/hildon-touch-selector-example.c
2848 * examples/hildon-touch-selector-multi-cells-example.c
2849 * examples/hildon-picker-button-multicolumn-example.c
2850 Set the right value to "text-column" property on the creation of a new
2851 column using hildon_touch_selector_append_column()
2853 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2855 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-app-menu.c
2858 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2859 updating the layout of the menu, don't create all widgets again,
2860 just repack the items in their new places.
2862 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2864 * src/hildon-time-selector.c
2865 (hildon_time_selector_get_time)
2866 (hildon_time_selector_set_time)
2867 Added documentation of these public methods
2869 * src/hildon-date-button.h
2870 * src/hildon-touch-selector-column.h
2871 * src/hildon-time-button.h
2872 * src/hildon-picker-dialog.h
2873 * src/hildon-time-selector.h
2874 * src/hildon-picker-button.h
2875 * src/hildon-touch-selector.h
2876 * src/hildon-time-picker.h
2877 * src/hildon-date-selector.h
2878 * src/hildon-touch-selector-entry.h
2879 Modified in order to use hildon-widgets code style
2881 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2883 Added deprecated support to the compilation process using
2884 HILDON_DISABLE_DEPRECATED
2886 * configure.ac: Added the --disable-deprecated to the configure
2889 * src/hildon-weekday-picker.c:
2890 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2891 to use the deprecated support. We will update the other deprecated
2892 widgets status in a new patch.
2894 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2896 * configure.ac: Fixed typo with fatal warnings support, the
2897 variable name was not correct
2899 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-app-menu.c
2902 * src/hildon-program.c: Update documentation.
2904 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2906 * configure.ac: Post-release version bump.
2908 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2913 * configure.ac: Pre-release version bump.
2914 * debian/changelog: Updates.
2916 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2918 * NEWS: Update news for previous releases.
2920 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2922 * examples/hildon-touch-selector-multi-cells-example.c:
2923 (create_selector): Update the example to use
2924 hildon_touch_selector_append_column() with a NULL renderer and set
2925 the renderers later.
2926 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2927 passed a NULL renderer. This is documented behavior now.
2929 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2930 This must be used if the developer wants full control on the layout of
2931 the renderers to be added to the column.
2933 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2935 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2937 * src/hildon-touch-selector.c: Documentation fixes.
2939 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-wizard-dialog-private.h: Remove image and box.
2942 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2943 (hildon_wizard_dialog_set_property), (response): Completely remove
2944 image/icon support, and the containers required for the layout.
2946 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2948 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-app-menu.c: Updated documentation.
2952 * src/hildon-stackable-window.c
2953 (hildon_stackable_window_set_main_menu): Unref the old menu after
2954 ref'ing the new one.
2956 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-stackable-window.c
2959 (hildon_stackable_window_set_main_menu): Unref the previous menu
2960 instead of destroying it.
2962 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2963 floating reference and set has_user_ref_count to FALSE to make
2964 HildonAppMenu act like a normal ref-counted widget and not a
2967 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2970 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2972 * src/hildon-touch-selector-column.h: new file
2973 * src/hildon-touch-selector.h
2974 * src/hildon-touch-selector.c
2975 Implemented GtkCellLayout interface, in order to allow to configure
2976 the cell layout on each individual selector column
2977 (hildon_touch_selector_set_column_attributes): marked as deprecated
2978 * examples/hildon-touch-selector-multi-cells-example.c
2979 Example of how to use the GtkCellLayout interface on the selector
2981 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2983 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-app-menu.h
2986 * src/hildon-app-menu.c
2987 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2988 (hildon_app_menu_append, hildon_app_menu_prepend):
2989 New methods to prepend, insert and move items in the menu.
2991 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2993 * src/hildon-wizard-dialog.c:
2995 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2997 (create_title): Update logical IDs and related code.
2998 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3000 * src/hildon-wizard-dialog.h: Note that
3001 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3002 point, as it is not used anymore.
3004 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3006 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3008 * src/hildon-note.c:
3009 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3010 shown. Do not display an icon in confirmation notes nor information
3012 (hildon_note_set_button_text): Update logical ID for cancel button.
3014 Fixes: NB#88850 (Update HildonNote button strings + signals)
3016 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3018 * src/hildon-stackable-window.c
3019 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3021 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-app-menu-private.h
3024 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3025 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3026 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3027 temporary property 'columns' to change the number of columns.
3029 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3031 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3033 * examples/hildon-note-example.c: (on_information_clicked),
3034 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3035 debugging information.
3036 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3038 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3039 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3040 in order to close: this will be handled by the WM from now on.
3042 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3044 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3046 * src/hildon-app-menu-private.h
3047 * src/hildon-app-menu.c
3048 (hildon_app_menu_append, hildon_app_menu_add_filter)
3049 (button_visibility_changed, hildon_app_menu_apply_style)
3050 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3051 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3052 layout everytime a button (item or filter) is shown or hidden.
3054 * src/hildon-stackable-window.c
3055 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3058 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3060 * src/hildon-touch-selector.c:
3061 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3062 that the treeview inside the touch selector is in fremantle hildon mode
3063 * examples/hildon-date-button-example.c
3064 * examples/hildon-picker-button-multicolumn-example.c
3065 * examples/hildon-touch-selector-entry-example.c
3066 * examples/hildon-touch-selector-example.c
3067 * examples/hildon-time-button-example.c
3068 * examples/hildon-picker-button-example.c:
3069 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3071 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3073 * examples/hildon-text-view-example.c: (main): Remove the
3074 gtkrc bits, now handled by the theme.
3076 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3078 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3081 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3083 * po/Makefile.am: Install properly the mo files.
3084 * po/en_GB.po: Update translation, to ease testing purposes.
3086 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3088 * examples/hildon-picker-button-example.c: (main): Select an item
3089 in the selector before setting it to the button.
3091 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3093 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3094 Update button's value if the selector has an item active.
3096 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3097 'value' with the selector)
3099 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3101 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3102 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3103 (hildon_picker_button_class_init): Plug the finalize method.
3104 (hildon_picker_button_set_selector): If there's a previously set
3105 selector, unref'it before setting a new one.
3107 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3108 HildonTouchSelector)
3110 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3112 * src/hildon-touch-selector-entry.c:
3113 (hildon_touch_selector_entry_changed): Check if there is no text
3114 selected before setting the entry text.
3117 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3119 * src/hildon-touch-selector.h
3120 * src/hildon-touch-selector.c
3121 (hildon_touch_selector_get_active)
3122 (hildon_touch_selector_set_active): New methods to set/get the
3123 index of the selected item.
3125 * src/hildon-picker-button.h
3126 * src/hildon-picker-button.c
3127 (hildon_picker_button_get_active)
3128 (hildon_picker_button_set_active): New methods to set/get the
3129 index of the selected item.
3131 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3133 * configure.ac: post-release version bump.
3135 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3139 * configure.ac: Pre-release version bump.
3140 * debian/changelog: Updates.
3141 * debian/control: Add myself as maintainer and depend on l10n
3144 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3146 * src/hildon-window.c
3147 (hildon_window_set_main_menu)
3148 * src/hildon-stackable-window.c
3149 (hildon_stackable_window_set_main_menu):
3150 Updated documentation.
3152 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3155 Don't free selector->priv manually.
3158 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3161 (hildon_gtk_window_set_progress_indicator):
3162 * src/hildon-gtk.h: Added the new API
3163 hildon_gtk_window_set_progress_indicator, it changes the state of
3164 the window progress hint.
3166 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-button.c
3169 * src/hildon-stackable-window.c: Minor documentation updates.
3171 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3173 * src/hildon-stackable-window.c: Updated documentation.
3175 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3177 * src/hildon-defines.h: Update margins definitions
3178 to the Fremantle sizes.
3181 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3183 * src/hildon-touch-selector.c,
3184 (_hildon_touch_selector_set_model): Cleaning the code after
3185 review, removed g_print and #if 0 from the code.
3187 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3189 * src/hildon-edit-toolbar.c: Update documentation.
3191 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-check-button.h
3194 * src/hildon-check-button.c
3195 (hildon_check_button_set_label, hildon_check_button_get_label)
3196 * examples/hildon-check-button-example.c
3197 (button_clicked_cb):
3198 Removed deprecated methods.
3200 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3202 * src/hildon-text-view.c:
3203 Add sample code to the documentation.
3205 * src/hildon-entry.h
3206 * src/hildon-text-view.h:
3207 Minor cosmetic changes.
3209 * src/hildon-entry.c:
3210 Add sample code to the documentation.
3211 (hildon_entry_init, hildon_entry_refresh_contents):
3212 Don't allow NULL values in the placeholder.
3214 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3216 * doc/hildon-docs.sgml
3218 * examples/Makefile.am
3219 * examples/hildon-text-view-example.c
3221 * src/hildon-text-view.c
3222 * src/hildon-text-view.h
3224 New HildonTextView widget, with example.
3226 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3228 * po/POTFILES.in: Add missing files with translatable strings.
3229 Partially fixes NB#88287.
3231 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3233 * examples/hildon-pannable-area-example-2.c: (main): No need to
3234 set the cellrenderer height inside hildon touch lists, the theme does
3237 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3239 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3240 they are integrated in the theme.
3242 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3244 * examples/hildon-entry-example.c: Update the example adding
3245 widgets to modify the text and the placeholder of the HildonEntry.
3247 * src/hildon-entry.c: Show the placeholder everytime the widget
3248 is empty and loses the focus.
3250 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3252 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3254 * src/hildon-pannable-area.c,
3255 (hildon_pannable_area_size_request): Fixed bug in height
3256 requisition, avoid increasing size and add border twice.
3258 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3260 * configure.ac: postrelease version bump.
3262 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: Prerelease version bump.
3267 * debian/changelog: update.
3268 * debian/rules: make -dbg package contain useful debugging symbols.
3270 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3272 * src/hildon-dialog.h
3273 * src/hildon-dialog.c
3274 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3275 New methods to add buttons with finger size.
3276 (hildon_dialog_new_with_buttons):
3277 Create buttons with finger size.
3279 * examples/hildon-dialog-example.c (main): Use HildonDialog
3280 methods to add buttons.
3282 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3284 * src/hildon-entry.c: Updated HildonButton documentation.
3286 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3289 button value label with (FALSE, FALSE) to prevent NB#88126 from
3292 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3294 * examples/hildon-pannable-area-example.c,
3295 (main): Removed examples panning a vbox inside a pannable
3296 area. Check bug NB#87965
3298 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3300 Patch contributed by Kris Rietveld (kris@imendio.com)
3302 * src/hildon-pannable-area.c,
3303 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3304 get_size and get_position, this saves an X server roundtrip.
3306 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3308 * doc/hildon-docs.sgml
3310 * examples/Makefile.am
3311 * examples/hildon-entry-example.c
3313 * src/hildon-entry.c
3314 * src/hildon-entry.h
3316 New HildonEntry widget, with example.
3318 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-button.c (hildon_button_construct_child): Pack the
3321 image with expand == fill == FALSE. This is a workaround for a bug
3324 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3326 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3327 labels for the text column, to make it more look more dynamic.
3329 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3331 * src/hildon-time-selector.c
3332 Define gettext auxiliar macro N_
3333 (_create_minutes_model)
3334 (_create_hours_model)
3335 (_create_ampm_model): use of strftime in order to fill the model
3336 * src/hildon-date-selector.c
3337 (hildon_date_selector_finalize):
3338 (_locales_init): remove the logic related to get the name of the months
3339 using nl_langinfo, as it is not required anymore
3341 (_create_year_model)
3342 (_create_month_model)
3343 (_update_day_model): use of strftime in order to fill the model properly
3346 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3348 * src/hildon-button.h
3349 * src/hildon-button.c (hildon_button_get_image): New method to
3352 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3354 * src/hildon-touch-selector.c:
3355 (hildon_touch_selector_remove_column): Remove from the correct parent
3356 and also remove the list element and free it.
3359 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3361 * src/hildon-time-selector.c
3362 (_create_hours_model): change the range on 12h ampm format in order to use
3363 a 12-11 range instead of previous 01-12 range
3364 (hildon_time_selector_set_time): change the way to select the current time
3365 on 12h ampm format, due the change on the range
3366 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3369 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3371 * src/hildon-touch-selector.c
3372 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3373 in order to allow use this function on multiple row selection mode if
3374 the column is different that the first one
3377 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3379 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3380 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3382 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3384 * src/hildon-date-selector.h: clean some comments, now on the .c
3385 * src/hildon-date-selector.c
3386 (hildon_date_selector_select_month): first implementation
3387 (hildon_date_selector_select_day): added documentation, reimplemented
3388 using hildon_date_selector_select_current_date to avoid repeat code
3391 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3393 Reviewed interaction logic based on device experiences, refactored
3396 * src/hildon-pannable-area.c,
3397 (hildon_pannable_area_class_init): Updated default vmax speed.
3398 (hildon_pannable_area_calculate_velocity): Added this function, it
3399 avoids duplicate valocity calculation. Adjusted calculation to
3400 avoid problems with zero dist events.
3402 (hildon_pannable_area_motion_notify_cb): Now we use the
3403 calculate_velocity function.
3405 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3407 * src/hildon-date-selector.c
3408 (hildon_date_selector_select_current_date): fix the day range check
3409 as it failed using the last day of the current month
3412 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3414 * src/hildon-touch-selector.c
3415 (hildon_touch_selector_get_num_columns): added a parameter validation
3418 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3420 * examples/Makefile.am
3421 * examples/hildon-edit-toolbar-example.c: Example of the
3422 HildonEditToolbar widget.
3424 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3426 * configure.ac: postrelease version bump.
3428 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3432 * configure.ac: prerelease version bump.
3433 * debian/changelog: update.
3435 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3437 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3438 renderer to display stock icons in the touch list. Also, set the sizes
3439 to the recommended in the style guide.
3441 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3442 * src/hildon-touch-selector.h
3443 (hildon_touch_selector_set_active_iter): renamed, now is
3444 hildon_touch_selector_select_iter
3445 (hildon_touch_selector_get_active_iter): renamed, now is
3446 hildon_touch_selector_get_selected
3447 (hildon_touch_selector_unselect_iter): added
3448 * src/hildon-touch-selector.c
3449 Update after API modification (methods renamed)
3450 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3451 order to avoid problems selecting multiple elements on the column
3452 (hildon_touch_selector_unselect_iter): added the implementation
3453 * src/hildon-time-selector.c
3454 * src/hildon-date-selector.c
3455 * src/hildon-touch-selector-entry.c
3456 Update methods calls after hildon-touch-selector.h API modification (methods
3459 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3461 * src/hildon-stackable-window.c
3462 (hildon_stackable_window_finalize): Call the parent class's finalize.
3464 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3466 * examples/hildon-touch-selector-example.c: (create_selector): Use
3467 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3470 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3472 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3473 set a cell background color, to respect theming.
3475 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3477 * doc/hildon-docs.sgml
3480 * src/hildon-edit-toolbar.c
3481 * src/hildon-edit-toolbar.h
3482 * src/hildon.h: New HildonEditToolbar widget.
3484 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3486 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3489 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3490 * src/hildon-touch-selector.c
3491 (_create_new_column): use g_object_set instead of two g_object_set_property
3493 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3494 * src/hildon-touch-selector.c
3495 (_create_new_column): use of hildon_gtk_tree_view_new to create
3496 the treeview, instead of use directly g_object_new
3497 (_create_new_column): update the property name "vindicator-mode" for the
3498 new one "vscrollbar-policy"
3499 * examples/hildon-date-button-example.c
3500 * examples/hildon-picker-button-multicolumn-example.c
3501 * examples/hildon-touch-selector-entry-example.c
3502 * examples/hildon-touch-selector-example.c
3503 * examples/hildon-time-button-example.c
3504 * examples/hildon-picker-button-example.c
3505 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3506 to all the treeviews inside a pannable area.
3508 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3510 * src/hildon-button.h
3511 * src/hildon-button.c (hildon_button_init)
3512 (hildon_button_set_arrangement, hildon_button_set_alignment)
3513 (hildon_button_set_title_alignment)
3514 (hildon_button_set_value_alignment)
3515 (hildon_button_set_image_alignment)
3516 (hildon_button_construct_child): New methods to set the alignment
3517 of the individual components of the button (title, value,
3518 image). Also, new method to alter the xscale and yscale properties
3519 of the GtkAlignment inside the button, so more complex layouts can
3522 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3524 * src/hildon-button.c (hildon_button_style_set)
3525 (hildon_button_class_init, hildon_button_set_arrangement)
3526 (hildon_button_construct_child): Apply style properties
3527 correctly. Use the 'image-spacing' style property too.
3529 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3531 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3532 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3535 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-pannable-area.c,
3538 (hildon_pannable_area_size_request): Fixed problem with
3539 pannable-area size_request.
3541 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3543 Added management for the grab-focus to a child widget, like a
3544 range, we need to fade out the scrollbar when releasing.
3546 * src/hildon-pannable-area.c,
3547 (hildon_pannable_area_init): Connected the grab-focus signal to
3549 (hildon_pannable_area_grab_notify): Added this function in order
3550 to manage the situation when the grab-focus ends. We have to
3551 fade-out the scrollbar.
3553 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3555 * src/hildon-app-menu.c: Minor documentation update.
3557 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3559 * src/hildon-app-menu.c
3560 * examples/hildon-app-menu-example.c (create_menu): Update
3561 examples and documentation to explain how to connect callbacks.
3563 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3565 * examples/hildon-button-example.c
3566 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3567 hildon_stackable_window_new instead of gtk_window_new
3569 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3571 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3572 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3573 (hildon_pannable_area_set_property),
3574 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3575 (hildon_pannable_area_unrealize),
3576 (hildon_pannable_area_size_request),
3577 (hildon_pannable_area_size_allocate),
3578 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3579 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3580 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3581 (hildon_pannable_area_initial_effect),
3582 (hildon_pannable_area_redraw),
3583 (hildon_pannable_area_scroll_indicator_fade),
3584 (hildon_pannable_area_expose_event),
3585 (hildon_pannable_area_get_topmost), (synth_crossing),
3586 (hildon_pannable_area_button_press_cb),
3587 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3588 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3589 (hildon_pannable_area_motion_notify_cb),
3590 (hildon_pannable_area_button_release_cb),
3591 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3592 (hildon_pannable_area_remove),
3593 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3594 chage the code layout to a more GtkWidget like. Review the use of
3597 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3599 * examples/hildon-pannable-area-example-4.c,
3600 (main): Modified the name of the hindicator_mode to
3603 * src/hildon-pannable-area.c,
3604 (hildon_pannable_area_class_init),
3605 (hildon_pannable_area_motion_notify_cb),
3606 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3607 we have reduced the amount of signals and managed reviewed its
3608 rationale. Changed the default decelerate value.
3610 (hildon_pannable_area_add),
3611 (hildon_pannable_area_redraw): Refactored functions.
3613 (hildon_pannable_area_init),
3614 (hildon_pannable_area_get_property),
3615 (hildon_pannable_area_set_property):
3616 (hildon_pannable_draw_vscroll),
3617 (hildon_pannable_draw_hscroll),
3618 (hildon_pannable_area_initial_effect),
3619 (hildon_pannable_area_expose_event),
3620 (hildon_pannable_area_scroll),
3621 (hildon_pannable_area_button_press_cb),
3622 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3623 and vindicator_mode with hscrollbar_policy and
3624 vscrollbar_policy. Replaced hscroll and vscroll with
3625 hscroll_visible and vscroll_visible.
3627 (hildon_pannable_area_refresh): Refactor the function, remove
3628 variables and check the calls to this function, added resize
3629 conditions in case the children change their layout.
3631 (hildon_pannable_area_size_request): Added more detailed
3632 size_request calculation.
3635 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3637 * src/hildon-color-chooser.c
3638 (init_borders): use the correct gtk_border_free instead of g_free, to
3639 avoid a crash when this widget is used (ie: the three color selection
3642 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3644 * src/hildon-check-button.c,
3645 (hildon_check_button_set_active): Fixed problem when setting the
3646 active value, the widget was not redrawn.
3648 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3650 * src/hildon-pannable-area.c,
3651 (hildon_pannable_area_refresh),
3652 (hildon_pannable_area_scroll),
3653 (hildon_pannable_area_motion_notify_cb): Small code style change.
3655 (hildon_pannable_area_class_init): Default initial_hint set to
3656 FALSE, it is not in the specs.
3658 (hildon_pannable_area_initial_effect),
3659 (hildon_pannable_area_expose_event),
3660 (hildon_pannable_area_map),
3661 (hildon_pannable_area_init): Moved the launching point of the
3662 initial effect, it was in map but the sizes where not correct in
3663 that method so we do not know if we have the reproduce it. Now it
3664 is placed in the expose_event method and uses a variable to
3665 reproduce it just once.
3667 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3669 * src/hildon-pannable-area.c,
3670 (hildon_pannable_draw_vscroll),
3671 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3672 position allowed for the scrollbars.
3674 (hildon_pannable_area_size_allocate): Small style change.
3676 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3678 * src/hildon-pannable-area.c,
3679 (hildon_pannable_area_scroll_indicator_fade),
3680 (hildon_pannable_area_button_press_cb),
3681 (hildon_pannable_area_button_release_cb),
3682 (hildon_pannable_area_scroll_cb),
3683 (hildon_pannable_area_expose_event),
3684 (hildon_pannable_area_init): Added the define parameter
3685 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3686 and refactor the fade variable.
3688 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3690 * src/hildon-pannable-area.c,
3691 (hildon_pannable_area_redraw),
3692 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3693 lines, we were reimplemeting the redraw code.
3695 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3697 * src/hildon-pannable-area.c,
3698 (hildon_pannable_area_scroll_cb),
3699 (hildon_pannable_area_realize),
3700 (hildon_pannable_area_class_init): Added scroll_event management
3701 for pannable area, now we can scroll the usual desktop method.
3703 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3704 initialization of the parameters should depend on idle_id.
3706 (hildon_pannable_area_init),
3707 (hildon_pannable_area_map): Small code style modifications
3709 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3711 * src/hildon-pannable-area.c
3712 (hildon_pannable_area_button_press_cb),
3713 (hildon_pannable_area_motion_notify_cb),
3714 (hildon_pannable_area_button_release_cb),
3715 (hildon_pannable_area_size_allocate),
3716 (hildon_pannable_area_scroll_to): Improved the timeouts
3717 management, we avoid creating them each time.
3719 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3721 * src/hildon-pannable-area.c:
3722 (hildon_pannable_area_refresh),
3723 (hildon_pannable_area_motion_notify_cb),
3724 (hildon_pannable_area_class_init):
3725 * src/hildon-pannable-area.h:
3726 * src/hildon-touch-selector.c
3727 (_create_new_column):
3728 * examples/hildon-pannable-area-example-4.c:
3729 (horizontal_movement),
3730 (vertical_movement),
3732 Replaced the names of enums in the HildonPannableArea:
3733 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3734 HILDON_MOVEMENT_MODE_*
3735 - HILDON_PANNABLE_AREA_MOV_* ->
3737 - Removed HildonPannableAreaIndicatorMode, now we
3740 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3742 * examples/hildon-pannable-area-touch-grid-example.c
3743 * examples/hildon-pannable-area-touch-list-example.c: Fix
3744 compilation warnings.
3746 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3748 * src/hildon-gtk.c (hildon_gtk_button_new)
3749 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3750 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3751 images overriding the value of the "gtk-button-images" setting.
3753 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3755 * src/hildon-check-button.c (hildon_check_button_new):
3756 Instead of using a custom container, display the label and the
3757 checkbox using the standard GtkButton API.
3759 * examples/hildon-check-button-example.c (main): Don't use
3760 hildon_check_button_set_label() anymore
3762 * src/hildon-check-button.h
3763 * src/hildon-check-button.c
3764 (hildon_check_button_set_label, hildon_check_button_get_label):
3765 Set as deprecated, now we're using gtk_button_{get,set}_label()
3767 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3769 * src/hildon-pannable-area.c,
3770 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3771 GtkTreeview first line we detected it after the inclusion of the
3772 GtkWindowImpl in gtk+. We now check if the window is visible, not
3773 just if the pointer is over the window.
3774 (hildon_pannable_axis_scroll),
3775 (hildon_pannable_area_expose_event): Small style changes.
3777 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3779 * src/hildon-button.c: Update documentation.
3781 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3783 * examples/hildon-button-example.c: Add a switch to show images in
3786 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3788 * doc/hildon-docs.sgml: Some docs reorganization.
3790 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3792 * examples/hildon-pannable-area-touch-list-example.c
3794 * examples/hildon-pannable-area-touch-grid-example.c
3795 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3796 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3797 Fix memory leak when setting the tree model.
3799 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3803 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3805 * doc/hildon.types: Remove duplicated hildon_window_get_type
3806 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3807 documentation comment.
3809 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3811 * doc/Makefile.am: Complete list of private headers.
3813 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3815 * doc/hildon-docs.sgml
3816 * src/hildon-app-menu.c
3817 * src/hildon-bread-crumb.c
3818 * src/hildon-button.c
3820 * src/hildon-program.c
3821 * src/hildon-stackable-window.c
3822 * src/hildon-window.c: Lots of documentation updates.
3824 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3826 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3828 * configure.ac: Require Gtk+ 2.12.9 at least
3830 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3832 * src/hildon-pannable-area.c
3833 (hildon_pannable_area_scroll_indicator_fade),
3834 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3835 to protect the return of this timeout callbacks, avoiding deadlocks.
3837 2008-08-12 Christian Dywan <christian@imendio.com>
3840 * src/hildon-*.h: Ensure a consistent include order,
3841 include <gtk/gtk.h> instead of particular files and
3842 only include the topmost header in the gtk stack. See NB #39857
3844 2008-08-12 Christian Dywan <christian@imendio.com>
3846 * src/hildon-picker-dialog.c
3847 * src/hildon-touch-selector.c: Fix warnings about unused and
3848 uninitialized variables.
3850 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3852 * examples/Makefile.am
3853 * examples/hildon-check-button-example.c: Example of the hildon
3856 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3858 * src/hildon-window.h
3859 * src/hildon-window.c (hildon_window_class_init)
3860 (hildon_window_unset_program): Don't make
3861 hildon_window_unset_program a virtual function anymore.
3863 * src/hildon-stackable-window.c: Update documentation
3865 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3868 * doc/hildon-docs.sgml
3869 * doc/visual_index.xml
3870 * src/hildon-defines.c
3872 * src/hildon-helper.c
3873 * src/hildon-range-editor.c: Lots of documentation fixes.
3875 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3877 * examples/hildon-picker-button-multicolumn-example.c
3878 (create_touch_selector): Fix compilation warning.
3880 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3882 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3883 (hildon_pannable_area_button_release_cb)
3884 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3886 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3891 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3893 * src/hildon-bread-crumb-trail.h
3894 * src/hildon-date-editor.c
3895 * src/hildon-date-selector.c
3896 * src/hildon-pannable-area.c
3897 * src/hildon-picker-dialog.c
3898 * src/hildon-time-selector.c
3899 * src/hildon-touch-selector-entry.c
3900 * src/hildon-touch-selector.c
3901 * src/hildon-touch-selector.h: Misc documentation fixes
3903 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3905 * examples/hildon-date-editor-example.c (main): Updated date
3908 * examples/hildon-note-example.c (on_confirmation_clicked):
3909 Updated confirmation note example.
3911 * src/hildon-date-editor.c
3912 * src/hildon-note.c: Updated sample programs in documentation.
3915 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3917 * src/hildon-date-button.h:
3918 * src/hildon-picker-button.h:
3919 * src/hildon-time-button.c:
3920 * src/hildon-time-button.h:
3922 Some declarations changes to allow gtk-doc to document the widgets
3925 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-date-button.c: Document the widget.
3928 * src/hildon-time-button.c: Document the widget.
3930 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3932 * src/hildon-picker-button.c: Document the widget.
3933 * src/hildon-touch-selector-entry.c: Document the widget.
3935 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3937 * doc/hildon-docs.sgml
3940 * src/hildon-check-button.h
3941 * src/hildon-check-button.c: New functions to create the Hildon
3945 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3947 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3949 * src/hildon-button.h
3950 * src/hildon-button.c
3951 (hildon_button_add_title_size_group)
3952 (hildon_button_add_value_size_group)
3953 (hildon_button_add_image_size_group)
3954 (hildon_button_add_size_groups): New functions to set size groups
3955 for the button labels and image.
3956 (hildon_button_new_full): Removed
3958 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3960 * src/hildon-time-selector.c
3961 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3962 in order to avoid a crash if gconf is not available
3964 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-button.c (hildon_button_set_arrangement)
3967 (hildon_button_construct_child): Don't construct the button child
3968 before setting the arrangement.
3970 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-program-private.h
3973 * src/hildon-program.c
3974 * src/hildon-program.h
3975 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3976 (hildon_program_peek_window_stack)
3977 (hildon_program_pop_window_stack)
3978 (hildon_program_go_to_root_window): HildonProgram now has a
3979 separate list for stackable windows. Functions are provided to
3980 manage that list with a stack-like API.
3982 * src/hildon-stackable-window.c: Stackable window management is
3983 now much simpler with the new HildonProgram API. Windows no
3984 longer need to be manually added to the program, they're
3985 automatically pushed to the top of the stack when shown.
3987 * examples/hildon-stackable-window-example.c: Updated example to
3988 reflect the API changes.
3990 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3992 * src/hildon-touch-selector.c: Comment out unimplemented
3993 hildon_touch_selector_insert_column() to avoid a compile warning.
3995 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3997 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3998 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3999 (hildon_touch_selector_set_column_selection_mode),
4000 (_hildon_touch_selector_set_model),
4001 (hildon_touch_selector_set_model):
4003 Complete review of HildonTouchSelector documentation.
4005 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4007 * doc/hildon-docs.sgml
4011 * src/hildon-gtk.c: Convenience functions for standard Gtk
4012 widgets, used to easily perform frequent operations.
4014 * src/hildon-button-helpers.h
4015 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4017 * src/hildon-helper.h
4018 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4019 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4021 * src/hildon-button.h
4022 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4024 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4026 * src/hildon-button.c (hildon_button_init)
4027 (hildon_button_set_arrangement, hildon_button_construct_child):
4028 Pack the image and the labels inside the same GtkAlignment so
4029 gtk_button_set_alignment() can be used
4031 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4033 * src/hildon-button.h
4034 * src/hildon-button.c
4035 (hildon_button_init, hildon_button_set_image)
4036 (hildon_button_set_image_position)
4037 (hildon_button_construct_child): New functions to add an image to
4040 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4042 * src/hildon-date-button.c
4043 * src/hildon-picker-button.c
4044 * src/hildon-time-button.c
4045 * src/hildon-button.c:
4046 (hildon_button_class_init): "size-flags" renamed to "size"
4047 (hildon_button_set_title): Hide the title label if set to NULL.
4049 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4051 HildonButtonFlags split into HildonButtonArrangement (to set the
4052 button layout) and HildonSizeType (which can be used for any
4055 * src/hildon-button.h
4056 * src/hildon-button.c
4057 (hildon_button_class_init)
4058 (hildon_button_set_arrangement)
4059 (hildon_button_set_property): New "size-flags"
4060 property. "arrangement-flags" renamed to "arrangement".
4061 (hildon_button_new, hildon_button_new_with_text)
4062 (hildon_button_new_full): Constructors updated to reflect type changes.
4064 * src/hildon-helper.h
4065 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4066 to set the size of a widget.
4070 * src/hildon-button-helpers.c
4071 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4073 * src/hildon-date-button.c
4074 * src/hildon-date-button.h
4075 * src/hildon-picker-button.c
4076 * src/hildon-picker-button.h
4077 * src/hildon-time-button.c
4078 * src/hildon-time-button.h: Updated widgets to reflect
4079 HildonButton API changes.
4081 * examples/hildon-button-example.c
4082 * examples/hildon-date-button-example.c
4083 * examples/hildon-picker-button-example.c
4084 * examples/hildon-picker-button-multicolumn-example.c
4085 * examples/hildon-time-button-example.c
4086 * examples/hildon-touch-selector-entry-example.c
4087 * examples/hildon-touch-selector-example.c: Updated examples to
4088 reflect HildonButton API changes.
4090 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4092 * doc/hildon-docs.sgml:
4094 * examples/Makefile.am:
4095 * examples/hildon-touch-selector-entry-example.c:
4097 * src/hildon-touch-selector-entry.c:
4098 * src/hildon-touch-selector-entry.h:
4101 Moved HildonTouchSelectorEntry from sandbox. Added its
4102 documentation and examples.
4104 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4106 * src/hildon-touch-selector.h:
4107 * examples/hildon-picker-button-multicolumn-example.c:
4108 (hildon_touch_selector_append_text_column): Add a gboolean
4109 parameter to determine if text must be centered in the column.
4111 * src/hildon-date-selector.c: (hildon_date_selector_init):
4112 * src/hildon-time-selector.c: (hildon_time_selector_init):
4113 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4114 (create_touch_selector): Update widgets and example to reflect
4117 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4119 * src/hildon-touch-selector.c:
4120 (hildon_touch_selector_set_active_iter): Set also the cursor in
4123 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4125 * doc/hildon-docs.sgml
4128 * src/hildon-toggle-button.c
4129 * src/hildon-toggle-button.h
4130 * src/hildon.h: Removed HildonToggleButton widget, a derived
4131 class is not necessary for this.
4133 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4135 * src/hildon-pannable-area.c,
4136 (hildon_pannable_area_realize),
4137 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4140 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4142 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4143 "done" button the default widget for the dialog.
4145 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4147 * src/hildon-touch-selector.c:
4148 (hildon_touch_selector_class_init),
4149 (hildon_touch_selector_get_property),
4150 (_hildon_touch_selector_set_model),
4151 (_hildon_touch_selector_has_multiple_selection),
4152 (hildon_touch_selector_has_multiple_selection):
4153 Add a "has-multiple-selection" property with a virtual
4154 has_multiple_selection() method to allow derived classes to
4155 override the default value for it. See the method and property
4156 documentation for details.
4158 * src/hildon-touch-selector.h: Add the new API.
4160 * src/hildon-picker-dialog.c: (requires_done_button): Call
4161 hildon_touch_selector_has_multiple_selection() instead of
4162 determining the need for a button itself.
4164 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4167 (_hildon_touch_selector_set_model),
4168 (hildon_touch_selector_set_model): Move working code to
4169 _hildon_touch_selector_set_mode(). Call the class method instead.
4171 * src/hildon-touch-selector.h: Add (*set_model) to
4172 HildonTouchSelectorClass.
4174 Make hildon_touch_selector_set_model() a virtual method, so that
4175 derived classes can extend it and do fancy stuff with the model.
4177 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4179 * configure.ac: Set back the tarname in AC_INIT to hildon.
4181 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4185 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4186 instead of libesd (NB#86876). Volume handling is still an open issue.
4188 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4191 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4194 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4195 derived class to ease placement of an entry widget in
4196 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4197 end, where the selector columns are packed now.
4199 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4201 * src/hildon-picker-button.c: Removed the simple _text() API.
4202 * src/hildon-picker-button.h: Likewise.
4204 * src/hildon-touch-selector.h:
4205 * src/hildon-touch-selector.c:
4206 (hildon_touch_selector_new_text),
4207 (hildon_touch_selector_append_text),
4208 (hildon_touch_selector_prepend_text),
4209 (hildon_touch_selector_insert_text):
4211 Moved the simple _text() API from HildonPickerButton to
4212 HildonTouchPicker, to provide better escalability and not to tie
4213 that API to HildonPickerButton.
4215 * examples/hildon-picker-button-example.c: (main): Example updated.
4217 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4219 * src/hildon-button.c: Updated documentation.
4221 * examples/hildon-button-example.c: Add the posibility to create
4222 the buttons using horizontal layout for title and value.
4224 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4226 * src/hildon-app-menu-private.h
4227 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4228 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4229 GtkSizeGroup for the filters, use the 'homogeneous' property of
4232 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4234 * examples/hildon-button-example.c: Updated example.
4236 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4238 * doc/hildon-docs.sgml:
4241 Update documentation.
4243 * examples/Makefile.am: Update renamed examples.
4245 * examples/hildon-picker-button-multicolumn-example.c:
4246 (create_touch_selector), (main): Update after the rename.
4248 * examples/hildon-touch-picker-example.c: Removed.
4249 * examples/hildon-touch-selector-example.c: (value_changed),
4250 (create_selector), (get_visible_content), (main): Renamed from
4251 hildon-touch-picker-example.c
4253 * src/Makefile.am: Updated renamed files.
4255 * src/hildon-date-button.c: (hildon_date_button_init),
4256 (hildon_date_button_get_date), (hildon_date_button_set_date):
4257 * src/hildon-date-selector.c: (hildon_date_selector_init),
4258 (_custom_print_func), (_update_day_model),
4259 (_manage_selector_change_cb),
4260 (hildon_date_selector_select_current_date),
4261 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4262 * src/hildon-date-selector.h:
4263 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4264 (hildon_picker_button_set_property),
4265 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4266 (hildon_picker_button_init), (hildon_picker_button_new_text),
4267 (hildon_picker_button_append_text),
4268 (hildon_picker_button_prepend_text),
4269 (hildon_picker_button_insert_text),
4270 (hildon_picker_button_set_selector),
4271 (hildon_picker_button_get_selector):
4272 * src/hildon-picker-button.h:
4273 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4274 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4275 (_update_title_on_selector_changed_cb), (requires_done_button),
4276 (_hildon_picker_dialog_set_selector),
4277 (hildon_picker_dialog_set_selector),
4278 (hildon_picker_dialog_get_selector):
4279 * src/hildon-picker-dialog.h:
4280 * src/hildon-time-button.c: (hildon_time_button_init),
4281 (hildon_time_button_get_time), (hildon_time_button_set_time):
4282 * src/hildon-time-selector.c: (hildon_time_selector_init),
4283 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4284 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4285 * src/hildon-time-selector.h:
4288 Massive code updates after the rename.
4290 * src/hildon-touch-picker.c: Removed.
4291 * src/hildon-touch-picker.h: Removed.
4293 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4294 (hildon_touch_selector_init), (hildon_touch_selector_map),
4295 (hildon_touch_selector_remove), (_default_print_func),
4296 (_selection_changed_cb), (_create_new_column),
4297 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4298 (hildon_touch_selector_append_text_column),
4299 (hildon_touch_selector_remove_column),
4300 (hildon_touch_selector_set_column_attributes),
4301 (hildon_touch_selector_insert_column),
4302 (hildon_touch_selector_get_num_columns),
4303 (hildon_touch_selector_get_column_selection_mode),
4304 (hildon_touch_selector_set_column_selection_mode),
4305 (hildon_touch_selector_set_print_func),
4306 (hildon_touch_selector_get_print_func),
4307 (hildon_touch_selector_get_active_iter),
4308 (hildon_touch_selector_set_active_iter),
4309 (hildon_touch_selector_get_selected_rows),
4310 (hildon_touch_selector_get_model),
4311 (hildon_touch_selector_set_model),
4312 (hildon_touch_selector_get_current_text),
4313 (_hildon_touch_selector_center_on_selected_items):
4314 * src/hildon-touch-selector.h: Renamed from
4315 hildon-touch-picker.[ch]
4317 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4318 references, code examples, and related documentation.
4320 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4322 * doc/hildon-docs.sgml
4325 * src/hildon-toggle-button.c
4326 * src/hildon-toggle-button.h
4327 * src/hildon.h: New HildonToggleButton widget.
4329 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4331 * src/hildon-button.c: Add API documentation.
4332 (hildon_button_set_size_groups): Check input parameters
4334 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4336 * src/hildon-pannable-area.c
4337 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4338 effect after reaching the movement thredshold. This way we start
4339 using the distance after passing the thredshold.
4341 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-button.c: (hildon_button_set_property): Use the
4344 appropriate g_value_get_flags() method.
4346 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4348 * doc/hildon-docs.sgml:
4351 Add the touch pickers, picker dialogs, and picker button widgets
4352 to the documentation.
4354 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4356 * src/hildon-button.c: (hildon_button_set_property),
4357 (hildon_button_class_init): Make "arrangement-flags" a proper
4358 G_TYPE_FLAGS derived property.
4360 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4362 * examples/Makefile.am: Add below examples.
4363 * examples/hildon-date-button-example.c:
4364 * examples/hildon-picker-button-example.c:
4365 * examples/hildon-picker-button-multicolumn-example.c:
4366 * examples/hildon-time-button-example.c:
4367 * examples/hildon-touch-picker-example.c:
4369 Add examples for the recently added touch pickers,
4370 picker dialogs, and picker button widgets.
4372 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4374 * src/hildon-button.c: Add some API documentation
4376 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4378 * src/hildon-button.h
4379 * src/hildon-button.c
4381 (hildon_button_new_with_text): New constructor to create a button
4382 with no text at all.
4383 (hildon_button_init, hildon_button_set_arrangement)
4384 (hildon_button_set_title, hildon_button_set_value)
4385 (hildon_button_set_text)
4386 (hildon_button_construct_child): Hide the value when it's not used
4387 so the rest of the text is properly aligned.
4388 Allow creating buttons with arbitrary widgets inside (not just
4389 title/value labels).
4391 * examples/hildon-button-example.c (vertical_buttons_window)
4392 (horizontal_buttons_window): Update example to use new API.
4394 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4396 * src/Makefile.am: Added HildonTimeButton.
4397 * src/hildon-time-button.c: Added missing LGPL header.
4398 * src/hildon-time-button.h: Added missing LGPL header.
4399 * src/hildon.h: Add hildon-time-button.h
4401 Copied HildonTimeButton from sandbox to trunk. Future work on this
4402 widget must take place in trunk.
4404 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4406 * src/Makefile.am: Added HildonDateButton.
4407 * src/hildon-date-button.c: Update includes.
4408 * src/hildon.h: Add hildon-date-button.h
4410 Copied HildonDateButton from sandbox to trunk. Future work on this
4411 widget must take place in trunk.
4413 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4415 * src/Makefile.am: Added HildonPickerButton.
4416 * src/hildon-picker-button.h: Update includes.
4417 * src/hildon.h: Add hildon-picker-button.h
4419 Copied HildonPickerButton from sandbox to trunk. Future work on
4420 this widget must take place in trunk.
4422 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/Makefile.am: Added HildonPickerDialog.
4425 * src/hildon-picker-dialog.c: Update includes.
4426 * src/hildon.h: Add hildon-picker-dialog.h
4428 Copied HildonPickerDialog from sandbox to trunk. Future work
4429 on this widget must take place in trunk.
4431 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4433 * src/Makefile.am: Added HildonTimeSelector.
4434 * src/hildon.h: Add hildon-time-selector.h
4436 Copied HildonTimeSelector widget from sandbox to trunk. Future
4437 work on this widget must happen in trunk.
4439 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4441 * src/Makefile.am: Added HildonDateSelector.
4442 * src/hildon.h: Add hildon-date-selector.h
4444 Copied HildonDateSelector widget from sandbox to trunk. Future
4445 work on this widget must happen in trunk.
4447 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4449 * src/Makefile.am: Added HildonTouchPicker.
4450 * src/hildon-touch-picker.c: Update includes.
4451 * src/hildon.h: Add hildon-touch-picker.h
4453 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4454 on this widget must happen in trunk.
4456 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4458 * src/hildon-pannable-area.c:
4459 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4461 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4463 * examples/hildon-app-menu-example.c (main): Let the window
4466 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4468 * src/hildon-pannable-area.c
4469 (hildon_pannable_area_class_init): Set the min value of the
4470 overshoot properties to zero, which points out that not
4471 overshooting allowed.
4473 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4475 Modified the procedure to get the widget at a point inside the
4476 pannable area when using the movement type signals. Now the user
4477 has to call a function to get the child, that way we just
4478 calculate the child in case the user really want to use it and not
4481 * src/hildon-marshalers.list: Modified the marshallers, now we do
4482 not have the widget as a parameter.
4484 * src/hildon-pannable-area.c
4485 (hildon_pannable_area_motion_notify_cb),
4486 (hildon_pannable_area_class_init),
4487 (hildon_pannable_get_child_widget_at): Removed the widget
4488 parameter from the signal callback. We have also refactored the
4489 emission of the signals.
4491 * src/hildon-pannable-area.h: Added a new method to the API to
4492 calculate a widget at a point inside the pannable area,
4493 hildon_pannable_get_child_widget_at.
4495 * examples/hildon-pannable-area-example-4.c
4496 (horizontal_movement): Modified the example to use the new API,
4497 added condition to control which widget is under the event. This
4498 way we can avoid scrolling laterally over other widgets.
4500 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4502 * src/hildon-pannable-area.c
4503 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4504 modes, we stop getting the pointer events due to returning the
4505 callback without properly calling the get pointer again. Fixed
4506 also an error using the hscroll and vscroll.
4508 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4510 * src/hildon-app-menu-private.h
4511 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4512 (hildon_app_menu_button_release, hildon_app_menu_init)
4513 (hildon_app_menu_class_init): Don't hide the menu on button
4514 release if the user didn't press outside first.
4516 * src/hildon-window.h
4517 * src/hildon-window.c (hildon_window_toggle_menu)
4518 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4519 hildon_window_toggle_menu a virtual function for the stackable
4520 window to override it.
4522 * src/hildon-stackable-window.h
4523 * src/hildon-stackable-window-private.h
4524 * src/hildon-stackable-window.c
4525 (hildon_stackable_window_realize)
4526 (hildon_stackable_window_finalize)
4527 (hildon_stackable_window_class_init)
4528 (hildon_stackable_window_init)
4529 (hildon_stackable_window_set_main_menu): New function to set the
4530 app menu of a HildonStackableWindow.
4532 * examples/hildon-app-menu-example.c: Remove the button to show
4533 the app menu, now it'll be shown when clicking on the title bar
4536 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4538 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4539 set the widget name if the arrangement flags do not specify
4542 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4544 * src/hildon-button.c: (hildon_button_set_property),
4545 (hildon_button_class_init), (hildon_button_new_full),
4546 (hildon_button_set_arrangement): Added "arrangement-flags"
4549 Make the HildonButtonFlags a construction-only property, to allow
4550 subclasses to set them properly.
4552 2008-07-21 Tim Janik <timj@imendio.com>
4554 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4555 insertion position after backspace, so additional digits are appended,
4558 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4560 * src/hildon-pannable-area.c,
4561 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4562 TODO list, it was complete and removed the g_debug and g_print
4565 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4567 Added the movement modes to the hildon-pannable-area, with this
4568 modes the developers can control in which directions the widget
4569 can scroll. They can also connect to signals in order to do
4570 something when that happens, allowing applications scroll. There
4571 is an example uploaded showing how to use it.
4573 * examples/Makefile.am:
4574 * examples/hildon-pannable-area-example-4.c: Added this example of
4575 an application using the modes.
4577 * src/hildon-marshalers.list: Added a new marshaller for the new
4580 * src/hildon-pannable-area.h: Added new enumerations and flags in
4581 order to control the movement modes and the new signals to warn
4582 about the movements in the area.
4584 * src/hildon-pannable-area.c:
4585 (hildon_pannable_axis_scroll),
4586 (hildon_pannable_area_scroll),
4587 (hildon_pannable_area_motion_notify_cb),
4588 (hildon_pannable_area_get_property),
4589 (hildon_pannable_area_set_property),
4590 (hildon_pannable_area_map),
4591 (hildon_pannable_area_class_init),
4592 (hildon_pannable_area_init),
4593 (hildon_pannable_area_jump_to): Added the modes to control the
4594 movement in the widget. We have added properties to control it,
4595 signals to warn about the movements and refactored some code.
4597 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4599 Changes required in order to allow vfast_factor set to zero to
4602 * src/hildon-pannable-area.c:
4603 (hildon_pannable_area_button_press_cb): Changed the condition, it
4604 is required for not allowing click when vfast_factor is zero.
4605 (hildon_pannable_area_timeout): Initialized velocity variables
4606 when we stop moving, it was less than 1 but not zero and we need
4607 to check zero in some situations.
4608 (hildon_pannable_area_class_init): Changed the default value of
4609 the speed factor, now the button_press is just sent in case the
4610 speed is 2 per cent of the max speed.
4611 (hildon_pannable_area_init): Initialization with 0.
4613 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4615 * src/hildon-pannable-area.c,
4616 (hildon_pannable_area_get_topmost): replaced
4617 gdk_window_get_children with gdk_window_peek_children, this way we
4618 do not have to free the list because it is not a copy.
4620 (hildon_pannable_axis_scroll),
4621 (hildon_pannable_area_scroll),
4622 (hildon_pannable_area_timeout),
4623 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4624 two parameters that were only used inside the
4625 hildon_pannable_area_scroll function.
4627 * examples/hildon-pannable-area-example.c,
4628 (get_sawtooth_label): Fixed small memory leak.
4630 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4632 More checks for the case where the overshoot is bigger than the
4635 * src/hildon-pannable-area.c:
4636 (hildon_pannable_draw_vscroll),
4637 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4638 to draw the slider of the scrollbar under the other scrollbar.
4639 (hildon_pannable_area_expose_event): added new checks to control
4640 the drawing of the overshooting area rectangle, in case it is too
4641 big for the area of the widget.
4642 (hildon_pannable_area_size_allocate): add more checks to avoid
4643 setting a position to the child widget outside the area.
4645 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4647 * src/hildon-pannable-area.c
4648 (hildon_pannable_area_size_allocate): Added conditions to control
4649 when overshooting is bigger than the allocated space for the
4650 children, this avoids negative allocations.
4652 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4654 * doc/hildon-docs.sgml
4656 * examples/Makefile.am
4657 * examples/hildon-button-example.c
4659 * src/hildon-button.c
4660 * src/hildon-button.h
4661 * src/hildon.h: Initial version of the new HildonButton widget,
4664 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4666 * src/hildon-pannable-area.c:
4667 (hildon_pannable_area_button_press_cb),
4668 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4669 (hildon_pannable_area_motion_notify_cb),
4670 (hildon_pannable_area_button_release_cb),
4671 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4672 (hildon_pannable_area_jump_to_child):
4674 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4676 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4678 * examples/Makefile.am
4679 * examples/hildon-pannable-area-touch-grid-example.c
4680 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4681 the Hildon Touch List and Hildon Touch Grid using the
4682 HildonPannableArea widget.
4684 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4686 * src/hildon-pannable-area.c,
4687 (hildon_pannable_area_button_press_cb),
4688 (hildon_pannable_area_refresh),
4689 (hildon_pannable_area_scroll),
4690 (hildon_pannable_area_motion_notify_cb),
4691 (hildon_pannable_area_button_release_cb),
4692 (hildon_pannable_area_expose_event),
4693 (hildon_pannable_area_add),
4694 (hildon_pannable_area_remove),
4695 (hildon_pannable_area_realize),
4696 (hildon_pannable_area_size_allocate),
4697 (hildon_pannable_area_class_init),
4698 (hildon_pannable_area_init),
4699 (hildon_pannable_area_scroll_to_child),
4700 (hildon_pannable_area_jump_to_child): Fixed the problem of
4701 removing the child from the GtkBin, we have rearranged the widget
4702 hierarchy, now there is no GtkAlignment which was not doing
4703 anything interesting but breaking some of the assumptions of
4704 GtkContainer. Now developers if they want to add a GtkAlignment
4705 they could, but it is not inside the area.
4707 We had to review the whole allocation/expose process, now it is
4708 improved and we save at least three signals which would be saving
4709 some time when rendering the widget. The allocation of the
4710 scrollbars is now made in the allocate method as usual.
4712 We have also added some conditions in order to control when there
4713 is no child of the pannable area. Maybe we will need more work
4716 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4718 * src/hildon-pannable-area.c,
4719 (hildon_pannable_area_dispose): Released the fade-out timeout when
4720 disposing the widget.
4722 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4724 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4725 zero, we are going to use that property in order to deactivate the
4727 (hildon_pannable_axis_scroll),
4728 (hildon_pannable_area_size_allocate): Added conditions to control
4729 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4730 call, now it is called in all situations and we can remove calls
4731 in the allocate method.
4732 (hildon_pannable_area_map): Control the situation when
4733 overshoot_max is zero, we do not need the timeout.
4734 (hildon_pannable_area_class_init): Added documentation in order to
4735 point out that setting zero to overshoot_max means deactivate
4738 NOTE: removed trailing whitespaces from my previous comments of
4741 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4743 * src/hildon-pannable-area.c
4744 (hildon_pannable_area_get_property),
4745 (hildon_pannable_area_set_property),
4746 (hildon_pannable_area_map),
4747 (hildon_pannable_area_class_init),
4748 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4749 to cause the widget give a hint about its panning abilities upon
4752 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4754 * src/hildon-pannable-area.c: Several documentation improvements.
4756 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4758 * src/hildon-program.c
4759 * src/hildon-stackable-window.c: Update documentation.
4761 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-stackable-window.c (get_previous_window_if_last):
4764 Renamed get_last_window()
4765 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4766 (hildon_stackable_window_unset_program):
4768 (get_previous_window_if_last):
4769 Detect if the window hasn't been added to a HildonProgram.
4771 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4773 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4775 * src/hildon-pannable-area.c
4776 (hildon_pannable_area_button_press_cb),
4777 (hildon_pannable_axis_scroll),
4778 (hildon_pannable_area_scroll),
4779 (hildon_pannable_area_timeout),
4780 (hildon_pannable_calculate_vel_factor),
4781 (hildon_pannable_area_get_property),
4782 (hildon_pannable_area_set_property),
4783 (hildon_pannable_area_class_init),
4784 (hildon_pannable_area_init),
4785 (hildon_pannable_area_scroll_to),
4786 (hildon_pannable_area_jump_to),
4787 (hildon_pannable_area_scroll_to_child),
4788 (hildon_pannable_area_jump_to_child):
4789 * src/hildon-pannable-area.h: Added the new API functions:
4790 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4791 hildon_pannable_area_scroll_to_child,
4792 hildon_pannable_area_jump_to_child
4795 * examples/Makefile.am
4796 * examples/hildon-pannable-area-example-2.c
4797 * examples/hildon-pannable-area-example-3.c: Added these two new
4798 examples in order to test and show how the new APIs work.
4800 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4802 * examples/hildon-stackable-window-example.c (new_window):
4803 * src/Makefile.am (noinst_HEADERS):
4804 * src/hildon-program.c (hildon_program_go_to_root_window):
4805 * src/hildon-program.h:
4806 * src/hildon-stackable-window-private.h:
4807 * src/hildon-stackable-window.c:
4808 * src/hildon-stackable-window.h:
4809 Create hildon-stackable-window-private.h
4810 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4812 * examples/hildon-app-menu-example.c (create_menu):
4813 * examples/hildon-hvolumebar-insensitive-example.c (main):
4814 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4815 * examples/hildon-toolbar-seekbar-example.c (main):
4816 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4817 * src/hildon-banner.c (hildon_banner_set_property):
4818 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4819 Fix compilation warnings
4821 * src/hildon-window.c:
4824 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4826 * src/hildon-stackable-window.c
4827 (hildon_stackable_window_unset_program):
4828 Calculate correctly whether to show the previous window if the
4829 last one is removed from the stack.
4830 (hildon_stackable_window_go_to_root_window):
4831 Send delete events starting from the topmost window.
4832 Stop if one of the windows is not destroyed.
4834 (hildon_stackable_window_delete_event)
4835 (hildon_stackable_window_class_init):
4836 Ignore the delete event if the window is not the topmost one.
4838 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4840 * src/hildon-pannable-area.c
4841 (hildon_pannable_area_expose_event): Fixed a problem when
4842 selecting the background color of the scrollbars.
4844 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4846 * examples/hildon-stackable-window-example.c
4847 * src/hildon-stackable-window.c
4848 * src/hildon-stackable-window.h
4849 hildon_stackable_window_go_home() renamed to
4850 hildon_stackable_window_go_to_root_window()
4851 Send delete events to windows rather than closing them with
4852 gtk_widget_destroy()
4854 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4856 * src/hildon-pannable-area.c
4857 (hildon_pannable_area_button_release_cb): Fix overshooting in
4860 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4862 * src/hildon-pannable-area.c
4863 (hildon_pannable_area_init): Initially show the scroll indicators.
4864 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4866 Add initial effect showing the widget is pannable.
4868 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4870 * src/hildon-pannable-area.c
4871 (hildon_pannable_area_class_init)
4872 (hildon_pannable_area_set_property)
4873 (hildon_pannable_area_get_property)
4874 (hildon_pannable_area_button_press_cb):
4875 New 'velocity_fast_factor' property to decide which velocity is
4878 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4880 * src/hildon-pannable-area.c
4881 (hildon_pannable_draw_hscroll)
4882 (hildon_pannable_draw_vscroll):
4883 Use float variables to calculate the size of the scrollbars to
4884 avoid error propagation and resizing during scrolling.
4886 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-pannable-area.c
4889 (hildon_pannable_draw_vscroll)
4890 (hildon_pannable_draw_hscroll):
4891 Define a minimum size for the scroll bars
4893 * src/hildon-stackable-window.c
4894 (hildon_stackable_window_go_home): Fix compilation warning
4895 (get_last_window): Minor optimizations
4896 (hildon_stackable_window_class_init): Fix initialization of
4899 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-stackable-window.c: Fixed typos in doc
4903 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4905 * src/hildon-pannable-area.c
4906 (hildon_pannable_area_scroll):
4907 Calculate here whether we need to scroll instead of using the booleans
4908 that tell us whether to /draw/ the scrolling bars.
4910 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4912 * src/hildon-app-menu.h
4914 * src/hildon-app-menu.c
4915 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4916 multiple filter groups related code and API. Now we support only
4918 * examples/hildon-app-menu-example.c:
4920 Update to reflect API changes.
4922 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4924 * src/hildon-stackable-window.c
4925 (hildon_stackable_window_class_init):
4926 Add hildon_stackable_window_realize.
4927 (hildon_stackable_window_realize):
4928 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4929 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4930 to apply theming and behavior specific to HildonStackableWindow
4933 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4935 * src/hildon-note.c (hildon_note_button_release):
4936 Close information notes also when tapping on them
4938 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4940 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4941 ELASTICITY, refactor and review, fix some issues with drawing
4944 * src/hildon-pannable-area.c:
4945 (hildon_pannable_area_button_press_cb): removed the conditions to
4946 avoid clicks when overshooting. It is not required
4948 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4949 define. Refatored and reviewed the code, now we do not need to
4950 manage velocity in motion_notify.
4952 (hildon_pannable_area_motion_notify_cb): We have moved the code
4953 that controls the area_scroll to the axis_scroll function and get
4954 rid of duplicated code.
4956 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4958 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4960 (hildon_pannable_draw_vscroll),
4961 (hildon_pannable_draw_hscroll): Fixed the problems with the
4962 scrollbar drawing, now we do not use two surfaces, it is easier
4963 and saves resources.
4965 (hildon_pannable_area_get_property): Style modification.
4967 (hildon_pannable_area_class_init): Changed some default values.
4969 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4971 * src/hildon-stackable-window.c: Fix some typos in the
4974 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4976 * src/hildon-dialog.c:
4977 Change indentation style
4980 (hildon_note_button_release):
4981 Use root coordinates to check if the release event happened
4984 * src/hildon-app-menu.c
4985 (hildon_app_menu_button_release):
4986 Remove unnecessary check
4988 * examples/hildon-app-menu-example.c
4990 Add cast to fix warning
4992 * src/hildon-app-menu.c
4993 (hildon_app_menu_class_init):
4994 New inner-border style property.
4995 Set all default spacings to 16
4996 (hildon_app_menu_init):
4997 Use vertical-spacing to set the space between filter buttons and
4998 regular menu buttons.
4999 Set the default container border using the inner-border value.
5001 * examples/hildon-app-menu-example.c
5003 Don't set the menu border explicitly, now we have the inner-border
5004 style property for that.
5006 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5008 * src/hildon-app-menu.c (hildon_app_menu_init):
5009 Make the window modal
5011 * src/hildon-note.c (hildon_note_map)
5012 * src/hildon-app-menu.c (hildon_app_menu_map):
5013 Destroy the grab window if we're unable to grab the pointer
5015 * src/hildon-app-menu-private.h
5016 * src/hildon-app-menu.c
5017 (hildon_app_menu_init, hildon_app_menu_finalize)
5018 (hildon_app_menu_map, hildon_app_menu_unmap)
5019 (hildon_app_menu_button_release)
5020 (grab_transfer_window_get):
5021 Bring back the grab window
5022 (hildon_app_menu_realize):
5023 Decorate the window, set WM hint for Matchbox
5025 * src/hildon-note.c (hildon_note_realize):
5026 * src/hildon-banner.c (hildon_banner_realize):
5027 Add WM hints for Matchbox
5029 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5031 * src/hildon-app-menu-private.h
5032 * src/hildon-app-menu.c
5033 (hildon_app_menu_init, hildon_app_menu_finalize)
5034 (hildon_app_menu_map, hildon_app_menu_unmap)
5035 (hildon_app_menu_button_release):
5036 Remove the grab window, it's not needed anymore
5038 * src/hildon-program.c
5039 Fixed typo in documentation
5041 * src/hildon-app-menu.h
5042 * src/hildon-app-menu.c
5043 * examples/hildon-app-menu-example.c
5044 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5046 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5049 Added new transfer_window and close_if_pressed_outside private
5051 (hildon_note_rebuild):
5052 Don't add a cancel button to the information note. It will be
5053 closed when tapping outside
5054 Remove the comment about the OK button in the documentation
5055 (hildon_note_realize):
5056 Set the notification type hint
5057 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5058 Grab/ungrab pointer and keyboard if the note has to be closed when
5060 (hildon_note_button_release):
5061 Close the note when tapping outside (if applicable)
5063 * src/hildon-app-menu.c
5064 Grab/ungrab pointer and keyboard on map/unmap
5065 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5066 Close the menu on button release, not button press
5068 * src/hildon-banner.c
5069 (hildon_banner_set_property)
5070 (hildon_banner_check_position):
5071 Make the banner use the full width of the screen
5072 (hildon_banner_show_information)
5073 (hildon_banner_show_information_with_markup):
5074 Don't display an icon by default
5076 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5078 Added fading scrollbars and adapted all the overshooting code to
5079 horizontal scrolling. We have also fixed bugs with overshooting
5080 and current fading implementation.
5082 * src/hildon-pannable-area.c
5083 (hildon_pannable_area_scroll_indicator_fade): Time out function
5084 used to change the transparency of the scrollbars.
5086 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5087 control and fixed a problem with fading, we now remove the fade
5088 timeout before adding a new one.
5090 (hildon_pannable_axis_scroll):
5091 (hildon_pannable_area_scroll):
5092 (hildon_pannable_area_timeout): Added this functions so we can use
5093 the scroll code both for vertical and horizontal.
5095 (hildon_pannable_area_motion_notify_cb):
5096 (hildon_pannable_area_button_release_cb): Added the horizontal
5097 scrolling control, fixed a problem with the overshooting timeout.
5099 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5100 painting of the scrolls.
5102 (hildon_pannable_draw_vscroll):
5103 (hildon_pannable_draw_hscroll):
5104 (hildon_pannable_area_expose_event):
5105 Draw both scrollbars and rectangles in the overshooting area.
5107 (hildon_pannable_area_get_property):
5108 (hildon_pannable_area_set_property):
5109 Modified the overshoot property to overshoot_max
5111 (hildon_pannable_area_map):
5112 Replaced the comments symbols.
5114 (hildon_pannable_area_size_allocate):
5115 (hildon_pannable_area_class_init):
5116 (hildon_pannable_area_init): Added horizontal scroll, fading
5117 effect properties, fixed a problem when overshooting in the bottom
5120 * examples/hildon-pannable-area-example.c:
5121 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5122 looks better in the example.
5124 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5126 * src/hildon-window.c
5127 * src/hildon-window.h
5128 (hildon_window_class_init)
5129 (hildon_window_unset_program)
5130 (hildon_window_unset_program_real):
5131 Make unset_program a virtual function
5133 * src/hildon-stackable-window.c
5134 * src/hildon-stackable-window.h
5135 Added hildon_stackable_window_go_home()
5137 * examples/Makefile.am
5138 * examples/hildon-stackable-window-example.c
5139 HildonStackableWindow example
5141 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5143 * hildon-pannable-area.c: Added the overshoot property and removed
5144 the OVERSHOOT define. Fixed an indent style error.
5145 (hildon_pannable_area_motion_notify_cb):
5146 (hildon_pannable_area_get_property):
5147 (hildon_pannable_area_set_property): Add overshoot property.
5149 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5152 (hildon_pannable_area_class_init): Installed the new property.
5154 * hildon-pannable-area-example.c: Added a sawtooth function, this
5155 way it is easier to check the movement in the pannable.
5156 (get_sawtooth_label): Added this function.
5157 (main): Now we get the labels from the new get_sawtooth_label
5160 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5162 * src/hildon-app-menu.h
5163 * src/hildon-app-menu.c
5164 Renamed API variables for consistency
5166 (hildon_app_menu_popup): Use also the default window size to
5167 decide where to place the menu
5169 (hildon_app_menu_init, hildon_app_menu_class_init): New
5170 external-border style property
5172 2008-05-26 Michael Natterer <mitch@imendio.com>
5174 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5175 widget_class->tap_and_hold_setup signal slot doesn't exist any
5176 longer, stop overriding it.
5178 (hildon_time_editor_init): g_signal_connect() to the
5179 tap-and-hold-setup signal instead.
5181 (hildon_time_editor_entry_keypress): add cast to fix warning.
5183 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5185 * doc/hildon-docs.sgml
5187 * examples/Makefile.am
5188 * examples/hildon-app-menu-example.c
5190 * src/hildon-app-menu-private.h
5191 * src/hildon-app-menu.c
5192 * src/hildon-app-menu.h
5194 New HildonAppMenu widget
5196 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5198 Rearranged the inheritance of the pannable area, now it inherits
5199 from GtkBin. This will allow us to control the event_window and
5200 the allocation process of the widget, required for some effects.
5202 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5203 GtkBin structures. * src/hildon-pannable-area.c: Added the
5204 event_window variable.
5205 (hildon_pannable_area_button_press_cb):
5206 (hildon_pannable_area_button_release_cb):
5207 (hildon_pannable_area_motion_notify_cb):
5208 Changed the signature of the method, now we override the event
5209 callback instead of connecting to the signal.
5211 (hildon_pannable_area_realize):
5212 (hildon_pannable_area_unrealize):
5213 (hildon_pannable_area_map):
5214 (hildon_pannable_area_unmap):
5215 (hildon_pannable_area_size_allocate):
5216 Added functions to control the widget construction. We add a
5217 INPUT_ONLY window and we put it over the widgets inside the
5218 container, this event_window handles the events.
5220 (hildon_pannable_area_class_init):
5221 Replaced the signal connections with overrides of the event
5224 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5226 Bouncing effect added when touching the borders, you can change
5227 the elasticity of the border changing the ELASTICITY define.
5229 * src/hildon-pannable-area.c: Added ELASTICITY define.
5230 (hildon_pannable_area_timeout): Added inverse velocity when
5231 touching the border of the child widget, that causes a bounce.
5233 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5235 Improved performance, we now do not go to the X server in order to
5236 get the list of window children. Apparently the effect is the
5237 same, we have to be careful and check if this breaks something in
5240 * src/hildon-pannable-area.c:
5241 (get_ordered_children): Removed this function.
5242 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5243 the children windows function with gdk_window_get_children.
5245 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5247 * src/hildon-pannable-area.c:
5248 (hildon_pannable_area_dispose): Fixed a crash when closing the
5249 window and kinetics is activated.
5251 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5253 * src/hildon-pannable-area.h
5254 * src/hildon-pannable-area.c
5255 Changed indentation style to meet the one used in Hildon
5257 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5259 Reviewed the interaction of the AUTO mode, now we use the time
5260 attribute of the events and calculate the velocity in the motion,
5261 doing a gimp like calculation. The velocity is calculated in each
5262 motion event using the last velocity and the current one, the
5263 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5265 * src/hildon-pannable-area.c: Replaced the time based algorithm
5267 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5268 timeout for the AUTO mode when we are still moving the cursor. We
5269 added also the velocity calculation in this function.
5270 (hildon_pannable_area_button_release_cb): launch the timeout in
5271 case we are in AUTO mode. There are still some constants here that
5272 come from the old implementation that should be reviewed and
5275 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5277 * doc/hildon-docs.sgml
5280 * src/hildon-stackable-window.c
5281 * src/hildon-stackable-window.h
5283 New HildonStackableWindow widget
5285 * examples/hildon-dialog-example.c
5286 * examples/hildon-pannable-area-example.c
5289 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5291 * src/hildon-dialog.c
5292 (hildon_dialog_new_with_buttons): New constructor.
5294 * examples/hildon-dialog-example.c
5295 (main): Update the example to use the new
5296 hildon_dialog_new_with_buttons().
5298 * examples/hildon-pannable-area-example.c
5299 (main): Update example.
5301 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5303 * doc/hildon-docs.sgml
5305 Added HildonPannableArea to the documentation.
5307 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5309 * doc/visual_index.xml
5310 Fix reference to HildonLoginDialog in documentation
5312 * doc/hildon-docs.sgml
5314 * examples/Makefile.am
5315 * examples/hildon-dialog-example.c
5317 * src/hildon-dialog.c
5318 * src/hildon-dialog.h
5320 New HildonDialog widget.
5322 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5324 * src/hildon-pannable-area.c
5325 Merge latest changes (r4318, r4342) from libmokoui trunk
5327 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5329 * examples/Makefile.am
5330 * examples/hildon-pannable-area-example.c
5332 * src/hildon-pannable-area.c
5333 * src/hildon-pannable-area.h
5335 New HildonPannableArea widget.
5337 2008-04-15 18:05:19 <timj@imendio.com>
5339 * src/hildon-banner.c: revert the recent change, that introduced
5340 gtk_window_present() calls. this reopens:
5341 Bug 78481 - [freetest] information banners are hidden under browser menu
5342 But resolves another variant of:
5343 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5345 2008-04-15 13:21:13 <timj@imendio.com>
5347 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5348 recreated its layout, spotted by Kris. this fixes all remaining
5349 artefacts and stability issues with the banner code. in particular:
5350 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5352 2008-04-14 16:52:59 <timj@imendio.com>
5354 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5355 operating on unrealized widgets, fixes:
5356 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5358 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5360 2008-04-09 Kristian Rietveld <kris@imendio.com>
5362 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5363 makes banner disappear.
5364 Fixes: NB#79182: info banner flickering with certain message lengts.
5366 * src/hildon-banner.c (hildon_banner_constructor),
5367 (hildon_banner_init), (hildon_banner_set_text),
5368 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5369 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5370 FALSE, reset size requests of label and banner,
5371 (force_to_wrap_truncated): when the text is too wide, always enforce
5372 the maximum possible width instead of recalculating it from the
5373 layout; enforce the maximum banner height of 3 lines,
5374 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5375 nicer wrapping and no truncated chars if space gets tight.
5377 * src/hildon-banner-private.h: add has_been_wrapped and
5378 has_been_truncated fields.
5380 2008-04-07 Sven Herzberg <sven@imendio.com>
5382 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5383 local values in hildon_date_editor_size_allocate
5385 * src/hildon-date-editor.c: moved the real allocation code into the
5388 2008-04-07 Sven Herzberg <sven@imendio.com>
5390 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5391 local values in hildon_date_editor_size_allocate
5393 * src/hildon-date-editor.c: merged the two if() branches together
5395 2008-04-07 Sven Herzberg <sven@imendio.com>
5397 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5398 local values in hildon_date_editor_size_allocate
5400 * src/hildon-date-editor.c: changed the arguments of the if()
5403 2008-04-07 Sven Herzberg <sven@imendio.com>
5405 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5406 local values in hildon_date_editor_size_allocate
5408 * src/hildon-date-editor.c: split the calculation of the allocation
5409 from the real allocation
5411 2008-03-27 Michael Natterer <mitch@imendio.com>
5413 Fixes: NB#81696: The passcode is not overwritten even after
5416 * src/hildon-code-dialog.c
5417 (hildon_code_dialog_button_clicked)
5418 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5419 because that doesn't overwrite selected text. Instead, emit the
5420 "commit" signal on the entry's im_context so the entry's normal
5421 insert logic is triggered. Set the cursor to the end of the entry
5422 after each insert operation so that we *only* insert in the middle
5423 of the text if something was selected.
5425 2008-03-27 Michael Natterer <mitch@imendio.com>
5427 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5428 selector cannot be opened
5430 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5431 when the popup color selector is created. Please connect to this
5432 signal in order to set the dialog's help ID.
5434 2008-03-25 Sven Herzberg <sven@imendio.com>
5436 Fixes: MB#1212: Hide info banners (infoprints) on click
5438 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5439 extracted the close event simulation into an extra function
5440 (hildon_banner_button_press_event): simulate a close event and destroy
5441 the widget if the event wasn't handled
5442 (hildon_banner_class_init): added the button_press_event handler
5443 (hildon_banner_init): added button-press events to the widget
5445 2008-03-25 Sven Herzberg <sven@imendio.com>
5447 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5448 Patch from: Mohammad Anwari <mdamt@maemo.org>
5450 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5451 instead of the right in RTL mode
5452 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5453 breadcrumb button list in RTL mode
5454 * src/hildon-caption.c: mirror the appearance of the caption widget in
5456 * src/hildon-date-editor.c: mirror appearance of the date editor in
5458 * src/hildon-time-editor.c: mirror appearance of the time editor in
5460 * src/hildon-window.c: fix the position of the popup in RTL mode
5462 2008-03-25 Sven Herzberg <sven@imendio.com>
5464 Amendment to the fix of NB#22072. Fix compilation.
5466 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5468 2008-03-19 Sven Herzberg <sven@imendio.com>
5470 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5473 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5474 timeout id properly when the timeout will disappear this leaves no
5475 artifacts around in the destroy(); there will only be the timeout
5476 created by hildon_banner_ensure_timeout() and adding a new timeout
5477 will also work if the timeout gets removed because the timeout_handler
5480 2008-03-19 Michael Natterer <mitch@imendio.com>
5482 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5484 * src/hildon-volumebar.c
5485 * src/hildon-vvolumebar.c
5486 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5487 the widget becomes focussable at all.
5489 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5490 set the focus to wither the mute button or the volumebar.
5492 Remove own "can-focus" property and instead listen to
5493 notify::can-focus in order to update the widget's state.
5495 Implement GtkWidget::focus() and make sure we can also *leave* the
5496 widget, not only enter it, depending on volumebar orientation and
5497 requested focus direction.
5499 Clean up set_mute() to cooperate nicely with all the above.
5501 2008-03-04 Michael Natterer <mitch@imendio.com>
5503 Fixes: NB#78481: information banners are hidden under browser menu
5505 * src/hildon-banner.c: call gtk_window_present() on the banners so
5506 they are risen if they are already visible.
5508 2008-03-03 Sven Herzberg <sven@imendio.com>
5510 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5512 * examples/hildon-window-menu-example.c: (main): extended the window
5513 menu example to serve as a testcase for automatically added
5514 accelerator groups, too
5515 * src/hildon-window.c: (hildon_window_add_accel_group),
5516 (hildon_window_set_menu): added patch by Tommi Komulainen
5518 2008-03-03 Sven Herzberg <sven@imendio.com>
5520 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5522 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5523 knowledge about the border allocators used within GTK+
5525 2008-02-26 Sven Herzberg <sven@imendio.com>
5527 Fixes: MB#2981: Build with asserts broken
5529 * src/hildon-date-editor.c,
5530 * src/hildon-number-editor.c,
5531 * src/hildon-time-editor.c,
5532 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5533 the proper GType instance check
5535 2008-02-25 Sven Herzberg <sven@imendio.com>
5537 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5539 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5540 * examples/hildon-window-menu-example.c: (main): explicitly show
5542 * src/hildon-window.c:
5543 (hildon_window_set_main_menu): moved most of the code from set_menu()
5544 to this place; skipped the call to gtk_widget_show_all(); also didn't
5545 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5546 (hildon_window_set_menu): removed most of the code, just keep the
5547 questionable gtk_widget_show_all()
5548 * src/hildon-window.h: added the new function and deprecate the old
5551 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5557 * debian/changelog: Updating.
5559 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5562 * pkgconfig/Makefile.am:
5563 * pkgconfig/hildon.pc.in:
5566 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5567 use newly created API_MAJOR_VERSION.
5569 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5575 * debian/changelog: Updating.
5577 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5579 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5581 Add outer_border style property, we use it but don't define it (!).
5585 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5587 * examples/hildon-bread-crumb-trail-example.c (main):
5591 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5593 Fix logic for the bread crumb trail node removal.
5597 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5603 * debian/changelog: Updating.
5605 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5607 Patch by Alejandro to get/set passwords dialogs accesibility.
5609 * hildon-1/src/hildon-get-password-dialog.c:
5610 * hildon-1/src/hildon-set-password-dialog.c:
5611 Set atk_set_name to the passwd entries in order to allow
5612 accessibility by name on this entries.
5614 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5619 * debian/control: Updating gtk dep.
5621 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5623 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5624 USE_MAEMO_GTK is enabled.
5626 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5628 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5629 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5631 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5637 * debian/changelog: Updating.
5639 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5641 * examples/Makefile.am:
5642 * examples/hildon-logical-color-example.c:
5643 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5644 applied + adding a test case. Fixes: NB#71660.
5646 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5648 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5649 to be visible, fixes warning on map for windows without toolbars.
5651 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5653 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5654 2.11.0, add a check for that besides the MAEMO_GTK check.
5656 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5662 * debian/changelog: Updating.
5664 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5666 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5667 visibility. Fixes: NB#70842 and MB#615.
5669 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5671 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5672 set the separator as no-show-all so it doesn't unintentionally appear when
5673 someone does a show_all.
5675 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5677 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5678 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5679 toplevel item. Fixes: NB#62031
5681 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5683 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5684 fix the name of the function in the docs.
5686 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5692 * debian/changelog: Updating.
5694 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5696 * examples/hildon-banner-long-example.c: Adding a test-case for long
5699 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5701 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5703 * src/hildon-color-chooser-dialog.c:
5704 * src/hildon-color-chooser.c:
5705 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5706 memory leaks in font selector and color selector. Fixes: NB#70499 and
5709 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5711 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5713 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5715 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5716 little bit bigger. Fixes: #NB63694.
5718 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5724 * debian/changelog: Updating.
5726 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5729 * doc/hildon-docs.sgml:
5730 * doc/images/bread-crumb-trail.png:
5731 * doc/images/calendar-popup.png:
5732 * doc/images/caption.png:
5733 * doc/images/code-dialog.png:
5734 * doc/images/color-button.png:
5735 * doc/images/color-chooser-dialog.png:
5736 * doc/images/color-chooser.png:
5737 * doc/images/controlbar.png:
5738 * doc/images/date-editor.png:
5739 * doc/images/font-selection-dialog.png:
5740 * doc/images/get-password-dialog.png:
5741 * doc/images/hvolumebar.png:
5742 * doc/images/login-dialog.png:
5743 * doc/images/note.png:
5744 * doc/images/number-editor.png:
5745 * doc/images/range-editor.png:
5746 * doc/images/seekbar.png:
5747 * doc/images/set-password-dialog.png:
5748 * doc/images/sort-dialog.png:
5749 * doc/images/time-editor.png:
5750 * doc/images/time-picker.png:
5751 * doc/images/vvolumebar.png:
5752 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5753 Adding the bread-crumb-trial and helpers to the documentation.
5755 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5757 * examples/hildon-find-toolbar-example.c:
5758 * src/hildon-find-toolbar.c:
5759 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5760 actually continue firing the other handlers if connected. Adding a new
5762 hildon_find_toolbar_get_last_index that gets the index of the most
5763 recently added (last) item. Fixes: NB#52301.
5765 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5767 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5768 behaviour. Fixes: NB#68610.
5770 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5772 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5775 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5777 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5778 when realizing the banner. Should make the infonbanner effect a bit more
5781 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5783 * src/hildon-volumebar.c:
5784 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5785 hildon_volumebar_set_range_insensitive_message and
5786 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5788 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5790 * src/hildon-window.c: Fixing the border freeing on destroy.
5792 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5794 * src/hildon-code-dialog-private.h:
5795 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5796 kw keyboard support in HildonCodeDialog.
5798 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5804 * debian/changelog: Updating.
5806 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5808 * src/hildon-date-editor.c:
5809 * src/hildon-number-editor.c:
5810 * src/hildon-private.c:
5811 * src/hildon-private.h:
5812 * src/hildon-time-editor.c:
5813 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5814 handling in subclassed composite widgets. Fixes: NB#66628.
5816 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5819 from destroy_ callback as it introduces problems in async dbus signal
5820 handlers. Fixes NB#66673.
5822 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5824 * examples/hildon-hvolumebar-example.c:
5825 * src/hildon-volumebar.c: Improving the focus handling in the
5826 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5827 set_property accessor so that "mute" property can be actually set. I'm
5828 scared that nobody noticed it's totally broken.
5830 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5832 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5835 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5837 * src/hildon-calendar.c:
5838 * src/hildon-number-editor.c:
5839 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5840 matches the spec of 6 chars per second. Fixes: NB#60489.
5842 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5844 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5845 gtk_style_lookup_color sometime returns FALSE even though color was
5846 found and values were filled properly. Weird. Removing the warning for the
5849 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5851 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5852 expand vertically. Adding some extra space to the find toolbar buttons to
5853 make them thumbable. Fixes NB#66060.
5855 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5857 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5858 popup with "Ok" and "Cancel". Fixes NB#59299.
5860 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5862 * src/hildon-calendar.c: Process all window updates before executing next
5863 timeout. Fixes: NB#54146.
5865 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5871 * debian/changelog: Updating.
5873 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5875 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5876 the client event and ignore it, since we use the delete event to close
5879 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5881 * src/hildon-helper.c: Remove the bogus warning about color not being
5882 found. Fixes NB#58352.
5884 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5886 * examples/Makefile.am:
5887 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5888 HildonSeekbar widget inside a toolbar.
5890 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5892 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5893 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5894 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5895 don't want to be closed by non-temporary windows on map.
5897 Also use G_DEFINE_TYPE instead of manually typed code.
5899 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5906 * debian/rules: Updating.
5908 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5910 * examples/Makefile.am:
5911 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5912 bug NB#61128. Strangely it works.
5914 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5916 * src/hildon-date-editor.c: When the date editor entry has been changed
5917 but the numbers of characters < max, turn off the skip validation flag.
5918 Prevents a situation when we enter first a valid year and later re-write
5919 it with an invalid one. Fixes NB#60154.
5921 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5923 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5924 code dialog. Fixes NB#64355.
5926 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5928 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5929 switching the page. Fixes NB#49374.
5931 * examples/Makefile.am:
5932 * examples/hildon-wizard-dialog-example.c: Adding an example for
5933 HildonWizardDialog that shows how to handle manual sensitivity setting on
5936 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5940 * src/hildon-version.h.in:
5941 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5943 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5945 * src/hildon-volumebar.c: Updating the docs.
5947 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5953 * debian/changelog: Updating.
5955 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5957 * src/hildon-find-toolbar.c:
5958 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5959 selected item: hildon_find_toolbar_set_active,
5960 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5961 hildon_find_toolbar_get_active_iter . They correspond to respective
5962 GtkComboBox functions.
5964 * examples/Makefile.am:
5965 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5968 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * examples/Makefile.am:
5971 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5974 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5975 when font size > 32 and we pack a focusable widget inside. Actually using
5976 the default response would work too, but since we don't show default
5977 response state in any way (no theming) it would not be visible to the
5978 user. Fixes NB#63430.
5980 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5982 * src/hildon-date-editor.c: Adding the missing variable setter in the
5983 set_property handler. Fixes NB#54182.
5985 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5987 * src/hildon-window.h: Changing the long key press time from 1500ms to
5988 800ms as requested in NB#63700. I have a bad feeling about this, let's
5989 see... Fixes NB#63700.
5991 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5993 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5994 hildon_time_picker_map, hildon_time_picker_realize,
5995 hildon_time_picker_style_set): Split the contents of map to more
5996 appropriate functions; set window decorations on realize and update
5997 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5999 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6004 * debian/changelog: Updating.
6006 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6008 * src/Makefile.am: fixed installation of the header files
6010 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6016 * debian/changelog: Updating.
6018 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6020 * configure.ac: Removing some remaining of --enable-xan.
6022 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6024 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6025 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6027 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6028 2.10.12-osso6 because the move-focus signal needs to be available in
6031 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6033 * examples/Makefile.am:
6034 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6035 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6036 fine. Prolly NB#61128 is fixed now.
6038 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6040 * src/hildon-volumebar.c:
6041 * src/hildon-volumebar.h: Adding the
6042 hildon_volumebar_set_range_insensitive_message and
6043 hildon_volumebar_set_range_insensitive_messagef functions to set
6044 insensitive message on the slider of the volumebar. Fixes NB#61129.
6046 * examples/Makefile.am:
6047 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6048 test the new insensitive messsage functionality on HildonVolumebar.
6050 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6052 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6055 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6057 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6058 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6059 button on after clearing the trail.
6061 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6063 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6065 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6067 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6068 by splitting the installed headers in generated and non-generated groups. Use
6069 only the non-generated headers to create the hildon-enum-types.h file.
6071 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6073 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6075 * src/hildon-window.c: Hide the window before performing the destroy.
6076 Should make the app closing a little tiny bit more snappy.
6078 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6080 * src/hildon-seekbar.c: add gtkrange.h header
6081 * src/hildon-caption.c: remove unused variable
6083 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6085 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6088 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6094 * debian/changelog: Updating.
6096 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6098 * src/hildon-window.c (hildon_window_window_state_event,
6099 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6100 escape timeout on focus-out-event rather than notify::is-topmost; the
6101 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6103 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6106 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6108 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6110 * src/hildon-window: actually, you need to use the macro always, there's
6111 no private pointer in the instance structure. We should have cleaned this up
6112 when we had the chance...
6114 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6116 * src/hildon-window.c: do not get the private date from HildonWindow before
6117 it passes the g_return_if_fail check. Once it's passed the test, there's no
6118 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6119 if you are only going to access the data once. Whitespace cleanups.
6121 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6123 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6124 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6126 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6132 * debian/changelog: Updating.
6134 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6136 * src/hildon-window.c: When destroying the window, remove (if exists) the
6137 escape timeout handler. Fixes #NB59276.
6139 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6141 * src/hildon-banner.c: When realizing the widget, set the window
6142 transiency. Setting the transiency in the gobject constructor is not
6143 good, as the widget is not realized at that point. Fixes: #NB56624.
6145 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6147 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6148 Add padding for future expansions.
6150 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6152 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6153 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6154 will fake an activation on the previous to the last item of the trail, so
6155 the effect can be overrided by the developer as usual.
6156 Also change the callback for the back button to do the same thing, so its
6157 effect can be overrided too. Fixes: NB#58982
6159 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6161 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6162 HildonCaption. Fixes NB#52379.
6164 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6166 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6167 the internal state of the trail after the user has had the chance of executing
6168 his handler for the signal. Specifically, it may happen that the activated button
6169 is removed and the user still lets the default handler run. This would segfault
6172 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6175 scrollbar to the preview dialog. Fixes NB#54147.
6177 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6179 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6180 max/min year properties can be altered, so the client can modify it
6181 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6183 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6185 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6186 hildonlike by default. Fixing a problem with disappearing arrows when
6187 scrolling through months and years. Fixes NB#54127.
6189 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6191 * examples/hildon-date-editor-example.c: Adding error callback to the date
6194 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6200 * configure.ac: Updating.
6202 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6204 * configure.ac: Adding a special '--enable-xan' configure option that
6205 turns off the -Werror compilation setting. Usefull for development.
6207 * src/hildon-calendar.c:
6208 * src/hildon-number-editor.c:
6209 * src/hildon-time-picker.c: Adding the 5* multiplier to
6212 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6214 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6215 instead of g_object_ref + gtk_object_sink.
6217 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6223 * debian/changelog: Updating.
6225 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6227 * src/hildon-color-chooser-dialog.c:
6228 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6229 straight from Tommi labs.
6231 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6233 * examples/hildon-finger-example.c: Correcting the header file path.
6235 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6236 the changed signal. Fixes a small memory leak.
6238 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6242 * src/hildon-banner.c: Importing several usefull fixes from the
6243 ubuntu-mobile branch.
6245 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6247 * examples/Makefile.am:
6248 * examples/hildon-finger-example.c: Adding a finger-checking code
6251 * src/hildon-font-selection-dialog.c: Do not allocate the color
6252 structure using the g_new. Fixes NB#54061.
6254 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6256 * src/hildon-helper.c: Correcting tabs in file.
6258 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6260 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6261 control the visibility of the children.
6263 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6265 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6271 * debian/changelog: Updating.
6273 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6275 * src/hildon-bread-crumb-trail.c:
6276 (hildon_bread_crumb_trail_size_allocate):
6278 Make the back button always a square.
6280 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6282 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6283 from the .c file as it's a private file.
6285 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6287 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6288 uses slightly bigger height.
6290 * src/hildon-font-selection-dialog.c: Adding some checks before
6291 freeing memory in the font selection dialog.
6293 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6295 * src/hildon-font-selection-dialog.c: Adding a small check when
6298 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6299 buttons sensitivity on page switching.
6301 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6303 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6304 internal details of adding a bread crumb to the trail.
6306 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6312 * debian/changelog: Updating.
6314 * src/hildon-bread-crumb-trail.h:
6315 * src/hildon-bread-crumb.h: Changing the API guard to
6316 HILDON_ENABLE_UNSTABLE_API.
6318 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6326 * src/hildon-helper.h: Updating.
6328 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6336 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6340 * src/hildon-helper.h: Small fix to make the package actually compile.
6342 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6344 * src/hildon-bread-crumb-trail.h:
6345 * src/hildon-bread-crumb.h:
6347 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6348 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6350 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6352 * examples/hildon-bread-crumb-trail-example.c:
6354 * src/hildon-bread-crumb-trail.c:
6355 * src/hildon-bread-crumb-trail.h:
6356 * src/hildon-bread-crumb.c:
6357 * src/hildon-bread-crumb.h:
6358 * src/hildon-marshalers.list:
6359 * src/hildon-bread-crumb-widget.c:
6360 * src/hildon-bread-crumb-widget.h:
6362 Slight change in the widget design. The bread crumb trail API is
6363 unchanged, but HildonBreadCrumb is now an interface. A *private*
6364 implementation, hildon-bread-crumb-widget, is provided and used
6365 internally by the trail for the push_text/push_icon functions.
6367 The generic push API is still available, so anyone can implement
6368 and use its own bread crumb widget.
6370 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6372 * debian/rules: Fixing the shlibs.
6374 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6376 * src/hildon-banner.c: Fixing a problem with timed banners having
6377 their parrent destroyed before they are.
6379 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6381 * src/hildon-bread-crumb.c:
6382 * src/hildon-bread-crumb.h:
6384 Make the get_natural_size function a vfunc.
6386 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6388 * src/hildon-bread-crumb.c:
6389 * src/hildon-bread-crumb-trail.c:
6393 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6400 * debian/changelog: Updating for release.
6402 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6404 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6405 don't leak the pango layout.
6407 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6410 * examples/hildon-bread-crumb-trail-example.c:
6414 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6416 * debian/changelog: Removing the bug-fixed entries that were actually
6417 resolved as WONTFIX.
6419 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6422 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6424 * src/hildon-bread-crumb-trail.c:
6425 * src/hildon-bread-crumb-trail.h:
6426 * src/hildon-bread-crumb.c:
6427 * src/hildon-bread-crumb.h:
6431 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6433 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6434 until it's passed the type check.
6436 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6438 * examples/hildon-bread-crumb-trail-example.c
6442 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6444 * examples/Makefile.am
6445 * examples/hildon-bread-crumb-trail-example.c
6447 * src/hildon-bread-crumb-trail.c
6448 * src/hildon-bread-crumb-trail.h
6449 * src/hildon-bread-crumb.c
6450 * src/hildon-bread-crumb.h
6452 New HildonBreadCrumbTrail widget.
6454 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6456 * src/hildon-range-editor.c (hildon_range_editor_init),
6457 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6458 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6459 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6460 hildon_time_editor_class_init, hildon_time_editor_init),
6461 src/hildon-get-password-dialog.c (invalid_input,
6462 hildon_get_password_set_property, hildon_get_password_get_property,
6463 create_contents, hildon_get_password_dialog_set_max_characters),
6464 src/hildon-set-password-dialog.c (create_contents),
6465 src/hildon-date-editor.c (hildon_date_editor_init),
6466 src/hildon-login-dialog.c (hildon_login_dialog_init),
6467 src/hildon-number-editor.c (hildon_number_editor_init),
6468 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6469 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6470 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6471 configure option and adding the respective checks in the code.
6472 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6473 hildon_calendar_drag_data_received): fixed some build warnings.
6475 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6477 * debian/changelog: A 1.0.0 release notes.