1 2009-02-23 Alejandro G. Castro <alex@igalia.com>
3 This patch was applied before but reverted because it caused
4 problems, we have changed the main condition and tested the
5 regressions we detected before and they work ok. We have done a
6 complete review of the topmost algorithm in order to get a more
9 * src/hildon-pannable-area.c,
10 (hildon_pannable_area_get_topmost): Added a new parameter to
11 filter the the windows that do not include those events.
12 (hildon_pannable_area_button_press_cb),
13 (hildon_pannable_area_button_release_cb),
14 (hildon_pannable_get_child_widget_at): Reviewed the call the the
15 topmost function, we have added the new parameter.
17 Fixes: NB#97458 (Pannable area prevents propagation of button
20 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
22 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
23 if all columns in the selector have an item selected.
24 (_on_dialog_response): Stop "response" signal emission if there is
25 any selector column without selected items.
27 Fixes: NB#101889 (Picker dialog should not close when nothing is
28 selected in multiple selection list)
30 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
32 * src/hildon-font-selection-dialog.c
33 (hildon_font_selection_dialog_class_init),
34 (hildon_font_selection_dialog_init): Remove the preview
35 button and dialog, since previewing with default theming is likely
36 to be overcomplicated. The :preview property has now no effect.
37 Update documentation blurbs to inform about this.
39 Fixes: NB#92297 (Preview content is not clearly visible for
42 2009-02-20 Alejandro G. Castro <alex@igalia.com>
44 Reviewed the geometry that handles the children size and
45 scrollbar, now it tries a size and reviews the results depending
46 on the scrollbars visibility.
48 * src/hildon-pannable-area.c,
49 (hildon_pannable_area_realize): Fixed a typo.
50 (hildon_pannable_area_child_allocate_calculate): Added this
51 function to calculate the child allocation.
52 (hildon_pannable_area_size_allocate): Reviewed the allocation
54 (hildon_pannable_area_check_scrollbars),
55 (hildon_pannable_area_refresh): Refactored refresh function, this
56 way we can call the code handling the scrollbars without causing a
57 size_request, it is interesting in the allocate.
58 (hildon_pannable_area_init): Replace the callbacks of the
59 value_changed and changed signals to propertly deal with the
61 (hildon_pannable_area_grab_notify),
62 (hildon_pannable_area_initial_effect),
63 (hildon_pannable_area_launch_fade_timeout),
64 (hildon_pannable_area_adjust_changed),
65 (hildon_pannable_area_adjust_value_changed),
66 (hildon_pannable_area_redraw),
67 (hildon_pannable_area_button_press_cb),
68 (hildon_pannable_area_button_release_cb),
69 (hildon_pannable_area_scroll_cb),
70 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
71 code and use the new functions adjust_changed and
74 Fixes: NB#101603 (Focus is not even for the text entry boxes in
75 Contact editor dialog)
77 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
82 * configure.ac: Bump version.
83 * debian/changelog: Updates.
85 2009-02-20 Alejandro G. Castro <alex@igalia.com>
87 * src/hildon-pannable-area.c,
88 (hildon_pannable_area_get_topmost),
89 (hildon_pannable_area_button_press_cb),
90 (hildon_pannable_area_button_release_cb),
91 (hildon_pannable_get_child_widget_at): Reverted the patch for the
92 topmost function adding the event mask. We have to try a
93 differente approach because it is still causing problems (NB#9745,
96 2009-02-19 Alberto Garcia <agarcia@igalia.com>
98 * src/hildon-banner.c:
99 Update the maximum width of timed banners.
100 (force_to_wrap_truncated): Enforce the maximum text width if the
103 Fixes: NB#102413 (The text margins (wrapping) in information
104 banner should be HILDON_MARGIN_TRIPLE)
106 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
108 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
110 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
111 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
112 bound when calculating the scroll indicator position.
114 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
115 treat ->lower correctly)
117 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
119 * src/hildon-caption.c (hildon_caption_class_init): Remove the
120 expose event handling, since it is not necessary to draw the focus
123 Fixes: NB#102467 (Do not show highlight on the text in
126 2009-02-18 Alberto Garcia <agarcia@igalia.com>
128 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
129 full height of the toolbar for the button and the label.
131 2009-02-18 Alberto Garcia <agarcia@igalia.com>
133 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
134 padding before the label and after the button.
136 2009-02-18 Alberto Garcia <agarcia@igalia.com>
138 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
140 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
141 Add a GtkVSeparator between the button and the back arrow.
142 Let the button have automatic size.
143 Set a name to the widget for theming handling.
145 Fixes: NB#101793 (Make edit toolbar the same height as window
146 title bar (use title area theming))
148 2009-02-18 Alberto Garcia <agarcia@igalia.com>
150 * src/hildon-helper.c (attach_new_color_element): Fix memory
153 Fixes: NB#102262 (memory leak in hildon_button_set_style())
155 2009-02-18 Alberto Garcia <agarcia@igalia.com>
157 * examples/hildon-button-example.c (common_buttons_window): Don't
160 2009-02-18 Alberto Garcia <agarcia@igalia.com>
162 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
163 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
165 2009-02-18 Alberto Garcia <agarcia@igalia.com>
167 * src/hildon-gtk.c: Check that the window is realized.
169 Fixes: NB#102225 (Crash setting the progress indicator to a non
172 2009-02-17 Alberto Garcia <agarcia@igalia.com>
174 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
175 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
176 instead of modifying the one in the widget style.
178 Fixes: NB#101043 (Second row of all the command button are
179 displayed in transparent mode.)
181 2009-02-17 Alberto Garcia <agarcia@igalia.com>
183 * src/hildon-date-button.c
184 * src/hildon-time-button.c: Add gettext macros
186 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
188 * src/hildon-date-button.c (hildon_date_button_new):
189 * src/hildon-time-button.c (hildon_time_button_new_step):
190 Use new logical strings to set the button default title.
192 Fixes: NB#99915 (Date and Time options are not localised in Date
195 2009-02-16 Alejandro G. Castro <alex@igalia.com>
197 * src/hildon-pannable-area.c
198 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
199 the PANNING_THRESHOLD.
201 2009-02-16 Alejandro G. Castro <alex@igalia.com>
203 * src/hildon-pannable-area.c,
204 (hildon_pannable_area_class_init): Increased the maximum speed.
205 (hildon_pannable_area_get_property),
206 (hildon_pannable_area_set_property),
207 (hildon_pannable_area_timeout): Added a new low friction mode, it
208 allows the user avoid friction when launching the widget fast
209 enough. It is interesting to traverse long lists.
211 2009-02-16 Alberto Garcia <agarcia@igalia.com>
213 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
214 (+hildon_stackable_window_delete_event): Ignore delete events if
215 the window is not the topmost one.
217 Fixes: NB#101698 (Back button long press and delete-event handling)
219 2009-02-16 Alejandro G. Castro <alex@igalia.com>
221 * src/hildon-pannable-area.c,
222 (hildon_pannable_area_motion_notify_cb): Removed the use of the
223 gtk-dnd-drag-threshold, it was too big. We have defined our own
224 dnd define and set a smaller value: PANNIG_THRESHOLD.
226 2009-02-16 Alberto Garcia <agarcia@igalia.com>
228 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
229 user-defined icons, use always the default one.
231 Fixes: NB#101916 (Do not allow custom icons on animation banner)
233 2009-02-13 Alejandro G. Castro <alex@igalia.com>
235 This patch was applied before but reverted because it caused
236 problems, we have changed the main condition and tested the
237 regressions we detected before and they work ok.
239 * src/hildon-pannable-area.c,
240 (hildon_pannable_area_get_topmost): Added a new parameter to
241 filter the the windows that do not include those events. Added
242 also a condition when finding the window to filter windows that do
243 not ask for those events.
244 (hildon_pannable_area_button_press_cb),
245 (hildon_pannable_area_button_release_cb),
246 (hildon_pannable_get_child_widget_at): Reviewed the call the the
247 topmost function, we have added the new parameter.
249 Fixes: NB#97458 (Pannable area prevents propagation of button
252 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
254 * tests/check-hildon-color-button.c (START_TEST): do not leak
257 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
259 * src/hildon-font-selection-dialog.c
260 (hildon_font_selection_dialog_get_preview_text): Return NULL
261 instead of FALSE on the g_return_val_if_fail().
263 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
265 * src/hildon-time-selector.c (hildon_time_selector_set_time):
266 * src/hildon-date-selector.c
267 (hildon_date_selector_select_current_date):
268 Do not compare unsigned integers to be greater than or equal 0,
269 because it's always TRUE.
271 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
273 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
274 (hildon_date_selector_constructor): Do not select the current
275 date until we are handle the "changed" signal, to avoid having bogus
276 elements in the days model.
278 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
280 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
281 for num_days, since _month_days() can return a negative value.
283 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
285 * src/hildon-caption.c (hildon_caption_size_allocate):
286 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
287 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
289 Initialize allocation variables to 0, to avoid eventually using
290 unitialized variables.
292 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
294 * src/hildon-bread-crumb-trail.c
295 (hildon_bread_crumb_trail_size_allocate):
296 * src/hildon-calendar.c (hildon_calendar_set_background):
297 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
298 * src/hildon-range-editor.c (hildon_range_editor_get_range):
299 * src/hildon-seekbar.c (hildon_seekbar_init):
300 * src/hildon-time-editor.c (hildon_time_editor_get_time):
301 * src/hildon-time-selector.c (hildon_time_selector_finalize):
302 * src/hildon-touch-selector-entry.c
303 (hildon_touch_selector_get_text_from_model):
304 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
305 * src/hildon-window.c (hildon_window_finalize):
307 Remove many unused variables.
309 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
311 * src/hildon-seekbar.c: (hildon_seekbar_init),
312 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
314 Remove unnecessary g_assert() calls.
316 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
318 * src/hildon-caption.c: (hildon_caption_expose),
319 (hildon_caption_set_property), (hildon_caption_init),
320 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
321 (hildon_caption_size_request), (hildon_caption_size_allocate),
322 (hildon_caption_forall), (hildon_caption_set_separator),
323 (hildon_caption_activate), (hildon_caption_set_child_expand),
324 (hildon_caption_set_label_text),
325 (hildon_caption_get_label_alignment):
327 Remove unnecessary g_assert() calls.
329 2009-02-12 Alberto Garcia <agarcia@igalia.com>
331 * src/hildon-banner.c
332 (hildon_banner_map, hildon_banner_init): Make banner temporary
333 before mapping it to avoid closing other temporary windows, but
334 make it non-temporary afterwards to avoid being closed by other
335 non-temporary windows.
336 (-hildon_banner_client_event, hildon_banner_init):
337 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
339 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
342 2009-02-11 Alberto Garcia <agarcia@igalia.com>
344 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
347 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
349 * src/hildon-remote-texture.c
350 * src/hildon-remote-texture.h
351 * src/hildon-remote-texture-private.h
352 * examples/hildon-remote-texture-example.c:
353 Updates/fixes to remote-texture and its example.
355 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
357 Patch by Mox Soini (ext-mox.soini@nokia.com)
359 * src/hildon-code-dialog.c: Update logical id.
360 * src/hildon-set-password-dialog.c: Update logical id.
362 Fixes: NB#100646 (Logical strings is shown for ok in set
363 password,Password needed dialogs)
365 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
368 * src/hildon-remote-texture.c
369 * src/hildon-remote-texture.h
370 * src/hildon-remote-texture-private.h
372 Added remote texture widget (for Clutter shared memory textures)
374 * examples/hildon-remote-texture-example.c
375 * examples/Makefile.am
376 Added example file for remote texture usage
378 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
380 * configure.ac: post release version bump.
381 * debian/changelog: version bump.
383 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
388 * configure.ac: Bump version.
389 * debian/changelog: Updates.
391 2009-02-06 Alberto Garcia <agarcia@igalia.com>
393 * src/hildon-date-selector.c (hildon_date_selector_init)
394 (hildon_date_selector_constructor): Don't connect to the "changed"
395 signal until the selector is completely constructed.
397 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
399 * src/hildon-touch-selector.c: (_create_new_column),
400 (hildon_touch_selector_append_column),
401 (hildon_touch_selector_set_column_selection_mode),
402 (hildon_touch_selector_set_active),
403 (hildon_touch_selector_select_iter):
404 Emit the HildonTouchSelector::changed signal every time selection
405 is changed in any of the methods above. This behavior was already
406 documented but not fully functional.
408 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
409 selection is programmatically changed)
411 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
413 * doc/hildon-sections.txt: Remove obsolete icon
414 sizes from here as well.
416 2009-02-05 Alberto Garcia <agarcia@igalia.com>
418 * examples/hildon-stackable-window-example.c (add_window): Remove
421 2009-02-05 Alberto Garcia <agarcia@igalia.com>
423 * src/hildon-app-menu.c
424 (hildon_app_menu_show): Check whether the parent window of a menu
425 is topmost before popping it up.
427 Fixes: NB#100468 (Application menu window is launched even when a
428 new secondary-window/dialog is pending to be shown/realized.)
430 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
432 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
435 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
437 Patch by Mox Soini (ext-mox.soini@nokia.com)
439 * src/hildon-banner.c: (hildon_banner_show_animation):
440 use stylus size instead of obsolete note size.
441 * src/hildon-defines.h: Update icon sizes.
443 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
445 * src/hildon-touch-selector-entry.c:
446 (hildon_touch_selector_entry_init): Disable unsupported
448 (hildon_touch_selector_entry_get_text_column): Emit a warning
449 if an unsupported input modes is used and explicitile state
450 these modes in the documentation.
452 Fixes: NB#99802 (Hildon touch selector entry not working properly
453 for some of the input modes)
455 2009-02-05 Alejandro G. Castro <alex@igalia.com>
457 * src/hildon-pannable-area.c,
458 (hildon_pannable_area_init): Added the changed signal handlers of
461 Fixes: NB#100320 (HildonPannableArea does not listen to
462 GtkAdjustment "change" signals)
464 2009-02-04 Alberto Garcia <agarcia@igalia.com>
466 * doc/hildon-sections.txt
467 * src/hildon-window-private.h
468 * src/hildon-window.h
469 * src/hildon-window.c (hildon_window_init)
470 (hildon_window_realize, hildon_window_unrealize)
471 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
472 (hildon_window_size_request, hildon_window_size_allocate)
473 (hildon_window_forall, hildon_window_show_all)
474 (hildon_window_destroy, +paint_edit_toolbar)
475 (+hildon_window_set_edit_toolbar):
476 New hildon_window_set_edit_toolbar() method, to add a
477 HildonEditToolbar to a window without having to pack it manually.
479 Reorganize hildon_window_size_allocate()
481 * src/hildon-edit-toolbar.c: Update documentation.
483 * examples/hildon-edit-toolbar-example.c (edit_window): Update
484 example to use the new API.
486 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
488 2009-02-04 Alberto Garcia <agarcia@igalia.com>
490 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
491 Remove from stack before calling parent's hide.
493 2009-02-04 Alberto Garcia <agarcia@igalia.com>
495 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
496 window is removed from the middle of the stack, update the
497 transiency of the previous one.
499 Fixes: NB#100487 (HildonStackableWindow transiency becomes
502 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
504 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
505 block/unblock the signal handler if it's not actually being used.
506 Fixes some critical warnings.
508 2009-02-02 Alberto Garcia <agarcia@igalia.com>
510 Based on a patch by Iván Gómez (igomez@igalia.com)
512 * src/hildon-banner.c
516 * src/hildon-pannable-area.c
517 * src/hildon-picker-dialog.c
518 * src/hildon-wizard-dialog.h
519 * src/hildon-wizard-dialog.c: Documentation updates.
521 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
522 gtk_dialog_add_button() instead of hildon_dialog_add_button().
524 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
526 * configure.ac: post release version bump.
527 * debian/changelog: version bump.
529 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
534 * configure.ac: Bump version.
535 * debian/changelog: Updates.
537 2009-01-29 Alberto Garcia <agarcia@igalia.com>
539 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
540 a stock icon nor change the relief of the back arrow.
542 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
545 2009-01-29 Alberto Garcia <agarcia@igalia.com>
547 * src/hildon-button.c (hildon_button_set_alignment): Use
548 priv->alignment if the button has no child yet.
550 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-button.c: (hildon_button_init): Set the
553 button style during initialization to give it the proper
556 Fixes: NB#99713 (HildonButton value label color is wrong)
558 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
560 * src/hildon-touch-selector.c: Document
561 hildon_touch_selector_center_on_selected()
563 2009-01-28 Alberto Garcia <agarcia@igalia.com>
565 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
566 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
567 all menu items, but not the menu itself.
568 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
569 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
570 items after adding them to the menu so keyboard accelerators work.
571 (hildon_app_menu_show): Don't show the menu if it contains items
572 but none of them are visible.
574 * examples/hildon-app-menu-example.c (create_menu): Use
575 gtk_widget_show_all() to show all menu items.
577 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-picker-dialog.c:
580 (-_update_title_on_selector_changed_cb),
581 (-_dialog_update_title): Removed.
582 (_select_on_selector_changed_cb), (_on_dialog_response),
583 (on_selector_columns_changed): Do not update the dialog title.
584 (setup_interaction_mode): Do not connect to
585 HildonTouchSelector::changed signal if there's a "done" button, as
586 the dialog title doesn't need to be updated.
588 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
591 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
593 Patch by Kristian Rietveld (kris@imendio.com)
595 * src/hildon-touch-selector.c: (_create_new_column): Use new
596 GtkTreeView::hildon-row-tapped signal to react to user interactions
597 instead of ::changed.
599 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
600 with some dynamic tree model)
602 2009-01-27 Alberto Garcia <agarcia@igalia.com>
604 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
605 (+screen_size_changed, +label_size_request)
606 (hildon_note_class_init): Make the Hildon information note have a
607 minimum height, and make its text hvae a maximum width.
609 Fixes: NB#98614 (Hildon information note (background) should have
610 minimum height and maximum text width)
612 2009-01-26 Alberto Garcia <agarcia@igalia.com>
614 * src/hildon-banner.h
615 * src/hildon-banner.c (hildon_banner_show_information)
616 (hildon_banner_show_informationf)
617 (hildon_banner_show_information_with_markup): Update documentation
618 to reflect that the icon_name parameter is not used anymore.
619 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
620 Remove all code from these functions and mark them as deprecated.
621 (hildon_banner_show_progress): Mark as deprecated.
623 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
625 2009-01-26 Alejandro G. Castro <alex@igalia.com>
627 * src/hildon-pannable-area.c,
628 (hildon_pannable_area_class_init),
630 (hildon_pannable_draw_vscroll),
631 (hildon_pannable_draw_hscroll),
632 (hildon_pannable_area_expose_event): Added a new way to render the
633 scrollbars of the pannable area avoiding using cairo at all. This
634 way we improve the performance of the pannable area rendering. The
635 cairo rendering procedure is still in the code, we can control
636 which one to use changing the value of the define
637 USE_CAIRO_SCROLLBARS.
639 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
641 * configure.ac: post release version bump.
642 * debian/changelog: version bump.
644 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
649 * configure.ac: Bump version.
650 * debian/changelog: Updates.
652 2009-01-23 Alberto Garcia <agarcia@igalia.com>
654 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
655 banners instead of destroying them when they receive a button
658 2009-01-23 Alejandro G. Castro <alex@igalia.com>
660 Reverted commit 34028, it was causing regressions, probably the
661 topmost condition is not correct, we have to check it in more
662 detail. We have reponed the bug: NB#97458 (Pannable area prevents
663 propagation of button press events)
665 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
667 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
668 that the selection is not empty before attempting to retrieve the
669 current ampm selection.
671 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
673 * src/hildon-picker-button.c:
674 (hildon_picker_button_on_dialog_response): Directly update the
675 button contents when required instead of calling _selection_changed.
677 2009-01-23 Alberto Garcia <agarcia@igalia.com>
679 * src/hildon-program.c (hildon_program_update_top_most): Update
680 'is-topmost' property also when wm_hints is not set.
682 Fixes: NB#98383 (is-topmost signal is not emitted when task
683 switcher is clicked.)
685 2009-01-23 Alejandro G. Castro <alex@igalia.com>
687 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
691 * src/hildon-animation-actor.c,
692 * src/hildon-animation-actor.h: Added the animation actor class,
693 this widget represents an animation actor for WM-assisted
694 animation effects in the Hildon framework.
696 2009-01-23 Alberto Garcia <agarcia@igalia.com>
698 * src/hildon-window-stack-private.h
699 * src/hildon-window-stack.c
700 * src/hildon-stackable-window.c (hildon_stackable_window_show):
701 Avoid calling gtk_widget_show() again indirectly from
702 hildon_stackable_window_show()
704 2009-01-23 Alberto Garcia <agarcia@igalia.com>
706 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
709 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
711 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
712 (hildon_time_selector_init): Move the construction of the hours and
713 ampm columns to the constructor to preserve the order the columns
716 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
718 * src/hildon-picker-dialog.c:
719 (hildon_picker_dialog_class_init): Connect a realize method.
720 (+hildon_picker_dialog_realize): Setup the interaction mode here
722 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
723 yet, do it during the realize instead.
724 (_on_dialog_response):
725 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
726 if the widget is not realized, to avoid the dialog response before it
729 Avoid premature responses in the HildonPickerDialog that can cause it
730 to be hidden before it's even shown.
732 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
734 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
735 (on_selector_columns_changed), (requires_done_button),
736 (+prepare_action_area), (setup_interaction_mode),
737 (_hildon_picker_dialog_set_selector):
739 Split the interaction mode setup into preparation of the
740 action area (prepare_action_area()) and the connection of
741 the signals in setup_interaction_mode() and update the code to
744 2009-01-22 Alejandro G. Castro <alex@igalia.com>
746 * src/hildon-pannable-area.c,
747 (hildon_pannable_area_class_init): Reduced the amount of scrolls
748 per second to 15, we will check if this is ok regarding
751 2009-01-22 Alejandro G. Castro <alex@igalia.com>
753 * src/hildon-pannable-area.c,
754 (hildon_pannable_axis_scroll): Avoid resize if we already have
755 reached overshoot_max.
757 2009-01-22 Alejandro G. Castro <alex@igalia.com>
759 * src/hildon-pannable-area.c,
760 (hildon_pannable_area_init),
761 (hildon_pannable_area_realize),
762 (hildon_pannable_area_size_allocate),
763 (hildon_pannable_area_map),
764 (hildon_pannable_area_unmap),
765 (hildon_pannable_draw_vscroll),
766 (hildon_pannable_draw_hscroll),
767 (hildon_pannable_area_expose_event),
768 (hildon_pannable_area_refresh): Added a new GdkWindow to the
769 pannable are to avoid the expose events go to the window and
770 redraw the window. We save this way that part of the stack and the
771 paint_boxes. We had to change the positions of the elements when
774 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
776 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
777 * src/hildon-color-chooser-dialog.c:
778 (hildon_color_chooser_dialog_init):
779 * src/hildon-font-selection-dialog.c:
780 (hildon_font_selection_dialog_init),
781 (hildon_font_selection_dialog_show_preview):
782 * src/hildon-get-password-dialog.c:
783 * src/hildon-login-dialog.c:
784 * src/hildon-set-password-dialog.c:
785 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
786 * src/hildon-time-picker.c: (hildon_time_picker_init):
788 Remove obsolete logical string IDs and update to the appropriate ones.
790 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
792 2009-01-21 Alberto Garcia <agarcia@igalia.com>
794 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
795 that happens if the window hasn't been realized yet.
797 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
798 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
800 2009-01-20 Alberto Garcia <agarcia@igalia.com>
802 * src/hildon-app-menu.c (hildon_app_menu_class_init)
803 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
806 Fixes: NB#98537 (Device hangs in account settings dialog)
808 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
810 * configure.ac: post release version bump.
811 * debian/changelog: version bump
813 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
818 * configure.ac: Bump version.
819 * debian/changelog: Updates.
821 2009-01-20 Alejandro G. Castro <alex@igalia.com>
823 Added a new function to the HildonTimeButton widget that allows to
824 change the step of the minutes in the selector associated with the
825 button: hildon_time_button_new_step
827 * src/hildon-time-button.c,
828 (hildon_time_button_init),
829 (hildon_time_button_new),
830 (hildon_time_button_new_step):
831 * src/hildon-time-button.h: Added the new function and refactored
833 * examples/hildon-time-button-example.c,
834 (main): We have replaced the function without parameters with the
835 function with the steps set to 5
837 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
839 2009-01-20 Alejandro G. Castro <alex@igalia.com>
841 * src/hildon-time-selector.c,
842 (hildon_time_selector_class_init),
843 (hildon_time_selector_constructor),
844 (hildon_time_selector_get_property),
845 (hildon_time_selector_set_property),
846 (_create_minutes_model),
847 (hildon_time_selector_new_step),
848 (hildon_time_selector_set_time),
849 * src/hildon-time-selector.h: Added a new property to the
850 HildonTimeSelector (minutes-step), we use that property to control
851 the steps between the minutes in the list of the selector. We have
852 added a new function to the API to create a widget changing the
853 step: hildon_time_selector_new_step.
855 2009-01-20 Alejandro G. Castro <alex@igalia.com>
857 * src/hildon-time-selector.c,
858 (hildon_time_selector_class_init),
859 (hildon_time_selector_constructor),
860 (hildon_time_selector_init): Overrided the construct function when
861 creating the time selector object. We have moved the minutes model
862 handling code from the init to the new construction function:
863 hildon_time_selector_constructor.
865 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
867 * examples/hildon-date-button-example.c: (main): Use the new
868 hildon_date_button_new_with_year_range() method in the example.
869 * src/hildon-date-button.c:
870 (+hildon_date_button_new_with_year_range): New public method
871 to conveniently create a HildonDateButton with a custom year range
872 in its HildonDateSelector.
873 * src/hildon-date-button.h: Add the new public method definition.
875 Fixes: NB#97908 (Not possible to change the year range in
876 HildonDateSelector/HildonDateButton)
878 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
880 * src/hildon-date-selector.c:
881 (+hildon_date_selector_set_property),
882 (+hildon_date_selector_get_property),
883 (hildon_date_selector_class_init): Install new properties "min-year"
884 and "max-year" to define boundaries for the year column.
885 (_create_year_model): Use the boundary properties to populate the model.
886 (+hildon_date_selector_new_with_year_range): New public method to
887 create a HildonDateSelector with a user defined year range.
888 (hildon_date_selector_select_current_date): Use the new boundaries to
889 calculate the iterator of current year.
890 * src/hildon-date-selector.h: Add the new public method definition.
892 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
894 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
895 Install a constructor method.
896 (+hildon_date_selector_construct_ui): construct the widget.
897 (+hildon_date_selector_constructor): new constructor.
898 (+hildon_date_selector_init): move out widget construction code to
901 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
903 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
904 that there's actually a month or year selected before obtaining them.
905 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
906 of the HildonTouchSelector::changed signal, as it was emitted on every
907 single item selection.
909 Fix some warnings and possible crashers due to the selection restoring.
911 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
914 the signal handlers only after creating the dialog instead of on every
917 2009-01-19 Alberto Garcia <agarcia@igalia.com>
919 * src/hildon-button.c (hildon_button_init)
920 * src/hildon-check-button.c (hildon_check_button_init)
921 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
922 focus when clicked by default.
924 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
926 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
929 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
931 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
932 Alejandro G. Castro (alex@igalia.com)
934 * src/hildon-picker-dialog.c:
935 (hildon_picker_dialog_class_init): install new "center-on-show"
937 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
938 (hildon_picker_dialog_set_property): add setter code for the new
940 (hildon_picker_dialog_get_property): add getter code for the new
942 (hildon_picker_dialog_show): Ensure visibility of selected items in the
943 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
946 Fixes: NB#92849 (Selected item is not always visible when
947 HildonTouchSelector is shown)
949 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
951 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
952 Alejandro G. Castro (alex@igalia.com)
954 * src/hildon-touch-selector.c:
955 (_create_new_column): Do not connect to the "realize" signal of the
957 (hildon_touch_selector_append_column): center on the selected items
958 when a new column is appended.
959 (hildon_touch_selector_select_iter): Factor out the code to select a
960 column to hildon_touch_selector_scroll_to().
961 (+search_nearest_element): Method to retrieve the nearest selected
962 element to the visible area of the pannable area in a column.
963 (+on_realize_cb): scroll to the initially selected item.
964 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
965 the pannable area is realized, otherwise delay this until it is.
966 (+_hildon_touch_selector_center_on_selected_items): Centers on the
967 selected items of a given column.
968 (+hildon_touch_selector_center_on_selected): Public method to center
969 all columns on the nearest selected item.
970 * src/hildon-touch-selector.h: Add definition for
971 hildon_touch_selector_center_on_selected().
973 Implement public API to ensure visibility of all selected items in
974 a HildonTouchSelector.
976 2009-01-16 Alejandro G. Castro <alex@igalia.com>
978 Fixed a problem in the fading when calling the scroll_to API, and
979 improve scrollbar fading handling.
981 * src/hildon-pannable-area.c,
982 (hildon_pannable_area_grab_notify): avoid the timeout when the
984 (hildon_pannable_area_button_press_cb),
985 (hildon_pannable_area_motion_notify_cb): Code style changes.
986 (hildon_pannable_area_button_release_cb): Review the conditions
987 when releasing the mouse button to avoid unrequired fading
989 (hildon_pannable_area_scroll_to): Do not calculate and set the
990 velocity if the scroll is not required.
992 2009-01-15 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
995 Don't check whether the new selector is NULL: it cannot be.
996 Hold a reference to the selector while doing the replacement.
998 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1000 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1001 unnecessary size_request in a removed widget.
1003 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1005 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1006 an unnecessary reference tracking that was leaking.
1008 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1010 Added delayed motion notify event handling, this way we can
1011 discard redrawing if more than 25 events arrive per second.
1013 * src/hildon-pannable-area.c,
1014 (hildon_pannable_area_init): Initialized the new private atributes
1015 controlling this timeout
1016 (hildon_pannable_area_dispose): Remove the timeout that controls
1017 the motion notify events.
1018 (hildon_pannable_area_scroll): Added a condition to control the
1019 use of the acceleration.
1020 (hildon_pannable_area_motion_event_scroll_timeout),
1021 (hildon_pannable_area_motion_event_scroll): Added this two
1022 functions, they handle the motion notify events inside the
1024 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1025 to the scroll method with the new function.
1026 (hildon_pannable_area_button_release_cb): We have to remove the
1027 timeout handler and move to the last position if the last motion
1028 events were not handled.
1030 Fixes: NB#97028 (Pannable area updates on every motion event)
1032 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1034 * src/hildon-pannable-area.c,
1035 (hildon_pannable_area_get_topmost): Added a new parameter to
1036 filter the the windows that do not include those events. Added
1037 also a condition when finding the window to filter windows that do
1038 not ask for those events.
1039 (hildon_pannable_area_button_press_cb),
1040 (hildon_pannable_area_button_release_cb),
1041 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1042 topmost function, we have added the new parameter.
1044 Fixes: NB#97458 (Pannable area prevents propagation of button
1047 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1049 * src/hildon-pannable-area.c,
1050 (hildon_pannable_area_initial_effect): Added controls before
1051 launching the timeout and the idle functions.
1052 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1053 of the method, in some situations it can return with TRUE and 0 in
1055 (hildon_pannable_area_button_press_cb): We do not need to set
1056 DELAY for fading out here.
1058 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1060 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1063 post-cleaning if the selection is not NULL.
1065 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1067 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1068 all items before restoring the selection.
1070 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1072 * src/hildon-touch-selector.c:
1073 (+hildon_touch_selector_unselect_all):
1074 * src/hildon-touch-selector.h: New API to unselect all items in a
1075 column of the touch selector.
1077 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1079 * src/hildon-pannable-area.c,
1080 (hildon_pannable_area_redraw): Added a call to the refresh
1081 function inside the redraw because apparently in some cases the
1082 change in the adjustment does not imply a size allocate.
1084 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1085 despite the view not being scrollable)
1087 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1089 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1090 leak. Check for NULL before attempting to set the window title.
1092 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1094 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1095 whether to show or not the 'Done' button each time the dialog is
1096 shown, as it depends on the HildonTouchSelector selection mode.
1098 Fixes: NB#96226 (In multiple selection mode Done button is shown
1099 sometimes in listpicker)
1101 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1103 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1104 for the number of columns in the HildonTouchSelector more than once.
1106 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1108 * src/hildon-touch-selector.c: Minor documentation fixes.
1110 * src/hildon-picker-dialog.c (+_dialog_update_title)
1111 (_select_on_selector_changed_cb)
1112 (_update_title_on_selector_changed_cb)
1113 (on_selector_columns_changed): Update dialog title when there's no
1114 'Done' button and also when the number of columns in the selector
1118 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1119 (+_selection_changed, hildon_picker_button_on_dialog_response)
1120 (hildon_picker_button_selector_selection_changed)
1121 (+hildon_picker_button_selector_columns_changed)
1122 (hildon_picker_button_set_selector): Update button value and emit
1123 'value-changed' when the number of columns in the selector
1127 Fixes: NB#96225 (Dialog titles are not shown according to the
1128 values selected in the list picker)
1130 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1132 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1133 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1134 New "arrow-width" and "arrow-height" style properties to set the
1135 size of the arrow button.
1136 Set name of arrow button ("hildon-edit-toolbar-arrow").
1138 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1139 graphics from theme)
1141 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1143 * src/hildon-picker-button.c:
1144 (hildon_picker_button_selector_selection_changed): Use
1145 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1146 the dialog is present.
1148 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1149 the selection is accepted in the dialog)
1151 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1153 * src/hildon-color-chooser.h
1154 * src/hildon-color-chooser-dialog.h:
1155 Added G_BEGIN_DECLS and G_END_DECLS
1157 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1159 (_clean_current_selection): plug a leak in the list.
1161 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1163 * src/hildon-picker-dialog.c:
1164 (+free_path_list): Method to free a GList of GtkTreePaths.
1165 (_clean_current_selection), (_save_current_selection),
1166 (_restore_current_selection): Save the current selection in
1167 as a list of lists, to support multiple selection properly.
1169 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1171 patch by Claudio Saavedra (csaavedra@igalia.com)
1173 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1174 Store the press position.
1175 (+hildon_text_view_button_release_event): If the release position is
1176 close enough to the press position, move the cursor here. Otherwise,
1178 (hildon_text_view_class_init): Override GtkTextView press, release, and
1179 motion event handlers, disabling this way text selection through
1180 pointer interaction, and allowing the container widget to handle the
1183 Fixes: NB#95828 (HildonTextView functionality)
1185 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1187 Based on a patch by Iván Gómez (igomez@igalia.com)
1189 * src/hildon-button.[ch]
1190 * src/hildon-calendar.c
1191 * src/hildon-check-button.c
1192 * src/hildon-date-editor.c
1193 * src/hildon-date-selector.c
1194 * src/hildon-picker-button.c
1195 * src/hildon-time-editor.c
1196 * src/hildon-time-selector.c
1197 * src/hildon-touch-selector.[ch]:
1198 Documentation updates
1200 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1202 * src/hildon-pannable-area.c,
1203 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1204 threshold, it was required due to X events handling.
1206 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1208 * src/hildon-pannable-area.c,
1209 (hildon_pannable_area_grab_notify),
1210 (hildon_pannable_area_initial_effect),
1211 (hildon_pannable_area_button_press_cb),
1212 (hildon_pannable_area_button_release_cb),
1213 (hildon_pannable_area_scroll_cb),
1214 (hildon_pannable_area_scroll_to): Review the timeout management of
1215 the scrollbar, the frecuency was incorrectly set.
1217 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1219 * src/hildon-picker-button.c:
1220 (+hildon_picker_button_on_dialog_response),
1221 (hildon_picker_button_clicked): Present the dialog instead of
1222 running it with gtk_dialog_run().
1224 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1227 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1230 (hildon_app_menu_finalize): When a window is hidden it doesn't
1231 emit notify::is-topmost, so make sure than the menu also
1232 disappears in that case.
1233 (parent_window_topmost_notify): Renamed from parent_window_hidden
1235 Fixes: NB#94460 (stackable window's menu is not closed when its
1238 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-touch-selector-entry.c:
1241 (+hildon_touch_selector_entry_set_input_mode),
1242 (+hildon_touch_selector_entry_get_input_mode):
1243 * src/hildon-touch-selector-entry.h: New methods to access the input
1244 mode in the selector's entry.
1246 Fixes: NB#93410 (API required for setting IM mode in
1247 HildonTouchSelectorEntry)
1249 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1251 * configure.ac: post release version bump.
1252 * debian/changelog: version bump
1254 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1259 * configure.ac: Bump version.
1260 * debian/changelog: Updates.
1262 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1264 * src/hildon-touch-selector.c:
1265 (_hildon_touch_selector_has_multiple_selection): No need
1266 to initialize the variables here.
1268 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1270 * src/hildon-note-private.h
1271 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1272 (hildon_note_finalize, hildon_note_rebuild): Close information
1273 notes when they receive a button press.
1275 Fixes: NB#89890 (Information notes does not get disappeared after
1278 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1280 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1281 mark from the wizard title, as it's not really necessary. Also,
1282 do not display the page title if not set.
1284 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1286 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1287 (parent_window_hidden): Use the window's "is-topmost" property to
1288 detect when to hide the menu.
1290 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1292 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1293 (hildon_app_menu_finalize): If the parent window of the menu is
1294 hidden, hide the menu too.
1296 Fixes: NB#94460 (stackable window's menu is not closed when its
1299 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1302 * debian/libhildon1-examples.install
1304 * examples/Makefile.am:
1305 Use dh_install to install all examples.
1306 Use DEB_SRCDIR instead of defining SOURCE_DIR
1308 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1310 * configure.ac: post release version bump.
1311 * debian/changelog: version bump
1313 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1318 * configure.ac: bump version
1319 * debian/changelog: updates
1320 * debian/control: bump gtk+ dependency
1322 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1324 patch by Christian Dywan (christian@imendio.com)
1326 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1327 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1329 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1331 * src/hildon-check-button.c (hildon_check_button_init)
1332 (hildon_check_button_class_init, hildon_check_button_style_set)
1333 (hildon_check_button_apply_style):
1334 New "checkbox-size" style property.
1336 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1337 larger / configurable size)
1339 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1341 * configure.ac: post release version bump.
1342 * debian/changelog: version bump
1344 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1349 * configure.ac: bump version
1350 * debian/changelog: updates
1352 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1354 * doc/hildon-sections.txt
1355 * src/hildon-pannable-area.c
1356 * src/hildon-program.c
1357 * src/hildon-time-editor.c
1358 * src/hildon-touch-selector-entry.c:
1360 More documentation updates.
1362 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1364 * doc/hildon-sections.txt
1365 * src/hildon-caption.c
1366 * src/hildon-code-dialog.c
1367 * src/hildon-color-button.c
1368 * src/hildon-controlbar.c
1369 * src/hildon-date-editor.c
1370 * src/hildon-date-selector.c
1371 * src/hildon-edit-toolbar.c
1372 * src/hildon-find-toolbar.c
1373 * src/hildon-font-selection-dialog.c
1375 * src/hildon-program.c
1376 * src/hildon-range-editor.c
1377 * src/hildon-seekbar.c
1378 * src/hildon-time-editor.c
1379 * src/hildon-time-selector.c
1380 * src/hildon-volumebar-range.c
1381 * src/hildon-volumebar.c
1382 * src/hildon-vvolumebar.c
1383 * src/hildon-weekday-picker.c
1384 * src/hildon-window.c
1385 * src/hildon-wizard-dialog.c:
1387 Lots of documentation fixes.
1389 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1391 Patch contributed by Iván Gómez (igomez@igalia.com)
1393 * src/hildon-check-button.c:
1394 * src/hildon-date-button.c:
1395 * src/hildon-date-selector.c:
1396 * src/hildon-dialog.c:
1397 * src/hildon-edit-toolbar.c:
1398 * src/hildon-entry.c:
1399 * src/hildon-picker-button.c:
1400 * src/hildon-program.c:
1401 * src/hildon-text-view.c:
1402 * src/hildon-time-button.c:
1403 * src/hildon-touch-selector-entry.c:
1404 * src/hildon-window-stack.c:
1406 Add more "since" tags to the new API.
1408 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1410 * doc/hildon-sections.txt: Add below method.
1411 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1412 version for the hildonized scale.
1413 * src/hildon-gtk.h: Add the definition.
1415 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1417 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1419 * doc/hildon-sections.txt: Add missing entries for new methods.
1421 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1423 Added API to pannable are in order to get its adjustments. We
1424 added two properties to manage the values we had in the private
1427 * src/hildon-pannable-area.c:
1428 (hildon_pannable_area_class_init): Added hadjustment and
1429 vadjustment properties in order to expose horizontal and vertical
1431 (hildon_pannable_area_get_property),
1432 (hildon_pannable_area_set_property): Added code to handle the new
1434 (hildon_pannable_area_get_hadjustment),
1435 (hildon_pannable_area_get_vadjustment): API functions to get the
1437 * src/hildon-pannable-area.h:
1438 (hildon_pannable_area_get_hadjustment),
1439 (hildon_pannable_area_get_vadjustment): API functions to get the
1442 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1444 Fixed some leaks, after valgrinding.
1446 * src/hildon-touch-selector.c:
1447 (_default_print_func): Fixed a leak.
1448 (hildon_touch_selector_append_column): Fixed a leak.
1449 * src/hildon-date-button.c:
1450 (hildon_date_button_init): Fixed a leak.
1451 * src/hildon-date-selector.c
1452 (hildon_date_selector_finalize): Fixed a leak.
1454 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1456 Based on a patch by Christian Dywan (christian@imendio.com)
1458 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1460 * src/hildon-gtk.h: Add definition.
1462 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1464 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-picker-button.c: (hildon_picker_button_init),
1467 (hildon_picker_button_new): Set the HildonButton::style property
1468 in the init method, to propagate the value to the derived classes.
1470 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1472 * src/hildon-button.c: (hildon_button_class_init): Do not make
1473 the "style" property a construct property.
1475 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1477 * src/hildon-wizard-dialog.h
1478 * src/hildon-wizard-dialog.c
1479 (hildon_wizard_dialog_set_forward_page_func)
1480 * src/hildon-pannable-area.h
1481 * src/hildon-pannable-area.c
1482 (hildon_pannable_area_set_size_request_policy):
1483 Documentation fixes.
1485 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1487 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1489 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1491 * doc/hildon-sections.txt: Added sections file.
1493 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1496 * src/*.[ch]: Updates.
1498 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1500 * examples/hildon-progress-indicator-example.c: new file
1501 * examples/Makefile.am: include the new example program
1503 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1507 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1509 * configure.ac: post release version bump
1510 * debian/changelog: version bump
1512 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1517 * configure.ac: bump version
1518 * debian/changelog: updates
1519 * debian/control: bump gtk+ dependency
1521 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-dialog.c: Mark as deprecated.
1524 * src/hildon-dialog.h: Mark as deprecated.
1525 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1526 from HildonDialog and still work, even if
1527 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1528 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1530 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1531 maemo changes) instead)
1533 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1535 * src/hildon-pannable_area.h:
1536 * src/hildon-pannable_area.c:
1537 (hildon_pannable_area_class_init),
1538 (hildon_pannable_area_set_property),
1539 (hildon_pannable_area_get_property),
1540 (hildon_pannable_area_size_request),
1541 (hildon_pannable_area_get_size_request_policy),
1542 (hildon_pannable_area_set_size_request_policy): Added new API
1543 allowing applications to control the request policy. Now they can
1544 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1545 children allocation (HILDON_MOVEMENT_CHILDREN).
1547 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1551 (hildon_gtk_tree_view_set_ui_mode)
1552 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1553 mode of treeviews and iconviews.
1555 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1557 * src/hildon-touch-selector-entry.c:
1558 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1559 of a GtkEntry to get proper theming.
1561 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1562 widget, not GtkEntry)
1564 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1566 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1567 no HildonWizardDialogPageFunc.
1569 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1571 Patch contributed by Iván Gómez (igomez@igalia.com)
1573 * src/hildon-app-menu.c:
1574 * src/hildon-button.c:
1575 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1576 * src/hildon-stackable-window.c:
1577 * src/hildon-time-selector.c:
1578 * src/hildon-touch-selector.c:
1579 * src/hildon-window.c:
1581 Add more "since" tags to the new API in hildon 2.2.
1583 2008-12-05 Tim Janik <timj@imendio.com>
1585 Patch contributed by Christian Dywan (christian@imendio.com)
1587 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1588 HildonSizeType, which are supplied by Gtk+ now.
1590 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1592 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1593 (with maemo changes) instead)
1595 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1597 Patch contributed by Iván Gómez (igomez@igalia.com)
1599 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1602 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1604 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1605 (some_page_func), (main): Update the example to use a
1606 HildonWizardDialogPageFunc function.
1608 * src/hildon-wizard-dialog-private.h: Add private data for
1609 the HildonWizardDialogPageFunc function usage.
1611 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1612 (destroy), (hildon_wizard_dialog_init), (response),
1613 (hildon_wizard_dialog_set_forward_page_func):
1614 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1615 that applications can use to stop a HildonWizardDialog to jump to
1618 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1621 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1623 * src/hildon-program.h
1624 * src/hildon-program-private.h
1625 * src/hildon-program.c (hildon_program_init)
1626 (hildon_program_set_common_app_menu)
1627 (hildon_program_get_common_app_menu):
1628 New API for setting a common HildonAppMenu for all
1629 HildonStackableWindows registered with the HildonProgram.
1631 * src/hildon-stackable-window.c
1632 (hildon_stackable_window_toggle_menu):
1633 Use the common HildonAppMenu if a window doesn't have a specific
1636 * src/hildon-app-menu-private.h
1637 * src/hildon-app-menu.c
1638 (hildon_app_menu_get_parent_window):
1639 Function to obtain the window a HildonAppMenu is attached to.
1640 (hildon_app_menu_set_parent_window):
1641 Hide the menu if the parent window is set to NULL.
1643 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1645 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1646 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1647 search widget to popup.
1649 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1651 * configure.ac: post release version bump
1652 * debian/changelog: version bump
1654 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1659 * configure.ac: bump version
1660 * debian/changelog: updates
1662 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1664 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1666 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1667 (hildon_window_stack_window_realized)
1668 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1669 Set the leader GdkWindow when a window is stacked and realized,
1670 unset it when it's unstacked.
1671 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1673 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1675 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1677 * src/hildon-stackable-window.h
1678 * src/hildon-window-stack.h:
1679 Protect definition of HildonWindowStack using the preprocessor.
1681 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1683 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1684 Fix warning if all menu items are hidden.
1686 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1688 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1690 * src/hildon-controlbar.c:
1691 * src/hildon-hvolumebar.c:
1692 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1693 Multiple scale size defines updates.
1695 Fixes: NB#94322 (Scale Updates)
1697 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1699 * examples/hildon-app-menu-example.c (create_menu)
1700 Show items after adding them to the menu, as in the future the
1701 menu will no longer call gtk_widget_show() on the added items.
1703 * src/hildon-app-menu.c:
1704 Update example as explained above.
1706 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1708 * src/hildon-app-menu.c
1709 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1710 Make sure that all menu items have finger height.
1712 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1714 * src/hildon-picker-dialog.c:
1715 (_on_dialog_response), (_save_current_selection),
1716 (_restore_current_selection), (_clean_current_selection),
1717 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1718 Defined new functions in order to save the current internal selector
1719 selection previous open the dialog, in case that the use cancel the
1720 interaction, so the widget restores the previous selection.
1722 Fixes: NB#92032 (In calendar application, date values in 'new event'
1725 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1727 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1729 * src/hildon-button.c: Add a reference to the button examples in
1730 hildon-button-example.c
1732 * examples/hildon-button-example.c: Added examples of the most
1733 common button layouts.
1735 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1737 * src/hildon-app-menu.c (hildon_app_menu_show)
1738 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1740 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1742 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1744 * src/hildon-picker-dialog.c:
1745 (hildon_picker_dialog_init): Initialize the signal id for
1746 HildonTouchSelector::columns-changed.
1747 (+on_selector_columns_changed): Set up the interaction mode everytime a
1748 column is added or removed from the HildonTouchSelector.
1749 (_hildon_picker_dialog_set_selector): Connect to
1750 HildonTouchSelector::columns-changed and keep track of it.
1752 Make sure to update the interaction mode of the dialog everytime a
1753 column is added or removed in the HildonTouchSelector.
1755 Fixes: NB#93228 (Done button is not shown always in listpicker)
1757 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1760 a new ::columns-changed signal.
1761 (hildon_touch_selector_append_column): Emit ::columns-changed.
1762 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1764 Add a ::columns-changed signal, emitted when the number of columns in a
1765 HildonTouchSelector changes.
1767 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1769 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1770 (_hildon_picker_dialog_set_selector): Factor out the code
1771 to set up the dialog interaction mode.
1773 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1776 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1777 to signal_changed_id.
1779 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1781 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1784 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1786 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1787 Updated the logical ids related to ampm format, as now it is required to
1788 show it correctly localized even on languages with no default
1789 abbreviations for am or pm
1790 (_check_am_pm_format): check correctly the 24h format gconf property
1792 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1794 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1796 * src/hildon-button.c: Documentation updates.
1798 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1800 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1801 * src/hildon-caption.c: (hildon_caption_class_init):
1802 * src/hildon-color-button.c: (hildon_color_button_class_init):
1803 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1804 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1805 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1806 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1808 Remove deprecated GTK+ marshalers and replace them with the ones
1809 provided by GLib, for those available, add a marshaler for
1810 BOOLEAN:VOID, which is not available in GLib, and use it.
1812 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1814 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1815 the text from the previous column if there is no
1816 HildonTouchSelectorColumn::text-property set.
1818 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1820 * src/hildon-button.h
1821 * src/hildon-button.c (hildon_button_set_property)
1822 (hildon_button_get_property, hildon_button_class_init)
1823 (hildon_button_set_style, hildon_button_get_style):
1824 New "style" property to change the visual appearance of the
1827 * src/hildon-picker-button.c (hildon_picker_button_new):
1828 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1830 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1831 HildonButton look like PickerButton)
1833 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1835 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1836 column while building the default string.
1838 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1840 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1841 scroll indicator by default.
1843 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1845 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1847 * src/hildon-main.c: Fix the documentation for hildon_init()
1849 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1851 * doc/hildon-docs.sgml
1855 * src/hildon-window-stack-private.h
1856 * src/hildon-window-stack.h
1857 * src/hildon-window-stack.c:
1858 New HildonWindowStack object, that adds support for multiple
1859 stacks of windows per process.
1861 * src/hildon-stackable-window-private.h
1862 * src/hildon-stackable-window.h
1863 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1864 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1865 (hildon_stackable_window_show, hildon_stackable_window_hide)
1866 (hildon_stackable_window_class_init)
1867 (hildon_stackable_window_init):
1868 Use HildonWindowStack for stack management.
1870 * src/hildon-program.c (hildon_program_pop_window_stack)
1871 (hildon_program_peek_window_stack)
1872 (hildon_program_go_to_root_window):
1873 Add a fallback implementation to the deprecated functions using
1876 * examples/hildon-stackable-window-example.c:
1877 Use the new HildonWindowStack API.
1879 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1881 * src/hildon-stackable-window-private.h
1882 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1883 (hildon_stackable_window_hide, hildon_stackable_window_init):
1884 Remove all window stack management.
1886 * src/hildon-program-private.h
1887 * src/hildon-program.h
1888 * src/hildon-program.c (hildon_program_init)
1889 (hildon_program_pop_window_stack)
1890 (hildon_program_peek_window_stack)
1891 (hildon_program_go_to_root_window):
1892 Remove all window stack management and mark functions as
1895 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1897 * src/hildon-app-menu.c (hildon_app_menu_realize):
1898 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1900 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1902 * configure.ac: post release version bump
1903 * debian/changelog: version bump
1905 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1910 * configure.ac: bump version
1911 * debian/changelog: updates
1913 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1915 Based on initial code by Christian Dywan (christian@imendio.com)
1917 * doc/hildon-docs.sgml: Add section for hildon-main.
1918 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1919 * src/Makefile.am: Add new hildon-main.[ch]
1920 * src/hildon-defines.h: Update the icon sizes.
1921 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1922 new library initialization files and register icon sizes.
1923 * src/hildon-main.h: New declarations.
1924 * src/hildon.h: Include hildon-main.h
1926 Add new initialization functions to the library. These methods
1927 will register the hildon specific icon sizes and can be used in the
1928 future for other hildon specific bits.
1930 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1932 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1934 * src/hildon-window.c: (hildon_window_realize),
1935 (hildon_window_notify), (-hildon_window_update_title): Do not set
1936 the application name in the window title.
1938 Fixes: NB#89754 (Applications shouldn't display their names in the
1941 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-note-private.h:
1944 * src/hildon-note.c: (hildon_note_set_property),
1945 (hildon_note_get_property), (hildon_note_class_init),
1946 (hildon_note_init), (hildon_note_finalize),
1947 (hildon_note_new_confirmation_with_icon_name),
1948 (hildon_note_new_information_with_icon_name):
1950 No need to mark as deprecated the actual code. Revert
1951 to avoid missing symbols in widgets using deprecated API.
1953 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1955 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1957 * src/hildon-volumebar.h
1958 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1959 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1961 * src/hildon-helper.h
1962 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1963 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1965 * examples/Makefile.am:
1966 Deprecate hildon-insensitive-example
1968 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1970 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1972 * examples/hildon-pannable-area-buttons-scroll-example.c:
1973 Make all buttons finger height
1975 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1977 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1979 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1980 update the day model only if it is really required, and to avoid the
1981 full-reconstruction aproach. Now it only add or remove the required days.
1983 The purpose of this is avoid superfluous HildonTouchSelector::changed
1986 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1987 with strange parameters)
1989 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1991 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1993 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1994 the WINDOW_TYPE property.
1996 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1998 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2001 Fix dependency to allow parallel compilation with make -jX
2003 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2005 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2006 color frame and some minor tweaks to make it more consistent with
2009 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2010 highlighted but not visible)
2012 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2014 * examples/Makefile.am: Fixed typo in the Makefile.am.
2016 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2018 Reviewed the use of MAEMO_GTK define, now we add the define in the
2019 compilation line, and we also add it to the pc file.
2021 * configure.ac: Added MAEMO_GTK define to the compilation command
2022 and removed it from the config.h.
2024 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2025 do not have to take care about this define if the library was
2029 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2031 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2033 * examples/Makefile.am,
2034 * examples/hildon-pannable-area-buttons-scroll-example.c,
2035 * examples/hildon-pannable-area-gesture-signals-example.c,
2036 * examples/hildon-pannable-area-scroll-jump-example.c,
2037 * examples/hildon-pannable-area-tree-view-example.c:
2038 Renamed the pannable area examples, now they have more meaningful
2041 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2043 * src/hildon-touch-selector.c:
2044 (hildon_touch_selector_set_column_selection_mode): Used of
2045 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2046 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2047 to avoid re-seting the same selection mode.
2049 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2050 breaks HildonPickerDialog)
2052 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2054 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2055 conditional in the Makefile.am
2057 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2059 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2060 Remove unused methods.
2062 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-button.c (hildon_button_init):
2065 Make button images center-aligned by default
2067 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2070 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2071 activated, we have to think about how to deal with both defines
2072 MAEMO_GTK and MAEMO_CHANGES.
2074 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2076 * examples/hildon-app-menu-example.c (create_menu): Make all
2077 buttons finger size.
2079 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2081 Fixed the compilation without maemo gtk adding ifdefs with
2082 MAEMO_GTK define to the code, we have to check this version more
2085 * examples/Makefile.am: Added control to avoid some examples that
2086 just make sense with maemo gtk.
2089 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2090 hildon modes with the define.
2092 * examples/hildon-edit-toolbar-example.c,
2093 (create_icon_view): Create the icon view without hildon-gtk
2094 helpers if we are not using maemo gtk.
2096 * src/hildon-touch-selector.c,
2097 (_create_new_column): Create the treeview without hildon-gtk
2098 helpers if we are not using maemo gtk.
2100 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2102 * src/hildon-pnnable-area.c,
2103 (hildon_pannable_area_dispose),
2104 (hildon_pannable_area_button_press_cb),
2105 (hildon_pannable_area_child_mapped),
2106 (hildon_pannable_area_add),
2107 (hildon_pannable_area_remove): Added code to control the position
2108 of the event_window when adding and removing children from the
2109 pannable. We have to raise the event window when the child is
2112 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2113 selection mode using custom widget inside pannable)
2115 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2117 * configure.ac: post release version bump
2118 * debian/changelog: version bump
2120 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2125 * configure.ac: bump version
2126 * debian/changelog: updates
2128 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2130 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2131 search mode, in order to avoid lose the focus on the treeview when
2132 a hw key (like enter) is pressed.
2134 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2135 in HildonDateSelector dialog)
2137 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2139 * debian/rules: Added --enable-maintainer-mode
2140 * Makefile.am: Added ACLOCAL_AMFLAGS
2142 This allows to properly regenerate the Makefiles if you modify the
2143 configure.ac or any Makefile.am.
2145 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2147 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2148 properties, not needed at all.
2150 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2152 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2154 * src/hildon-note.c: (hildon_note_set_property),
2155 (hildon_note_get_property), (hildon_note_class_init),
2156 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2157 (hildon_note_new_confirmation_add_buttons): Remove icons.
2158 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2159 (hildon_note_new_information_with_icon_name): Deprecate.
2160 (hildon_note_new_confirmation): Act directly, without calling
2161 the deprecated constructor.
2162 (hildon_note_new_information): Act directly, without calling
2163 the deprecated constructor.
2164 * src/hildon-note.h: Mark deprecate methods as such.
2165 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2166 not run tests on the deprecated methods if built with deprecation
2169 Fixes: NB#91688 (Never show icons in information notes/confirmation
2172 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2175 (hildon_app_menu_key_press): Remove leftover usage of the
2176 private structure in HildonAppMenu struct.
2177 * src/hildon-app-menu.h: Remove leftover private structure
2178 from the HildonAppMenu struct.
2180 Fixes a crasher when using the HildonAppMenu.
2182 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2184 * src/hildon-picker-dialog.c: Use appropriate logical id
2185 for the default "Done" text.
2187 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2189 * configure.ac: post release version bump
2190 * debian/changelog: version bump
2192 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2194 Modified the way to scroll to the current selection just when the touch
2195 selector is shown on the screen, avoiding a g_idle. Added too a property
2196 to configure this behaviour. See hildon_pannable_area_jump_to_child
2197 documentation for more information.
2199 * src/hildon-touch-selector.c
2200 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2201 Added 'initial-scroll' property
2202 (hildon_touch_selector_set_property): Added
2203 (hildon_touch_selector_map): Removed as not required anymore
2204 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2205 only a concrete column, instead of iterate along all the columns
2207 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2212 * configure.ac: bump version
2213 * debian/changelog: updates
2215 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2218 compilation time warnings.
2220 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2222 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2223 the default value for HildonPannableArea::mov-mode to
2224 HILDON_PANNABLE_AREA_MODE_VERT.
2226 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2228 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2230 Reverting following commit:
2232 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2234 * src/hildon-app-menu-private.h
2235 * src/hildon-app-menu.[ch]
2236 * src/hildon-button.[ch]
2237 * src/hildon-check-button.[ch]
2238 * src/hildon-entry.[ch]
2239 * src/hildon-pannable-area.[ch]
2240 * src/hildon-text-view.[ch]:
2241 Added private field to the object's structure.
2243 because it causes an ABI breakage. We will need to introduce these
2244 changes later at some point. See NB#91636 for an extensive
2245 explanation and status.
2247 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2249 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2251 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2252 remove special cases that are no longer necessary.
2254 Fixes: NB#91016 (Change toolbar sizes, simplification)
2256 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2258 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2259 is shown in the cancel note.
2261 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2263 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2264 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2265 (hildon_seekbar_init): Remove steppers, remove expose event.
2266 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2268 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2270 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2272 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2273 label font to "SmallSystemFont" for vertically arranged buttons.
2275 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2278 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-check-button.c
2281 (hildon_check_button_set_active, hildon_check_button_clicked):
2282 Don't access private parts directly, use getters instead.
2284 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-check-button.c (hildon_check_button_new):
2287 Align the contents of the check button to the left.
2289 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2291 * src/hildon-pannable-area.c,
2292 (hildon_pannable_area_scroll_to),
2293 (hildon_pannable_area_jump_to),
2294 (hildon_pannable_area_scroll_to_child),
2295 (hildon_pannable_area_jump_to_child): Replace the mapped
2296 precondition of these functions with the realized, it is the
2297 correct state of the widget in this case. Changed the
2298 documentation according to this modification.
2300 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2302 Added a new EXTRA_CFLAGS option to add the deprecated define to
2303 the compilation command. This way we can avoid using the define in
2304 the documentation compilation.
2306 * configure.ac: Defined EXTRA_CFLAGS.
2308 * examples/Makefile.am:
2310 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2312 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2314 * src/hildon-picker-dialog.c:
2315 Defined a utility macro with the desired touch selector height
2316 Removed currently unused separator, and title_label variables from
2318 (hildon_picker_dialog_init): Removed code related to the creation
2319 of unused private variables title_label and separator.
2320 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2321 to ensure correct visualization of the touch selector inside the dialog.
2322 * src/hildon-touch-selector.c
2323 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2324 ensure a concrete height of the widget.
2326 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2329 * tests/Makefile.am:
2331 Remove spurious whitespaces.
2333 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2335 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2336 compilation warning after the cancel button removal.
2338 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2340 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2342 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2343 Makefile.am, that way we can choose not to compile some examples
2344 and tests of the deprecated widgets.
2346 * examples/Makefile.am: Divided the sources in deprecated and
2349 * src/Makefile.am: Added undef statement of the deprecated
2350 symbol to the enums file generation process.
2352 * src/hildon-color-chooser-dialog.c
2353 * src/hildon-color-chooser-dialog.h
2354 * src/hildon-color-button.c
2355 * src/hildon-color-button.h
2356 * src/hildon-color-chooser.c
2357 * src/hildon-color-chooser.h
2358 * src/hildon-controlbar.c
2359 * src/hildon-controlbar.h
2360 * src/hildon-date-editor.c
2361 * src/hildon-date-editor.h
2362 * src/hildon-hvolumebar.c
2363 * src/hildon-hvolumebar.h
2364 * src/hildon-private.c
2365 * src/hildon-private.h
2366 * src/hildon-range-editor.c
2367 * src/hildon-range-editor.h
2368 * src/hildon-seekbar.c
2369 * src/hildon-seekbar.h
2370 * src/hildon-time-editor.c
2371 * src/hildon-time-editor.h
2372 * src/hildon-time-picker.c
2373 * src/hildon-time-picker.h
2374 * src/hildon-volumebar.c
2375 * src/hildon-volumebar.h
2376 * src/hildon-vvolumebar.c
2377 * src/hildon-vvolumebar.h
2378 * src/hildon-bread-crumb-trail.h
2379 * src/hildon-bread-crumb-trail.c
2380 * src/hildon-calendar-popup.c
2381 * src/hildon-calendar-popup.h
2382 * src/hildon-weekday-picker.c:
2383 * src/hildon-weekday-picker.h:
2384 * src/hildon-bread-crumb-widget.c:
2385 * src/hildon-bread-crumb-widget.h:
2386 * src/hildon-bread-crumb.c:
2387 * src/hildon-bread-crumb.h:
2388 * src/hildon-calendar.c:
2389 * src/hildon-calendar.h:
2390 * src/hildon-caption.c:
2391 * src/hildon-code-dialog.c:
2392 * src/hildon-code-dialog.h:
2393 * src/hildon-font-selection-dialog.c:
2394 * src/hildon-font-selection-dialog.h:
2395 * src/hildon-get-password-dialog.c:
2396 * src/hildon-get-password-dialog.h:
2397 * src/hildon-login-dialog.c:
2398 * src/hildon-login-dialog.h:
2399 * src/hildon-number-editor.c:
2400 * src/hildon-number-editor.h:
2401 * src/hildon-set-password-dialog.c:
2402 * src/hildon-set-password-dialog.h:
2403 * src/hildon-sort-dialog.c:
2404 * src/hildon-sort-dialog.h: This is the list of deprecated
2407 * src/hildon-touch-selector.c:
2408 * src/hildon-window.c: Added undef statement to avoid compilation
2411 * tests/Makefile.am: Divided the sources in deprecated and
2414 * tests/check_test.c,
2415 (configure_tests): Marked the deprecated code that was adding
2416 suites with deprecated tests.
2418 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2420 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-touch-selector.c: (_default_print_func): Do not
2423 duplicate a string returned by gtk_tree_model_get(), it is already
2426 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2429 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2431 * src/hildon-pannable-area.c
2432 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2433 method, it had problems when adding a widget with viewport the
2434 second time. Now checks if it already has a viewport and uses it.
2436 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2439 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2441 * src/hildon-pannable-area.c,
2442 (hildon_pannable_area_scroll_to),
2443 (hildon_pannable_area_jump_to),
2444 (hildon_pannable_area_scroll_to_child),
2445 (hildon_pannable_area_jump_to_child): Added a precondition to the
2446 scroll and jump to functions: the widget must be mapped before we
2447 can safely call these functions. We have also added documentation
2448 to the functions to explain how to use them in this situation.
2451 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2453 Reviewed the threading handling of the pannable widget, we have
2454 used the gdk_threads_add_timeout function instead of the usual
2455 glib handlers. This avoids some problems with the threads.
2457 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2458 (hildon_pannable_area_initial_effect),
2459 (hildon_pannable_area_scroll_indicator_fade),
2460 (hildon_pannable_area_button_press_cb),
2461 (hildon_pannable_area_timeout),
2462 (hildon_pannable_area_motion_notify_cb),
2463 (hildon_pannable_area_button_release_cb),
2464 (hildon_pannable_area_scroll_cb),
2465 (hildon_pannable_area_scroll_to): Removed the
2466 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2467 gdk_threads_add_timeout.
2469 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2471 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2476 * configure.ac: bump version
2477 * debian/changelog: updates
2479 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2481 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2482 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2483 * src/hildon-color-chooser-dialog.c:
2484 (hildon_color_chooser_dialog_init):
2485 * src/hildon-font-selection-dialog.c:
2486 (hildon_font_selection_dialog_init):
2487 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2489 Remove all cancel/close-like dialogs, as these are not going to be
2492 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2494 * src/hildon-note.c: (hildon_note_rebuild),
2495 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2498 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2500 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2502 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2503 sure all buttons are shown, even the Cancel/Close-like ones.
2505 Fixes: NB#90861 (Custom Confirmation dialogs should be
2506 protected from cancel button removal)
2508 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2510 * debian/control: Change libhildon1-examples dependency from libhildon1
2512 * debian/libhildon1-examples.install
2514 * Makefile.am: Modified the final install directory for the examples on
2515 package libhildon1-examples
2516 * Makefile.static: Update clean target in order to remove all the binary
2519 Changes suggested by Claudio after review new libhildon1-examples package
2521 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2523 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2524 * src/hildon-touch-selector.c: Ditto.
2526 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2528 * debian/control: Added new package libhildon1-examples, in order to pack
2529 the current hildon examples as documentation
2530 * debian/rules: Not to compress .c files, modify some includes on the
2531 examples (as normally are compiled locally, but when installed it will
2532 require to include the installed libhildon1 library), and rename
2534 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2535 install all the example files on the new example package
2536 * examples/Makefile.static: Added static makefile that can be used to
2537 compile the examples, once installed the new example package
2538 * examples: Most of the examples were modified in order to grant that
2539 all use only '#include "hildon.h"', in order to be easy to prepare
2540 it on the example package
2542 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2545 * debian/libhildon1-dev.install
2546 * debian/libhildon1-doc.install:
2547 Move all gtk-doc files to a separate libhildon1-doc package.
2549 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2551 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2553 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2555 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2557 * debian/rules: Fixed a error in order to avoid unnecessary calls
2558 to autogen.sh on package building
2560 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2562 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2564 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2566 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2569 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2571 * src/hildon-picker-button.c
2572 (hildon_picker_button_finalize):
2573 Free priv->done_button_text
2575 * src/hildon-time-button.c
2576 (hildon_time_button_set_time)
2577 * src/hildon-picker-button.c
2578 (hildon_picker_button_clicked)
2579 (hildon_picker_button_selector_selection_changed)
2580 (hildon_picker_button_set_selector)
2581 * src/hildon-date-button.c
2582 (hildon_date_button_set_date):
2583 Free strings returned by hildon_touch_selector_get_current_text()
2585 * src/hildon-button.c (hildon_button_construct_child):
2586 Fix leaks in priv->image and priv->label_box
2588 Fixes: NB#90535 (Memory leak in picker button)
2590 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2592 * src/hildon-button.c: (hildon_button_get_property): Do not access
2593 private elements directly, use getters instead.
2595 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2597 * src/hildon-app-menu-private.h
2598 * src/hildon-app-menu.c
2599 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2600 Store the menu's parent window.
2602 * src/hildon-stackable-window.c
2603 (hildon_stackable_window_toggle_menu)
2604 (hildon_stackable_window_finalize):
2605 Set the menu's parent window when the menu is shown, unset it when
2608 * src/hildon-app-menu.c
2609 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2610 (hildon_app_menu_class_init):
2611 Send unhandled keyboard accelerators to the parent window.
2613 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2615 * src/hildon-stackable-window.c
2616 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2618 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2620 * configure.ac: post release version bump
2622 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2625 * configure.ac: Bump version
2626 * debian/changelog: Updates
2627 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2630 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2632 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2635 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2636 GtkMenu with Hildon style.
2638 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2640 * src/hildon-picker-button.c:
2641 (hildon_picker_button_set_done_button_text): Set the dialog's
2642 done button text here as well.
2644 Fixes: NB#90232 (Picker button does not set the label on done button
2645 for the second time)
2647 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2649 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2652 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-app-menu.c (hildon_app_menu_insert)
2655 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2656 the HildonAppMenu to be activatable using keyboard accelerators
2657 when the menu is not being shown.
2659 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2661 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-stackable-window.c
2664 (hildon_stackable_window_show):
2665 Don't hide old windows automatically when new windows are shown:
2666 this is now a task for the window manager.
2667 (hildon_stackable_window_class_init)
2668 (hildon_stackable_window_hide):
2669 Remove windows from the stack everytime they're hidden.
2670 (hildon_stackable_window_realize):
2671 Don't change the _NET_WM_WINDOW_TYPE property. Use
2672 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2673 it as a stackable window.
2675 * src/hildon-program.c
2676 (hildon_program_pop_window_stack):
2677 Just hide the window to remove it from the stack.
2678 (hildon_program_go_to_root_window):
2679 Don't call gtk_widget_show(), this is now a task for the window
2682 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2684 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2686 * src/hildon-button.c
2687 (hildon_button_construct_child):
2688 Don't pack anything in the button until text or image are
2689 set. This allows adding a custom child after creating the button
2690 with hildon_button_new().
2691 (hildon_button_finalize, hildon_button_class_init)
2692 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2693 alignment and the label box even when they're not packed in the
2696 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2698 * src/hildon-touch-selector.h:
2699 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2700 currently the type definition was using GTK_TYPE_VBOX
2701 * src/hildon-touch-selector.c:
2702 Added some implementation notes in order to clarify that any other widget
2703 added without the column related API will not be included on the
2704 selection logic, and how the widget is freed, as some people ask about
2706 (hildon_touch_selector_remove): Reimplemented in order to free properly
2707 the column related data when you remove the private hbox.
2708 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2709 to get a proper HildonTouchSelectorColumn documentation
2711 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2713 * src/hildon-touch-selector-entry.c:
2714 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2715 text in the GtkEntry and there is no item selected. Fixes a
2718 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-app-menu-private.h
2721 * src/hildon-app-menu.[ch]
2722 * src/hildon-button.[ch]
2723 * src/hildon-check-button.[ch]
2724 * src/hildon-entry.[ch]
2725 * src/hildon-pannable-area.[ch]
2726 * src/hildon-text-view.[ch]:
2727 Added private field to the object's structure.
2729 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2731 * configure.ac: post-release version bump
2733 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2737 * configure.ac: pre-release version bump
2739 * debian/changelog: updates.
2741 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2743 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2744 Disconnect the handler for HildonTouchSelector::changed.
2746 (hildon_picker_button_selector_selection_changed): Update the button
2747 value if the selection change was not triggered by the
2750 (hildon_picker_button_set_selector): connect to
2751 HildonTouchSelector::changed.
2753 Fixes: NB#89650 (Picker button is not updated, when selection in
2754 selector has changed)
2756 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2758 * src/hildon-picker-dialog.c
2759 (hildon_picker_dialog_realize): Removed as not required
2760 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2761 * src/hildon-picker-button.c
2762 (_current_selector_empty): New function, checks if the selector is empty
2763 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2764 if the current selector is empty, in order to avoid to show the dialog
2765 close the dialog in this case (and shows a g_warning).
2767 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2769 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2771 * src/hildon-pannable-area.c,
2772 (hildon_pannable_area_scroll): Added clause to stop movement when
2773 the child of pannable is smaller than one page.
2774 (hildon_pannable_area_scroll_to): Added conditions to avoid
2775 starting the scrolling movement if the child is smaller than one
2776 page, the complete child is in the screen, we do not have to move.
2778 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2780 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2783 this is managed automatically by the widget when the size of the
2786 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2788 * src/hildon-picker-button.c
2789 (hildon_picker_button_set_done_button_text): Make a copy of the
2790 text, and free the previous value.
2792 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2794 * src/hildon-touch-selector-entry.c:
2795 (hildon_touch_selector_entry_print_func): Return the selected row's
2796 text if the entry is empty.
2798 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2801 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2805 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2808 * src/hildon-check-button.h
2809 * src/hildon-check-button.c
2810 * examples/hildon-check-button-example.c:
2811 HildonCheckButton is now a new widget. 'toggled' signal added.
2813 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-program-private.h
2816 * src/hildon-program.c (hildon_program_init)
2817 (hildon_program_finalize): Removed unused variables group_leader
2818 and name from HildonProgramPrivate.
2820 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2822 * src/hildon-check-button.c (hildon_check_button_set_active)
2823 (hildon_check_button_get_active, hildon_check_button_new): Use
2824 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2826 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2828 * src/hildon-touch-selector.h
2829 (hildon_touch_selector_set_column_attributes): added deprecation
2830 guard HILDON_DISABLE_DEPRECATED
2831 * src/hildon-time-selector.c
2832 (hildon_time_selector_set_time)
2833 (hildon_time_selector_get_time): Fixed a typo on documentation
2834 * src/hildon-touch-selector.c: update HildonTouchSelector and
2835 HildonTouchSelectorColumn documentation
2836 * src/hildon-touch-selector-entry.c: update "text-column" property
2838 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2839 to be added to the general documentation.
2841 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2843 * examples/hildon-pannable-area-example-4.c,
2845 * examples/hildon-pannable-area-example.c,
2846 (main): Modified the code in order to use the container add, with
2847 viewport treeviews could have problems if they are really big.
2849 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2851 * src/hildon-weekday-picker.c,
2852 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2853 the agreement regarding deprecation in the library.
2855 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2857 * examples/hildon-picker-button-multicolumn-example.c:
2858 (main): Use custom "done" button text.
2860 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2861 (hildon_picker_button_set_property),
2862 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2863 (hildon_picker_button_init),
2864 (+hildon_picker_button_get_done_button_text),
2865 (+hildon_picker_button_set_done_button_text): New methods to customize
2866 the "done" button label in the launched HildonPickerDialog. Also,
2869 * src/hildon-picker-button.h: add the public API.
2871 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2873 * src/hildon-date-selector.h:
2874 * src/hildon-picker-dialog.h:
2875 * src/hildon-time-selector.h:
2876 * src/hildon-touch-selector-column.h:
2877 * src/hildon-touch-selector.h:
2879 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2880 declarations. Fixes gtk-doc warnings.
2882 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2884 * src/hildon-picker-dialog.h
2885 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2886 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2888 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2889 long text is set as label for done button)
2891 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2893 * src/hildon-dialog.c (hildon_dialog_add_button):
2894 Set fixed width to all buttons in the HildonDialog.
2896 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2898 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2900 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2901 Set widget name using class name plus "-finger" or "-thumb".
2903 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2905 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2906 'clicked' when the state of the button is manually changed.
2908 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2910 * src/hildon-app-menu.c (hildon_app_menu_realize)
2911 (hildon_app_menu_unrealize, hildon_app_menu_init)
2912 (hildon_app_menu_class_init, item_visibility_changed):
2913 Change the menu layout when the size of the screen changes.
2914 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2915 Show warning only when changing the number of colums using the
2918 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2920 * debian/compat: Set to 5
2921 * debian/control: Update dependencies.
2922 * debian/libhildon1-dbg.install: Remove.
2923 * debian/libhildon1-dev.install: Update according to cdbs paths.
2924 * debian/libhildon1.install: Update according to cdbs paths.
2925 * debian/rules: Switch to cdbs.
2927 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2930 'item' variable renamed to 'filter'
2932 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2934 * src/hildon-app-menu.c (hildon_app_menu_insert)
2935 (hildon_app_menu_add_filter, remove_item_from_list)
2936 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2937 Don't leak hidden items when the menu is destroyed.
2939 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-app-menu.c (hildon_app_menu_insert)
2942 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2943 (hildon_app_menu_set_columns, item_visibility_changed)
2944 (filter_visibility_changed, hildon_app_menu_repack_filters)
2945 (hildon_app_menu_repack_items):
2946 Repack items and filters separately.
2948 Don't repack all items, change only the ones that are needed to
2951 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2953 * src/Makefile.am: added hildon-touch-selector-column.h
2955 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2957 * src/hildon-touch-selector.c: added the property "text-column" to the
2958 class HildonTouchSelectorColumn, and related get/set functions
2959 (_default_printf_func): updated to use "text-column" property
2960 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2961 "text-column" in his documentation, as this is now included on
2962 HildonTouchSelectorColumn. The get/set_property can still be used,
2963 working as a wrapper to the concrete column "text-column" property
2964 (_text_column_modified): callback added in order to handle the signal
2965 "notify::text-column" of the concrete HildonTouchSelectorColumn
2966 (hildon_touch_selector_entry_get_text_column)
2967 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2968 modified in order to use the HildonTouchSelectorColumn "text-column"
2970 * src/hildon-time-selector.c:
2971 * src/hildon-date-selector.c:
2972 * examples/hildon-touch-selector-example.c
2973 * examples/hildon-touch-selector-multi-cells-example.c
2974 * examples/hildon-picker-button-multicolumn-example.c
2975 Set the right value to "text-column" property on the creation of a new
2976 column using hildon_touch_selector_append_column()
2978 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2980 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2982 * src/hildon-app-menu.c
2983 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2984 updating the layout of the menu, don't create all widgets again,
2985 just repack the items in their new places.
2987 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2989 * src/hildon-time-selector.c
2990 (hildon_time_selector_get_time)
2991 (hildon_time_selector_set_time)
2992 Added documentation of these public methods
2994 * src/hildon-date-button.h
2995 * src/hildon-touch-selector-column.h
2996 * src/hildon-time-button.h
2997 * src/hildon-picker-dialog.h
2998 * src/hildon-time-selector.h
2999 * src/hildon-picker-button.h
3000 * src/hildon-touch-selector.h
3001 * src/hildon-time-picker.h
3002 * src/hildon-date-selector.h
3003 * src/hildon-touch-selector-entry.h
3004 Modified in order to use hildon-widgets code style
3006 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3008 Added deprecated support to the compilation process using
3009 HILDON_DISABLE_DEPRECATED
3011 * configure.ac: Added the --disable-deprecated to the configure
3014 * src/hildon-weekday-picker.c:
3015 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3016 to use the deprecated support. We will update the other deprecated
3017 widgets status in a new patch.
3019 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3021 * configure.ac: Fixed typo with fatal warnings support, the
3022 variable name was not correct
3024 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3026 * src/hildon-app-menu.c
3027 * src/hildon-program.c: Update documentation.
3029 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3031 * configure.ac: Post-release version bump.
3033 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3038 * configure.ac: Pre-release version bump.
3039 * debian/changelog: Updates.
3041 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3043 * NEWS: Update news for previous releases.
3045 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3047 * examples/hildon-touch-selector-multi-cells-example.c:
3048 (create_selector): Update the example to use
3049 hildon_touch_selector_append_column() with a NULL renderer and set
3050 the renderers later.
3051 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3052 passed a NULL renderer. This is documented behavior now.
3054 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3055 This must be used if the developer wants full control on the layout of
3056 the renderers to be added to the column.
3058 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3060 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-touch-selector.c: Documentation fixes.
3064 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3066 * src/hildon-wizard-dialog-private.h: Remove image and box.
3067 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3068 (hildon_wizard_dialog_set_property), (response): Completely remove
3069 image/icon support, and the containers required for the layout.
3071 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3073 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3075 * src/hildon-app-menu.c: Updated documentation.
3077 * src/hildon-stackable-window.c
3078 (hildon_stackable_window_set_main_menu): Unref the old menu after
3079 ref'ing the new one.
3081 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3083 * src/hildon-stackable-window.c
3084 (hildon_stackable_window_set_main_menu): Unref the previous menu
3085 instead of destroying it.
3087 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3088 floating reference and set has_user_ref_count to FALSE to make
3089 HildonAppMenu act like a normal ref-counted widget and not a
3092 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3095 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3097 * src/hildon-touch-selector-column.h: new file
3098 * src/hildon-touch-selector.h
3099 * src/hildon-touch-selector.c
3100 Implemented GtkCellLayout interface, in order to allow to configure
3101 the cell layout on each individual selector column
3102 (hildon_touch_selector_set_column_attributes): marked as deprecated
3103 * examples/hildon-touch-selector-multi-cells-example.c
3104 Example of how to use the GtkCellLayout interface on the selector
3106 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3108 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3110 * src/hildon-app-menu.h
3111 * src/hildon-app-menu.c
3112 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3113 (hildon_app_menu_append, hildon_app_menu_prepend):
3114 New methods to prepend, insert and move items in the menu.
3116 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3118 * src/hildon-wizard-dialog.c:
3120 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3122 (create_title): Update logical IDs and related code.
3123 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3125 * src/hildon-wizard-dialog.h: Note that
3126 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3127 point, as it is not used anymore.
3129 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3131 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3133 * src/hildon-note.c:
3134 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3135 shown. Do not display an icon in confirmation notes nor information
3137 (hildon_note_set_button_text): Update logical ID for cancel button.
3139 Fixes: NB#88850 (Update HildonNote button strings + signals)
3141 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3143 * src/hildon-stackable-window.c
3144 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3146 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3148 * src/hildon-app-menu-private.h
3149 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3150 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3151 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3152 temporary property 'columns' to change the number of columns.
3154 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3156 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3158 * examples/hildon-note-example.c: (on_information_clicked),
3159 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3160 debugging information.
3161 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3163 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3164 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3165 in order to close: this will be handled by the WM from now on.
3167 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3169 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3171 * src/hildon-app-menu-private.h
3172 * src/hildon-app-menu.c
3173 (hildon_app_menu_append, hildon_app_menu_add_filter)
3174 (button_visibility_changed, hildon_app_menu_apply_style)
3175 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3176 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3177 layout everytime a button (item or filter) is shown or hidden.
3179 * src/hildon-stackable-window.c
3180 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3183 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3185 * src/hildon-touch-selector.c:
3186 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3187 that the treeview inside the touch selector is in fremantle hildon mode
3188 * examples/hildon-date-button-example.c
3189 * examples/hildon-picker-button-multicolumn-example.c
3190 * examples/hildon-touch-selector-entry-example.c
3191 * examples/hildon-touch-selector-example.c
3192 * examples/hildon-time-button-example.c
3193 * examples/hildon-picker-button-example.c:
3194 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3196 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3198 * examples/hildon-text-view-example.c: (main): Remove the
3199 gtkrc bits, now handled by the theme.
3201 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3206 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3208 * po/Makefile.am: Install properly the mo files.
3209 * po/en_GB.po: Update translation, to ease testing purposes.
3211 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3213 * examples/hildon-picker-button-example.c: (main): Select an item
3214 in the selector before setting it to the button.
3216 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3218 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3219 Update button's value if the selector has an item active.
3221 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3222 'value' with the selector)
3224 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3226 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3227 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3228 (hildon_picker_button_class_init): Plug the finalize method.
3229 (hildon_picker_button_set_selector): If there's a previously set
3230 selector, unref'it before setting a new one.
3232 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3233 HildonTouchSelector)
3235 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3237 * src/hildon-touch-selector-entry.c:
3238 (hildon_touch_selector_entry_changed): Check if there is no text
3239 selected before setting the entry text.
3242 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3244 * src/hildon-touch-selector.h
3245 * src/hildon-touch-selector.c
3246 (hildon_touch_selector_get_active)
3247 (hildon_touch_selector_set_active): New methods to set/get the
3248 index of the selected item.
3250 * src/hildon-picker-button.h
3251 * src/hildon-picker-button.c
3252 (hildon_picker_button_get_active)
3253 (hildon_picker_button_set_active): New methods to set/get the
3254 index of the selected item.
3256 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3258 * configure.ac: post-release version bump.
3260 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3264 * configure.ac: Pre-release version bump.
3265 * debian/changelog: Updates.
3266 * debian/control: Add myself as maintainer and depend on l10n
3269 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-window.c
3272 (hildon_window_set_main_menu)
3273 * src/hildon-stackable-window.c
3274 (hildon_stackable_window_set_main_menu):
3275 Updated documentation.
3277 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3279 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3280 Don't free selector->priv manually.
3283 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3286 (hildon_gtk_window_set_progress_indicator):
3287 * src/hildon-gtk.h: Added the new API
3288 hildon_gtk_window_set_progress_indicator, it changes the state of
3289 the window progress hint.
3291 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3293 * src/hildon-button.c
3294 * src/hildon-stackable-window.c: Minor documentation updates.
3296 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3298 * src/hildon-stackable-window.c: Updated documentation.
3300 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3302 * src/hildon-defines.h: Update margins definitions
3303 to the Fremantle sizes.
3306 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3308 * src/hildon-touch-selector.c,
3309 (_hildon_touch_selector_set_model): Cleaning the code after
3310 review, removed g_print and #if 0 from the code.
3312 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-edit-toolbar.c: Update documentation.
3316 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3318 * src/hildon-check-button.h
3319 * src/hildon-check-button.c
3320 (hildon_check_button_set_label, hildon_check_button_get_label)
3321 * examples/hildon-check-button-example.c
3322 (button_clicked_cb):
3323 Removed deprecated methods.
3325 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3327 * src/hildon-text-view.c:
3328 Add sample code to the documentation.
3330 * src/hildon-entry.h
3331 * src/hildon-text-view.h:
3332 Minor cosmetic changes.
3334 * src/hildon-entry.c:
3335 Add sample code to the documentation.
3336 (hildon_entry_init, hildon_entry_refresh_contents):
3337 Don't allow NULL values in the placeholder.
3339 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3341 * doc/hildon-docs.sgml
3343 * examples/Makefile.am
3344 * examples/hildon-text-view-example.c
3346 * src/hildon-text-view.c
3347 * src/hildon-text-view.h
3349 New HildonTextView widget, with example.
3351 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3353 * po/POTFILES.in: Add missing files with translatable strings.
3354 Partially fixes NB#88287.
3356 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3358 * examples/hildon-pannable-area-example-2.c: (main): No need to
3359 set the cellrenderer height inside hildon touch lists, the theme does
3362 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3364 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3365 they are integrated in the theme.
3367 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3369 * examples/hildon-entry-example.c: Update the example adding
3370 widgets to modify the text and the placeholder of the HildonEntry.
3372 * src/hildon-entry.c: Show the placeholder everytime the widget
3373 is empty and loses the focus.
3375 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3377 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3379 * src/hildon-pannable-area.c,
3380 (hildon_pannable_area_size_request): Fixed bug in height
3381 requisition, avoid increasing size and add border twice.
3383 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3385 * configure.ac: postrelease version bump.
3387 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3391 * configure.ac: Prerelease version bump.
3392 * debian/changelog: update.
3393 * debian/rules: make -dbg package contain useful debugging symbols.
3395 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3397 * src/hildon-dialog.h
3398 * src/hildon-dialog.c
3399 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3400 New methods to add buttons with finger size.
3401 (hildon_dialog_new_with_buttons):
3402 Create buttons with finger size.
3404 * examples/hildon-dialog-example.c (main): Use HildonDialog
3405 methods to add buttons.
3407 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3409 * src/hildon-entry.c: Updated HildonButton documentation.
3411 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3413 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3414 button value label with (FALSE, FALSE) to prevent NB#88126 from
3417 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3419 * examples/hildon-pannable-area-example.c,
3420 (main): Removed examples panning a vbox inside a pannable
3421 area. Check bug NB#87965
3423 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3425 Patch contributed by Kris Rietveld (kris@imendio.com)
3427 * src/hildon-pannable-area.c,
3428 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3429 get_size and get_position, this saves an X server roundtrip.
3431 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3433 * doc/hildon-docs.sgml
3435 * examples/Makefile.am
3436 * examples/hildon-entry-example.c
3438 * src/hildon-entry.c
3439 * src/hildon-entry.h
3441 New HildonEntry widget, with example.
3443 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3445 * src/hildon-button.c (hildon_button_construct_child): Pack the
3446 image with expand == fill == FALSE. This is a workaround for a bug
3449 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3451 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3452 labels for the text column, to make it more look more dynamic.
3454 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3456 * src/hildon-time-selector.c
3457 Define gettext auxiliar macro N_
3458 (_create_minutes_model)
3459 (_create_hours_model)
3460 (_create_ampm_model): use of strftime in order to fill the model
3461 * src/hildon-date-selector.c
3462 (hildon_date_selector_finalize):
3463 (_locales_init): remove the logic related to get the name of the months
3464 using nl_langinfo, as it is not required anymore
3466 (_create_year_model)
3467 (_create_month_model)
3468 (_update_day_model): use of strftime in order to fill the model properly
3471 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3473 * src/hildon-button.h
3474 * src/hildon-button.c (hildon_button_get_image): New method to
3477 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3479 * src/hildon-touch-selector.c:
3480 (hildon_touch_selector_remove_column): Remove from the correct parent
3481 and also remove the list element and free it.
3484 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3486 * src/hildon-time-selector.c
3487 (_create_hours_model): change the range on 12h ampm format in order to use
3488 a 12-11 range instead of previous 01-12 range
3489 (hildon_time_selector_set_time): change the way to select the current time
3490 on 12h ampm format, due the change on the range
3491 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3494 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3496 * src/hildon-touch-selector.c
3497 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3498 in order to allow use this function on multiple row selection mode if
3499 the column is different that the first one
3502 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3504 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3505 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3507 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3509 * src/hildon-date-selector.h: clean some comments, now on the .c
3510 * src/hildon-date-selector.c
3511 (hildon_date_selector_select_month): first implementation
3512 (hildon_date_selector_select_day): added documentation, reimplemented
3513 using hildon_date_selector_select_current_date to avoid repeat code
3516 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3518 Reviewed interaction logic based on device experiences, refactored
3521 * src/hildon-pannable-area.c,
3522 (hildon_pannable_area_class_init): Updated default vmax speed.
3523 (hildon_pannable_area_calculate_velocity): Added this function, it
3524 avoids duplicate valocity calculation. Adjusted calculation to
3525 avoid problems with zero dist events.
3527 (hildon_pannable_area_motion_notify_cb): Now we use the
3528 calculate_velocity function.
3530 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3532 * src/hildon-date-selector.c
3533 (hildon_date_selector_select_current_date): fix the day range check
3534 as it failed using the last day of the current month
3537 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3539 * src/hildon-touch-selector.c
3540 (hildon_touch_selector_get_num_columns): added a parameter validation
3543 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3545 * examples/Makefile.am
3546 * examples/hildon-edit-toolbar-example.c: Example of the
3547 HildonEditToolbar widget.
3549 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3551 * configure.ac: postrelease version bump.
3553 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3557 * configure.ac: prerelease version bump.
3558 * debian/changelog: update.
3560 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3562 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3563 renderer to display stock icons in the touch list. Also, set the sizes
3564 to the recommended in the style guide.
3566 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3567 * src/hildon-touch-selector.h
3568 (hildon_touch_selector_set_active_iter): renamed, now is
3569 hildon_touch_selector_select_iter
3570 (hildon_touch_selector_get_active_iter): renamed, now is
3571 hildon_touch_selector_get_selected
3572 (hildon_touch_selector_unselect_iter): added
3573 * src/hildon-touch-selector.c
3574 Update after API modification (methods renamed)
3575 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3576 order to avoid problems selecting multiple elements on the column
3577 (hildon_touch_selector_unselect_iter): added the implementation
3578 * src/hildon-time-selector.c
3579 * src/hildon-date-selector.c
3580 * src/hildon-touch-selector-entry.c
3581 Update methods calls after hildon-touch-selector.h API modification (methods
3584 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3586 * src/hildon-stackable-window.c
3587 (hildon_stackable_window_finalize): Call the parent class's finalize.
3589 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3591 * examples/hildon-touch-selector-example.c: (create_selector): Use
3592 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3595 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3597 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3598 set a cell background color, to respect theming.
3600 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3602 * doc/hildon-docs.sgml
3605 * src/hildon-edit-toolbar.c
3606 * src/hildon-edit-toolbar.h
3607 * src/hildon.h: New HildonEditToolbar widget.
3609 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3611 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3614 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3615 * src/hildon-touch-selector.c
3616 (_create_new_column): use g_object_set instead of two g_object_set_property
3618 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3619 * src/hildon-touch-selector.c
3620 (_create_new_column): use of hildon_gtk_tree_view_new to create
3621 the treeview, instead of use directly g_object_new
3622 (_create_new_column): update the property name "vindicator-mode" for the
3623 new one "vscrollbar-policy"
3624 * examples/hildon-date-button-example.c
3625 * examples/hildon-picker-button-multicolumn-example.c
3626 * examples/hildon-touch-selector-entry-example.c
3627 * examples/hildon-touch-selector-example.c
3628 * examples/hildon-time-button-example.c
3629 * examples/hildon-picker-button-example.c
3630 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3631 to all the treeviews inside a pannable area.
3633 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3635 * src/hildon-button.h
3636 * src/hildon-button.c (hildon_button_init)
3637 (hildon_button_set_arrangement, hildon_button_set_alignment)
3638 (hildon_button_set_title_alignment)
3639 (hildon_button_set_value_alignment)
3640 (hildon_button_set_image_alignment)
3641 (hildon_button_construct_child): New methods to set the alignment
3642 of the individual components of the button (title, value,
3643 image). Also, new method to alter the xscale and yscale properties
3644 of the GtkAlignment inside the button, so more complex layouts can
3647 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-button.c (hildon_button_style_set)
3650 (hildon_button_class_init, hildon_button_set_arrangement)
3651 (hildon_button_construct_child): Apply style properties
3652 correctly. Use the 'image-spacing' style property too.
3654 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3656 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3657 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3660 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3662 * src/hildon-pannable-area.c,
3663 (hildon_pannable_area_size_request): Fixed problem with
3664 pannable-area size_request.
3666 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3668 Added management for the grab-focus to a child widget, like a
3669 range, we need to fade out the scrollbar when releasing.
3671 * src/hildon-pannable-area.c,
3672 (hildon_pannable_area_init): Connected the grab-focus signal to
3674 (hildon_pannable_area_grab_notify): Added this function in order
3675 to manage the situation when the grab-focus ends. We have to
3676 fade-out the scrollbar.
3678 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3680 * src/hildon-app-menu.c: Minor documentation update.
3682 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3684 * src/hildon-app-menu.c
3685 * examples/hildon-app-menu-example.c (create_menu): Update
3686 examples and documentation to explain how to connect callbacks.
3688 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3690 * examples/hildon-button-example.c
3691 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3692 hildon_stackable_window_new instead of gtk_window_new
3694 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3696 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3697 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3698 (hildon_pannable_area_set_property),
3699 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3700 (hildon_pannable_area_unrealize),
3701 (hildon_pannable_area_size_request),
3702 (hildon_pannable_area_size_allocate),
3703 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3704 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3705 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3706 (hildon_pannable_area_initial_effect),
3707 (hildon_pannable_area_redraw),
3708 (hildon_pannable_area_scroll_indicator_fade),
3709 (hildon_pannable_area_expose_event),
3710 (hildon_pannable_area_get_topmost), (synth_crossing),
3711 (hildon_pannable_area_button_press_cb),
3712 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3713 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3714 (hildon_pannable_area_motion_notify_cb),
3715 (hildon_pannable_area_button_release_cb),
3716 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3717 (hildon_pannable_area_remove),
3718 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3719 chage the code layout to a more GtkWidget like. Review the use of
3722 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3724 * examples/hildon-pannable-area-example-4.c,
3725 (main): Modified the name of the hindicator_mode to
3728 * src/hildon-pannable-area.c,
3729 (hildon_pannable_area_class_init),
3730 (hildon_pannable_area_motion_notify_cb),
3731 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3732 we have reduced the amount of signals and managed reviewed its
3733 rationale. Changed the default decelerate value.
3735 (hildon_pannable_area_add),
3736 (hildon_pannable_area_redraw): Refactored functions.
3738 (hildon_pannable_area_init),
3739 (hildon_pannable_area_get_property),
3740 (hildon_pannable_area_set_property):
3741 (hildon_pannable_draw_vscroll),
3742 (hildon_pannable_draw_hscroll),
3743 (hildon_pannable_area_initial_effect),
3744 (hildon_pannable_area_expose_event),
3745 (hildon_pannable_area_scroll),
3746 (hildon_pannable_area_button_press_cb),
3747 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3748 and vindicator_mode with hscrollbar_policy and
3749 vscrollbar_policy. Replaced hscroll and vscroll with
3750 hscroll_visible and vscroll_visible.
3752 (hildon_pannable_area_refresh): Refactor the function, remove
3753 variables and check the calls to this function, added resize
3754 conditions in case the children change their layout.
3756 (hildon_pannable_area_size_request): Added more detailed
3757 size_request calculation.
3760 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3762 * src/hildon-color-chooser.c
3763 (init_borders): use the correct gtk_border_free instead of g_free, to
3764 avoid a crash when this widget is used (ie: the three color selection
3767 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3769 * src/hildon-check-button.c,
3770 (hildon_check_button_set_active): Fixed problem when setting the
3771 active value, the widget was not redrawn.
3773 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3775 * src/hildon-pannable-area.c,
3776 (hildon_pannable_area_refresh),
3777 (hildon_pannable_area_scroll),
3778 (hildon_pannable_area_motion_notify_cb): Small code style change.
3780 (hildon_pannable_area_class_init): Default initial_hint set to
3781 FALSE, it is not in the specs.
3783 (hildon_pannable_area_initial_effect),
3784 (hildon_pannable_area_expose_event),
3785 (hildon_pannable_area_map),
3786 (hildon_pannable_area_init): Moved the launching point of the
3787 initial effect, it was in map but the sizes where not correct in
3788 that method so we do not know if we have the reproduce it. Now it
3789 is placed in the expose_event method and uses a variable to
3790 reproduce it just once.
3792 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3794 * src/hildon-pannable-area.c,
3795 (hildon_pannable_draw_vscroll),
3796 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3797 position allowed for the scrollbars.
3799 (hildon_pannable_area_size_allocate): Small style change.
3801 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3803 * src/hildon-pannable-area.c,
3804 (hildon_pannable_area_scroll_indicator_fade),
3805 (hildon_pannable_area_button_press_cb),
3806 (hildon_pannable_area_button_release_cb),
3807 (hildon_pannable_area_scroll_cb),
3808 (hildon_pannable_area_expose_event),
3809 (hildon_pannable_area_init): Added the define parameter
3810 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3811 and refactor the fade variable.
3813 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3815 * src/hildon-pannable-area.c,
3816 (hildon_pannable_area_redraw),
3817 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3818 lines, we were reimplemeting the redraw code.
3820 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3822 * src/hildon-pannable-area.c,
3823 (hildon_pannable_area_scroll_cb),
3824 (hildon_pannable_area_realize),
3825 (hildon_pannable_area_class_init): Added scroll_event management
3826 for pannable area, now we can scroll the usual desktop method.
3828 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3829 initialization of the parameters should depend on idle_id.
3831 (hildon_pannable_area_init),
3832 (hildon_pannable_area_map): Small code style modifications
3834 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3836 * src/hildon-pannable-area.c
3837 (hildon_pannable_area_button_press_cb),
3838 (hildon_pannable_area_motion_notify_cb),
3839 (hildon_pannable_area_button_release_cb),
3840 (hildon_pannable_area_size_allocate),
3841 (hildon_pannable_area_scroll_to): Improved the timeouts
3842 management, we avoid creating them each time.
3844 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3846 * src/hildon-pannable-area.c:
3847 (hildon_pannable_area_refresh),
3848 (hildon_pannable_area_motion_notify_cb),
3849 (hildon_pannable_area_class_init):
3850 * src/hildon-pannable-area.h:
3851 * src/hildon-touch-selector.c
3852 (_create_new_column):
3853 * examples/hildon-pannable-area-example-4.c:
3854 (horizontal_movement),
3855 (vertical_movement),
3857 Replaced the names of enums in the HildonPannableArea:
3858 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3859 HILDON_MOVEMENT_MODE_*
3860 - HILDON_PANNABLE_AREA_MOV_* ->
3862 - Removed HildonPannableAreaIndicatorMode, now we
3865 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3867 * examples/hildon-pannable-area-touch-grid-example.c
3868 * examples/hildon-pannable-area-touch-list-example.c: Fix
3869 compilation warnings.
3871 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3873 * src/hildon-gtk.c (hildon_gtk_button_new)
3874 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3875 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3876 images overriding the value of the "gtk-button-images" setting.
3878 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3880 * src/hildon-check-button.c (hildon_check_button_new):
3881 Instead of using a custom container, display the label and the
3882 checkbox using the standard GtkButton API.
3884 * examples/hildon-check-button-example.c (main): Don't use
3885 hildon_check_button_set_label() anymore
3887 * src/hildon-check-button.h
3888 * src/hildon-check-button.c
3889 (hildon_check_button_set_label, hildon_check_button_get_label):
3890 Set as deprecated, now we're using gtk_button_{get,set}_label()
3892 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3894 * src/hildon-pannable-area.c,
3895 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3896 GtkTreeview first line we detected it after the inclusion of the
3897 GtkWindowImpl in gtk+. We now check if the window is visible, not
3898 just if the pointer is over the window.
3899 (hildon_pannable_axis_scroll),
3900 (hildon_pannable_area_expose_event): Small style changes.
3902 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3904 * src/hildon-button.c: Update documentation.
3906 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3908 * examples/hildon-button-example.c: Add a switch to show images in
3911 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3913 * doc/hildon-docs.sgml: Some docs reorganization.
3915 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3917 * examples/hildon-pannable-area-touch-list-example.c
3919 * examples/hildon-pannable-area-touch-grid-example.c
3920 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3921 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3922 Fix memory leak when setting the tree model.
3924 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3928 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3930 * doc/hildon.types: Remove duplicated hildon_window_get_type
3931 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3932 documentation comment.
3934 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3936 * doc/Makefile.am: Complete list of private headers.
3938 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3940 * doc/hildon-docs.sgml
3941 * src/hildon-app-menu.c
3942 * src/hildon-bread-crumb.c
3943 * src/hildon-button.c
3945 * src/hildon-program.c
3946 * src/hildon-stackable-window.c
3947 * src/hildon-window.c: Lots of documentation updates.
3949 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3951 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3953 * configure.ac: Require Gtk+ 2.12.9 at least
3955 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3957 * src/hildon-pannable-area.c
3958 (hildon_pannable_area_scroll_indicator_fade),
3959 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3960 to protect the return of this timeout callbacks, avoiding deadlocks.
3962 2008-08-12 Christian Dywan <christian@imendio.com>
3965 * src/hildon-*.h: Ensure a consistent include order,
3966 include <gtk/gtk.h> instead of particular files and
3967 only include the topmost header in the gtk stack. See NB #39857
3969 2008-08-12 Christian Dywan <christian@imendio.com>
3971 * src/hildon-picker-dialog.c
3972 * src/hildon-touch-selector.c: Fix warnings about unused and
3973 uninitialized variables.
3975 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3977 * examples/Makefile.am
3978 * examples/hildon-check-button-example.c: Example of the hildon
3981 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3983 * src/hildon-window.h
3984 * src/hildon-window.c (hildon_window_class_init)
3985 (hildon_window_unset_program): Don't make
3986 hildon_window_unset_program a virtual function anymore.
3988 * src/hildon-stackable-window.c: Update documentation
3990 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3993 * doc/hildon-docs.sgml
3994 * doc/visual_index.xml
3995 * src/hildon-defines.c
3997 * src/hildon-helper.c
3998 * src/hildon-range-editor.c: Lots of documentation fixes.
4000 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4002 * examples/hildon-picker-button-multicolumn-example.c
4003 (create_touch_selector): Fix compilation warning.
4005 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4007 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4008 (hildon_pannable_area_button_release_cb)
4009 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4011 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4013 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4016 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4018 * src/hildon-bread-crumb-trail.h
4019 * src/hildon-date-editor.c
4020 * src/hildon-date-selector.c
4021 * src/hildon-pannable-area.c
4022 * src/hildon-picker-dialog.c
4023 * src/hildon-time-selector.c
4024 * src/hildon-touch-selector-entry.c
4025 * src/hildon-touch-selector.c
4026 * src/hildon-touch-selector.h: Misc documentation fixes
4028 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4030 * examples/hildon-date-editor-example.c (main): Updated date
4033 * examples/hildon-note-example.c (on_confirmation_clicked):
4034 Updated confirmation note example.
4036 * src/hildon-date-editor.c
4037 * src/hildon-note.c: Updated sample programs in documentation.
4040 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/hildon-date-button.h:
4043 * src/hildon-picker-button.h:
4044 * src/hildon-time-button.c:
4045 * src/hildon-time-button.h:
4047 Some declarations changes to allow gtk-doc to document the widgets
4050 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4052 * src/hildon-date-button.c: Document the widget.
4053 * src/hildon-time-button.c: Document the widget.
4055 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4057 * src/hildon-picker-button.c: Document the widget.
4058 * src/hildon-touch-selector-entry.c: Document the widget.
4060 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4062 * doc/hildon-docs.sgml
4065 * src/hildon-check-button.h
4066 * src/hildon-check-button.c: New functions to create the Hildon
4070 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4072 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-button.h
4075 * src/hildon-button.c
4076 (hildon_button_add_title_size_group)
4077 (hildon_button_add_value_size_group)
4078 (hildon_button_add_image_size_group)
4079 (hildon_button_add_size_groups): New functions to set size groups
4080 for the button labels and image.
4081 (hildon_button_new_full): Removed
4083 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4085 * src/hildon-time-selector.c
4086 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4087 in order to avoid a crash if gconf is not available
4089 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-button.c (hildon_button_set_arrangement)
4092 (hildon_button_construct_child): Don't construct the button child
4093 before setting the arrangement.
4095 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4097 * src/hildon-program-private.h
4098 * src/hildon-program.c
4099 * src/hildon-program.h
4100 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4101 (hildon_program_peek_window_stack)
4102 (hildon_program_pop_window_stack)
4103 (hildon_program_go_to_root_window): HildonProgram now has a
4104 separate list for stackable windows. Functions are provided to
4105 manage that list with a stack-like API.
4107 * src/hildon-stackable-window.c: Stackable window management is
4108 now much simpler with the new HildonProgram API. Windows no
4109 longer need to be manually added to the program, they're
4110 automatically pushed to the top of the stack when shown.
4112 * examples/hildon-stackable-window-example.c: Updated example to
4113 reflect the API changes.
4115 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-touch-selector.c: Comment out unimplemented
4118 hildon_touch_selector_insert_column() to avoid a compile warning.
4120 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4122 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4123 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4124 (hildon_touch_selector_set_column_selection_mode),
4125 (_hildon_touch_selector_set_model),
4126 (hildon_touch_selector_set_model):
4128 Complete review of HildonTouchSelector documentation.
4130 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4132 * doc/hildon-docs.sgml
4136 * src/hildon-gtk.c: Convenience functions for standard Gtk
4137 widgets, used to easily perform frequent operations.
4139 * src/hildon-button-helpers.h
4140 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4142 * src/hildon-helper.h
4143 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4144 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4146 * src/hildon-button.h
4147 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4149 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4151 * src/hildon-button.c (hildon_button_init)
4152 (hildon_button_set_arrangement, hildon_button_construct_child):
4153 Pack the image and the labels inside the same GtkAlignment so
4154 gtk_button_set_alignment() can be used
4156 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4158 * src/hildon-button.h
4159 * src/hildon-button.c
4160 (hildon_button_init, hildon_button_set_image)
4161 (hildon_button_set_image_position)
4162 (hildon_button_construct_child): New functions to add an image to
4165 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4167 * src/hildon-date-button.c
4168 * src/hildon-picker-button.c
4169 * src/hildon-time-button.c
4170 * src/hildon-button.c:
4171 (hildon_button_class_init): "size-flags" renamed to "size"
4172 (hildon_button_set_title): Hide the title label if set to NULL.
4174 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4176 HildonButtonFlags split into HildonButtonArrangement (to set the
4177 button layout) and HildonSizeType (which can be used for any
4180 * src/hildon-button.h
4181 * src/hildon-button.c
4182 (hildon_button_class_init)
4183 (hildon_button_set_arrangement)
4184 (hildon_button_set_property): New "size-flags"
4185 property. "arrangement-flags" renamed to "arrangement".
4186 (hildon_button_new, hildon_button_new_with_text)
4187 (hildon_button_new_full): Constructors updated to reflect type changes.
4189 * src/hildon-helper.h
4190 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4191 to set the size of a widget.
4195 * src/hildon-button-helpers.c
4196 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4198 * src/hildon-date-button.c
4199 * src/hildon-date-button.h
4200 * src/hildon-picker-button.c
4201 * src/hildon-picker-button.h
4202 * src/hildon-time-button.c
4203 * src/hildon-time-button.h: Updated widgets to reflect
4204 HildonButton API changes.
4206 * examples/hildon-button-example.c
4207 * examples/hildon-date-button-example.c
4208 * examples/hildon-picker-button-example.c
4209 * examples/hildon-picker-button-multicolumn-example.c
4210 * examples/hildon-time-button-example.c
4211 * examples/hildon-touch-selector-entry-example.c
4212 * examples/hildon-touch-selector-example.c: Updated examples to
4213 reflect HildonButton API changes.
4215 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4217 * doc/hildon-docs.sgml:
4219 * examples/Makefile.am:
4220 * examples/hildon-touch-selector-entry-example.c:
4222 * src/hildon-touch-selector-entry.c:
4223 * src/hildon-touch-selector-entry.h:
4226 Moved HildonTouchSelectorEntry from sandbox. Added its
4227 documentation and examples.
4229 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-touch-selector.h:
4232 * examples/hildon-picker-button-multicolumn-example.c:
4233 (hildon_touch_selector_append_text_column): Add a gboolean
4234 parameter to determine if text must be centered in the column.
4236 * src/hildon-date-selector.c: (hildon_date_selector_init):
4237 * src/hildon-time-selector.c: (hildon_time_selector_init):
4238 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4239 (create_touch_selector): Update widgets and example to reflect
4242 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4244 * src/hildon-touch-selector.c:
4245 (hildon_touch_selector_set_active_iter): Set also the cursor in
4248 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4250 * doc/hildon-docs.sgml
4253 * src/hildon-toggle-button.c
4254 * src/hildon-toggle-button.h
4255 * src/hildon.h: Removed HildonToggleButton widget, a derived
4256 class is not necessary for this.
4258 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4260 * src/hildon-pannable-area.c,
4261 (hildon_pannable_area_realize),
4262 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4265 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4268 "done" button the default widget for the dialog.
4270 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4272 * src/hildon-touch-selector.c:
4273 (hildon_touch_selector_class_init),
4274 (hildon_touch_selector_get_property),
4275 (_hildon_touch_selector_set_model),
4276 (_hildon_touch_selector_has_multiple_selection),
4277 (hildon_touch_selector_has_multiple_selection):
4278 Add a "has-multiple-selection" property with a virtual
4279 has_multiple_selection() method to allow derived classes to
4280 override the default value for it. See the method and property
4281 documentation for details.
4283 * src/hildon-touch-selector.h: Add the new API.
4285 * src/hildon-picker-dialog.c: (requires_done_button): Call
4286 hildon_touch_selector_has_multiple_selection() instead of
4287 determining the need for a button itself.
4289 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4291 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4292 (_hildon_touch_selector_set_model),
4293 (hildon_touch_selector_set_model): Move working code to
4294 _hildon_touch_selector_set_mode(). Call the class method instead.
4296 * src/hildon-touch-selector.h: Add (*set_model) to
4297 HildonTouchSelectorClass.
4299 Make hildon_touch_selector_set_model() a virtual method, so that
4300 derived classes can extend it and do fancy stuff with the model.
4302 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4304 * configure.ac: Set back the tarname in AC_INIT to hildon.
4306 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4310 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4311 instead of libesd (NB#86876). Volume handling is still an open issue.
4313 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4316 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4318 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4319 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4320 derived class to ease placement of an entry widget in
4321 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4322 end, where the selector columns are packed now.
4324 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/hildon-picker-button.c: Removed the simple _text() API.
4327 * src/hildon-picker-button.h: Likewise.
4329 * src/hildon-touch-selector.h:
4330 * src/hildon-touch-selector.c:
4331 (hildon_touch_selector_new_text),
4332 (hildon_touch_selector_append_text),
4333 (hildon_touch_selector_prepend_text),
4334 (hildon_touch_selector_insert_text):
4336 Moved the simple _text() API from HildonPickerButton to
4337 HildonTouchPicker, to provide better escalability and not to tie
4338 that API to HildonPickerButton.
4340 * examples/hildon-picker-button-example.c: (main): Example updated.
4342 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4344 * src/hildon-button.c: Updated documentation.
4346 * examples/hildon-button-example.c: Add the posibility to create
4347 the buttons using horizontal layout for title and value.
4349 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4351 * src/hildon-app-menu-private.h
4352 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4353 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4354 GtkSizeGroup for the filters, use the 'homogeneous' property of
4357 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4359 * examples/hildon-button-example.c: Updated example.
4361 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4363 * doc/hildon-docs.sgml:
4366 Update documentation.
4368 * examples/Makefile.am: Update renamed examples.
4370 * examples/hildon-picker-button-multicolumn-example.c:
4371 (create_touch_selector), (main): Update after the rename.
4373 * examples/hildon-touch-picker-example.c: Removed.
4374 * examples/hildon-touch-selector-example.c: (value_changed),
4375 (create_selector), (get_visible_content), (main): Renamed from
4376 hildon-touch-picker-example.c
4378 * src/Makefile.am: Updated renamed files.
4380 * src/hildon-date-button.c: (hildon_date_button_init),
4381 (hildon_date_button_get_date), (hildon_date_button_set_date):
4382 * src/hildon-date-selector.c: (hildon_date_selector_init),
4383 (_custom_print_func), (_update_day_model),
4384 (_manage_selector_change_cb),
4385 (hildon_date_selector_select_current_date),
4386 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4387 * src/hildon-date-selector.h:
4388 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4389 (hildon_picker_button_set_property),
4390 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4391 (hildon_picker_button_init), (hildon_picker_button_new_text),
4392 (hildon_picker_button_append_text),
4393 (hildon_picker_button_prepend_text),
4394 (hildon_picker_button_insert_text),
4395 (hildon_picker_button_set_selector),
4396 (hildon_picker_button_get_selector):
4397 * src/hildon-picker-button.h:
4398 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4399 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4400 (_update_title_on_selector_changed_cb), (requires_done_button),
4401 (_hildon_picker_dialog_set_selector),
4402 (hildon_picker_dialog_set_selector),
4403 (hildon_picker_dialog_get_selector):
4404 * src/hildon-picker-dialog.h:
4405 * src/hildon-time-button.c: (hildon_time_button_init),
4406 (hildon_time_button_get_time), (hildon_time_button_set_time):
4407 * src/hildon-time-selector.c: (hildon_time_selector_init),
4408 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4409 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4410 * src/hildon-time-selector.h:
4413 Massive code updates after the rename.
4415 * src/hildon-touch-picker.c: Removed.
4416 * src/hildon-touch-picker.h: Removed.
4418 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4419 (hildon_touch_selector_init), (hildon_touch_selector_map),
4420 (hildon_touch_selector_remove), (_default_print_func),
4421 (_selection_changed_cb), (_create_new_column),
4422 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4423 (hildon_touch_selector_append_text_column),
4424 (hildon_touch_selector_remove_column),
4425 (hildon_touch_selector_set_column_attributes),
4426 (hildon_touch_selector_insert_column),
4427 (hildon_touch_selector_get_num_columns),
4428 (hildon_touch_selector_get_column_selection_mode),
4429 (hildon_touch_selector_set_column_selection_mode),
4430 (hildon_touch_selector_set_print_func),
4431 (hildon_touch_selector_get_print_func),
4432 (hildon_touch_selector_get_active_iter),
4433 (hildon_touch_selector_set_active_iter),
4434 (hildon_touch_selector_get_selected_rows),
4435 (hildon_touch_selector_get_model),
4436 (hildon_touch_selector_set_model),
4437 (hildon_touch_selector_get_current_text),
4438 (_hildon_touch_selector_center_on_selected_items):
4439 * src/hildon-touch-selector.h: Renamed from
4440 hildon-touch-picker.[ch]
4442 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4443 references, code examples, and related documentation.
4445 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4447 * doc/hildon-docs.sgml
4450 * src/hildon-toggle-button.c
4451 * src/hildon-toggle-button.h
4452 * src/hildon.h: New HildonToggleButton widget.
4454 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4456 * src/hildon-button.c: Add API documentation.
4457 (hildon_button_set_size_groups): Check input parameters
4459 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4461 * src/hildon-pannable-area.c
4462 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4463 effect after reaching the movement thredshold. This way we start
4464 using the distance after passing the thredshold.
4466 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4468 * src/hildon-button.c: (hildon_button_set_property): Use the
4469 appropriate g_value_get_flags() method.
4471 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4473 * doc/hildon-docs.sgml:
4476 Add the touch pickers, picker dialogs, and picker button widgets
4477 to the documentation.
4479 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4481 * src/hildon-button.c: (hildon_button_set_property),
4482 (hildon_button_class_init): Make "arrangement-flags" a proper
4483 G_TYPE_FLAGS derived property.
4485 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4487 * examples/Makefile.am: Add below examples.
4488 * examples/hildon-date-button-example.c:
4489 * examples/hildon-picker-button-example.c:
4490 * examples/hildon-picker-button-multicolumn-example.c:
4491 * examples/hildon-time-button-example.c:
4492 * examples/hildon-touch-picker-example.c:
4494 Add examples for the recently added touch pickers,
4495 picker dialogs, and picker button widgets.
4497 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4499 * src/hildon-button.c: Add some API documentation
4501 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4503 * src/hildon-button.h
4504 * src/hildon-button.c
4506 (hildon_button_new_with_text): New constructor to create a button
4507 with no text at all.
4508 (hildon_button_init, hildon_button_set_arrangement)
4509 (hildon_button_set_title, hildon_button_set_value)
4510 (hildon_button_set_text)
4511 (hildon_button_construct_child): Hide the value when it's not used
4512 so the rest of the text is properly aligned.
4513 Allow creating buttons with arbitrary widgets inside (not just
4514 title/value labels).
4516 * examples/hildon-button-example.c (vertical_buttons_window)
4517 (horizontal_buttons_window): Update example to use new API.
4519 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4521 * src/Makefile.am: Added HildonTimeButton.
4522 * src/hildon-time-button.c: Added missing LGPL header.
4523 * src/hildon-time-button.h: Added missing LGPL header.
4524 * src/hildon.h: Add hildon-time-button.h
4526 Copied HildonTimeButton from sandbox to trunk. Future work on this
4527 widget must take place in trunk.
4529 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4531 * src/Makefile.am: Added HildonDateButton.
4532 * src/hildon-date-button.c: Update includes.
4533 * src/hildon.h: Add hildon-date-button.h
4535 Copied HildonDateButton from sandbox to trunk. Future work on this
4536 widget must take place in trunk.
4538 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4540 * src/Makefile.am: Added HildonPickerButton.
4541 * src/hildon-picker-button.h: Update includes.
4542 * src/hildon.h: Add hildon-picker-button.h
4544 Copied HildonPickerButton from sandbox to trunk. Future work on
4545 this widget must take place in trunk.
4547 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4549 * src/Makefile.am: Added HildonPickerDialog.
4550 * src/hildon-picker-dialog.c: Update includes.
4551 * src/hildon.h: Add hildon-picker-dialog.h
4553 Copied HildonPickerDialog from sandbox to trunk. Future work
4554 on this widget must take place in trunk.
4556 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4558 * src/Makefile.am: Added HildonTimeSelector.
4559 * src/hildon.h: Add hildon-time-selector.h
4561 Copied HildonTimeSelector widget from sandbox to trunk. Future
4562 work on this widget must happen in trunk.
4564 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4566 * src/Makefile.am: Added HildonDateSelector.
4567 * src/hildon.h: Add hildon-date-selector.h
4569 Copied HildonDateSelector widget from sandbox to trunk. Future
4570 work on this widget must happen in trunk.
4572 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4574 * src/Makefile.am: Added HildonTouchPicker.
4575 * src/hildon-touch-picker.c: Update includes.
4576 * src/hildon.h: Add hildon-touch-picker.h
4578 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4579 on this widget must happen in trunk.
4581 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4583 * src/hildon-pannable-area.c:
4584 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4586 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4588 * examples/hildon-app-menu-example.c (main): Let the window
4591 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4593 * src/hildon-pannable-area.c
4594 (hildon_pannable_area_class_init): Set the min value of the
4595 overshoot properties to zero, which points out that not
4596 overshooting allowed.
4598 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4600 Modified the procedure to get the widget at a point inside the
4601 pannable area when using the movement type signals. Now the user
4602 has to call a function to get the child, that way we just
4603 calculate the child in case the user really want to use it and not
4606 * src/hildon-marshalers.list: Modified the marshallers, now we do
4607 not have the widget as a parameter.
4609 * src/hildon-pannable-area.c
4610 (hildon_pannable_area_motion_notify_cb),
4611 (hildon_pannable_area_class_init),
4612 (hildon_pannable_get_child_widget_at): Removed the widget
4613 parameter from the signal callback. We have also refactored the
4614 emission of the signals.
4616 * src/hildon-pannable-area.h: Added a new method to the API to
4617 calculate a widget at a point inside the pannable area,
4618 hildon_pannable_get_child_widget_at.
4620 * examples/hildon-pannable-area-example-4.c
4621 (horizontal_movement): Modified the example to use the new API,
4622 added condition to control which widget is under the event. This
4623 way we can avoid scrolling laterally over other widgets.
4625 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4627 * src/hildon-pannable-area.c
4628 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4629 modes, we stop getting the pointer events due to returning the
4630 callback without properly calling the get pointer again. Fixed
4631 also an error using the hscroll and vscroll.
4633 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4635 * src/hildon-app-menu-private.h
4636 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4637 (hildon_app_menu_button_release, hildon_app_menu_init)
4638 (hildon_app_menu_class_init): Don't hide the menu on button
4639 release if the user didn't press outside first.
4641 * src/hildon-window.h
4642 * src/hildon-window.c (hildon_window_toggle_menu)
4643 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4644 hildon_window_toggle_menu a virtual function for the stackable
4645 window to override it.
4647 * src/hildon-stackable-window.h
4648 * src/hildon-stackable-window-private.h
4649 * src/hildon-stackable-window.c
4650 (hildon_stackable_window_realize)
4651 (hildon_stackable_window_finalize)
4652 (hildon_stackable_window_class_init)
4653 (hildon_stackable_window_init)
4654 (hildon_stackable_window_set_main_menu): New function to set the
4655 app menu of a HildonStackableWindow.
4657 * examples/hildon-app-menu-example.c: Remove the button to show
4658 the app menu, now it'll be shown when clicking on the title bar
4661 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4663 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4664 set the widget name if the arrangement flags do not specify
4667 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4669 * src/hildon-button.c: (hildon_button_set_property),
4670 (hildon_button_class_init), (hildon_button_new_full),
4671 (hildon_button_set_arrangement): Added "arrangement-flags"
4674 Make the HildonButtonFlags a construction-only property, to allow
4675 subclasses to set them properly.
4677 2008-07-21 Tim Janik <timj@imendio.com>
4679 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4680 insertion position after backspace, so additional digits are appended,
4683 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4685 * src/hildon-pannable-area.c,
4686 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4687 TODO list, it was complete and removed the g_debug and g_print
4690 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4692 Added the movement modes to the hildon-pannable-area, with this
4693 modes the developers can control in which directions the widget
4694 can scroll. They can also connect to signals in order to do
4695 something when that happens, allowing applications scroll. There
4696 is an example uploaded showing how to use it.
4698 * examples/Makefile.am:
4699 * examples/hildon-pannable-area-example-4.c: Added this example of
4700 an application using the modes.
4702 * src/hildon-marshalers.list: Added a new marshaller for the new
4705 * src/hildon-pannable-area.h: Added new enumerations and flags in
4706 order to control the movement modes and the new signals to warn
4707 about the movements in the area.
4709 * src/hildon-pannable-area.c:
4710 (hildon_pannable_axis_scroll),
4711 (hildon_pannable_area_scroll),
4712 (hildon_pannable_area_motion_notify_cb),
4713 (hildon_pannable_area_get_property),
4714 (hildon_pannable_area_set_property),
4715 (hildon_pannable_area_map),
4716 (hildon_pannable_area_class_init),
4717 (hildon_pannable_area_init),
4718 (hildon_pannable_area_jump_to): Added the modes to control the
4719 movement in the widget. We have added properties to control it,
4720 signals to warn about the movements and refactored some code.
4722 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4724 Changes required in order to allow vfast_factor set to zero to
4727 * src/hildon-pannable-area.c:
4728 (hildon_pannable_area_button_press_cb): Changed the condition, it
4729 is required for not allowing click when vfast_factor is zero.
4730 (hildon_pannable_area_timeout): Initialized velocity variables
4731 when we stop moving, it was less than 1 but not zero and we need
4732 to check zero in some situations.
4733 (hildon_pannable_area_class_init): Changed the default value of
4734 the speed factor, now the button_press is just sent in case the
4735 speed is 2 per cent of the max speed.
4736 (hildon_pannable_area_init): Initialization with 0.
4738 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4740 * src/hildon-pannable-area.c,
4741 (hildon_pannable_area_get_topmost): replaced
4742 gdk_window_get_children with gdk_window_peek_children, this way we
4743 do not have to free the list because it is not a copy.
4745 (hildon_pannable_axis_scroll),
4746 (hildon_pannable_area_scroll),
4747 (hildon_pannable_area_timeout),
4748 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4749 two parameters that were only used inside the
4750 hildon_pannable_area_scroll function.
4752 * examples/hildon-pannable-area-example.c,
4753 (get_sawtooth_label): Fixed small memory leak.
4755 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4757 More checks for the case where the overshoot is bigger than the
4760 * src/hildon-pannable-area.c:
4761 (hildon_pannable_draw_vscroll),
4762 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4763 to draw the slider of the scrollbar under the other scrollbar.
4764 (hildon_pannable_area_expose_event): added new checks to control
4765 the drawing of the overshooting area rectangle, in case it is too
4766 big for the area of the widget.
4767 (hildon_pannable_area_size_allocate): add more checks to avoid
4768 setting a position to the child widget outside the area.
4770 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4772 * src/hildon-pannable-area.c
4773 (hildon_pannable_area_size_allocate): Added conditions to control
4774 when overshooting is bigger than the allocated space for the
4775 children, this avoids negative allocations.
4777 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4779 * doc/hildon-docs.sgml
4781 * examples/Makefile.am
4782 * examples/hildon-button-example.c
4784 * src/hildon-button.c
4785 * src/hildon-button.h
4786 * src/hildon.h: Initial version of the new HildonButton widget,
4789 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4791 * src/hildon-pannable-area.c:
4792 (hildon_pannable_area_button_press_cb),
4793 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4794 (hildon_pannable_area_motion_notify_cb),
4795 (hildon_pannable_area_button_release_cb),
4796 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4797 (hildon_pannable_area_jump_to_child):
4799 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4801 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4803 * examples/Makefile.am
4804 * examples/hildon-pannable-area-touch-grid-example.c
4805 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4806 the Hildon Touch List and Hildon Touch Grid using the
4807 HildonPannableArea widget.
4809 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4811 * src/hildon-pannable-area.c,
4812 (hildon_pannable_area_button_press_cb),
4813 (hildon_pannable_area_refresh),
4814 (hildon_pannable_area_scroll),
4815 (hildon_pannable_area_motion_notify_cb),
4816 (hildon_pannable_area_button_release_cb),
4817 (hildon_pannable_area_expose_event),
4818 (hildon_pannable_area_add),
4819 (hildon_pannable_area_remove),
4820 (hildon_pannable_area_realize),
4821 (hildon_pannable_area_size_allocate),
4822 (hildon_pannable_area_class_init),
4823 (hildon_pannable_area_init),
4824 (hildon_pannable_area_scroll_to_child),
4825 (hildon_pannable_area_jump_to_child): Fixed the problem of
4826 removing the child from the GtkBin, we have rearranged the widget
4827 hierarchy, now there is no GtkAlignment which was not doing
4828 anything interesting but breaking some of the assumptions of
4829 GtkContainer. Now developers if they want to add a GtkAlignment
4830 they could, but it is not inside the area.
4832 We had to review the whole allocation/expose process, now it is
4833 improved and we save at least three signals which would be saving
4834 some time when rendering the widget. The allocation of the
4835 scrollbars is now made in the allocate method as usual.
4837 We have also added some conditions in order to control when there
4838 is no child of the pannable area. Maybe we will need more work
4841 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4843 * src/hildon-pannable-area.c,
4844 (hildon_pannable_area_dispose): Released the fade-out timeout when
4845 disposing the widget.
4847 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4849 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4850 zero, we are going to use that property in order to deactivate the
4852 (hildon_pannable_axis_scroll),
4853 (hildon_pannable_area_size_allocate): Added conditions to control
4854 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4855 call, now it is called in all situations and we can remove calls
4856 in the allocate method.
4857 (hildon_pannable_area_map): Control the situation when
4858 overshoot_max is zero, we do not need the timeout.
4859 (hildon_pannable_area_class_init): Added documentation in order to
4860 point out that setting zero to overshoot_max means deactivate
4863 NOTE: removed trailing whitespaces from my previous comments of
4866 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4868 * src/hildon-pannable-area.c
4869 (hildon_pannable_area_get_property),
4870 (hildon_pannable_area_set_property),
4871 (hildon_pannable_area_map),
4872 (hildon_pannable_area_class_init),
4873 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4874 to cause the widget give a hint about its panning abilities upon
4877 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4879 * src/hildon-pannable-area.c: Several documentation improvements.
4881 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4883 * src/hildon-program.c
4884 * src/hildon-stackable-window.c: Update documentation.
4886 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4888 * src/hildon-stackable-window.c (get_previous_window_if_last):
4889 Renamed get_last_window()
4890 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4891 (hildon_stackable_window_unset_program):
4893 (get_previous_window_if_last):
4894 Detect if the window hasn't been added to a HildonProgram.
4896 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4898 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4900 * src/hildon-pannable-area.c
4901 (hildon_pannable_area_button_press_cb),
4902 (hildon_pannable_axis_scroll),
4903 (hildon_pannable_area_scroll),
4904 (hildon_pannable_area_timeout),
4905 (hildon_pannable_calculate_vel_factor),
4906 (hildon_pannable_area_get_property),
4907 (hildon_pannable_area_set_property),
4908 (hildon_pannable_area_class_init),
4909 (hildon_pannable_area_init),
4910 (hildon_pannable_area_scroll_to),
4911 (hildon_pannable_area_jump_to),
4912 (hildon_pannable_area_scroll_to_child),
4913 (hildon_pannable_area_jump_to_child):
4914 * src/hildon-pannable-area.h: Added the new API functions:
4915 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4916 hildon_pannable_area_scroll_to_child,
4917 hildon_pannable_area_jump_to_child
4920 * examples/Makefile.am
4921 * examples/hildon-pannable-area-example-2.c
4922 * examples/hildon-pannable-area-example-3.c: Added these two new
4923 examples in order to test and show how the new APIs work.
4925 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4927 * examples/hildon-stackable-window-example.c (new_window):
4928 * src/Makefile.am (noinst_HEADERS):
4929 * src/hildon-program.c (hildon_program_go_to_root_window):
4930 * src/hildon-program.h:
4931 * src/hildon-stackable-window-private.h:
4932 * src/hildon-stackable-window.c:
4933 * src/hildon-stackable-window.h:
4934 Create hildon-stackable-window-private.h
4935 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4937 * examples/hildon-app-menu-example.c (create_menu):
4938 * examples/hildon-hvolumebar-insensitive-example.c (main):
4939 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4940 * examples/hildon-toolbar-seekbar-example.c (main):
4941 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4942 * src/hildon-banner.c (hildon_banner_set_property):
4943 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4944 Fix compilation warnings
4946 * src/hildon-window.c:
4949 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4951 * src/hildon-stackable-window.c
4952 (hildon_stackable_window_unset_program):
4953 Calculate correctly whether to show the previous window if the
4954 last one is removed from the stack.
4955 (hildon_stackable_window_go_to_root_window):
4956 Send delete events starting from the topmost window.
4957 Stop if one of the windows is not destroyed.
4959 (hildon_stackable_window_delete_event)
4960 (hildon_stackable_window_class_init):
4961 Ignore the delete event if the window is not the topmost one.
4963 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4965 * src/hildon-pannable-area.c
4966 (hildon_pannable_area_expose_event): Fixed a problem when
4967 selecting the background color of the scrollbars.
4969 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4971 * examples/hildon-stackable-window-example.c
4972 * src/hildon-stackable-window.c
4973 * src/hildon-stackable-window.h
4974 hildon_stackable_window_go_home() renamed to
4975 hildon_stackable_window_go_to_root_window()
4976 Send delete events to windows rather than closing them with
4977 gtk_widget_destroy()
4979 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4981 * src/hildon-pannable-area.c
4982 (hildon_pannable_area_button_release_cb): Fix overshooting in
4985 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4987 * src/hildon-pannable-area.c
4988 (hildon_pannable_area_init): Initially show the scroll indicators.
4989 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4991 Add initial effect showing the widget is pannable.
4993 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4995 * src/hildon-pannable-area.c
4996 (hildon_pannable_area_class_init)
4997 (hildon_pannable_area_set_property)
4998 (hildon_pannable_area_get_property)
4999 (hildon_pannable_area_button_press_cb):
5000 New 'velocity_fast_factor' property to decide which velocity is
5003 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5005 * src/hildon-pannable-area.c
5006 (hildon_pannable_draw_hscroll)
5007 (hildon_pannable_draw_vscroll):
5008 Use float variables to calculate the size of the scrollbars to
5009 avoid error propagation and resizing during scrolling.
5011 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5013 * src/hildon-pannable-area.c
5014 (hildon_pannable_draw_vscroll)
5015 (hildon_pannable_draw_hscroll):
5016 Define a minimum size for the scroll bars
5018 * src/hildon-stackable-window.c
5019 (hildon_stackable_window_go_home): Fix compilation warning
5020 (get_last_window): Minor optimizations
5021 (hildon_stackable_window_class_init): Fix initialization of
5024 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5026 * src/hildon-stackable-window.c: Fixed typos in doc
5028 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5030 * src/hildon-pannable-area.c
5031 (hildon_pannable_area_scroll):
5032 Calculate here whether we need to scroll instead of using the booleans
5033 that tell us whether to /draw/ the scrolling bars.
5035 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5037 * src/hildon-app-menu.h
5039 * src/hildon-app-menu.c
5040 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5041 multiple filter groups related code and API. Now we support only
5043 * examples/hildon-app-menu-example.c:
5045 Update to reflect API changes.
5047 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5049 * src/hildon-stackable-window.c
5050 (hildon_stackable_window_class_init):
5051 Add hildon_stackable_window_realize.
5052 (hildon_stackable_window_realize):
5053 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5054 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5055 to apply theming and behavior specific to HildonStackableWindow
5058 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-note.c (hildon_note_button_release):
5061 Close information notes also when tapping on them
5063 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5065 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5066 ELASTICITY, refactor and review, fix some issues with drawing
5069 * src/hildon-pannable-area.c:
5070 (hildon_pannable_area_button_press_cb): removed the conditions to
5071 avoid clicks when overshooting. It is not required
5073 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5074 define. Refatored and reviewed the code, now we do not need to
5075 manage velocity in motion_notify.
5077 (hildon_pannable_area_motion_notify_cb): We have moved the code
5078 that controls the area_scroll to the axis_scroll function and get
5079 rid of duplicated code.
5081 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5083 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5085 (hildon_pannable_draw_vscroll),
5086 (hildon_pannable_draw_hscroll): Fixed the problems with the
5087 scrollbar drawing, now we do not use two surfaces, it is easier
5088 and saves resources.
5090 (hildon_pannable_area_get_property): Style modification.
5092 (hildon_pannable_area_class_init): Changed some default values.
5094 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5096 * src/hildon-stackable-window.c: Fix some typos in the
5099 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-dialog.c:
5102 Change indentation style
5105 (hildon_note_button_release):
5106 Use root coordinates to check if the release event happened
5109 * src/hildon-app-menu.c
5110 (hildon_app_menu_button_release):
5111 Remove unnecessary check
5113 * examples/hildon-app-menu-example.c
5115 Add cast to fix warning
5117 * src/hildon-app-menu.c
5118 (hildon_app_menu_class_init):
5119 New inner-border style property.
5120 Set all default spacings to 16
5121 (hildon_app_menu_init):
5122 Use vertical-spacing to set the space between filter buttons and
5123 regular menu buttons.
5124 Set the default container border using the inner-border value.
5126 * examples/hildon-app-menu-example.c
5128 Don't set the menu border explicitly, now we have the inner-border
5129 style property for that.
5131 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5133 * src/hildon-app-menu.c (hildon_app_menu_init):
5134 Make the window modal
5136 * src/hildon-note.c (hildon_note_map)
5137 * src/hildon-app-menu.c (hildon_app_menu_map):
5138 Destroy the grab window if we're unable to grab the pointer
5140 * src/hildon-app-menu-private.h
5141 * src/hildon-app-menu.c
5142 (hildon_app_menu_init, hildon_app_menu_finalize)
5143 (hildon_app_menu_map, hildon_app_menu_unmap)
5144 (hildon_app_menu_button_release)
5145 (grab_transfer_window_get):
5146 Bring back the grab window
5147 (hildon_app_menu_realize):
5148 Decorate the window, set WM hint for Matchbox
5150 * src/hildon-note.c (hildon_note_realize):
5151 * src/hildon-banner.c (hildon_banner_realize):
5152 Add WM hints for Matchbox
5154 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5156 * src/hildon-app-menu-private.h
5157 * src/hildon-app-menu.c
5158 (hildon_app_menu_init, hildon_app_menu_finalize)
5159 (hildon_app_menu_map, hildon_app_menu_unmap)
5160 (hildon_app_menu_button_release):
5161 Remove the grab window, it's not needed anymore
5163 * src/hildon-program.c
5164 Fixed typo in documentation
5166 * src/hildon-app-menu.h
5167 * src/hildon-app-menu.c
5168 * examples/hildon-app-menu-example.c
5169 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5171 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5174 Added new transfer_window and close_if_pressed_outside private
5176 (hildon_note_rebuild):
5177 Don't add a cancel button to the information note. It will be
5178 closed when tapping outside
5179 Remove the comment about the OK button in the documentation
5180 (hildon_note_realize):
5181 Set the notification type hint
5182 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5183 Grab/ungrab pointer and keyboard if the note has to be closed when
5185 (hildon_note_button_release):
5186 Close the note when tapping outside (if applicable)
5188 * src/hildon-app-menu.c
5189 Grab/ungrab pointer and keyboard on map/unmap
5190 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5191 Close the menu on button release, not button press
5193 * src/hildon-banner.c
5194 (hildon_banner_set_property)
5195 (hildon_banner_check_position):
5196 Make the banner use the full width of the screen
5197 (hildon_banner_show_information)
5198 (hildon_banner_show_information_with_markup):
5199 Don't display an icon by default
5201 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5203 Added fading scrollbars and adapted all the overshooting code to
5204 horizontal scrolling. We have also fixed bugs with overshooting
5205 and current fading implementation.
5207 * src/hildon-pannable-area.c
5208 (hildon_pannable_area_scroll_indicator_fade): Time out function
5209 used to change the transparency of the scrollbars.
5211 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5212 control and fixed a problem with fading, we now remove the fade
5213 timeout before adding a new one.
5215 (hildon_pannable_axis_scroll):
5216 (hildon_pannable_area_scroll):
5217 (hildon_pannable_area_timeout): Added this functions so we can use
5218 the scroll code both for vertical and horizontal.
5220 (hildon_pannable_area_motion_notify_cb):
5221 (hildon_pannable_area_button_release_cb): Added the horizontal
5222 scrolling control, fixed a problem with the overshooting timeout.
5224 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5225 painting of the scrolls.
5227 (hildon_pannable_draw_vscroll):
5228 (hildon_pannable_draw_hscroll):
5229 (hildon_pannable_area_expose_event):
5230 Draw both scrollbars and rectangles in the overshooting area.
5232 (hildon_pannable_area_get_property):
5233 (hildon_pannable_area_set_property):
5234 Modified the overshoot property to overshoot_max
5236 (hildon_pannable_area_map):
5237 Replaced the comments symbols.
5239 (hildon_pannable_area_size_allocate):
5240 (hildon_pannable_area_class_init):
5241 (hildon_pannable_area_init): Added horizontal scroll, fading
5242 effect properties, fixed a problem when overshooting in the bottom
5245 * examples/hildon-pannable-area-example.c:
5246 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5247 looks better in the example.
5249 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5251 * src/hildon-window.c
5252 * src/hildon-window.h
5253 (hildon_window_class_init)
5254 (hildon_window_unset_program)
5255 (hildon_window_unset_program_real):
5256 Make unset_program a virtual function
5258 * src/hildon-stackable-window.c
5259 * src/hildon-stackable-window.h
5260 Added hildon_stackable_window_go_home()
5262 * examples/Makefile.am
5263 * examples/hildon-stackable-window-example.c
5264 HildonStackableWindow example
5266 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5268 * hildon-pannable-area.c: Added the overshoot property and removed
5269 the OVERSHOOT define. Fixed an indent style error.
5270 (hildon_pannable_area_motion_notify_cb):
5271 (hildon_pannable_area_get_property):
5272 (hildon_pannable_area_set_property): Add overshoot property.
5274 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5277 (hildon_pannable_area_class_init): Installed the new property.
5279 * hildon-pannable-area-example.c: Added a sawtooth function, this
5280 way it is easier to check the movement in the pannable.
5281 (get_sawtooth_label): Added this function.
5282 (main): Now we get the labels from the new get_sawtooth_label
5285 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5287 * src/hildon-app-menu.h
5288 * src/hildon-app-menu.c
5289 Renamed API variables for consistency
5291 (hildon_app_menu_popup): Use also the default window size to
5292 decide where to place the menu
5294 (hildon_app_menu_init, hildon_app_menu_class_init): New
5295 external-border style property
5297 2008-05-26 Michael Natterer <mitch@imendio.com>
5299 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5300 widget_class->tap_and_hold_setup signal slot doesn't exist any
5301 longer, stop overriding it.
5303 (hildon_time_editor_init): g_signal_connect() to the
5304 tap-and-hold-setup signal instead.
5306 (hildon_time_editor_entry_keypress): add cast to fix warning.
5308 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5310 * doc/hildon-docs.sgml
5312 * examples/Makefile.am
5313 * examples/hildon-app-menu-example.c
5315 * src/hildon-app-menu-private.h
5316 * src/hildon-app-menu.c
5317 * src/hildon-app-menu.h
5319 New HildonAppMenu widget
5321 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5323 Rearranged the inheritance of the pannable area, now it inherits
5324 from GtkBin. This will allow us to control the event_window and
5325 the allocation process of the widget, required for some effects.
5327 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5328 GtkBin structures. * src/hildon-pannable-area.c: Added the
5329 event_window variable.
5330 (hildon_pannable_area_button_press_cb):
5331 (hildon_pannable_area_button_release_cb):
5332 (hildon_pannable_area_motion_notify_cb):
5333 Changed the signature of the method, now we override the event
5334 callback instead of connecting to the signal.
5336 (hildon_pannable_area_realize):
5337 (hildon_pannable_area_unrealize):
5338 (hildon_pannable_area_map):
5339 (hildon_pannable_area_unmap):
5340 (hildon_pannable_area_size_allocate):
5341 Added functions to control the widget construction. We add a
5342 INPUT_ONLY window and we put it over the widgets inside the
5343 container, this event_window handles the events.
5345 (hildon_pannable_area_class_init):
5346 Replaced the signal connections with overrides of the event
5349 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5351 Bouncing effect added when touching the borders, you can change
5352 the elasticity of the border changing the ELASTICITY define.
5354 * src/hildon-pannable-area.c: Added ELASTICITY define.
5355 (hildon_pannable_area_timeout): Added inverse velocity when
5356 touching the border of the child widget, that causes a bounce.
5358 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5360 Improved performance, we now do not go to the X server in order to
5361 get the list of window children. Apparently the effect is the
5362 same, we have to be careful and check if this breaks something in
5365 * src/hildon-pannable-area.c:
5366 (get_ordered_children): Removed this function.
5367 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5368 the children windows function with gdk_window_get_children.
5370 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5372 * src/hildon-pannable-area.c:
5373 (hildon_pannable_area_dispose): Fixed a crash when closing the
5374 window and kinetics is activated.
5376 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5378 * src/hildon-pannable-area.h
5379 * src/hildon-pannable-area.c
5380 Changed indentation style to meet the one used in Hildon
5382 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5384 Reviewed the interaction of the AUTO mode, now we use the time
5385 attribute of the events and calculate the velocity in the motion,
5386 doing a gimp like calculation. The velocity is calculated in each
5387 motion event using the last velocity and the current one, the
5388 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5390 * src/hildon-pannable-area.c: Replaced the time based algorithm
5392 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5393 timeout for the AUTO mode when we are still moving the cursor. We
5394 added also the velocity calculation in this function.
5395 (hildon_pannable_area_button_release_cb): launch the timeout in
5396 case we are in AUTO mode. There are still some constants here that
5397 come from the old implementation that should be reviewed and
5400 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5402 * doc/hildon-docs.sgml
5405 * src/hildon-stackable-window.c
5406 * src/hildon-stackable-window.h
5408 New HildonStackableWindow widget
5410 * examples/hildon-dialog-example.c
5411 * examples/hildon-pannable-area-example.c
5414 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5416 * src/hildon-dialog.c
5417 (hildon_dialog_new_with_buttons): New constructor.
5419 * examples/hildon-dialog-example.c
5420 (main): Update the example to use the new
5421 hildon_dialog_new_with_buttons().
5423 * examples/hildon-pannable-area-example.c
5424 (main): Update example.
5426 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5428 * doc/hildon-docs.sgml
5430 Added HildonPannableArea to the documentation.
5432 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5434 * doc/visual_index.xml
5435 Fix reference to HildonLoginDialog in documentation
5437 * doc/hildon-docs.sgml
5439 * examples/Makefile.am
5440 * examples/hildon-dialog-example.c
5442 * src/hildon-dialog.c
5443 * src/hildon-dialog.h
5445 New HildonDialog widget.
5447 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5449 * src/hildon-pannable-area.c
5450 Merge latest changes (r4318, r4342) from libmokoui trunk
5452 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5454 * examples/Makefile.am
5455 * examples/hildon-pannable-area-example.c
5457 * src/hildon-pannable-area.c
5458 * src/hildon-pannable-area.h
5460 New HildonPannableArea widget.
5462 2008-04-15 18:05:19 <timj@imendio.com>
5464 * src/hildon-banner.c: revert the recent change, that introduced
5465 gtk_window_present() calls. this reopens:
5466 Bug 78481 - [freetest] information banners are hidden under browser menu
5467 But resolves another variant of:
5468 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5470 2008-04-15 13:21:13 <timj@imendio.com>
5472 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5473 recreated its layout, spotted by Kris. this fixes all remaining
5474 artefacts and stability issues with the banner code. in particular:
5475 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5477 2008-04-14 16:52:59 <timj@imendio.com>
5479 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5480 operating on unrealized widgets, fixes:
5481 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5483 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5485 2008-04-09 Kristian Rietveld <kris@imendio.com>
5487 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5488 makes banner disappear.
5489 Fixes: NB#79182: info banner flickering with certain message lengts.
5491 * src/hildon-banner.c (hildon_banner_constructor),
5492 (hildon_banner_init), (hildon_banner_set_text),
5493 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5494 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5495 FALSE, reset size requests of label and banner,
5496 (force_to_wrap_truncated): when the text is too wide, always enforce
5497 the maximum possible width instead of recalculating it from the
5498 layout; enforce the maximum banner height of 3 lines,
5499 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5500 nicer wrapping and no truncated chars if space gets tight.
5502 * src/hildon-banner-private.h: add has_been_wrapped and
5503 has_been_truncated fields.
5505 2008-04-07 Sven Herzberg <sven@imendio.com>
5507 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5508 local values in hildon_date_editor_size_allocate
5510 * src/hildon-date-editor.c: moved the real allocation code into the
5513 2008-04-07 Sven Herzberg <sven@imendio.com>
5515 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5516 local values in hildon_date_editor_size_allocate
5518 * src/hildon-date-editor.c: merged the two if() branches together
5520 2008-04-07 Sven Herzberg <sven@imendio.com>
5522 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5523 local values in hildon_date_editor_size_allocate
5525 * src/hildon-date-editor.c: changed the arguments of the if()
5528 2008-04-07 Sven Herzberg <sven@imendio.com>
5530 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5531 local values in hildon_date_editor_size_allocate
5533 * src/hildon-date-editor.c: split the calculation of the allocation
5534 from the real allocation
5536 2008-03-27 Michael Natterer <mitch@imendio.com>
5538 Fixes: NB#81696: The passcode is not overwritten even after
5541 * src/hildon-code-dialog.c
5542 (hildon_code_dialog_button_clicked)
5543 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5544 because that doesn't overwrite selected text. Instead, emit the
5545 "commit" signal on the entry's im_context so the entry's normal
5546 insert logic is triggered. Set the cursor to the end of the entry
5547 after each insert operation so that we *only* insert in the middle
5548 of the text if something was selected.
5550 2008-03-27 Michael Natterer <mitch@imendio.com>
5552 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5553 selector cannot be opened
5555 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5556 when the popup color selector is created. Please connect to this
5557 signal in order to set the dialog's help ID.
5559 2008-03-25 Sven Herzberg <sven@imendio.com>
5561 Fixes: MB#1212: Hide info banners (infoprints) on click
5563 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5564 extracted the close event simulation into an extra function
5565 (hildon_banner_button_press_event): simulate a close event and destroy
5566 the widget if the event wasn't handled
5567 (hildon_banner_class_init): added the button_press_event handler
5568 (hildon_banner_init): added button-press events to the widget
5570 2008-03-25 Sven Herzberg <sven@imendio.com>
5572 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5573 Patch from: Mohammad Anwari <mdamt@maemo.org>
5575 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5576 instead of the right in RTL mode
5577 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5578 breadcrumb button list in RTL mode
5579 * src/hildon-caption.c: mirror the appearance of the caption widget in
5581 * src/hildon-date-editor.c: mirror appearance of the date editor in
5583 * src/hildon-time-editor.c: mirror appearance of the time editor in
5585 * src/hildon-window.c: fix the position of the popup in RTL mode
5587 2008-03-25 Sven Herzberg <sven@imendio.com>
5589 Amendment to the fix of NB#22072. Fix compilation.
5591 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5593 2008-03-19 Sven Herzberg <sven@imendio.com>
5595 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5598 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5599 timeout id properly when the timeout will disappear this leaves no
5600 artifacts around in the destroy(); there will only be the timeout
5601 created by hildon_banner_ensure_timeout() and adding a new timeout
5602 will also work if the timeout gets removed because the timeout_handler
5605 2008-03-19 Michael Natterer <mitch@imendio.com>
5607 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5609 * src/hildon-volumebar.c
5610 * src/hildon-vvolumebar.c
5611 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5612 the widget becomes focussable at all.
5614 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5615 set the focus to wither the mute button or the volumebar.
5617 Remove own "can-focus" property and instead listen to
5618 notify::can-focus in order to update the widget's state.
5620 Implement GtkWidget::focus() and make sure we can also *leave* the
5621 widget, not only enter it, depending on volumebar orientation and
5622 requested focus direction.
5624 Clean up set_mute() to cooperate nicely with all the above.
5626 2008-03-04 Michael Natterer <mitch@imendio.com>
5628 Fixes: NB#78481: information banners are hidden under browser menu
5630 * src/hildon-banner.c: call gtk_window_present() on the banners so
5631 they are risen if they are already visible.
5633 2008-03-03 Sven Herzberg <sven@imendio.com>
5635 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5637 * examples/hildon-window-menu-example.c: (main): extended the window
5638 menu example to serve as a testcase for automatically added
5639 accelerator groups, too
5640 * src/hildon-window.c: (hildon_window_add_accel_group),
5641 (hildon_window_set_menu): added patch by Tommi Komulainen
5643 2008-03-03 Sven Herzberg <sven@imendio.com>
5645 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5647 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5648 knowledge about the border allocators used within GTK+
5650 2008-02-26 Sven Herzberg <sven@imendio.com>
5652 Fixes: MB#2981: Build with asserts broken
5654 * src/hildon-date-editor.c,
5655 * src/hildon-number-editor.c,
5656 * src/hildon-time-editor.c,
5657 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5658 the proper GType instance check
5660 2008-02-25 Sven Herzberg <sven@imendio.com>
5662 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5664 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5665 * examples/hildon-window-menu-example.c: (main): explicitly show
5667 * src/hildon-window.c:
5668 (hildon_window_set_main_menu): moved most of the code from set_menu()
5669 to this place; skipped the call to gtk_widget_show_all(); also didn't
5670 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5671 (hildon_window_set_menu): removed most of the code, just keep the
5672 questionable gtk_widget_show_all()
5673 * src/hildon-window.h: added the new function and deprecate the old
5676 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5682 * debian/changelog: Updating.
5684 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5687 * pkgconfig/Makefile.am:
5688 * pkgconfig/hildon.pc.in:
5691 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5692 use newly created API_MAJOR_VERSION.
5694 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5700 * debian/changelog: Updating.
5702 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5704 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5706 Add outer_border style property, we use it but don't define it (!).
5710 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5712 * examples/hildon-bread-crumb-trail-example.c (main):
5716 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5718 Fix logic for the bread crumb trail node removal.
5722 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5728 * debian/changelog: Updating.
5730 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5732 Patch by Alejandro to get/set passwords dialogs accesibility.
5734 * hildon-1/src/hildon-get-password-dialog.c:
5735 * hildon-1/src/hildon-set-password-dialog.c:
5736 Set atk_set_name to the passwd entries in order to allow
5737 accessibility by name on this entries.
5739 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5744 * debian/control: Updating gtk dep.
5746 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5748 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5749 USE_MAEMO_GTK is enabled.
5751 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5753 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5754 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5756 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5762 * debian/changelog: Updating.
5764 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5766 * examples/Makefile.am:
5767 * examples/hildon-logical-color-example.c:
5768 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5769 applied + adding a test case. Fixes: NB#71660.
5771 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5773 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5774 to be visible, fixes warning on map for windows without toolbars.
5776 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5778 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5779 2.11.0, add a check for that besides the MAEMO_GTK check.
5781 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5787 * debian/changelog: Updating.
5789 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5791 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5792 visibility. Fixes: NB#70842 and MB#615.
5794 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5796 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5797 set the separator as no-show-all so it doesn't unintentionally appear when
5798 someone does a show_all.
5800 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5802 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5803 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5804 toplevel item. Fixes: NB#62031
5806 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5808 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5809 fix the name of the function in the docs.
5811 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5817 * debian/changelog: Updating.
5819 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5821 * examples/hildon-banner-long-example.c: Adding a test-case for long
5824 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5826 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5828 * src/hildon-color-chooser-dialog.c:
5829 * src/hildon-color-chooser.c:
5830 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5831 memory leaks in font selector and color selector. Fixes: NB#70499 and
5834 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5836 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5838 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5840 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5841 little bit bigger. Fixes: #NB63694.
5843 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5849 * debian/changelog: Updating.
5851 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5854 * doc/hildon-docs.sgml:
5855 * doc/images/bread-crumb-trail.png:
5856 * doc/images/calendar-popup.png:
5857 * doc/images/caption.png:
5858 * doc/images/code-dialog.png:
5859 * doc/images/color-button.png:
5860 * doc/images/color-chooser-dialog.png:
5861 * doc/images/color-chooser.png:
5862 * doc/images/controlbar.png:
5863 * doc/images/date-editor.png:
5864 * doc/images/font-selection-dialog.png:
5865 * doc/images/get-password-dialog.png:
5866 * doc/images/hvolumebar.png:
5867 * doc/images/login-dialog.png:
5868 * doc/images/note.png:
5869 * doc/images/number-editor.png:
5870 * doc/images/range-editor.png:
5871 * doc/images/seekbar.png:
5872 * doc/images/set-password-dialog.png:
5873 * doc/images/sort-dialog.png:
5874 * doc/images/time-editor.png:
5875 * doc/images/time-picker.png:
5876 * doc/images/vvolumebar.png:
5877 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5878 Adding the bread-crumb-trial and helpers to the documentation.
5880 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5882 * examples/hildon-find-toolbar-example.c:
5883 * src/hildon-find-toolbar.c:
5884 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5885 actually continue firing the other handlers if connected. Adding a new
5887 hildon_find_toolbar_get_last_index that gets the index of the most
5888 recently added (last) item. Fixes: NB#52301.
5890 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5892 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5893 behaviour. Fixes: NB#68610.
5895 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5897 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5900 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5902 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5903 when realizing the banner. Should make the infonbanner effect a bit more
5906 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5908 * src/hildon-volumebar.c:
5909 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5910 hildon_volumebar_set_range_insensitive_message and
5911 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5913 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5915 * src/hildon-window.c: Fixing the border freeing on destroy.
5917 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5919 * src/hildon-code-dialog-private.h:
5920 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5921 kw keyboard support in HildonCodeDialog.
5923 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5929 * debian/changelog: Updating.
5931 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5933 * src/hildon-date-editor.c:
5934 * src/hildon-number-editor.c:
5935 * src/hildon-private.c:
5936 * src/hildon-private.h:
5937 * src/hildon-time-editor.c:
5938 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5939 handling in subclassed composite widgets. Fixes: NB#66628.
5941 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5943 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5944 from destroy_ callback as it introduces problems in async dbus signal
5945 handlers. Fixes NB#66673.
5947 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5949 * examples/hildon-hvolumebar-example.c:
5950 * src/hildon-volumebar.c: Improving the focus handling in the
5951 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5952 set_property accessor so that "mute" property can be actually set. I'm
5953 scared that nobody noticed it's totally broken.
5955 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5957 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5960 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5962 * src/hildon-calendar.c:
5963 * src/hildon-number-editor.c:
5964 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5965 matches the spec of 6 chars per second. Fixes: NB#60489.
5967 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5969 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5970 gtk_style_lookup_color sometime returns FALSE even though color was
5971 found and values were filled properly. Weird. Removing the warning for the
5974 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5976 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5977 expand vertically. Adding some extra space to the find toolbar buttons to
5978 make them thumbable. Fixes NB#66060.
5980 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5982 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5983 popup with "Ok" and "Cancel". Fixes NB#59299.
5985 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5987 * src/hildon-calendar.c: Process all window updates before executing next
5988 timeout. Fixes: NB#54146.
5990 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5996 * debian/changelog: Updating.
5998 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6000 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6001 the client event and ignore it, since we use the delete event to close
6004 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6006 * src/hildon-helper.c: Remove the bogus warning about color not being
6007 found. Fixes NB#58352.
6009 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6011 * examples/Makefile.am:
6012 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6013 HildonSeekbar widget inside a toolbar.
6015 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6017 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6018 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6019 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6020 don't want to be closed by non-temporary windows on map.
6022 Also use G_DEFINE_TYPE instead of manually typed code.
6024 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6031 * debian/rules: Updating.
6033 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6035 * examples/Makefile.am:
6036 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6037 bug NB#61128. Strangely it works.
6039 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6041 * src/hildon-date-editor.c: When the date editor entry has been changed
6042 but the numbers of characters < max, turn off the skip validation flag.
6043 Prevents a situation when we enter first a valid year and later re-write
6044 it with an invalid one. Fixes NB#60154.
6046 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6048 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6049 code dialog. Fixes NB#64355.
6051 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6053 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6054 switching the page. Fixes NB#49374.
6056 * examples/Makefile.am:
6057 * examples/hildon-wizard-dialog-example.c: Adding an example for
6058 HildonWizardDialog that shows how to handle manual sensitivity setting on
6061 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6065 * src/hildon-version.h.in:
6066 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6068 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6070 * src/hildon-volumebar.c: Updating the docs.
6072 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6078 * debian/changelog: Updating.
6080 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6082 * src/hildon-find-toolbar.c:
6083 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6084 selected item: hildon_find_toolbar_set_active,
6085 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6086 hildon_find_toolbar_get_active_iter . They correspond to respective
6087 GtkComboBox functions.
6089 * examples/Makefile.am:
6090 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6093 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * examples/Makefile.am:
6096 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6099 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6100 when font size > 32 and we pack a focusable widget inside. Actually using
6101 the default response would work too, but since we don't show default
6102 response state in any way (no theming) it would not be visible to the
6103 user. Fixes NB#63430.
6105 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6107 * src/hildon-date-editor.c: Adding the missing variable setter in the
6108 set_property handler. Fixes NB#54182.
6110 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6112 * src/hildon-window.h: Changing the long key press time from 1500ms to
6113 800ms as requested in NB#63700. I have a bad feeling about this, let's
6114 see... Fixes NB#63700.
6116 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6118 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6119 hildon_time_picker_map, hildon_time_picker_realize,
6120 hildon_time_picker_style_set): Split the contents of map to more
6121 appropriate functions; set window decorations on realize and update
6122 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6124 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6129 * debian/changelog: Updating.
6131 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6133 * src/Makefile.am: fixed installation of the header files
6135 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6141 * debian/changelog: Updating.
6143 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6145 * configure.ac: Removing some remaining of --enable-xan.
6147 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6149 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6150 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6152 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6153 2.10.12-osso6 because the move-focus signal needs to be available in
6156 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6158 * examples/Makefile.am:
6159 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6160 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6161 fine. Prolly NB#61128 is fixed now.
6163 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6165 * src/hildon-volumebar.c:
6166 * src/hildon-volumebar.h: Adding the
6167 hildon_volumebar_set_range_insensitive_message and
6168 hildon_volumebar_set_range_insensitive_messagef functions to set
6169 insensitive message on the slider of the volumebar. Fixes NB#61129.
6171 * examples/Makefile.am:
6172 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6173 test the new insensitive messsage functionality on HildonVolumebar.
6175 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6177 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6180 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6182 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6183 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6184 button on after clearing the trail.
6186 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6188 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6190 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6192 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6193 by splitting the installed headers in generated and non-generated groups. Use
6194 only the non-generated headers to create the hildon-enum-types.h file.
6196 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6198 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6200 * src/hildon-window.c: Hide the window before performing the destroy.
6201 Should make the app closing a little tiny bit more snappy.
6203 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6205 * src/hildon-seekbar.c: add gtkrange.h header
6206 * src/hildon-caption.c: remove unused variable
6208 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6210 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6213 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6219 * debian/changelog: Updating.
6221 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6223 * src/hildon-window.c (hildon_window_window_state_event,
6224 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6225 escape timeout on focus-out-event rather than notify::is-topmost; the
6226 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6228 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6230 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6231 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6233 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6235 * src/hildon-window: actually, you need to use the macro always, there's
6236 no private pointer in the instance structure. We should have cleaned this up
6237 when we had the chance...
6239 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6241 * src/hildon-window.c: do not get the private date from HildonWindow before
6242 it passes the g_return_if_fail check. Once it's passed the test, there's no
6243 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6244 if you are only going to access the data once. Whitespace cleanups.
6246 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6248 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6249 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6251 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6257 * debian/changelog: Updating.
6259 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6261 * src/hildon-window.c: When destroying the window, remove (if exists) the
6262 escape timeout handler. Fixes #NB59276.
6264 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6266 * src/hildon-banner.c: When realizing the widget, set the window
6267 transiency. Setting the transiency in the gobject constructor is not
6268 good, as the widget is not realized at that point. Fixes: #NB56624.
6270 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6272 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6273 Add padding for future expansions.
6275 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6277 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6278 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6279 will fake an activation on the previous to the last item of the trail, so
6280 the effect can be overrided by the developer as usual.
6281 Also change the callback for the back button to do the same thing, so its
6282 effect can be overrided too. Fixes: NB#58982
6284 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6286 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6287 HildonCaption. Fixes NB#52379.
6289 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6291 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6292 the internal state of the trail after the user has had the chance of executing
6293 his handler for the signal. Specifically, it may happen that the activated button
6294 is removed and the user still lets the default handler run. This would segfault
6297 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6299 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6300 scrollbar to the preview dialog. Fixes NB#54147.
6302 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6304 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6305 max/min year properties can be altered, so the client can modify it
6306 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6308 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6310 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6311 hildonlike by default. Fixing a problem with disappearing arrows when
6312 scrolling through months and years. Fixes NB#54127.
6314 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6316 * examples/hildon-date-editor-example.c: Adding error callback to the date
6319 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6325 * configure.ac: Updating.
6327 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6329 * configure.ac: Adding a special '--enable-xan' configure option that
6330 turns off the -Werror compilation setting. Usefull for development.
6332 * src/hildon-calendar.c:
6333 * src/hildon-number-editor.c:
6334 * src/hildon-time-picker.c: Adding the 5* multiplier to
6337 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6339 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6340 instead of g_object_ref + gtk_object_sink.
6342 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6348 * debian/changelog: Updating.
6350 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6352 * src/hildon-color-chooser-dialog.c:
6353 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6354 straight from Tommi labs.
6356 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6358 * examples/hildon-finger-example.c: Correcting the header file path.
6360 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6361 the changed signal. Fixes a small memory leak.
6363 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6367 * src/hildon-banner.c: Importing several usefull fixes from the
6368 ubuntu-mobile branch.
6370 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6372 * examples/Makefile.am:
6373 * examples/hildon-finger-example.c: Adding a finger-checking code
6376 * src/hildon-font-selection-dialog.c: Do not allocate the color
6377 structure using the g_new. Fixes NB#54061.
6379 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6381 * src/hildon-helper.c: Correcting tabs in file.
6383 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6385 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6386 control the visibility of the children.
6388 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6390 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6396 * debian/changelog: Updating.
6398 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6400 * src/hildon-bread-crumb-trail.c:
6401 (hildon_bread_crumb_trail_size_allocate):
6403 Make the back button always a square.
6405 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6407 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6408 from the .c file as it's a private file.
6410 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6412 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6413 uses slightly bigger height.
6415 * src/hildon-font-selection-dialog.c: Adding some checks before
6416 freeing memory in the font selection dialog.
6418 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6420 * src/hildon-font-selection-dialog.c: Adding a small check when
6423 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6424 buttons sensitivity on page switching.
6426 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6428 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6429 internal details of adding a bread crumb to the trail.
6431 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6437 * debian/changelog: Updating.
6439 * src/hildon-bread-crumb-trail.h:
6440 * src/hildon-bread-crumb.h: Changing the API guard to
6441 HILDON_ENABLE_UNSTABLE_API.
6443 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6451 * src/hildon-helper.h: Updating.
6453 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6461 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6465 * src/hildon-helper.h: Small fix to make the package actually compile.
6467 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6469 * src/hildon-bread-crumb-trail.h:
6470 * src/hildon-bread-crumb.h:
6472 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6473 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6475 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6477 * examples/hildon-bread-crumb-trail-example.c:
6479 * src/hildon-bread-crumb-trail.c:
6480 * src/hildon-bread-crumb-trail.h:
6481 * src/hildon-bread-crumb.c:
6482 * src/hildon-bread-crumb.h:
6483 * src/hildon-marshalers.list:
6484 * src/hildon-bread-crumb-widget.c:
6485 * src/hildon-bread-crumb-widget.h:
6487 Slight change in the widget design. The bread crumb trail API is
6488 unchanged, but HildonBreadCrumb is now an interface. A *private*
6489 implementation, hildon-bread-crumb-widget, is provided and used
6490 internally by the trail for the push_text/push_icon functions.
6492 The generic push API is still available, so anyone can implement
6493 and use its own bread crumb widget.
6495 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6497 * debian/rules: Fixing the shlibs.
6499 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6501 * src/hildon-banner.c: Fixing a problem with timed banners having
6502 their parrent destroyed before they are.
6504 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6506 * src/hildon-bread-crumb.c:
6507 * src/hildon-bread-crumb.h:
6509 Make the get_natural_size function a vfunc.
6511 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6513 * src/hildon-bread-crumb.c:
6514 * src/hildon-bread-crumb-trail.c:
6518 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6525 * debian/changelog: Updating for release.
6527 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6529 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6530 don't leak the pango layout.
6532 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6535 * examples/hildon-bread-crumb-trail-example.c:
6539 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6541 * debian/changelog: Removing the bug-fixed entries that were actually
6542 resolved as WONTFIX.
6544 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6547 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6549 * src/hildon-bread-crumb-trail.c:
6550 * src/hildon-bread-crumb-trail.h:
6551 * src/hildon-bread-crumb.c:
6552 * src/hildon-bread-crumb.h:
6556 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6558 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6559 until it's passed the type check.
6561 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6563 * examples/hildon-bread-crumb-trail-example.c
6567 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6569 * examples/Makefile.am
6570 * examples/hildon-bread-crumb-trail-example.c
6572 * src/hildon-bread-crumb-trail.c
6573 * src/hildon-bread-crumb-trail.h
6574 * src/hildon-bread-crumb.c
6575 * src/hildon-bread-crumb.h
6577 New HildonBreadCrumbTrail widget.
6579 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6581 * src/hildon-range-editor.c (hildon_range_editor_init),
6582 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6583 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6584 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6585 hildon_time_editor_class_init, hildon_time_editor_init),
6586 src/hildon-get-password-dialog.c (invalid_input,
6587 hildon_get_password_set_property, hildon_get_password_get_property,
6588 create_contents, hildon_get_password_dialog_set_max_characters),
6589 src/hildon-set-password-dialog.c (create_contents),
6590 src/hildon-date-editor.c (hildon_date_editor_init),
6591 src/hildon-login-dialog.c (hildon_login_dialog_init),
6592 src/hildon-number-editor.c (hildon_number_editor_init),
6593 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6594 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6595 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6596 configure option and adding the respective checks in the code.
6597 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6598 hildon_calendar_drag_data_received): fixed some build warnings.
6600 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6602 * debian/changelog: A 1.0.0 release notes.