1 2009-02-20 Alejandro G. Castro <alex@igalia.com>
3 Reviewed the geometry that handles the children size and
4 scrollbar, now it tries a size and reviews the results depending
5 on the scrollbars visibility.
7 * src/hildon-pannable-area.c,
8 (hildon_pannable_area_realize): Fixed a typo.
9 (hildon_pannable_area_child_allocate_calculate): Added this
10 function to calculate the child allocation.
11 (hildon_pannable_area_size_allocate): Reviewed the allocation
13 (hildon_pannable_area_check_scrollbars),
14 (hildon_pannable_area_refresh): Refactored refresh function, this
15 way we can call the code handling the scrollbars without causing a
16 size_request, it is interesting in the allocate.
17 (hildon_pannable_area_init): Replace the callbacks of the
18 value_changed and changed signals to propertly deal with the
20 (hildon_pannable_area_grab_notify),
21 (hildon_pannable_area_initial_effect),
22 (hildon_pannable_area_launch_fade_timeout),
23 (hildon_pannable_area_adjust_changed),
24 (hildon_pannable_area_adjust_value_changed),
25 (hildon_pannable_area_redraw),
26 (hildon_pannable_area_button_press_cb),
27 (hildon_pannable_area_button_release_cb),
28 (hildon_pannable_area_scroll_cb),
29 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
30 code and use the new functions adjust_changed and
33 Fixes: NB#101603 (Focus is not even for the text entry boxes in
34 Contact editor dialog)
36 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
41 * configure.ac: Bump version.
42 * debian/changelog: Updates.
44 2009-02-20 Alejandro G. Castro <alex@igalia.com>
46 * src/hildon-pannable-area.c,
47 (hildon_pannable_area_get_topmost),
48 (hildon_pannable_area_button_press_cb),
49 (hildon_pannable_area_button_release_cb),
50 (hildon_pannable_get_child_widget_at): Reverted the patch for the
51 topmost function adding the event mask. We have to try a
52 differente approach because it is still causing problems (NB#9745,
55 2009-02-19 Alberto Garcia <agarcia@igalia.com>
57 * src/hildon-banner.c:
58 Update the maximum width of timed banners.
59 (force_to_wrap_truncated): Enforce the maximum text width if the
62 Fixes: NB#102413 (The text margins (wrapping) in information
63 banner should be HILDON_MARGIN_TRIPLE)
65 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
67 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
69 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
70 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
71 bound when calculating the scroll indicator position.
73 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
74 treat ->lower correctly)
76 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
78 * src/hildon-caption.c (hildon_caption_class_init): Remove the
79 expose event handling, since it is not necessary to draw the focus
82 Fixes: NB#102467 (Do not show highlight on the text in
85 2009-02-18 Alberto Garcia <agarcia@igalia.com>
87 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
88 full height of the toolbar for the button and the label.
90 2009-02-18 Alberto Garcia <agarcia@igalia.com>
92 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
93 padding before the label and after the button.
95 2009-02-18 Alberto Garcia <agarcia@igalia.com>
97 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
99 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
100 Add a GtkVSeparator between the button and the back arrow.
101 Let the button have automatic size.
102 Set a name to the widget for theming handling.
104 Fixes: NB#101793 (Make edit toolbar the same height as window
105 title bar (use title area theming))
107 2009-02-18 Alberto Garcia <agarcia@igalia.com>
109 * src/hildon-helper.c (attach_new_color_element): Fix memory
112 Fixes: NB#102262 (memory leak in hildon_button_set_style())
114 2009-02-18 Alberto Garcia <agarcia@igalia.com>
116 * examples/hildon-button-example.c (common_buttons_window): Don't
119 2009-02-18 Alberto Garcia <agarcia@igalia.com>
121 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
122 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
124 2009-02-18 Alberto Garcia <agarcia@igalia.com>
126 * src/hildon-gtk.c: Check that the window is realized.
128 Fixes: NB#102225 (Crash setting the progress indicator to a non
131 2009-02-17 Alberto Garcia <agarcia@igalia.com>
133 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
134 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
135 instead of modifying the one in the widget style.
137 Fixes: NB#101043 (Second row of all the command button are
138 displayed in transparent mode.)
140 2009-02-17 Alberto Garcia <agarcia@igalia.com>
142 * src/hildon-date-button.c
143 * src/hildon-time-button.c: Add gettext macros
145 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
147 * src/hildon-date-button.c (hildon_date_button_new):
148 * src/hildon-time-button.c (hildon_time_button_new_step):
149 Use new logical strings to set the button default title.
151 Fixes: NB#99915 (Date and Time options are not localised in Date
154 2009-02-16 Alejandro G. Castro <alex@igalia.com>
156 * src/hildon-pannable-area.c
157 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
158 the PANNING_THRESHOLD.
160 2009-02-16 Alejandro G. Castro <alex@igalia.com>
162 * src/hildon-pannable-area.c,
163 (hildon_pannable_area_class_init): Increased the maximum speed.
164 (hildon_pannable_area_get_property),
165 (hildon_pannable_area_set_property),
166 (hildon_pannable_area_timeout): Added a new low friction mode, it
167 allows the user avoid friction when launching the widget fast
168 enough. It is interesting to traverse long lists.
170 2009-02-16 Alberto Garcia <agarcia@igalia.com>
172 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
173 (+hildon_stackable_window_delete_event): Ignore delete events if
174 the window is not the topmost one.
176 Fixes: NB#101698 (Back button long press and delete-event handling)
178 2009-02-16 Alejandro G. Castro <alex@igalia.com>
180 * src/hildon-pannable-area.c,
181 (hildon_pannable_area_motion_notify_cb): Removed the use of the
182 gtk-dnd-drag-threshold, it was too big. We have defined our own
183 dnd define and set a smaller value: PANNIG_THRESHOLD.
185 2009-02-16 Alberto Garcia <agarcia@igalia.com>
187 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
188 user-defined icons, use always the default one.
190 Fixes: NB#101916 (Do not allow custom icons on animation banner)
192 2009-02-13 Alejandro G. Castro <alex@igalia.com>
194 This patch was applied before but reverted because it caused
195 problems, we have changed the main condition and tested the
196 regressions we detected before and they work ok.
198 * src/hildon-pannable-area.c,
199 (hildon_pannable_area_get_topmost): Added a new parameter to
200 filter the the windows that do not include those events. Added
201 also a condition when finding the window to filter windows that do
202 not ask for those events.
203 (hildon_pannable_area_button_press_cb),
204 (hildon_pannable_area_button_release_cb),
205 (hildon_pannable_get_child_widget_at): Reviewed the call the the
206 topmost function, we have added the new parameter.
208 Fixes: NB#97458 (Pannable area prevents propagation of button
211 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
213 * tests/check-hildon-color-button.c (START_TEST): do not leak
216 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
218 * src/hildon-font-selection-dialog.c
219 (hildon_font_selection_dialog_get_preview_text): Return NULL
220 instead of FALSE on the g_return_val_if_fail().
222 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
224 * src/hildon-time-selector.c (hildon_time_selector_set_time):
225 * src/hildon-date-selector.c
226 (hildon_date_selector_select_current_date):
227 Do not compare unsigned integers to be greater than or equal 0,
228 because it's always TRUE.
230 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
232 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
233 (hildon_date_selector_constructor): Do not select the current
234 date until we are handle the "changed" signal, to avoid having bogus
235 elements in the days model.
237 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
239 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
240 for num_days, since _month_days() can return a negative value.
242 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
244 * src/hildon-caption.c (hildon_caption_size_allocate):
245 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
246 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
248 Initialize allocation variables to 0, to avoid eventually using
249 unitialized variables.
251 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
253 * src/hildon-bread-crumb-trail.c
254 (hildon_bread_crumb_trail_size_allocate):
255 * src/hildon-calendar.c (hildon_calendar_set_background):
256 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
257 * src/hildon-range-editor.c (hildon_range_editor_get_range):
258 * src/hildon-seekbar.c (hildon_seekbar_init):
259 * src/hildon-time-editor.c (hildon_time_editor_get_time):
260 * src/hildon-time-selector.c (hildon_time_selector_finalize):
261 * src/hildon-touch-selector-entry.c
262 (hildon_touch_selector_get_text_from_model):
263 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
264 * src/hildon-window.c (hildon_window_finalize):
266 Remove many unused variables.
268 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
270 * src/hildon-seekbar.c: (hildon_seekbar_init),
271 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
273 Remove unnecessary g_assert() calls.
275 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-caption.c: (hildon_caption_expose),
278 (hildon_caption_set_property), (hildon_caption_init),
279 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
280 (hildon_caption_size_request), (hildon_caption_size_allocate),
281 (hildon_caption_forall), (hildon_caption_set_separator),
282 (hildon_caption_activate), (hildon_caption_set_child_expand),
283 (hildon_caption_set_label_text),
284 (hildon_caption_get_label_alignment):
286 Remove unnecessary g_assert() calls.
288 2009-02-12 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-banner.c
291 (hildon_banner_map, hildon_banner_init): Make banner temporary
292 before mapping it to avoid closing other temporary windows, but
293 make it non-temporary afterwards to avoid being closed by other
294 non-temporary windows.
295 (-hildon_banner_client_event, hildon_banner_init):
296 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
298 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
301 2009-02-11 Alberto Garcia <agarcia@igalia.com>
303 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
306 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
308 * src/hildon-remote-texture.c
309 * src/hildon-remote-texture.h
310 * src/hildon-remote-texture-private.h
311 * examples/hildon-remote-texture-example.c:
312 Updates/fixes to remote-texture and its example.
314 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
316 Patch by Mox Soini (ext-mox.soini@nokia.com)
318 * src/hildon-code-dialog.c: Update logical id.
319 * src/hildon-set-password-dialog.c: Update logical id.
321 Fixes: NB#100646 (Logical strings is shown for ok in set
322 password,Password needed dialogs)
324 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
327 * src/hildon-remote-texture.c
328 * src/hildon-remote-texture.h
329 * src/hildon-remote-texture-private.h
331 Added remote texture widget (for Clutter shared memory textures)
333 * examples/hildon-remote-texture-example.c
334 * examples/Makefile.am
335 Added example file for remote texture usage
337 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
339 * configure.ac: post release version bump.
340 * debian/changelog: version bump.
342 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
347 * configure.ac: Bump version.
348 * debian/changelog: Updates.
350 2009-02-06 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-date-selector.c (hildon_date_selector_init)
353 (hildon_date_selector_constructor): Don't connect to the "changed"
354 signal until the selector is completely constructed.
356 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
358 * src/hildon-touch-selector.c: (_create_new_column),
359 (hildon_touch_selector_append_column),
360 (hildon_touch_selector_set_column_selection_mode),
361 (hildon_touch_selector_set_active),
362 (hildon_touch_selector_select_iter):
363 Emit the HildonTouchSelector::changed signal every time selection
364 is changed in any of the methods above. This behavior was already
365 documented but not fully functional.
367 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
368 selection is programmatically changed)
370 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
372 * doc/hildon-sections.txt: Remove obsolete icon
373 sizes from here as well.
375 2009-02-05 Alberto Garcia <agarcia@igalia.com>
377 * examples/hildon-stackable-window-example.c (add_window): Remove
380 2009-02-05 Alberto Garcia <agarcia@igalia.com>
382 * src/hildon-app-menu.c
383 (hildon_app_menu_show): Check whether the parent window of a menu
384 is topmost before popping it up.
386 Fixes: NB#100468 (Application menu window is launched even when a
387 new secondary-window/dialog is pending to be shown/realized.)
389 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
391 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
394 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
396 Patch by Mox Soini (ext-mox.soini@nokia.com)
398 * src/hildon-banner.c: (hildon_banner_show_animation):
399 use stylus size instead of obsolete note size.
400 * src/hildon-defines.h: Update icon sizes.
402 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
404 * src/hildon-touch-selector-entry.c:
405 (hildon_touch_selector_entry_init): Disable unsupported
407 (hildon_touch_selector_entry_get_text_column): Emit a warning
408 if an unsupported input modes is used and explicitile state
409 these modes in the documentation.
411 Fixes: NB#99802 (Hildon touch selector entry not working properly
412 for some of the input modes)
414 2009-02-05 Alejandro G. Castro <alex@igalia.com>
416 * src/hildon-pannable-area.c,
417 (hildon_pannable_area_init): Added the changed signal handlers of
420 Fixes: NB#100320 (HildonPannableArea does not listen to
421 GtkAdjustment "change" signals)
423 2009-02-04 Alberto Garcia <agarcia@igalia.com>
425 * doc/hildon-sections.txt
426 * src/hildon-window-private.h
427 * src/hildon-window.h
428 * src/hildon-window.c (hildon_window_init)
429 (hildon_window_realize, hildon_window_unrealize)
430 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
431 (hildon_window_size_request, hildon_window_size_allocate)
432 (hildon_window_forall, hildon_window_show_all)
433 (hildon_window_destroy, +paint_edit_toolbar)
434 (+hildon_window_set_edit_toolbar):
435 New hildon_window_set_edit_toolbar() method, to add a
436 HildonEditToolbar to a window without having to pack it manually.
438 Reorganize hildon_window_size_allocate()
440 * src/hildon-edit-toolbar.c: Update documentation.
442 * examples/hildon-edit-toolbar-example.c (edit_window): Update
443 example to use the new API.
445 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
447 2009-02-04 Alberto Garcia <agarcia@igalia.com>
449 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
450 Remove from stack before calling parent's hide.
452 2009-02-04 Alberto Garcia <agarcia@igalia.com>
454 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
455 window is removed from the middle of the stack, update the
456 transiency of the previous one.
458 Fixes: NB#100487 (HildonStackableWindow transiency becomes
461 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
463 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
464 block/unblock the signal handler if it's not actually being used.
465 Fixes some critical warnings.
467 2009-02-02 Alberto Garcia <agarcia@igalia.com>
469 Based on a patch by Iván Gómez (igomez@igalia.com)
471 * src/hildon-banner.c
475 * src/hildon-pannable-area.c
476 * src/hildon-picker-dialog.c
477 * src/hildon-wizard-dialog.h
478 * src/hildon-wizard-dialog.c: Documentation updates.
480 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
481 gtk_dialog_add_button() instead of hildon_dialog_add_button().
483 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
485 * configure.ac: post release version bump.
486 * debian/changelog: version bump.
488 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
493 * configure.ac: Bump version.
494 * debian/changelog: Updates.
496 2009-01-29 Alberto Garcia <agarcia@igalia.com>
498 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
499 a stock icon nor change the relief of the back arrow.
501 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
504 2009-01-29 Alberto Garcia <agarcia@igalia.com>
506 * src/hildon-button.c (hildon_button_set_alignment): Use
507 priv->alignment if the button has no child yet.
509 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
511 * src/hildon-button.c: (hildon_button_init): Set the
512 button style during initialization to give it the proper
515 Fixes: NB#99713 (HildonButton value label color is wrong)
517 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
519 * src/hildon-touch-selector.c: Document
520 hildon_touch_selector_center_on_selected()
522 2009-01-28 Alberto Garcia <agarcia@igalia.com>
524 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
525 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
526 all menu items, but not the menu itself.
527 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
528 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
529 items after adding them to the menu so keyboard accelerators work.
530 (hildon_app_menu_show): Don't show the menu if it contains items
531 but none of them are visible.
533 * examples/hildon-app-menu-example.c (create_menu): Use
534 gtk_widget_show_all() to show all menu items.
536 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
538 * src/hildon-picker-dialog.c:
539 (-_update_title_on_selector_changed_cb),
540 (-_dialog_update_title): Removed.
541 (_select_on_selector_changed_cb), (_on_dialog_response),
542 (on_selector_columns_changed): Do not update the dialog title.
543 (setup_interaction_mode): Do not connect to
544 HildonTouchSelector::changed signal if there's a "done" button, as
545 the dialog title doesn't need to be updated.
547 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
550 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
552 Patch by Kristian Rietveld (kris@imendio.com)
554 * src/hildon-touch-selector.c: (_create_new_column): Use new
555 GtkTreeView::hildon-row-tapped signal to react to user interactions
556 instead of ::changed.
558 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
559 with some dynamic tree model)
561 2009-01-27 Alberto Garcia <agarcia@igalia.com>
563 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
564 (+screen_size_changed, +label_size_request)
565 (hildon_note_class_init): Make the Hildon information note have a
566 minimum height, and make its text hvae a maximum width.
568 Fixes: NB#98614 (Hildon information note (background) should have
569 minimum height and maximum text width)
571 2009-01-26 Alberto Garcia <agarcia@igalia.com>
573 * src/hildon-banner.h
574 * src/hildon-banner.c (hildon_banner_show_information)
575 (hildon_banner_show_informationf)
576 (hildon_banner_show_information_with_markup): Update documentation
577 to reflect that the icon_name parameter is not used anymore.
578 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
579 Remove all code from these functions and mark them as deprecated.
580 (hildon_banner_show_progress): Mark as deprecated.
582 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
584 2009-01-26 Alejandro G. Castro <alex@igalia.com>
586 * src/hildon-pannable-area.c,
587 (hildon_pannable_area_class_init),
589 (hildon_pannable_draw_vscroll),
590 (hildon_pannable_draw_hscroll),
591 (hildon_pannable_area_expose_event): Added a new way to render the
592 scrollbars of the pannable area avoiding using cairo at all. This
593 way we improve the performance of the pannable area rendering. The
594 cairo rendering procedure is still in the code, we can control
595 which one to use changing the value of the define
596 USE_CAIRO_SCROLLBARS.
598 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
600 * configure.ac: post release version bump.
601 * debian/changelog: version bump.
603 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
608 * configure.ac: Bump version.
609 * debian/changelog: Updates.
611 2009-01-23 Alberto Garcia <agarcia@igalia.com>
613 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
614 banners instead of destroying them when they receive a button
617 2009-01-23 Alejandro G. Castro <alex@igalia.com>
619 Reverted commit 34028, it was causing regressions, probably the
620 topmost condition is not correct, we have to check it in more
621 detail. We have reponed the bug: NB#97458 (Pannable area prevents
622 propagation of button press events)
624 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
627 that the selection is not empty before attempting to retrieve the
628 current ampm selection.
630 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
632 * src/hildon-picker-button.c:
633 (hildon_picker_button_on_dialog_response): Directly update the
634 button contents when required instead of calling _selection_changed.
636 2009-01-23 Alberto Garcia <agarcia@igalia.com>
638 * src/hildon-program.c (hildon_program_update_top_most): Update
639 'is-topmost' property also when wm_hints is not set.
641 Fixes: NB#98383 (is-topmost signal is not emitted when task
642 switcher is clicked.)
644 2009-01-23 Alejandro G. Castro <alex@igalia.com>
646 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
650 * src/hildon-animation-actor.c,
651 * src/hildon-animation-actor.h: Added the animation actor class,
652 this widget represents an animation actor for WM-assisted
653 animation effects in the Hildon framework.
655 2009-01-23 Alberto Garcia <agarcia@igalia.com>
657 * src/hildon-window-stack-private.h
658 * src/hildon-window-stack.c
659 * src/hildon-stackable-window.c (hildon_stackable_window_show):
660 Avoid calling gtk_widget_show() again indirectly from
661 hildon_stackable_window_show()
663 2009-01-23 Alberto Garcia <agarcia@igalia.com>
665 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
668 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
670 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
671 (hildon_time_selector_init): Move the construction of the hours and
672 ampm columns to the constructor to preserve the order the columns
675 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
677 * src/hildon-picker-dialog.c:
678 (hildon_picker_dialog_class_init): Connect a realize method.
679 (+hildon_picker_dialog_realize): Setup the interaction mode here
681 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
682 yet, do it during the realize instead.
683 (_on_dialog_response):
684 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
685 if the widget is not realized, to avoid the dialog response before it
688 Avoid premature responses in the HildonPickerDialog that can cause it
689 to be hidden before it's even shown.
691 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
693 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
694 (on_selector_columns_changed), (requires_done_button),
695 (+prepare_action_area), (setup_interaction_mode),
696 (_hildon_picker_dialog_set_selector):
698 Split the interaction mode setup into preparation of the
699 action area (prepare_action_area()) and the connection of
700 the signals in setup_interaction_mode() and update the code to
703 2009-01-22 Alejandro G. Castro <alex@igalia.com>
705 * src/hildon-pannable-area.c,
706 (hildon_pannable_area_class_init): Reduced the amount of scrolls
707 per second to 15, we will check if this is ok regarding
710 2009-01-22 Alejandro G. Castro <alex@igalia.com>
712 * src/hildon-pannable-area.c,
713 (hildon_pannable_axis_scroll): Avoid resize if we already have
714 reached overshoot_max.
716 2009-01-22 Alejandro G. Castro <alex@igalia.com>
718 * src/hildon-pannable-area.c,
719 (hildon_pannable_area_init),
720 (hildon_pannable_area_realize),
721 (hildon_pannable_area_size_allocate),
722 (hildon_pannable_area_map),
723 (hildon_pannable_area_unmap),
724 (hildon_pannable_draw_vscroll),
725 (hildon_pannable_draw_hscroll),
726 (hildon_pannable_area_expose_event),
727 (hildon_pannable_area_refresh): Added a new GdkWindow to the
728 pannable are to avoid the expose events go to the window and
729 redraw the window. We save this way that part of the stack and the
730 paint_boxes. We had to change the positions of the elements when
733 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
736 * src/hildon-color-chooser-dialog.c:
737 (hildon_color_chooser_dialog_init):
738 * src/hildon-font-selection-dialog.c:
739 (hildon_font_selection_dialog_init),
740 (hildon_font_selection_dialog_show_preview):
741 * src/hildon-get-password-dialog.c:
742 * src/hildon-login-dialog.c:
743 * src/hildon-set-password-dialog.c:
744 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
745 * src/hildon-time-picker.c: (hildon_time_picker_init):
747 Remove obsolete logical string IDs and update to the appropriate ones.
749 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
751 2009-01-21 Alberto Garcia <agarcia@igalia.com>
753 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
754 that happens if the window hasn't been realized yet.
756 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
757 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
759 2009-01-20 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-app-menu.c (hildon_app_menu_class_init)
762 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
765 Fixes: NB#98537 (Device hangs in account settings dialog)
767 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
769 * configure.ac: post release version bump.
770 * debian/changelog: version bump
772 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
777 * configure.ac: Bump version.
778 * debian/changelog: Updates.
780 2009-01-20 Alejandro G. Castro <alex@igalia.com>
782 Added a new function to the HildonTimeButton widget that allows to
783 change the step of the minutes in the selector associated with the
784 button: hildon_time_button_new_step
786 * src/hildon-time-button.c,
787 (hildon_time_button_init),
788 (hildon_time_button_new),
789 (hildon_time_button_new_step):
790 * src/hildon-time-button.h: Added the new function and refactored
792 * examples/hildon-time-button-example.c,
793 (main): We have replaced the function without parameters with the
794 function with the steps set to 5
796 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
798 2009-01-20 Alejandro G. Castro <alex@igalia.com>
800 * src/hildon-time-selector.c,
801 (hildon_time_selector_class_init),
802 (hildon_time_selector_constructor),
803 (hildon_time_selector_get_property),
804 (hildon_time_selector_set_property),
805 (_create_minutes_model),
806 (hildon_time_selector_new_step),
807 (hildon_time_selector_set_time),
808 * src/hildon-time-selector.h: Added a new property to the
809 HildonTimeSelector (minutes-step), we use that property to control
810 the steps between the minutes in the list of the selector. We have
811 added a new function to the API to create a widget changing the
812 step: hildon_time_selector_new_step.
814 2009-01-20 Alejandro G. Castro <alex@igalia.com>
816 * src/hildon-time-selector.c,
817 (hildon_time_selector_class_init),
818 (hildon_time_selector_constructor),
819 (hildon_time_selector_init): Overrided the construct function when
820 creating the time selector object. We have moved the minutes model
821 handling code from the init to the new construction function:
822 hildon_time_selector_constructor.
824 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
826 * examples/hildon-date-button-example.c: (main): Use the new
827 hildon_date_button_new_with_year_range() method in the example.
828 * src/hildon-date-button.c:
829 (+hildon_date_button_new_with_year_range): New public method
830 to conveniently create a HildonDateButton with a custom year range
831 in its HildonDateSelector.
832 * src/hildon-date-button.h: Add the new public method definition.
834 Fixes: NB#97908 (Not possible to change the year range in
835 HildonDateSelector/HildonDateButton)
837 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
839 * src/hildon-date-selector.c:
840 (+hildon_date_selector_set_property),
841 (+hildon_date_selector_get_property),
842 (hildon_date_selector_class_init): Install new properties "min-year"
843 and "max-year" to define boundaries for the year column.
844 (_create_year_model): Use the boundary properties to populate the model.
845 (+hildon_date_selector_new_with_year_range): New public method to
846 create a HildonDateSelector with a user defined year range.
847 (hildon_date_selector_select_current_date): Use the new boundaries to
848 calculate the iterator of current year.
849 * src/hildon-date-selector.h: Add the new public method definition.
851 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
853 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
854 Install a constructor method.
855 (+hildon_date_selector_construct_ui): construct the widget.
856 (+hildon_date_selector_constructor): new constructor.
857 (+hildon_date_selector_init): move out widget construction code to
860 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
862 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
863 that there's actually a month or year selected before obtaining them.
864 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
865 of the HildonTouchSelector::changed signal, as it was emitted on every
866 single item selection.
868 Fix some warnings and possible crashers due to the selection restoring.
870 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
873 the signal handlers only after creating the dialog instead of on every
876 2009-01-19 Alberto Garcia <agarcia@igalia.com>
878 * src/hildon-button.c (hildon_button_init)
879 * src/hildon-check-button.c (hildon_check_button_init)
880 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
881 focus when clicked by default.
883 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
885 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
888 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
890 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
891 Alejandro G. Castro (alex@igalia.com)
893 * src/hildon-picker-dialog.c:
894 (hildon_picker_dialog_class_init): install new "center-on-show"
896 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
897 (hildon_picker_dialog_set_property): add setter code for the new
899 (hildon_picker_dialog_get_property): add getter code for the new
901 (hildon_picker_dialog_show): Ensure visibility of selected items in the
902 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
905 Fixes: NB#92849 (Selected item is not always visible when
906 HildonTouchSelector is shown)
908 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
910 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
911 Alejandro G. Castro (alex@igalia.com)
913 * src/hildon-touch-selector.c:
914 (_create_new_column): Do not connect to the "realize" signal of the
916 (hildon_touch_selector_append_column): center on the selected items
917 when a new column is appended.
918 (hildon_touch_selector_select_iter): Factor out the code to select a
919 column to hildon_touch_selector_scroll_to().
920 (+search_nearest_element): Method to retrieve the nearest selected
921 element to the visible area of the pannable area in a column.
922 (+on_realize_cb): scroll to the initially selected item.
923 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
924 the pannable area is realized, otherwise delay this until it is.
925 (+_hildon_touch_selector_center_on_selected_items): Centers on the
926 selected items of a given column.
927 (+hildon_touch_selector_center_on_selected): Public method to center
928 all columns on the nearest selected item.
929 * src/hildon-touch-selector.h: Add definition for
930 hildon_touch_selector_center_on_selected().
932 Implement public API to ensure visibility of all selected items in
933 a HildonTouchSelector.
935 2009-01-16 Alejandro G. Castro <alex@igalia.com>
937 Fixed a problem in the fading when calling the scroll_to API, and
938 improve scrollbar fading handling.
940 * src/hildon-pannable-area.c,
941 (hildon_pannable_area_grab_notify): avoid the timeout when the
943 (hildon_pannable_area_button_press_cb),
944 (hildon_pannable_area_motion_notify_cb): Code style changes.
945 (hildon_pannable_area_button_release_cb): Review the conditions
946 when releasing the mouse button to avoid unrequired fading
948 (hildon_pannable_area_scroll_to): Do not calculate and set the
949 velocity if the scroll is not required.
951 2009-01-15 Alberto Garcia <agarcia@igalia.com>
953 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
954 Don't check whether the new selector is NULL: it cannot be.
955 Hold a reference to the selector while doing the replacement.
957 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
959 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
960 unnecessary size_request in a removed widget.
962 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
964 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
965 an unnecessary reference tracking that was leaking.
967 2009-01-15 Alejandro G. Castro <alex@igalia.com>
969 Added delayed motion notify event handling, this way we can
970 discard redrawing if more than 25 events arrive per second.
972 * src/hildon-pannable-area.c,
973 (hildon_pannable_area_init): Initialized the new private atributes
974 controlling this timeout
975 (hildon_pannable_area_dispose): Remove the timeout that controls
976 the motion notify events.
977 (hildon_pannable_area_scroll): Added a condition to control the
978 use of the acceleration.
979 (hildon_pannable_area_motion_event_scroll_timeout),
980 (hildon_pannable_area_motion_event_scroll): Added this two
981 functions, they handle the motion notify events inside the
983 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
984 to the scroll method with the new function.
985 (hildon_pannable_area_button_release_cb): We have to remove the
986 timeout handler and move to the last position if the last motion
987 events were not handled.
989 Fixes: NB#97028 (Pannable area updates on every motion event)
991 2009-01-15 Alejandro G. Castro <alex@igalia.com>
993 * src/hildon-pannable-area.c,
994 (hildon_pannable_area_get_topmost): Added a new parameter to
995 filter the the windows that do not include those events. Added
996 also a condition when finding the window to filter windows that do
997 not ask for those events.
998 (hildon_pannable_area_button_press_cb),
999 (hildon_pannable_area_button_release_cb),
1000 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1001 topmost function, we have added the new parameter.
1003 Fixes: NB#97458 (Pannable area prevents propagation of button
1006 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1008 * src/hildon-pannable-area.c,
1009 (hildon_pannable_area_initial_effect): Added controls before
1010 launching the timeout and the idle functions.
1011 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1012 of the method, in some situations it can return with TRUE and 0 in
1014 (hildon_pannable_area_button_press_cb): We do not need to set
1015 DELAY for fading out here.
1017 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1019 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1021 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1022 post-cleaning if the selection is not NULL.
1024 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1026 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1027 all items before restoring the selection.
1029 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1031 * src/hildon-touch-selector.c:
1032 (+hildon_touch_selector_unselect_all):
1033 * src/hildon-touch-selector.h: New API to unselect all items in a
1034 column of the touch selector.
1036 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1038 * src/hildon-pannable-area.c,
1039 (hildon_pannable_area_redraw): Added a call to the refresh
1040 function inside the redraw because apparently in some cases the
1041 change in the adjustment does not imply a size allocate.
1043 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1044 despite the view not being scrollable)
1046 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1048 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1049 leak. Check for NULL before attempting to set the window title.
1051 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1053 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1054 whether to show or not the 'Done' button each time the dialog is
1055 shown, as it depends on the HildonTouchSelector selection mode.
1057 Fixes: NB#96226 (In multiple selection mode Done button is shown
1058 sometimes in listpicker)
1060 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1063 for the number of columns in the HildonTouchSelector more than once.
1065 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1067 * src/hildon-touch-selector.c: Minor documentation fixes.
1069 * src/hildon-picker-dialog.c (+_dialog_update_title)
1070 (_select_on_selector_changed_cb)
1071 (_update_title_on_selector_changed_cb)
1072 (on_selector_columns_changed): Update dialog title when there's no
1073 'Done' button and also when the number of columns in the selector
1077 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1078 (+_selection_changed, hildon_picker_button_on_dialog_response)
1079 (hildon_picker_button_selector_selection_changed)
1080 (+hildon_picker_button_selector_columns_changed)
1081 (hildon_picker_button_set_selector): Update button value and emit
1082 'value-changed' when the number of columns in the selector
1086 Fixes: NB#96225 (Dialog titles are not shown according to the
1087 values selected in the list picker)
1089 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1091 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1092 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1093 New "arrow-width" and "arrow-height" style properties to set the
1094 size of the arrow button.
1095 Set name of arrow button ("hildon-edit-toolbar-arrow").
1097 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1098 graphics from theme)
1100 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1102 * src/hildon-picker-button.c:
1103 (hildon_picker_button_selector_selection_changed): Use
1104 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1105 the dialog is present.
1107 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1108 the selection is accepted in the dialog)
1110 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1112 * src/hildon-color-chooser.h
1113 * src/hildon-color-chooser-dialog.h:
1114 Added G_BEGIN_DECLS and G_END_DECLS
1116 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1118 (_clean_current_selection): plug a leak in the list.
1120 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1122 * src/hildon-picker-dialog.c:
1123 (+free_path_list): Method to free a GList of GtkTreePaths.
1124 (_clean_current_selection), (_save_current_selection),
1125 (_restore_current_selection): Save the current selection in
1126 as a list of lists, to support multiple selection properly.
1128 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1130 patch by Claudio Saavedra (csaavedra@igalia.com)
1132 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1133 Store the press position.
1134 (+hildon_text_view_button_release_event): If the release position is
1135 close enough to the press position, move the cursor here. Otherwise,
1137 (hildon_text_view_class_init): Override GtkTextView press, release, and
1138 motion event handlers, disabling this way text selection through
1139 pointer interaction, and allowing the container widget to handle the
1142 Fixes: NB#95828 (HildonTextView functionality)
1144 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1146 Based on a patch by Iván Gómez (igomez@igalia.com)
1148 * src/hildon-button.[ch]
1149 * src/hildon-calendar.c
1150 * src/hildon-check-button.c
1151 * src/hildon-date-editor.c
1152 * src/hildon-date-selector.c
1153 * src/hildon-picker-button.c
1154 * src/hildon-time-editor.c
1155 * src/hildon-time-selector.c
1156 * src/hildon-touch-selector.[ch]:
1157 Documentation updates
1159 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1161 * src/hildon-pannable-area.c,
1162 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1163 threshold, it was required due to X events handling.
1165 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1167 * src/hildon-pannable-area.c,
1168 (hildon_pannable_area_grab_notify),
1169 (hildon_pannable_area_initial_effect),
1170 (hildon_pannable_area_button_press_cb),
1171 (hildon_pannable_area_button_release_cb),
1172 (hildon_pannable_area_scroll_cb),
1173 (hildon_pannable_area_scroll_to): Review the timeout management of
1174 the scrollbar, the frecuency was incorrectly set.
1176 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1178 * src/hildon-picker-button.c:
1179 (+hildon_picker_button_on_dialog_response),
1180 (hildon_picker_button_clicked): Present the dialog instead of
1181 running it with gtk_dialog_run().
1183 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1186 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1188 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1189 (hildon_app_menu_finalize): When a window is hidden it doesn't
1190 emit notify::is-topmost, so make sure than the menu also
1191 disappears in that case.
1192 (parent_window_topmost_notify): Renamed from parent_window_hidden
1194 Fixes: NB#94460 (stackable window's menu is not closed when its
1197 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1199 * src/hildon-touch-selector-entry.c:
1200 (+hildon_touch_selector_entry_set_input_mode),
1201 (+hildon_touch_selector_entry_get_input_mode):
1202 * src/hildon-touch-selector-entry.h: New methods to access the input
1203 mode in the selector's entry.
1205 Fixes: NB#93410 (API required for setting IM mode in
1206 HildonTouchSelectorEntry)
1208 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1210 * configure.ac: post release version bump.
1211 * debian/changelog: version bump
1213 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1218 * configure.ac: Bump version.
1219 * debian/changelog: Updates.
1221 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1223 * src/hildon-touch-selector.c:
1224 (_hildon_touch_selector_has_multiple_selection): No need
1225 to initialize the variables here.
1227 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1229 * src/hildon-note-private.h
1230 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1231 (hildon_note_finalize, hildon_note_rebuild): Close information
1232 notes when they receive a button press.
1234 Fixes: NB#89890 (Information notes does not get disappeared after
1237 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1239 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1240 mark from the wizard title, as it's not really necessary. Also,
1241 do not display the page title if not set.
1243 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1245 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1246 (parent_window_hidden): Use the window's "is-topmost" property to
1247 detect when to hide the menu.
1249 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1251 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1252 (hildon_app_menu_finalize): If the parent window of the menu is
1253 hidden, hide the menu too.
1255 Fixes: NB#94460 (stackable window's menu is not closed when its
1258 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1261 * debian/libhildon1-examples.install
1263 * examples/Makefile.am:
1264 Use dh_install to install all examples.
1265 Use DEB_SRCDIR instead of defining SOURCE_DIR
1267 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1269 * configure.ac: post release version bump.
1270 * debian/changelog: version bump
1272 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1277 * configure.ac: bump version
1278 * debian/changelog: updates
1279 * debian/control: bump gtk+ dependency
1281 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1283 patch by Christian Dywan (christian@imendio.com)
1285 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1286 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1288 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1290 * src/hildon-check-button.c (hildon_check_button_init)
1291 (hildon_check_button_class_init, hildon_check_button_style_set)
1292 (hildon_check_button_apply_style):
1293 New "checkbox-size" style property.
1295 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1296 larger / configurable size)
1298 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1300 * configure.ac: post release version bump.
1301 * debian/changelog: version bump
1303 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1308 * configure.ac: bump version
1309 * debian/changelog: updates
1311 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1313 * doc/hildon-sections.txt
1314 * src/hildon-pannable-area.c
1315 * src/hildon-program.c
1316 * src/hildon-time-editor.c
1317 * src/hildon-touch-selector-entry.c:
1319 More documentation updates.
1321 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1323 * doc/hildon-sections.txt
1324 * src/hildon-caption.c
1325 * src/hildon-code-dialog.c
1326 * src/hildon-color-button.c
1327 * src/hildon-controlbar.c
1328 * src/hildon-date-editor.c
1329 * src/hildon-date-selector.c
1330 * src/hildon-edit-toolbar.c
1331 * src/hildon-find-toolbar.c
1332 * src/hildon-font-selection-dialog.c
1334 * src/hildon-program.c
1335 * src/hildon-range-editor.c
1336 * src/hildon-seekbar.c
1337 * src/hildon-time-editor.c
1338 * src/hildon-time-selector.c
1339 * src/hildon-volumebar-range.c
1340 * src/hildon-volumebar.c
1341 * src/hildon-vvolumebar.c
1342 * src/hildon-weekday-picker.c
1343 * src/hildon-window.c
1344 * src/hildon-wizard-dialog.c:
1346 Lots of documentation fixes.
1348 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1350 Patch contributed by Iván Gómez (igomez@igalia.com)
1352 * src/hildon-check-button.c:
1353 * src/hildon-date-button.c:
1354 * src/hildon-date-selector.c:
1355 * src/hildon-dialog.c:
1356 * src/hildon-edit-toolbar.c:
1357 * src/hildon-entry.c:
1358 * src/hildon-picker-button.c:
1359 * src/hildon-program.c:
1360 * src/hildon-text-view.c:
1361 * src/hildon-time-button.c:
1362 * src/hildon-touch-selector-entry.c:
1363 * src/hildon-window-stack.c:
1365 Add more "since" tags to the new API.
1367 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1369 * doc/hildon-sections.txt: Add below method.
1370 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1371 version for the hildonized scale.
1372 * src/hildon-gtk.h: Add the definition.
1374 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1376 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1378 * doc/hildon-sections.txt: Add missing entries for new methods.
1380 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1382 Added API to pannable are in order to get its adjustments. We
1383 added two properties to manage the values we had in the private
1386 * src/hildon-pannable-area.c:
1387 (hildon_pannable_area_class_init): Added hadjustment and
1388 vadjustment properties in order to expose horizontal and vertical
1390 (hildon_pannable_area_get_property),
1391 (hildon_pannable_area_set_property): Added code to handle the new
1393 (hildon_pannable_area_get_hadjustment),
1394 (hildon_pannable_area_get_vadjustment): API functions to get the
1396 * src/hildon-pannable-area.h:
1397 (hildon_pannable_area_get_hadjustment),
1398 (hildon_pannable_area_get_vadjustment): API functions to get the
1401 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1403 Fixed some leaks, after valgrinding.
1405 * src/hildon-touch-selector.c:
1406 (_default_print_func): Fixed a leak.
1407 (hildon_touch_selector_append_column): Fixed a leak.
1408 * src/hildon-date-button.c:
1409 (hildon_date_button_init): Fixed a leak.
1410 * src/hildon-date-selector.c
1411 (hildon_date_selector_finalize): Fixed a leak.
1413 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1415 Based on a patch by Christian Dywan (christian@imendio.com)
1417 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1419 * src/hildon-gtk.h: Add definition.
1421 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1423 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1425 * src/hildon-picker-button.c: (hildon_picker_button_init),
1426 (hildon_picker_button_new): Set the HildonButton::style property
1427 in the init method, to propagate the value to the derived classes.
1429 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1431 * src/hildon-button.c: (hildon_button_class_init): Do not make
1432 the "style" property a construct property.
1434 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1436 * src/hildon-wizard-dialog.h
1437 * src/hildon-wizard-dialog.c
1438 (hildon_wizard_dialog_set_forward_page_func)
1439 * src/hildon-pannable-area.h
1440 * src/hildon-pannable-area.c
1441 (hildon_pannable_area_set_size_request_policy):
1442 Documentation fixes.
1444 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1446 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1448 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1450 * doc/hildon-sections.txt: Added sections file.
1452 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1455 * src/*.[ch]: Updates.
1457 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1459 * examples/hildon-progress-indicator-example.c: new file
1460 * examples/Makefile.am: include the new example program
1462 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1466 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1468 * configure.ac: post release version bump
1469 * debian/changelog: version bump
1471 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1476 * configure.ac: bump version
1477 * debian/changelog: updates
1478 * debian/control: bump gtk+ dependency
1480 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1482 * src/hildon-dialog.c: Mark as deprecated.
1483 * src/hildon-dialog.h: Mark as deprecated.
1484 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1485 from HildonDialog and still work, even if
1486 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1487 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1489 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1490 maemo changes) instead)
1492 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1494 * src/hildon-pannable_area.h:
1495 * src/hildon-pannable_area.c:
1496 (hildon_pannable_area_class_init),
1497 (hildon_pannable_area_set_property),
1498 (hildon_pannable_area_get_property),
1499 (hildon_pannable_area_size_request),
1500 (hildon_pannable_area_get_size_request_policy),
1501 (hildon_pannable_area_set_size_request_policy): Added new API
1502 allowing applications to control the request policy. Now they can
1503 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1504 children allocation (HILDON_MOVEMENT_CHILDREN).
1506 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1510 (hildon_gtk_tree_view_set_ui_mode)
1511 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1512 mode of treeviews and iconviews.
1514 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1516 * src/hildon-touch-selector-entry.c:
1517 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1518 of a GtkEntry to get proper theming.
1520 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1521 widget, not GtkEntry)
1523 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1525 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1526 no HildonWizardDialogPageFunc.
1528 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1530 Patch contributed by Iván Gómez (igomez@igalia.com)
1532 * src/hildon-app-menu.c:
1533 * src/hildon-button.c:
1534 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1535 * src/hildon-stackable-window.c:
1536 * src/hildon-time-selector.c:
1537 * src/hildon-touch-selector.c:
1538 * src/hildon-window.c:
1540 Add more "since" tags to the new API in hildon 2.2.
1542 2008-12-05 Tim Janik <timj@imendio.com>
1544 Patch contributed by Christian Dywan (christian@imendio.com)
1546 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1547 HildonSizeType, which are supplied by Gtk+ now.
1549 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1551 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1552 (with maemo changes) instead)
1554 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1556 Patch contributed by Iván Gómez (igomez@igalia.com)
1558 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1561 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1563 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1564 (some_page_func), (main): Update the example to use a
1565 HildonWizardDialogPageFunc function.
1567 * src/hildon-wizard-dialog-private.h: Add private data for
1568 the HildonWizardDialogPageFunc function usage.
1570 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1571 (destroy), (hildon_wizard_dialog_init), (response),
1572 (hildon_wizard_dialog_set_forward_page_func):
1573 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1574 that applications can use to stop a HildonWizardDialog to jump to
1577 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1580 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-program.h
1583 * src/hildon-program-private.h
1584 * src/hildon-program.c (hildon_program_init)
1585 (hildon_program_set_common_app_menu)
1586 (hildon_program_get_common_app_menu):
1587 New API for setting a common HildonAppMenu for all
1588 HildonStackableWindows registered with the HildonProgram.
1590 * src/hildon-stackable-window.c
1591 (hildon_stackable_window_toggle_menu):
1592 Use the common HildonAppMenu if a window doesn't have a specific
1595 * src/hildon-app-menu-private.h
1596 * src/hildon-app-menu.c
1597 (hildon_app_menu_get_parent_window):
1598 Function to obtain the window a HildonAppMenu is attached to.
1599 (hildon_app_menu_set_parent_window):
1600 Hide the menu if the parent window is set to NULL.
1602 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1604 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1605 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1606 search widget to popup.
1608 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1610 * configure.ac: post release version bump
1611 * debian/changelog: version bump
1613 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1618 * configure.ac: bump version
1619 * debian/changelog: updates
1621 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1623 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1625 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1626 (hildon_window_stack_window_realized)
1627 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1628 Set the leader GdkWindow when a window is stacked and realized,
1629 unset it when it's unstacked.
1630 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1632 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1634 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1636 * src/hildon-stackable-window.h
1637 * src/hildon-window-stack.h:
1638 Protect definition of HildonWindowStack using the preprocessor.
1640 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1642 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1643 Fix warning if all menu items are hidden.
1645 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1647 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1649 * src/hildon-controlbar.c:
1650 * src/hildon-hvolumebar.c:
1651 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1652 Multiple scale size defines updates.
1654 Fixes: NB#94322 (Scale Updates)
1656 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1658 * examples/hildon-app-menu-example.c (create_menu)
1659 Show items after adding them to the menu, as in the future the
1660 menu will no longer call gtk_widget_show() on the added items.
1662 * src/hildon-app-menu.c:
1663 Update example as explained above.
1665 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1667 * src/hildon-app-menu.c
1668 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1669 Make sure that all menu items have finger height.
1671 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1673 * src/hildon-picker-dialog.c:
1674 (_on_dialog_response), (_save_current_selection),
1675 (_restore_current_selection), (_clean_current_selection),
1676 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1677 Defined new functions in order to save the current internal selector
1678 selection previous open the dialog, in case that the use cancel the
1679 interaction, so the widget restores the previous selection.
1681 Fixes: NB#92032 (In calendar application, date values in 'new event'
1684 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1686 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1688 * src/hildon-button.c: Add a reference to the button examples in
1689 hildon-button-example.c
1691 * examples/hildon-button-example.c: Added examples of the most
1692 common button layouts.
1694 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1696 * src/hildon-app-menu.c (hildon_app_menu_show)
1697 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1699 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1701 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1703 * src/hildon-picker-dialog.c:
1704 (hildon_picker_dialog_init): Initialize the signal id for
1705 HildonTouchSelector::columns-changed.
1706 (+on_selector_columns_changed): Set up the interaction mode everytime a
1707 column is added or removed from the HildonTouchSelector.
1708 (_hildon_picker_dialog_set_selector): Connect to
1709 HildonTouchSelector::columns-changed and keep track of it.
1711 Make sure to update the interaction mode of the dialog everytime a
1712 column is added or removed in the HildonTouchSelector.
1714 Fixes: NB#93228 (Done button is not shown always in listpicker)
1716 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1718 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1719 a new ::columns-changed signal.
1720 (hildon_touch_selector_append_column): Emit ::columns-changed.
1721 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1723 Add a ::columns-changed signal, emitted when the number of columns in a
1724 HildonTouchSelector changes.
1726 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1728 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1729 (_hildon_picker_dialog_set_selector): Factor out the code
1730 to set up the dialog interaction mode.
1732 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1734 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1735 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1736 to signal_changed_id.
1738 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1740 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1743 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1745 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1746 Updated the logical ids related to ampm format, as now it is required to
1747 show it correctly localized even on languages with no default
1748 abbreviations for am or pm
1749 (_check_am_pm_format): check correctly the 24h format gconf property
1751 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1753 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1755 * src/hildon-button.c: Documentation updates.
1757 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1759 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1760 * src/hildon-caption.c: (hildon_caption_class_init):
1761 * src/hildon-color-button.c: (hildon_color_button_class_init):
1762 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1763 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1764 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1765 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1767 Remove deprecated GTK+ marshalers and replace them with the ones
1768 provided by GLib, for those available, add a marshaler for
1769 BOOLEAN:VOID, which is not available in GLib, and use it.
1771 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1774 the text from the previous column if there is no
1775 HildonTouchSelectorColumn::text-property set.
1777 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1779 * src/hildon-button.h
1780 * src/hildon-button.c (hildon_button_set_property)
1781 (hildon_button_get_property, hildon_button_class_init)
1782 (hildon_button_set_style, hildon_button_get_style):
1783 New "style" property to change the visual appearance of the
1786 * src/hildon-picker-button.c (hildon_picker_button_new):
1787 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1789 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1790 HildonButton look like PickerButton)
1792 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1794 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1795 column while building the default string.
1797 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1799 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1800 scroll indicator by default.
1802 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1804 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1806 * src/hildon-main.c: Fix the documentation for hildon_init()
1808 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1810 * doc/hildon-docs.sgml
1814 * src/hildon-window-stack-private.h
1815 * src/hildon-window-stack.h
1816 * src/hildon-window-stack.c:
1817 New HildonWindowStack object, that adds support for multiple
1818 stacks of windows per process.
1820 * src/hildon-stackable-window-private.h
1821 * src/hildon-stackable-window.h
1822 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1823 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1824 (hildon_stackable_window_show, hildon_stackable_window_hide)
1825 (hildon_stackable_window_class_init)
1826 (hildon_stackable_window_init):
1827 Use HildonWindowStack for stack management.
1829 * src/hildon-program.c (hildon_program_pop_window_stack)
1830 (hildon_program_peek_window_stack)
1831 (hildon_program_go_to_root_window):
1832 Add a fallback implementation to the deprecated functions using
1835 * examples/hildon-stackable-window-example.c:
1836 Use the new HildonWindowStack API.
1838 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1840 * src/hildon-stackable-window-private.h
1841 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1842 (hildon_stackable_window_hide, hildon_stackable_window_init):
1843 Remove all window stack management.
1845 * src/hildon-program-private.h
1846 * src/hildon-program.h
1847 * src/hildon-program.c (hildon_program_init)
1848 (hildon_program_pop_window_stack)
1849 (hildon_program_peek_window_stack)
1850 (hildon_program_go_to_root_window):
1851 Remove all window stack management and mark functions as
1854 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1856 * src/hildon-app-menu.c (hildon_app_menu_realize):
1857 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1859 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1861 * configure.ac: post release version bump
1862 * debian/changelog: version bump
1864 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1869 * configure.ac: bump version
1870 * debian/changelog: updates
1872 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1874 Based on initial code by Christian Dywan (christian@imendio.com)
1876 * doc/hildon-docs.sgml: Add section for hildon-main.
1877 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1878 * src/Makefile.am: Add new hildon-main.[ch]
1879 * src/hildon-defines.h: Update the icon sizes.
1880 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1881 new library initialization files and register icon sizes.
1882 * src/hildon-main.h: New declarations.
1883 * src/hildon.h: Include hildon-main.h
1885 Add new initialization functions to the library. These methods
1886 will register the hildon specific icon sizes and can be used in the
1887 future for other hildon specific bits.
1889 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1891 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1893 * src/hildon-window.c: (hildon_window_realize),
1894 (hildon_window_notify), (-hildon_window_update_title): Do not set
1895 the application name in the window title.
1897 Fixes: NB#89754 (Applications shouldn't display their names in the
1900 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-note-private.h:
1903 * src/hildon-note.c: (hildon_note_set_property),
1904 (hildon_note_get_property), (hildon_note_class_init),
1905 (hildon_note_init), (hildon_note_finalize),
1906 (hildon_note_new_confirmation_with_icon_name),
1907 (hildon_note_new_information_with_icon_name):
1909 No need to mark as deprecated the actual code. Revert
1910 to avoid missing symbols in widgets using deprecated API.
1912 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1914 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1916 * src/hildon-volumebar.h
1917 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1918 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1920 * src/hildon-helper.h
1921 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1922 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1924 * examples/Makefile.am:
1925 Deprecate hildon-insensitive-example
1927 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1929 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1931 * examples/hildon-pannable-area-buttons-scroll-example.c:
1932 Make all buttons finger height
1934 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1936 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1938 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1939 update the day model only if it is really required, and to avoid the
1940 full-reconstruction aproach. Now it only add or remove the required days.
1942 The purpose of this is avoid superfluous HildonTouchSelector::changed
1945 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1946 with strange parameters)
1948 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1950 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1952 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1953 the WINDOW_TYPE property.
1955 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1957 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1960 Fix dependency to allow parallel compilation with make -jX
1962 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1964 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1965 color frame and some minor tweaks to make it more consistent with
1968 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1969 highlighted but not visible)
1971 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1973 * examples/Makefile.am: Fixed typo in the Makefile.am.
1975 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1977 Reviewed the use of MAEMO_GTK define, now we add the define in the
1978 compilation line, and we also add it to the pc file.
1980 * configure.ac: Added MAEMO_GTK define to the compilation command
1981 and removed it from the config.h.
1983 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1984 do not have to take care about this define if the library was
1988 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1990 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1992 * examples/Makefile.am,
1993 * examples/hildon-pannable-area-buttons-scroll-example.c,
1994 * examples/hildon-pannable-area-gesture-signals-example.c,
1995 * examples/hildon-pannable-area-scroll-jump-example.c,
1996 * examples/hildon-pannable-area-tree-view-example.c:
1997 Renamed the pannable area examples, now they have more meaningful
2000 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2002 * src/hildon-touch-selector.c:
2003 (hildon_touch_selector_set_column_selection_mode): Used of
2004 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2005 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2006 to avoid re-seting the same selection mode.
2008 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2009 breaks HildonPickerDialog)
2011 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2013 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2014 conditional in the Makefile.am
2016 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2018 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2019 Remove unused methods.
2021 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2023 * src/hildon-button.c (hildon_button_init):
2024 Make button images center-aligned by default
2026 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2029 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2030 activated, we have to think about how to deal with both defines
2031 MAEMO_GTK and MAEMO_CHANGES.
2033 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2035 * examples/hildon-app-menu-example.c (create_menu): Make all
2036 buttons finger size.
2038 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2040 Fixed the compilation without maemo gtk adding ifdefs with
2041 MAEMO_GTK define to the code, we have to check this version more
2044 * examples/Makefile.am: Added control to avoid some examples that
2045 just make sense with maemo gtk.
2048 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2049 hildon modes with the define.
2051 * examples/hildon-edit-toolbar-example.c,
2052 (create_icon_view): Create the icon view without hildon-gtk
2053 helpers if we are not using maemo gtk.
2055 * src/hildon-touch-selector.c,
2056 (_create_new_column): Create the treeview without hildon-gtk
2057 helpers if we are not using maemo gtk.
2059 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2061 * src/hildon-pnnable-area.c,
2062 (hildon_pannable_area_dispose),
2063 (hildon_pannable_area_button_press_cb),
2064 (hildon_pannable_area_child_mapped),
2065 (hildon_pannable_area_add),
2066 (hildon_pannable_area_remove): Added code to control the position
2067 of the event_window when adding and removing children from the
2068 pannable. We have to raise the event window when the child is
2071 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2072 selection mode using custom widget inside pannable)
2074 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2076 * configure.ac: post release version bump
2077 * debian/changelog: version bump
2079 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2084 * configure.ac: bump version
2085 * debian/changelog: updates
2087 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2089 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2090 search mode, in order to avoid lose the focus on the treeview when
2091 a hw key (like enter) is pressed.
2093 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2094 in HildonDateSelector dialog)
2096 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2098 * debian/rules: Added --enable-maintainer-mode
2099 * Makefile.am: Added ACLOCAL_AMFLAGS
2101 This allows to properly regenerate the Makefiles if you modify the
2102 configure.ac or any Makefile.am.
2104 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2106 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2107 properties, not needed at all.
2109 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2111 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2113 * src/hildon-note.c: (hildon_note_set_property),
2114 (hildon_note_get_property), (hildon_note_class_init),
2115 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2116 (hildon_note_new_confirmation_add_buttons): Remove icons.
2117 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2118 (hildon_note_new_information_with_icon_name): Deprecate.
2119 (hildon_note_new_confirmation): Act directly, without calling
2120 the deprecated constructor.
2121 (hildon_note_new_information): Act directly, without calling
2122 the deprecated constructor.
2123 * src/hildon-note.h: Mark deprecate methods as such.
2124 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2125 not run tests on the deprecated methods if built with deprecation
2128 Fixes: NB#91688 (Never show icons in information notes/confirmation
2131 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2134 (hildon_app_menu_key_press): Remove leftover usage of the
2135 private structure in HildonAppMenu struct.
2136 * src/hildon-app-menu.h: Remove leftover private structure
2137 from the HildonAppMenu struct.
2139 Fixes a crasher when using the HildonAppMenu.
2141 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2143 * src/hildon-picker-dialog.c: Use appropriate logical id
2144 for the default "Done" text.
2146 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2148 * configure.ac: post release version bump
2149 * debian/changelog: version bump
2151 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2153 Modified the way to scroll to the current selection just when the touch
2154 selector is shown on the screen, avoiding a g_idle. Added too a property
2155 to configure this behaviour. See hildon_pannable_area_jump_to_child
2156 documentation for more information.
2158 * src/hildon-touch-selector.c
2159 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2160 Added 'initial-scroll' property
2161 (hildon_touch_selector_set_property): Added
2162 (hildon_touch_selector_map): Removed as not required anymore
2163 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2164 only a concrete column, instead of iterate along all the columns
2166 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2171 * configure.ac: bump version
2172 * debian/changelog: updates
2174 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2176 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2177 compilation time warnings.
2179 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2181 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2182 the default value for HildonPannableArea::mov-mode to
2183 HILDON_PANNABLE_AREA_MODE_VERT.
2185 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2187 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2189 Reverting following commit:
2191 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2193 * src/hildon-app-menu-private.h
2194 * src/hildon-app-menu.[ch]
2195 * src/hildon-button.[ch]
2196 * src/hildon-check-button.[ch]
2197 * src/hildon-entry.[ch]
2198 * src/hildon-pannable-area.[ch]
2199 * src/hildon-text-view.[ch]:
2200 Added private field to the object's structure.
2202 because it causes an ABI breakage. We will need to introduce these
2203 changes later at some point. See NB#91636 for an extensive
2204 explanation and status.
2206 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2208 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2210 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2211 remove special cases that are no longer necessary.
2213 Fixes: NB#91016 (Change toolbar sizes, simplification)
2215 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2218 is shown in the cancel note.
2220 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2222 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2223 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2224 (hildon_seekbar_init): Remove steppers, remove expose event.
2225 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2227 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2229 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2231 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2232 label font to "SmallSystemFont" for vertically arranged buttons.
2234 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2237 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2239 * src/hildon-check-button.c
2240 (hildon_check_button_set_active, hildon_check_button_clicked):
2241 Don't access private parts directly, use getters instead.
2243 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2245 * src/hildon-check-button.c (hildon_check_button_new):
2246 Align the contents of the check button to the left.
2248 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2250 * src/hildon-pannable-area.c,
2251 (hildon_pannable_area_scroll_to),
2252 (hildon_pannable_area_jump_to),
2253 (hildon_pannable_area_scroll_to_child),
2254 (hildon_pannable_area_jump_to_child): Replace the mapped
2255 precondition of these functions with the realized, it is the
2256 correct state of the widget in this case. Changed the
2257 documentation according to this modification.
2259 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2261 Added a new EXTRA_CFLAGS option to add the deprecated define to
2262 the compilation command. This way we can avoid using the define in
2263 the documentation compilation.
2265 * configure.ac: Defined EXTRA_CFLAGS.
2267 * examples/Makefile.am:
2269 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2271 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2273 * src/hildon-picker-dialog.c:
2274 Defined a utility macro with the desired touch selector height
2275 Removed currently unused separator, and title_label variables from
2277 (hildon_picker_dialog_init): Removed code related to the creation
2278 of unused private variables title_label and separator.
2279 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2280 to ensure correct visualization of the touch selector inside the dialog.
2281 * src/hildon-touch-selector.c
2282 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2283 ensure a concrete height of the widget.
2285 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2288 * tests/Makefile.am:
2290 Remove spurious whitespaces.
2292 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2294 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2295 compilation warning after the cancel button removal.
2297 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2299 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2301 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2302 Makefile.am, that way we can choose not to compile some examples
2303 and tests of the deprecated widgets.
2305 * examples/Makefile.am: Divided the sources in deprecated and
2308 * src/Makefile.am: Added undef statement of the deprecated
2309 symbol to the enums file generation process.
2311 * src/hildon-color-chooser-dialog.c
2312 * src/hildon-color-chooser-dialog.h
2313 * src/hildon-color-button.c
2314 * src/hildon-color-button.h
2315 * src/hildon-color-chooser.c
2316 * src/hildon-color-chooser.h
2317 * src/hildon-controlbar.c
2318 * src/hildon-controlbar.h
2319 * src/hildon-date-editor.c
2320 * src/hildon-date-editor.h
2321 * src/hildon-hvolumebar.c
2322 * src/hildon-hvolumebar.h
2323 * src/hildon-private.c
2324 * src/hildon-private.h
2325 * src/hildon-range-editor.c
2326 * src/hildon-range-editor.h
2327 * src/hildon-seekbar.c
2328 * src/hildon-seekbar.h
2329 * src/hildon-time-editor.c
2330 * src/hildon-time-editor.h
2331 * src/hildon-time-picker.c
2332 * src/hildon-time-picker.h
2333 * src/hildon-volumebar.c
2334 * src/hildon-volumebar.h
2335 * src/hildon-vvolumebar.c
2336 * src/hildon-vvolumebar.h
2337 * src/hildon-bread-crumb-trail.h
2338 * src/hildon-bread-crumb-trail.c
2339 * src/hildon-calendar-popup.c
2340 * src/hildon-calendar-popup.h
2341 * src/hildon-weekday-picker.c:
2342 * src/hildon-weekday-picker.h:
2343 * src/hildon-bread-crumb-widget.c:
2344 * src/hildon-bread-crumb-widget.h:
2345 * src/hildon-bread-crumb.c:
2346 * src/hildon-bread-crumb.h:
2347 * src/hildon-calendar.c:
2348 * src/hildon-calendar.h:
2349 * src/hildon-caption.c:
2350 * src/hildon-code-dialog.c:
2351 * src/hildon-code-dialog.h:
2352 * src/hildon-font-selection-dialog.c:
2353 * src/hildon-font-selection-dialog.h:
2354 * src/hildon-get-password-dialog.c:
2355 * src/hildon-get-password-dialog.h:
2356 * src/hildon-login-dialog.c:
2357 * src/hildon-login-dialog.h:
2358 * src/hildon-number-editor.c:
2359 * src/hildon-number-editor.h:
2360 * src/hildon-set-password-dialog.c:
2361 * src/hildon-set-password-dialog.h:
2362 * src/hildon-sort-dialog.c:
2363 * src/hildon-sort-dialog.h: This is the list of deprecated
2366 * src/hildon-touch-selector.c:
2367 * src/hildon-window.c: Added undef statement to avoid compilation
2370 * tests/Makefile.am: Divided the sources in deprecated and
2373 * tests/check_test.c,
2374 (configure_tests): Marked the deprecated code that was adding
2375 suites with deprecated tests.
2377 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2379 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2381 * src/hildon-touch-selector.c: (_default_print_func): Do not
2382 duplicate a string returned by gtk_tree_model_get(), it is already
2385 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2388 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2390 * src/hildon-pannable-area.c
2391 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2392 method, it had problems when adding a widget with viewport the
2393 second time. Now checks if it already has a viewport and uses it.
2395 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2398 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2400 * src/hildon-pannable-area.c,
2401 (hildon_pannable_area_scroll_to),
2402 (hildon_pannable_area_jump_to),
2403 (hildon_pannable_area_scroll_to_child),
2404 (hildon_pannable_area_jump_to_child): Added a precondition to the
2405 scroll and jump to functions: the widget must be mapped before we
2406 can safely call these functions. We have also added documentation
2407 to the functions to explain how to use them in this situation.
2410 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2412 Reviewed the threading handling of the pannable widget, we have
2413 used the gdk_threads_add_timeout function instead of the usual
2414 glib handlers. This avoids some problems with the threads.
2416 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2417 (hildon_pannable_area_initial_effect),
2418 (hildon_pannable_area_scroll_indicator_fade),
2419 (hildon_pannable_area_button_press_cb),
2420 (hildon_pannable_area_timeout),
2421 (hildon_pannable_area_motion_notify_cb),
2422 (hildon_pannable_area_button_release_cb),
2423 (hildon_pannable_area_scroll_cb),
2424 (hildon_pannable_area_scroll_to): Removed the
2425 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2426 gdk_threads_add_timeout.
2428 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2430 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2435 * configure.ac: bump version
2436 * debian/changelog: updates
2438 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2440 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2441 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2442 * src/hildon-color-chooser-dialog.c:
2443 (hildon_color_chooser_dialog_init):
2444 * src/hildon-font-selection-dialog.c:
2445 (hildon_font_selection_dialog_init):
2446 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2448 Remove all cancel/close-like dialogs, as these are not going to be
2451 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2453 * src/hildon-note.c: (hildon_note_rebuild),
2454 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2457 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2459 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2461 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2462 sure all buttons are shown, even the Cancel/Close-like ones.
2464 Fixes: NB#90861 (Custom Confirmation dialogs should be
2465 protected from cancel button removal)
2467 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2469 * debian/control: Change libhildon1-examples dependency from libhildon1
2471 * debian/libhildon1-examples.install
2473 * Makefile.am: Modified the final install directory for the examples on
2474 package libhildon1-examples
2475 * Makefile.static: Update clean target in order to remove all the binary
2478 Changes suggested by Claudio after review new libhildon1-examples package
2480 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2482 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2483 * src/hildon-touch-selector.c: Ditto.
2485 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2487 * debian/control: Added new package libhildon1-examples, in order to pack
2488 the current hildon examples as documentation
2489 * debian/rules: Not to compress .c files, modify some includes on the
2490 examples (as normally are compiled locally, but when installed it will
2491 require to include the installed libhildon1 library), and rename
2493 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2494 install all the example files on the new example package
2495 * examples/Makefile.static: Added static makefile that can be used to
2496 compile the examples, once installed the new example package
2497 * examples: Most of the examples were modified in order to grant that
2498 all use only '#include "hildon.h"', in order to be easy to prepare
2499 it on the example package
2501 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2504 * debian/libhildon1-dev.install
2505 * debian/libhildon1-doc.install:
2506 Move all gtk-doc files to a separate libhildon1-doc package.
2508 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2510 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2512 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2514 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2516 * debian/rules: Fixed a error in order to avoid unnecessary calls
2517 to autogen.sh on package building
2519 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2521 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2523 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2525 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2528 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2530 * src/hildon-picker-button.c
2531 (hildon_picker_button_finalize):
2532 Free priv->done_button_text
2534 * src/hildon-time-button.c
2535 (hildon_time_button_set_time)
2536 * src/hildon-picker-button.c
2537 (hildon_picker_button_clicked)
2538 (hildon_picker_button_selector_selection_changed)
2539 (hildon_picker_button_set_selector)
2540 * src/hildon-date-button.c
2541 (hildon_date_button_set_date):
2542 Free strings returned by hildon_touch_selector_get_current_text()
2544 * src/hildon-button.c (hildon_button_construct_child):
2545 Fix leaks in priv->image and priv->label_box
2547 Fixes: NB#90535 (Memory leak in picker button)
2549 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2551 * src/hildon-button.c: (hildon_button_get_property): Do not access
2552 private elements directly, use getters instead.
2554 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-app-menu-private.h
2557 * src/hildon-app-menu.c
2558 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2559 Store the menu's parent window.
2561 * src/hildon-stackable-window.c
2562 (hildon_stackable_window_toggle_menu)
2563 (hildon_stackable_window_finalize):
2564 Set the menu's parent window when the menu is shown, unset it when
2567 * src/hildon-app-menu.c
2568 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2569 (hildon_app_menu_class_init):
2570 Send unhandled keyboard accelerators to the parent window.
2572 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2574 * src/hildon-stackable-window.c
2575 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2577 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2579 * configure.ac: post release version bump
2581 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2584 * configure.ac: Bump version
2585 * debian/changelog: Updates
2586 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2589 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2591 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2594 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2595 GtkMenu with Hildon style.
2597 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2599 * src/hildon-picker-button.c:
2600 (hildon_picker_button_set_done_button_text): Set the dialog's
2601 done button text here as well.
2603 Fixes: NB#90232 (Picker button does not set the label on done button
2604 for the second time)
2606 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2608 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2611 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2613 * src/hildon-app-menu.c (hildon_app_menu_insert)
2614 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2615 the HildonAppMenu to be activatable using keyboard accelerators
2616 when the menu is not being shown.
2618 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2620 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2622 * src/hildon-stackable-window.c
2623 (hildon_stackable_window_show):
2624 Don't hide old windows automatically when new windows are shown:
2625 this is now a task for the window manager.
2626 (hildon_stackable_window_class_init)
2627 (hildon_stackable_window_hide):
2628 Remove windows from the stack everytime they're hidden.
2629 (hildon_stackable_window_realize):
2630 Don't change the _NET_WM_WINDOW_TYPE property. Use
2631 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2632 it as a stackable window.
2634 * src/hildon-program.c
2635 (hildon_program_pop_window_stack):
2636 Just hide the window to remove it from the stack.
2637 (hildon_program_go_to_root_window):
2638 Don't call gtk_widget_show(), this is now a task for the window
2641 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2643 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2645 * src/hildon-button.c
2646 (hildon_button_construct_child):
2647 Don't pack anything in the button until text or image are
2648 set. This allows adding a custom child after creating the button
2649 with hildon_button_new().
2650 (hildon_button_finalize, hildon_button_class_init)
2651 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2652 alignment and the label box even when they're not packed in the
2655 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2657 * src/hildon-touch-selector.h:
2658 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2659 currently the type definition was using GTK_TYPE_VBOX
2660 * src/hildon-touch-selector.c:
2661 Added some implementation notes in order to clarify that any other widget
2662 added without the column related API will not be included on the
2663 selection logic, and how the widget is freed, as some people ask about
2665 (hildon_touch_selector_remove): Reimplemented in order to free properly
2666 the column related data when you remove the private hbox.
2667 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2668 to get a proper HildonTouchSelectorColumn documentation
2670 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2672 * src/hildon-touch-selector-entry.c:
2673 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2674 text in the GtkEntry and there is no item selected. Fixes a
2677 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2679 * src/hildon-app-menu-private.h
2680 * src/hildon-app-menu.[ch]
2681 * src/hildon-button.[ch]
2682 * src/hildon-check-button.[ch]
2683 * src/hildon-entry.[ch]
2684 * src/hildon-pannable-area.[ch]
2685 * src/hildon-text-view.[ch]:
2686 Added private field to the object's structure.
2688 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2690 * configure.ac: post-release version bump
2692 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2696 * configure.ac: pre-release version bump
2698 * debian/changelog: updates.
2700 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2703 Disconnect the handler for HildonTouchSelector::changed.
2705 (hildon_picker_button_selector_selection_changed): Update the button
2706 value if the selection change was not triggered by the
2709 (hildon_picker_button_set_selector): connect to
2710 HildonTouchSelector::changed.
2712 Fixes: NB#89650 (Picker button is not updated, when selection in
2713 selector has changed)
2715 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2717 * src/hildon-picker-dialog.c
2718 (hildon_picker_dialog_realize): Removed as not required
2719 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2720 * src/hildon-picker-button.c
2721 (_current_selector_empty): New function, checks if the selector is empty
2722 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2723 if the current selector is empty, in order to avoid to show the dialog
2724 close the dialog in this case (and shows a g_warning).
2726 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2728 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2730 * src/hildon-pannable-area.c,
2731 (hildon_pannable_area_scroll): Added clause to stop movement when
2732 the child of pannable is smaller than one page.
2733 (hildon_pannable_area_scroll_to): Added conditions to avoid
2734 starting the scrolling movement if the child is smaller than one
2735 page, the complete child is in the screen, we do not have to move.
2737 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2739 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2741 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2742 this is managed automatically by the widget when the size of the
2745 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2747 * src/hildon-picker-button.c
2748 (hildon_picker_button_set_done_button_text): Make a copy of the
2749 text, and free the previous value.
2751 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2753 * src/hildon-touch-selector-entry.c:
2754 (hildon_touch_selector_entry_print_func): Return the selected row's
2755 text if the entry is empty.
2757 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2760 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2762 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2764 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2767 * src/hildon-check-button.h
2768 * src/hildon-check-button.c
2769 * examples/hildon-check-button-example.c:
2770 HildonCheckButton is now a new widget. 'toggled' signal added.
2772 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2774 * src/hildon-program-private.h
2775 * src/hildon-program.c (hildon_program_init)
2776 (hildon_program_finalize): Removed unused variables group_leader
2777 and name from HildonProgramPrivate.
2779 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2781 * src/hildon-check-button.c (hildon_check_button_set_active)
2782 (hildon_check_button_get_active, hildon_check_button_new): Use
2783 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2785 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2787 * src/hildon-touch-selector.h
2788 (hildon_touch_selector_set_column_attributes): added deprecation
2789 guard HILDON_DISABLE_DEPRECATED
2790 * src/hildon-time-selector.c
2791 (hildon_time_selector_set_time)
2792 (hildon_time_selector_get_time): Fixed a typo on documentation
2793 * src/hildon-touch-selector.c: update HildonTouchSelector and
2794 HildonTouchSelectorColumn documentation
2795 * src/hildon-touch-selector-entry.c: update "text-column" property
2797 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2798 to be added to the general documentation.
2800 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2802 * examples/hildon-pannable-area-example-4.c,
2804 * examples/hildon-pannable-area-example.c,
2805 (main): Modified the code in order to use the container add, with
2806 viewport treeviews could have problems if they are really big.
2808 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2810 * src/hildon-weekday-picker.c,
2811 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2812 the agreement regarding deprecation in the library.
2814 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2816 * examples/hildon-picker-button-multicolumn-example.c:
2817 (main): Use custom "done" button text.
2819 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2820 (hildon_picker_button_set_property),
2821 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2822 (hildon_picker_button_init),
2823 (+hildon_picker_button_get_done_button_text),
2824 (+hildon_picker_button_set_done_button_text): New methods to customize
2825 the "done" button label in the launched HildonPickerDialog. Also,
2828 * src/hildon-picker-button.h: add the public API.
2830 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2832 * src/hildon-date-selector.h:
2833 * src/hildon-picker-dialog.h:
2834 * src/hildon-time-selector.h:
2835 * src/hildon-touch-selector-column.h:
2836 * src/hildon-touch-selector.h:
2838 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2839 declarations. Fixes gtk-doc warnings.
2841 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-picker-dialog.h
2844 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2845 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2847 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2848 long text is set as label for done button)
2850 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-dialog.c (hildon_dialog_add_button):
2853 Set fixed width to all buttons in the HildonDialog.
2855 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2857 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2859 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2860 Set widget name using class name plus "-finger" or "-thumb".
2862 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2865 'clicked' when the state of the button is manually changed.
2867 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2869 * src/hildon-app-menu.c (hildon_app_menu_realize)
2870 (hildon_app_menu_unrealize, hildon_app_menu_init)
2871 (hildon_app_menu_class_init, item_visibility_changed):
2872 Change the menu layout when the size of the screen changes.
2873 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2874 Show warning only when changing the number of colums using the
2877 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2879 * debian/compat: Set to 5
2880 * debian/control: Update dependencies.
2881 * debian/libhildon1-dbg.install: Remove.
2882 * debian/libhildon1-dev.install: Update according to cdbs paths.
2883 * debian/libhildon1.install: Update according to cdbs paths.
2884 * debian/rules: Switch to cdbs.
2886 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2889 'item' variable renamed to 'filter'
2891 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2893 * src/hildon-app-menu.c (hildon_app_menu_insert)
2894 (hildon_app_menu_add_filter, remove_item_from_list)
2895 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2896 Don't leak hidden items when the menu is destroyed.
2898 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2900 * src/hildon-app-menu.c (hildon_app_menu_insert)
2901 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2902 (hildon_app_menu_set_columns, item_visibility_changed)
2903 (filter_visibility_changed, hildon_app_menu_repack_filters)
2904 (hildon_app_menu_repack_items):
2905 Repack items and filters separately.
2907 Don't repack all items, change only the ones that are needed to
2910 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2912 * src/Makefile.am: added hildon-touch-selector-column.h
2914 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2916 * src/hildon-touch-selector.c: added the property "text-column" to the
2917 class HildonTouchSelectorColumn, and related get/set functions
2918 (_default_printf_func): updated to use "text-column" property
2919 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2920 "text-column" in his documentation, as this is now included on
2921 HildonTouchSelectorColumn. The get/set_property can still be used,
2922 working as a wrapper to the concrete column "text-column" property
2923 (_text_column_modified): callback added in order to handle the signal
2924 "notify::text-column" of the concrete HildonTouchSelectorColumn
2925 (hildon_touch_selector_entry_get_text_column)
2926 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2927 modified in order to use the HildonTouchSelectorColumn "text-column"
2929 * src/hildon-time-selector.c:
2930 * src/hildon-date-selector.c:
2931 * examples/hildon-touch-selector-example.c
2932 * examples/hildon-touch-selector-multi-cells-example.c
2933 * examples/hildon-picker-button-multicolumn-example.c
2934 Set the right value to "text-column" property on the creation of a new
2935 column using hildon_touch_selector_append_column()
2937 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2939 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2941 * src/hildon-app-menu.c
2942 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2943 updating the layout of the menu, don't create all widgets again,
2944 just repack the items in their new places.
2946 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2948 * src/hildon-time-selector.c
2949 (hildon_time_selector_get_time)
2950 (hildon_time_selector_set_time)
2951 Added documentation of these public methods
2953 * src/hildon-date-button.h
2954 * src/hildon-touch-selector-column.h
2955 * src/hildon-time-button.h
2956 * src/hildon-picker-dialog.h
2957 * src/hildon-time-selector.h
2958 * src/hildon-picker-button.h
2959 * src/hildon-touch-selector.h
2960 * src/hildon-time-picker.h
2961 * src/hildon-date-selector.h
2962 * src/hildon-touch-selector-entry.h
2963 Modified in order to use hildon-widgets code style
2965 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2967 Added deprecated support to the compilation process using
2968 HILDON_DISABLE_DEPRECATED
2970 * configure.ac: Added the --disable-deprecated to the configure
2973 * src/hildon-weekday-picker.c:
2974 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2975 to use the deprecated support. We will update the other deprecated
2976 widgets status in a new patch.
2978 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2980 * configure.ac: Fixed typo with fatal warnings support, the
2981 variable name was not correct
2983 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2985 * src/hildon-app-menu.c
2986 * src/hildon-program.c: Update documentation.
2988 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2990 * configure.ac: Post-release version bump.
2992 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2997 * configure.ac: Pre-release version bump.
2998 * debian/changelog: Updates.
3000 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3002 * NEWS: Update news for previous releases.
3004 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3006 * examples/hildon-touch-selector-multi-cells-example.c:
3007 (create_selector): Update the example to use
3008 hildon_touch_selector_append_column() with a NULL renderer and set
3009 the renderers later.
3010 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3011 passed a NULL renderer. This is documented behavior now.
3013 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3014 This must be used if the developer wants full control on the layout of
3015 the renderers to be added to the column.
3017 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3019 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3021 * src/hildon-touch-selector.c: Documentation fixes.
3023 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-wizard-dialog-private.h: Remove image and box.
3026 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3027 (hildon_wizard_dialog_set_property), (response): Completely remove
3028 image/icon support, and the containers required for the layout.
3030 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3032 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3034 * src/hildon-app-menu.c: Updated documentation.
3036 * src/hildon-stackable-window.c
3037 (hildon_stackable_window_set_main_menu): Unref the old menu after
3038 ref'ing the new one.
3040 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3042 * src/hildon-stackable-window.c
3043 (hildon_stackable_window_set_main_menu): Unref the previous menu
3044 instead of destroying it.
3046 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3047 floating reference and set has_user_ref_count to FALSE to make
3048 HildonAppMenu act like a normal ref-counted widget and not a
3051 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3054 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3056 * src/hildon-touch-selector-column.h: new file
3057 * src/hildon-touch-selector.h
3058 * src/hildon-touch-selector.c
3059 Implemented GtkCellLayout interface, in order to allow to configure
3060 the cell layout on each individual selector column
3061 (hildon_touch_selector_set_column_attributes): marked as deprecated
3062 * examples/hildon-touch-selector-multi-cells-example.c
3063 Example of how to use the GtkCellLayout interface on the selector
3065 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3067 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3069 * src/hildon-app-menu.h
3070 * src/hildon-app-menu.c
3071 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3072 (hildon_app_menu_append, hildon_app_menu_prepend):
3073 New methods to prepend, insert and move items in the menu.
3075 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3077 * src/hildon-wizard-dialog.c:
3079 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3081 (create_title): Update logical IDs and related code.
3082 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3084 * src/hildon-wizard-dialog.h: Note that
3085 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3086 point, as it is not used anymore.
3088 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3090 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3092 * src/hildon-note.c:
3093 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3094 shown. Do not display an icon in confirmation notes nor information
3096 (hildon_note_set_button_text): Update logical ID for cancel button.
3098 Fixes: NB#88850 (Update HildonNote button strings + signals)
3100 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3102 * src/hildon-stackable-window.c
3103 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3105 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3107 * src/hildon-app-menu-private.h
3108 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3109 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3110 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3111 temporary property 'columns' to change the number of columns.
3113 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3115 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3117 * examples/hildon-note-example.c: (on_information_clicked),
3118 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3119 debugging information.
3120 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3122 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3123 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3124 in order to close: this will be handled by the WM from now on.
3126 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3128 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-app-menu-private.h
3131 * src/hildon-app-menu.c
3132 (hildon_app_menu_append, hildon_app_menu_add_filter)
3133 (button_visibility_changed, hildon_app_menu_apply_style)
3134 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3135 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3136 layout everytime a button (item or filter) is shown or hidden.
3138 * src/hildon-stackable-window.c
3139 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3142 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3144 * src/hildon-touch-selector.c:
3145 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3146 that the treeview inside the touch selector is in fremantle hildon mode
3147 * examples/hildon-date-button-example.c
3148 * examples/hildon-picker-button-multicolumn-example.c
3149 * examples/hildon-touch-selector-entry-example.c
3150 * examples/hildon-touch-selector-example.c
3151 * examples/hildon-time-button-example.c
3152 * examples/hildon-picker-button-example.c:
3153 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3155 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3157 * examples/hildon-text-view-example.c: (main): Remove the
3158 gtkrc bits, now handled by the theme.
3160 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3162 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3165 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3167 * po/Makefile.am: Install properly the mo files.
3168 * po/en_GB.po: Update translation, to ease testing purposes.
3170 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3172 * examples/hildon-picker-button-example.c: (main): Select an item
3173 in the selector before setting it to the button.
3175 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3177 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3178 Update button's value if the selector has an item active.
3180 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3181 'value' with the selector)
3183 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3185 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3186 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3187 (hildon_picker_button_class_init): Plug the finalize method.
3188 (hildon_picker_button_set_selector): If there's a previously set
3189 selector, unref'it before setting a new one.
3191 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3192 HildonTouchSelector)
3194 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3196 * src/hildon-touch-selector-entry.c:
3197 (hildon_touch_selector_entry_changed): Check if there is no text
3198 selected before setting the entry text.
3201 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-touch-selector.h
3204 * src/hildon-touch-selector.c
3205 (hildon_touch_selector_get_active)
3206 (hildon_touch_selector_set_active): New methods to set/get the
3207 index of the selected item.
3209 * src/hildon-picker-button.h
3210 * src/hildon-picker-button.c
3211 (hildon_picker_button_get_active)
3212 (hildon_picker_button_set_active): New methods to set/get the
3213 index of the selected item.
3215 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3217 * configure.ac: post-release version bump.
3219 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3223 * configure.ac: Pre-release version bump.
3224 * debian/changelog: Updates.
3225 * debian/control: Add myself as maintainer and depend on l10n
3228 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3230 * src/hildon-window.c
3231 (hildon_window_set_main_menu)
3232 * src/hildon-stackable-window.c
3233 (hildon_stackable_window_set_main_menu):
3234 Updated documentation.
3236 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3239 Don't free selector->priv manually.
3242 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3245 (hildon_gtk_window_set_progress_indicator):
3246 * src/hildon-gtk.h: Added the new API
3247 hildon_gtk_window_set_progress_indicator, it changes the state of
3248 the window progress hint.
3250 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3252 * src/hildon-button.c
3253 * src/hildon-stackable-window.c: Minor documentation updates.
3255 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3257 * src/hildon-stackable-window.c: Updated documentation.
3259 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3261 * src/hildon-defines.h: Update margins definitions
3262 to the Fremantle sizes.
3265 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3267 * src/hildon-touch-selector.c,
3268 (_hildon_touch_selector_set_model): Cleaning the code after
3269 review, removed g_print and #if 0 from the code.
3271 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3273 * src/hildon-edit-toolbar.c: Update documentation.
3275 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3277 * src/hildon-check-button.h
3278 * src/hildon-check-button.c
3279 (hildon_check_button_set_label, hildon_check_button_get_label)
3280 * examples/hildon-check-button-example.c
3281 (button_clicked_cb):
3282 Removed deprecated methods.
3284 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-text-view.c:
3287 Add sample code to the documentation.
3289 * src/hildon-entry.h
3290 * src/hildon-text-view.h:
3291 Minor cosmetic changes.
3293 * src/hildon-entry.c:
3294 Add sample code to the documentation.
3295 (hildon_entry_init, hildon_entry_refresh_contents):
3296 Don't allow NULL values in the placeholder.
3298 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3300 * doc/hildon-docs.sgml
3302 * examples/Makefile.am
3303 * examples/hildon-text-view-example.c
3305 * src/hildon-text-view.c
3306 * src/hildon-text-view.h
3308 New HildonTextView widget, with example.
3310 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3312 * po/POTFILES.in: Add missing files with translatable strings.
3313 Partially fixes NB#88287.
3315 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3317 * examples/hildon-pannable-area-example-2.c: (main): No need to
3318 set the cellrenderer height inside hildon touch lists, the theme does
3321 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3323 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3324 they are integrated in the theme.
3326 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3328 * examples/hildon-entry-example.c: Update the example adding
3329 widgets to modify the text and the placeholder of the HildonEntry.
3331 * src/hildon-entry.c: Show the placeholder everytime the widget
3332 is empty and loses the focus.
3334 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3336 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3338 * src/hildon-pannable-area.c,
3339 (hildon_pannable_area_size_request): Fixed bug in height
3340 requisition, avoid increasing size and add border twice.
3342 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3344 * configure.ac: postrelease version bump.
3346 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3350 * configure.ac: Prerelease version bump.
3351 * debian/changelog: update.
3352 * debian/rules: make -dbg package contain useful debugging symbols.
3354 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-dialog.h
3357 * src/hildon-dialog.c
3358 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3359 New methods to add buttons with finger size.
3360 (hildon_dialog_new_with_buttons):
3361 Create buttons with finger size.
3363 * examples/hildon-dialog-example.c (main): Use HildonDialog
3364 methods to add buttons.
3366 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3368 * src/hildon-entry.c: Updated HildonButton documentation.
3370 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3373 button value label with (FALSE, FALSE) to prevent NB#88126 from
3376 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3378 * examples/hildon-pannable-area-example.c,
3379 (main): Removed examples panning a vbox inside a pannable
3380 area. Check bug NB#87965
3382 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3384 Patch contributed by Kris Rietveld (kris@imendio.com)
3386 * src/hildon-pannable-area.c,
3387 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3388 get_size and get_position, this saves an X server roundtrip.
3390 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3392 * doc/hildon-docs.sgml
3394 * examples/Makefile.am
3395 * examples/hildon-entry-example.c
3397 * src/hildon-entry.c
3398 * src/hildon-entry.h
3400 New HildonEntry widget, with example.
3402 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3404 * src/hildon-button.c (hildon_button_construct_child): Pack the
3405 image with expand == fill == FALSE. This is a workaround for a bug
3408 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3410 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3411 labels for the text column, to make it more look more dynamic.
3413 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3415 * src/hildon-time-selector.c
3416 Define gettext auxiliar macro N_
3417 (_create_minutes_model)
3418 (_create_hours_model)
3419 (_create_ampm_model): use of strftime in order to fill the model
3420 * src/hildon-date-selector.c
3421 (hildon_date_selector_finalize):
3422 (_locales_init): remove the logic related to get the name of the months
3423 using nl_langinfo, as it is not required anymore
3425 (_create_year_model)
3426 (_create_month_model)
3427 (_update_day_model): use of strftime in order to fill the model properly
3430 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3432 * src/hildon-button.h
3433 * src/hildon-button.c (hildon_button_get_image): New method to
3436 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3438 * src/hildon-touch-selector.c:
3439 (hildon_touch_selector_remove_column): Remove from the correct parent
3440 and also remove the list element and free it.
3443 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3445 * src/hildon-time-selector.c
3446 (_create_hours_model): change the range on 12h ampm format in order to use
3447 a 12-11 range instead of previous 01-12 range
3448 (hildon_time_selector_set_time): change the way to select the current time
3449 on 12h ampm format, due the change on the range
3450 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3453 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3455 * src/hildon-touch-selector.c
3456 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3457 in order to allow use this function on multiple row selection mode if
3458 the column is different that the first one
3461 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3463 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3464 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3466 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3468 * src/hildon-date-selector.h: clean some comments, now on the .c
3469 * src/hildon-date-selector.c
3470 (hildon_date_selector_select_month): first implementation
3471 (hildon_date_selector_select_day): added documentation, reimplemented
3472 using hildon_date_selector_select_current_date to avoid repeat code
3475 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3477 Reviewed interaction logic based on device experiences, refactored
3480 * src/hildon-pannable-area.c,
3481 (hildon_pannable_area_class_init): Updated default vmax speed.
3482 (hildon_pannable_area_calculate_velocity): Added this function, it
3483 avoids duplicate valocity calculation. Adjusted calculation to
3484 avoid problems with zero dist events.
3486 (hildon_pannable_area_motion_notify_cb): Now we use the
3487 calculate_velocity function.
3489 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3491 * src/hildon-date-selector.c
3492 (hildon_date_selector_select_current_date): fix the day range check
3493 as it failed using the last day of the current month
3496 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3498 * src/hildon-touch-selector.c
3499 (hildon_touch_selector_get_num_columns): added a parameter validation
3502 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3504 * examples/Makefile.am
3505 * examples/hildon-edit-toolbar-example.c: Example of the
3506 HildonEditToolbar widget.
3508 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3510 * configure.ac: postrelease version bump.
3512 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3516 * configure.ac: prerelease version bump.
3517 * debian/changelog: update.
3519 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3521 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3522 renderer to display stock icons in the touch list. Also, set the sizes
3523 to the recommended in the style guide.
3525 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3526 * src/hildon-touch-selector.h
3527 (hildon_touch_selector_set_active_iter): renamed, now is
3528 hildon_touch_selector_select_iter
3529 (hildon_touch_selector_get_active_iter): renamed, now is
3530 hildon_touch_selector_get_selected
3531 (hildon_touch_selector_unselect_iter): added
3532 * src/hildon-touch-selector.c
3533 Update after API modification (methods renamed)
3534 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3535 order to avoid problems selecting multiple elements on the column
3536 (hildon_touch_selector_unselect_iter): added the implementation
3537 * src/hildon-time-selector.c
3538 * src/hildon-date-selector.c
3539 * src/hildon-touch-selector-entry.c
3540 Update methods calls after hildon-touch-selector.h API modification (methods
3543 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-stackable-window.c
3546 (hildon_stackable_window_finalize): Call the parent class's finalize.
3548 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3550 * examples/hildon-touch-selector-example.c: (create_selector): Use
3551 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3554 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3556 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3557 set a cell background color, to respect theming.
3559 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3561 * doc/hildon-docs.sgml
3564 * src/hildon-edit-toolbar.c
3565 * src/hildon-edit-toolbar.h
3566 * src/hildon.h: New HildonEditToolbar widget.
3568 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3570 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3573 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3574 * src/hildon-touch-selector.c
3575 (_create_new_column): use g_object_set instead of two g_object_set_property
3577 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3578 * src/hildon-touch-selector.c
3579 (_create_new_column): use of hildon_gtk_tree_view_new to create
3580 the treeview, instead of use directly g_object_new
3581 (_create_new_column): update the property name "vindicator-mode" for the
3582 new one "vscrollbar-policy"
3583 * examples/hildon-date-button-example.c
3584 * examples/hildon-picker-button-multicolumn-example.c
3585 * examples/hildon-touch-selector-entry-example.c
3586 * examples/hildon-touch-selector-example.c
3587 * examples/hildon-time-button-example.c
3588 * examples/hildon-picker-button-example.c
3589 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3590 to all the treeviews inside a pannable area.
3592 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3594 * src/hildon-button.h
3595 * src/hildon-button.c (hildon_button_init)
3596 (hildon_button_set_arrangement, hildon_button_set_alignment)
3597 (hildon_button_set_title_alignment)
3598 (hildon_button_set_value_alignment)
3599 (hildon_button_set_image_alignment)
3600 (hildon_button_construct_child): New methods to set the alignment
3601 of the individual components of the button (title, value,
3602 image). Also, new method to alter the xscale and yscale properties
3603 of the GtkAlignment inside the button, so more complex layouts can
3606 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3608 * src/hildon-button.c (hildon_button_style_set)
3609 (hildon_button_class_init, hildon_button_set_arrangement)
3610 (hildon_button_construct_child): Apply style properties
3611 correctly. Use the 'image-spacing' style property too.
3613 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3615 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3616 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3619 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3621 * src/hildon-pannable-area.c,
3622 (hildon_pannable_area_size_request): Fixed problem with
3623 pannable-area size_request.
3625 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3627 Added management for the grab-focus to a child widget, like a
3628 range, we need to fade out the scrollbar when releasing.
3630 * src/hildon-pannable-area.c,
3631 (hildon_pannable_area_init): Connected the grab-focus signal to
3633 (hildon_pannable_area_grab_notify): Added this function in order
3634 to manage the situation when the grab-focus ends. We have to
3635 fade-out the scrollbar.
3637 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3639 * src/hildon-app-menu.c: Minor documentation update.
3641 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-app-menu.c
3644 * examples/hildon-app-menu-example.c (create_menu): Update
3645 examples and documentation to explain how to connect callbacks.
3647 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3649 * examples/hildon-button-example.c
3650 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3651 hildon_stackable_window_new instead of gtk_window_new
3653 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3655 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3656 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3657 (hildon_pannable_area_set_property),
3658 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3659 (hildon_pannable_area_unrealize),
3660 (hildon_pannable_area_size_request),
3661 (hildon_pannable_area_size_allocate),
3662 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3663 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3664 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3665 (hildon_pannable_area_initial_effect),
3666 (hildon_pannable_area_redraw),
3667 (hildon_pannable_area_scroll_indicator_fade),
3668 (hildon_pannable_area_expose_event),
3669 (hildon_pannable_area_get_topmost), (synth_crossing),
3670 (hildon_pannable_area_button_press_cb),
3671 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3672 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3673 (hildon_pannable_area_motion_notify_cb),
3674 (hildon_pannable_area_button_release_cb),
3675 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3676 (hildon_pannable_area_remove),
3677 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3678 chage the code layout to a more GtkWidget like. Review the use of
3681 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3683 * examples/hildon-pannable-area-example-4.c,
3684 (main): Modified the name of the hindicator_mode to
3687 * src/hildon-pannable-area.c,
3688 (hildon_pannable_area_class_init),
3689 (hildon_pannable_area_motion_notify_cb),
3690 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3691 we have reduced the amount of signals and managed reviewed its
3692 rationale. Changed the default decelerate value.
3694 (hildon_pannable_area_add),
3695 (hildon_pannable_area_redraw): Refactored functions.
3697 (hildon_pannable_area_init),
3698 (hildon_pannable_area_get_property),
3699 (hildon_pannable_area_set_property):
3700 (hildon_pannable_draw_vscroll),
3701 (hildon_pannable_draw_hscroll),
3702 (hildon_pannable_area_initial_effect),
3703 (hildon_pannable_area_expose_event),
3704 (hildon_pannable_area_scroll),
3705 (hildon_pannable_area_button_press_cb),
3706 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3707 and vindicator_mode with hscrollbar_policy and
3708 vscrollbar_policy. Replaced hscroll and vscroll with
3709 hscroll_visible and vscroll_visible.
3711 (hildon_pannable_area_refresh): Refactor the function, remove
3712 variables and check the calls to this function, added resize
3713 conditions in case the children change their layout.
3715 (hildon_pannable_area_size_request): Added more detailed
3716 size_request calculation.
3719 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3721 * src/hildon-color-chooser.c
3722 (init_borders): use the correct gtk_border_free instead of g_free, to
3723 avoid a crash when this widget is used (ie: the three color selection
3726 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3728 * src/hildon-check-button.c,
3729 (hildon_check_button_set_active): Fixed problem when setting the
3730 active value, the widget was not redrawn.
3732 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3734 * src/hildon-pannable-area.c,
3735 (hildon_pannable_area_refresh),
3736 (hildon_pannable_area_scroll),
3737 (hildon_pannable_area_motion_notify_cb): Small code style change.
3739 (hildon_pannable_area_class_init): Default initial_hint set to
3740 FALSE, it is not in the specs.
3742 (hildon_pannable_area_initial_effect),
3743 (hildon_pannable_area_expose_event),
3744 (hildon_pannable_area_map),
3745 (hildon_pannable_area_init): Moved the launching point of the
3746 initial effect, it was in map but the sizes where not correct in
3747 that method so we do not know if we have the reproduce it. Now it
3748 is placed in the expose_event method and uses a variable to
3749 reproduce it just once.
3751 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3753 * src/hildon-pannable-area.c,
3754 (hildon_pannable_draw_vscroll),
3755 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3756 position allowed for the scrollbars.
3758 (hildon_pannable_area_size_allocate): Small style change.
3760 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3762 * src/hildon-pannable-area.c,
3763 (hildon_pannable_area_scroll_indicator_fade),
3764 (hildon_pannable_area_button_press_cb),
3765 (hildon_pannable_area_button_release_cb),
3766 (hildon_pannable_area_scroll_cb),
3767 (hildon_pannable_area_expose_event),
3768 (hildon_pannable_area_init): Added the define parameter
3769 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3770 and refactor the fade variable.
3772 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3774 * src/hildon-pannable-area.c,
3775 (hildon_pannable_area_redraw),
3776 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3777 lines, we were reimplemeting the redraw code.
3779 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3781 * src/hildon-pannable-area.c,
3782 (hildon_pannable_area_scroll_cb),
3783 (hildon_pannable_area_realize),
3784 (hildon_pannable_area_class_init): Added scroll_event management
3785 for pannable area, now we can scroll the usual desktop method.
3787 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3788 initialization of the parameters should depend on idle_id.
3790 (hildon_pannable_area_init),
3791 (hildon_pannable_area_map): Small code style modifications
3793 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3795 * src/hildon-pannable-area.c
3796 (hildon_pannable_area_button_press_cb),
3797 (hildon_pannable_area_motion_notify_cb),
3798 (hildon_pannable_area_button_release_cb),
3799 (hildon_pannable_area_size_allocate),
3800 (hildon_pannable_area_scroll_to): Improved the timeouts
3801 management, we avoid creating them each time.
3803 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3805 * src/hildon-pannable-area.c:
3806 (hildon_pannable_area_refresh),
3807 (hildon_pannable_area_motion_notify_cb),
3808 (hildon_pannable_area_class_init):
3809 * src/hildon-pannable-area.h:
3810 * src/hildon-touch-selector.c
3811 (_create_new_column):
3812 * examples/hildon-pannable-area-example-4.c:
3813 (horizontal_movement),
3814 (vertical_movement),
3816 Replaced the names of enums in the HildonPannableArea:
3817 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3818 HILDON_MOVEMENT_MODE_*
3819 - HILDON_PANNABLE_AREA_MOV_* ->
3821 - Removed HildonPannableAreaIndicatorMode, now we
3824 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3826 * examples/hildon-pannable-area-touch-grid-example.c
3827 * examples/hildon-pannable-area-touch-list-example.c: Fix
3828 compilation warnings.
3830 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3832 * src/hildon-gtk.c (hildon_gtk_button_new)
3833 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3834 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3835 images overriding the value of the "gtk-button-images" setting.
3837 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-check-button.c (hildon_check_button_new):
3840 Instead of using a custom container, display the label and the
3841 checkbox using the standard GtkButton API.
3843 * examples/hildon-check-button-example.c (main): Don't use
3844 hildon_check_button_set_label() anymore
3846 * src/hildon-check-button.h
3847 * src/hildon-check-button.c
3848 (hildon_check_button_set_label, hildon_check_button_get_label):
3849 Set as deprecated, now we're using gtk_button_{get,set}_label()
3851 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3853 * src/hildon-pannable-area.c,
3854 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3855 GtkTreeview first line we detected it after the inclusion of the
3856 GtkWindowImpl in gtk+. We now check if the window is visible, not
3857 just if the pointer is over the window.
3858 (hildon_pannable_axis_scroll),
3859 (hildon_pannable_area_expose_event): Small style changes.
3861 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3863 * src/hildon-button.c: Update documentation.
3865 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3867 * examples/hildon-button-example.c: Add a switch to show images in
3870 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3872 * doc/hildon-docs.sgml: Some docs reorganization.
3874 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3876 * examples/hildon-pannable-area-touch-list-example.c
3878 * examples/hildon-pannable-area-touch-grid-example.c
3879 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3880 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3881 Fix memory leak when setting the tree model.
3883 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3887 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3889 * doc/hildon.types: Remove duplicated hildon_window_get_type
3890 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3891 documentation comment.
3893 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3895 * doc/Makefile.am: Complete list of private headers.
3897 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3899 * doc/hildon-docs.sgml
3900 * src/hildon-app-menu.c
3901 * src/hildon-bread-crumb.c
3902 * src/hildon-button.c
3904 * src/hildon-program.c
3905 * src/hildon-stackable-window.c
3906 * src/hildon-window.c: Lots of documentation updates.
3908 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3910 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3912 * configure.ac: Require Gtk+ 2.12.9 at least
3914 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3916 * src/hildon-pannable-area.c
3917 (hildon_pannable_area_scroll_indicator_fade),
3918 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3919 to protect the return of this timeout callbacks, avoiding deadlocks.
3921 2008-08-12 Christian Dywan <christian@imendio.com>
3924 * src/hildon-*.h: Ensure a consistent include order,
3925 include <gtk/gtk.h> instead of particular files and
3926 only include the topmost header in the gtk stack. See NB #39857
3928 2008-08-12 Christian Dywan <christian@imendio.com>
3930 * src/hildon-picker-dialog.c
3931 * src/hildon-touch-selector.c: Fix warnings about unused and
3932 uninitialized variables.
3934 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3936 * examples/Makefile.am
3937 * examples/hildon-check-button-example.c: Example of the hildon
3940 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3942 * src/hildon-window.h
3943 * src/hildon-window.c (hildon_window_class_init)
3944 (hildon_window_unset_program): Don't make
3945 hildon_window_unset_program a virtual function anymore.
3947 * src/hildon-stackable-window.c: Update documentation
3949 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3952 * doc/hildon-docs.sgml
3953 * doc/visual_index.xml
3954 * src/hildon-defines.c
3956 * src/hildon-helper.c
3957 * src/hildon-range-editor.c: Lots of documentation fixes.
3959 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3961 * examples/hildon-picker-button-multicolumn-example.c
3962 (create_touch_selector): Fix compilation warning.
3964 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3966 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3967 (hildon_pannable_area_button_release_cb)
3968 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3970 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3972 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3975 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3977 * src/hildon-bread-crumb-trail.h
3978 * src/hildon-date-editor.c
3979 * src/hildon-date-selector.c
3980 * src/hildon-pannable-area.c
3981 * src/hildon-picker-dialog.c
3982 * src/hildon-time-selector.c
3983 * src/hildon-touch-selector-entry.c
3984 * src/hildon-touch-selector.c
3985 * src/hildon-touch-selector.h: Misc documentation fixes
3987 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3989 * examples/hildon-date-editor-example.c (main): Updated date
3992 * examples/hildon-note-example.c (on_confirmation_clicked):
3993 Updated confirmation note example.
3995 * src/hildon-date-editor.c
3996 * src/hildon-note.c: Updated sample programs in documentation.
3999 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4001 * src/hildon-date-button.h:
4002 * src/hildon-picker-button.h:
4003 * src/hildon-time-button.c:
4004 * src/hildon-time-button.h:
4006 Some declarations changes to allow gtk-doc to document the widgets
4009 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-date-button.c: Document the widget.
4012 * src/hildon-time-button.c: Document the widget.
4014 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4016 * src/hildon-picker-button.c: Document the widget.
4017 * src/hildon-touch-selector-entry.c: Document the widget.
4019 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4021 * doc/hildon-docs.sgml
4024 * src/hildon-check-button.h
4025 * src/hildon-check-button.c: New functions to create the Hildon
4029 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4031 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4033 * src/hildon-button.h
4034 * src/hildon-button.c
4035 (hildon_button_add_title_size_group)
4036 (hildon_button_add_value_size_group)
4037 (hildon_button_add_image_size_group)
4038 (hildon_button_add_size_groups): New functions to set size groups
4039 for the button labels and image.
4040 (hildon_button_new_full): Removed
4042 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4044 * src/hildon-time-selector.c
4045 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4046 in order to avoid a crash if gconf is not available
4048 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4050 * src/hildon-button.c (hildon_button_set_arrangement)
4051 (hildon_button_construct_child): Don't construct the button child
4052 before setting the arrangement.
4054 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4056 * src/hildon-program-private.h
4057 * src/hildon-program.c
4058 * src/hildon-program.h
4059 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4060 (hildon_program_peek_window_stack)
4061 (hildon_program_pop_window_stack)
4062 (hildon_program_go_to_root_window): HildonProgram now has a
4063 separate list for stackable windows. Functions are provided to
4064 manage that list with a stack-like API.
4066 * src/hildon-stackable-window.c: Stackable window management is
4067 now much simpler with the new HildonProgram API. Windows no
4068 longer need to be manually added to the program, they're
4069 automatically pushed to the top of the stack when shown.
4071 * examples/hildon-stackable-window-example.c: Updated example to
4072 reflect the API changes.
4074 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-touch-selector.c: Comment out unimplemented
4077 hildon_touch_selector_insert_column() to avoid a compile warning.
4079 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4081 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4082 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4083 (hildon_touch_selector_set_column_selection_mode),
4084 (_hildon_touch_selector_set_model),
4085 (hildon_touch_selector_set_model):
4087 Complete review of HildonTouchSelector documentation.
4089 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4091 * doc/hildon-docs.sgml
4095 * src/hildon-gtk.c: Convenience functions for standard Gtk
4096 widgets, used to easily perform frequent operations.
4098 * src/hildon-button-helpers.h
4099 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4101 * src/hildon-helper.h
4102 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4103 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4105 * src/hildon-button.h
4106 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4108 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4110 * src/hildon-button.c (hildon_button_init)
4111 (hildon_button_set_arrangement, hildon_button_construct_child):
4112 Pack the image and the labels inside the same GtkAlignment so
4113 gtk_button_set_alignment() can be used
4115 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4117 * src/hildon-button.h
4118 * src/hildon-button.c
4119 (hildon_button_init, hildon_button_set_image)
4120 (hildon_button_set_image_position)
4121 (hildon_button_construct_child): New functions to add an image to
4124 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4126 * src/hildon-date-button.c
4127 * src/hildon-picker-button.c
4128 * src/hildon-time-button.c
4129 * src/hildon-button.c:
4130 (hildon_button_class_init): "size-flags" renamed to "size"
4131 (hildon_button_set_title): Hide the title label if set to NULL.
4133 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4135 HildonButtonFlags split into HildonButtonArrangement (to set the
4136 button layout) and HildonSizeType (which can be used for any
4139 * src/hildon-button.h
4140 * src/hildon-button.c
4141 (hildon_button_class_init)
4142 (hildon_button_set_arrangement)
4143 (hildon_button_set_property): New "size-flags"
4144 property. "arrangement-flags" renamed to "arrangement".
4145 (hildon_button_new, hildon_button_new_with_text)
4146 (hildon_button_new_full): Constructors updated to reflect type changes.
4148 * src/hildon-helper.h
4149 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4150 to set the size of a widget.
4154 * src/hildon-button-helpers.c
4155 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4157 * src/hildon-date-button.c
4158 * src/hildon-date-button.h
4159 * src/hildon-picker-button.c
4160 * src/hildon-picker-button.h
4161 * src/hildon-time-button.c
4162 * src/hildon-time-button.h: Updated widgets to reflect
4163 HildonButton API changes.
4165 * examples/hildon-button-example.c
4166 * examples/hildon-date-button-example.c
4167 * examples/hildon-picker-button-example.c
4168 * examples/hildon-picker-button-multicolumn-example.c
4169 * examples/hildon-time-button-example.c
4170 * examples/hildon-touch-selector-entry-example.c
4171 * examples/hildon-touch-selector-example.c: Updated examples to
4172 reflect HildonButton API changes.
4174 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4176 * doc/hildon-docs.sgml:
4178 * examples/Makefile.am:
4179 * examples/hildon-touch-selector-entry-example.c:
4181 * src/hildon-touch-selector-entry.c:
4182 * src/hildon-touch-selector-entry.h:
4185 Moved HildonTouchSelectorEntry from sandbox. Added its
4186 documentation and examples.
4188 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-touch-selector.h:
4191 * examples/hildon-picker-button-multicolumn-example.c:
4192 (hildon_touch_selector_append_text_column): Add a gboolean
4193 parameter to determine if text must be centered in the column.
4195 * src/hildon-date-selector.c: (hildon_date_selector_init):
4196 * src/hildon-time-selector.c: (hildon_time_selector_init):
4197 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4198 (create_touch_selector): Update widgets and example to reflect
4201 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/hildon-touch-selector.c:
4204 (hildon_touch_selector_set_active_iter): Set also the cursor in
4207 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4209 * doc/hildon-docs.sgml
4212 * src/hildon-toggle-button.c
4213 * src/hildon-toggle-button.h
4214 * src/hildon.h: Removed HildonToggleButton widget, a derived
4215 class is not necessary for this.
4217 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4219 * src/hildon-pannable-area.c,
4220 (hildon_pannable_area_realize),
4221 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4224 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4226 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4227 "done" button the default widget for the dialog.
4229 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-touch-selector.c:
4232 (hildon_touch_selector_class_init),
4233 (hildon_touch_selector_get_property),
4234 (_hildon_touch_selector_set_model),
4235 (_hildon_touch_selector_has_multiple_selection),
4236 (hildon_touch_selector_has_multiple_selection):
4237 Add a "has-multiple-selection" property with a virtual
4238 has_multiple_selection() method to allow derived classes to
4239 override the default value for it. See the method and property
4240 documentation for details.
4242 * src/hildon-touch-selector.h: Add the new API.
4244 * src/hildon-picker-dialog.c: (requires_done_button): Call
4245 hildon_touch_selector_has_multiple_selection() instead of
4246 determining the need for a button itself.
4248 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4250 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4251 (_hildon_touch_selector_set_model),
4252 (hildon_touch_selector_set_model): Move working code to
4253 _hildon_touch_selector_set_mode(). Call the class method instead.
4255 * src/hildon-touch-selector.h: Add (*set_model) to
4256 HildonTouchSelectorClass.
4258 Make hildon_touch_selector_set_model() a virtual method, so that
4259 derived classes can extend it and do fancy stuff with the model.
4261 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4263 * configure.ac: Set back the tarname in AC_INIT to hildon.
4265 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4269 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4270 instead of libesd (NB#86876). Volume handling is still an open issue.
4272 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4275 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4277 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4278 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4279 derived class to ease placement of an entry widget in
4280 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4281 end, where the selector columns are packed now.
4283 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4285 * src/hildon-picker-button.c: Removed the simple _text() API.
4286 * src/hildon-picker-button.h: Likewise.
4288 * src/hildon-touch-selector.h:
4289 * src/hildon-touch-selector.c:
4290 (hildon_touch_selector_new_text),
4291 (hildon_touch_selector_append_text),
4292 (hildon_touch_selector_prepend_text),
4293 (hildon_touch_selector_insert_text):
4295 Moved the simple _text() API from HildonPickerButton to
4296 HildonTouchPicker, to provide better escalability and not to tie
4297 that API to HildonPickerButton.
4299 * examples/hildon-picker-button-example.c: (main): Example updated.
4301 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4303 * src/hildon-button.c: Updated documentation.
4305 * examples/hildon-button-example.c: Add the posibility to create
4306 the buttons using horizontal layout for title and value.
4308 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4310 * src/hildon-app-menu-private.h
4311 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4312 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4313 GtkSizeGroup for the filters, use the 'homogeneous' property of
4316 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4318 * examples/hildon-button-example.c: Updated example.
4320 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4322 * doc/hildon-docs.sgml:
4325 Update documentation.
4327 * examples/Makefile.am: Update renamed examples.
4329 * examples/hildon-picker-button-multicolumn-example.c:
4330 (create_touch_selector), (main): Update after the rename.
4332 * examples/hildon-touch-picker-example.c: Removed.
4333 * examples/hildon-touch-selector-example.c: (value_changed),
4334 (create_selector), (get_visible_content), (main): Renamed from
4335 hildon-touch-picker-example.c
4337 * src/Makefile.am: Updated renamed files.
4339 * src/hildon-date-button.c: (hildon_date_button_init),
4340 (hildon_date_button_get_date), (hildon_date_button_set_date):
4341 * src/hildon-date-selector.c: (hildon_date_selector_init),
4342 (_custom_print_func), (_update_day_model),
4343 (_manage_selector_change_cb),
4344 (hildon_date_selector_select_current_date),
4345 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4346 * src/hildon-date-selector.h:
4347 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4348 (hildon_picker_button_set_property),
4349 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4350 (hildon_picker_button_init), (hildon_picker_button_new_text),
4351 (hildon_picker_button_append_text),
4352 (hildon_picker_button_prepend_text),
4353 (hildon_picker_button_insert_text),
4354 (hildon_picker_button_set_selector),
4355 (hildon_picker_button_get_selector):
4356 * src/hildon-picker-button.h:
4357 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4358 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4359 (_update_title_on_selector_changed_cb), (requires_done_button),
4360 (_hildon_picker_dialog_set_selector),
4361 (hildon_picker_dialog_set_selector),
4362 (hildon_picker_dialog_get_selector):
4363 * src/hildon-picker-dialog.h:
4364 * src/hildon-time-button.c: (hildon_time_button_init),
4365 (hildon_time_button_get_time), (hildon_time_button_set_time):
4366 * src/hildon-time-selector.c: (hildon_time_selector_init),
4367 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4368 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4369 * src/hildon-time-selector.h:
4372 Massive code updates after the rename.
4374 * src/hildon-touch-picker.c: Removed.
4375 * src/hildon-touch-picker.h: Removed.
4377 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4378 (hildon_touch_selector_init), (hildon_touch_selector_map),
4379 (hildon_touch_selector_remove), (_default_print_func),
4380 (_selection_changed_cb), (_create_new_column),
4381 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4382 (hildon_touch_selector_append_text_column),
4383 (hildon_touch_selector_remove_column),
4384 (hildon_touch_selector_set_column_attributes),
4385 (hildon_touch_selector_insert_column),
4386 (hildon_touch_selector_get_num_columns),
4387 (hildon_touch_selector_get_column_selection_mode),
4388 (hildon_touch_selector_set_column_selection_mode),
4389 (hildon_touch_selector_set_print_func),
4390 (hildon_touch_selector_get_print_func),
4391 (hildon_touch_selector_get_active_iter),
4392 (hildon_touch_selector_set_active_iter),
4393 (hildon_touch_selector_get_selected_rows),
4394 (hildon_touch_selector_get_model),
4395 (hildon_touch_selector_set_model),
4396 (hildon_touch_selector_get_current_text),
4397 (_hildon_touch_selector_center_on_selected_items):
4398 * src/hildon-touch-selector.h: Renamed from
4399 hildon-touch-picker.[ch]
4401 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4402 references, code examples, and related documentation.
4404 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4406 * doc/hildon-docs.sgml
4409 * src/hildon-toggle-button.c
4410 * src/hildon-toggle-button.h
4411 * src/hildon.h: New HildonToggleButton widget.
4413 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4415 * src/hildon-button.c: Add API documentation.
4416 (hildon_button_set_size_groups): Check input parameters
4418 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4420 * src/hildon-pannable-area.c
4421 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4422 effect after reaching the movement thredshold. This way we start
4423 using the distance after passing the thredshold.
4425 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4427 * src/hildon-button.c: (hildon_button_set_property): Use the
4428 appropriate g_value_get_flags() method.
4430 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4432 * doc/hildon-docs.sgml:
4435 Add the touch pickers, picker dialogs, and picker button widgets
4436 to the documentation.
4438 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4440 * src/hildon-button.c: (hildon_button_set_property),
4441 (hildon_button_class_init): Make "arrangement-flags" a proper
4442 G_TYPE_FLAGS derived property.
4444 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4446 * examples/Makefile.am: Add below examples.
4447 * examples/hildon-date-button-example.c:
4448 * examples/hildon-picker-button-example.c:
4449 * examples/hildon-picker-button-multicolumn-example.c:
4450 * examples/hildon-time-button-example.c:
4451 * examples/hildon-touch-picker-example.c:
4453 Add examples for the recently added touch pickers,
4454 picker dialogs, and picker button widgets.
4456 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4458 * src/hildon-button.c: Add some API documentation
4460 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4462 * src/hildon-button.h
4463 * src/hildon-button.c
4465 (hildon_button_new_with_text): New constructor to create a button
4466 with no text at all.
4467 (hildon_button_init, hildon_button_set_arrangement)
4468 (hildon_button_set_title, hildon_button_set_value)
4469 (hildon_button_set_text)
4470 (hildon_button_construct_child): Hide the value when it's not used
4471 so the rest of the text is properly aligned.
4472 Allow creating buttons with arbitrary widgets inside (not just
4473 title/value labels).
4475 * examples/hildon-button-example.c (vertical_buttons_window)
4476 (horizontal_buttons_window): Update example to use new API.
4478 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4480 * src/Makefile.am: Added HildonTimeButton.
4481 * src/hildon-time-button.c: Added missing LGPL header.
4482 * src/hildon-time-button.h: Added missing LGPL header.
4483 * src/hildon.h: Add hildon-time-button.h
4485 Copied HildonTimeButton from sandbox to trunk. Future work on this
4486 widget must take place in trunk.
4488 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4490 * src/Makefile.am: Added HildonDateButton.
4491 * src/hildon-date-button.c: Update includes.
4492 * src/hildon.h: Add hildon-date-button.h
4494 Copied HildonDateButton from sandbox to trunk. Future work on this
4495 widget must take place in trunk.
4497 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4499 * src/Makefile.am: Added HildonPickerButton.
4500 * src/hildon-picker-button.h: Update includes.
4501 * src/hildon.h: Add hildon-picker-button.h
4503 Copied HildonPickerButton from sandbox to trunk. Future work on
4504 this widget must take place in trunk.
4506 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4508 * src/Makefile.am: Added HildonPickerDialog.
4509 * src/hildon-picker-dialog.c: Update includes.
4510 * src/hildon.h: Add hildon-picker-dialog.h
4512 Copied HildonPickerDialog from sandbox to trunk. Future work
4513 on this widget must take place in trunk.
4515 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4517 * src/Makefile.am: Added HildonTimeSelector.
4518 * src/hildon.h: Add hildon-time-selector.h
4520 Copied HildonTimeSelector widget from sandbox to trunk. Future
4521 work on this widget must happen in trunk.
4523 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4525 * src/Makefile.am: Added HildonDateSelector.
4526 * src/hildon.h: Add hildon-date-selector.h
4528 Copied HildonDateSelector widget from sandbox to trunk. Future
4529 work on this widget must happen in trunk.
4531 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4533 * src/Makefile.am: Added HildonTouchPicker.
4534 * src/hildon-touch-picker.c: Update includes.
4535 * src/hildon.h: Add hildon-touch-picker.h
4537 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4538 on this widget must happen in trunk.
4540 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4542 * src/hildon-pannable-area.c:
4543 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4545 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4547 * examples/hildon-app-menu-example.c (main): Let the window
4550 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4552 * src/hildon-pannable-area.c
4553 (hildon_pannable_area_class_init): Set the min value of the
4554 overshoot properties to zero, which points out that not
4555 overshooting allowed.
4557 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4559 Modified the procedure to get the widget at a point inside the
4560 pannable area when using the movement type signals. Now the user
4561 has to call a function to get the child, that way we just
4562 calculate the child in case the user really want to use it and not
4565 * src/hildon-marshalers.list: Modified the marshallers, now we do
4566 not have the widget as a parameter.
4568 * src/hildon-pannable-area.c
4569 (hildon_pannable_area_motion_notify_cb),
4570 (hildon_pannable_area_class_init),
4571 (hildon_pannable_get_child_widget_at): Removed the widget
4572 parameter from the signal callback. We have also refactored the
4573 emission of the signals.
4575 * src/hildon-pannable-area.h: Added a new method to the API to
4576 calculate a widget at a point inside the pannable area,
4577 hildon_pannable_get_child_widget_at.
4579 * examples/hildon-pannable-area-example-4.c
4580 (horizontal_movement): Modified the example to use the new API,
4581 added condition to control which widget is under the event. This
4582 way we can avoid scrolling laterally over other widgets.
4584 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4586 * src/hildon-pannable-area.c
4587 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4588 modes, we stop getting the pointer events due to returning the
4589 callback without properly calling the get pointer again. Fixed
4590 also an error using the hscroll and vscroll.
4592 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4594 * src/hildon-app-menu-private.h
4595 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4596 (hildon_app_menu_button_release, hildon_app_menu_init)
4597 (hildon_app_menu_class_init): Don't hide the menu on button
4598 release if the user didn't press outside first.
4600 * src/hildon-window.h
4601 * src/hildon-window.c (hildon_window_toggle_menu)
4602 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4603 hildon_window_toggle_menu a virtual function for the stackable
4604 window to override it.
4606 * src/hildon-stackable-window.h
4607 * src/hildon-stackable-window-private.h
4608 * src/hildon-stackable-window.c
4609 (hildon_stackable_window_realize)
4610 (hildon_stackable_window_finalize)
4611 (hildon_stackable_window_class_init)
4612 (hildon_stackable_window_init)
4613 (hildon_stackable_window_set_main_menu): New function to set the
4614 app menu of a HildonStackableWindow.
4616 * examples/hildon-app-menu-example.c: Remove the button to show
4617 the app menu, now it'll be shown when clicking on the title bar
4620 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4622 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4623 set the widget name if the arrangement flags do not specify
4626 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4628 * src/hildon-button.c: (hildon_button_set_property),
4629 (hildon_button_class_init), (hildon_button_new_full),
4630 (hildon_button_set_arrangement): Added "arrangement-flags"
4633 Make the HildonButtonFlags a construction-only property, to allow
4634 subclasses to set them properly.
4636 2008-07-21 Tim Janik <timj@imendio.com>
4638 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4639 insertion position after backspace, so additional digits are appended,
4642 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4644 * src/hildon-pannable-area.c,
4645 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4646 TODO list, it was complete and removed the g_debug and g_print
4649 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4651 Added the movement modes to the hildon-pannable-area, with this
4652 modes the developers can control in which directions the widget
4653 can scroll. They can also connect to signals in order to do
4654 something when that happens, allowing applications scroll. There
4655 is an example uploaded showing how to use it.
4657 * examples/Makefile.am:
4658 * examples/hildon-pannable-area-example-4.c: Added this example of
4659 an application using the modes.
4661 * src/hildon-marshalers.list: Added a new marshaller for the new
4664 * src/hildon-pannable-area.h: Added new enumerations and flags in
4665 order to control the movement modes and the new signals to warn
4666 about the movements in the area.
4668 * src/hildon-pannable-area.c:
4669 (hildon_pannable_axis_scroll),
4670 (hildon_pannable_area_scroll),
4671 (hildon_pannable_area_motion_notify_cb),
4672 (hildon_pannable_area_get_property),
4673 (hildon_pannable_area_set_property),
4674 (hildon_pannable_area_map),
4675 (hildon_pannable_area_class_init),
4676 (hildon_pannable_area_init),
4677 (hildon_pannable_area_jump_to): Added the modes to control the
4678 movement in the widget. We have added properties to control it,
4679 signals to warn about the movements and refactored some code.
4681 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4683 Changes required in order to allow vfast_factor set to zero to
4686 * src/hildon-pannable-area.c:
4687 (hildon_pannable_area_button_press_cb): Changed the condition, it
4688 is required for not allowing click when vfast_factor is zero.
4689 (hildon_pannable_area_timeout): Initialized velocity variables
4690 when we stop moving, it was less than 1 but not zero and we need
4691 to check zero in some situations.
4692 (hildon_pannable_area_class_init): Changed the default value of
4693 the speed factor, now the button_press is just sent in case the
4694 speed is 2 per cent of the max speed.
4695 (hildon_pannable_area_init): Initialization with 0.
4697 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4699 * src/hildon-pannable-area.c,
4700 (hildon_pannable_area_get_topmost): replaced
4701 gdk_window_get_children with gdk_window_peek_children, this way we
4702 do not have to free the list because it is not a copy.
4704 (hildon_pannable_axis_scroll),
4705 (hildon_pannable_area_scroll),
4706 (hildon_pannable_area_timeout),
4707 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4708 two parameters that were only used inside the
4709 hildon_pannable_area_scroll function.
4711 * examples/hildon-pannable-area-example.c,
4712 (get_sawtooth_label): Fixed small memory leak.
4714 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4716 More checks for the case where the overshoot is bigger than the
4719 * src/hildon-pannable-area.c:
4720 (hildon_pannable_draw_vscroll),
4721 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4722 to draw the slider of the scrollbar under the other scrollbar.
4723 (hildon_pannable_area_expose_event): added new checks to control
4724 the drawing of the overshooting area rectangle, in case it is too
4725 big for the area of the widget.
4726 (hildon_pannable_area_size_allocate): add more checks to avoid
4727 setting a position to the child widget outside the area.
4729 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4731 * src/hildon-pannable-area.c
4732 (hildon_pannable_area_size_allocate): Added conditions to control
4733 when overshooting is bigger than the allocated space for the
4734 children, this avoids negative allocations.
4736 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4738 * doc/hildon-docs.sgml
4740 * examples/Makefile.am
4741 * examples/hildon-button-example.c
4743 * src/hildon-button.c
4744 * src/hildon-button.h
4745 * src/hildon.h: Initial version of the new HildonButton widget,
4748 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4750 * src/hildon-pannable-area.c:
4751 (hildon_pannable_area_button_press_cb),
4752 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4753 (hildon_pannable_area_motion_notify_cb),
4754 (hildon_pannable_area_button_release_cb),
4755 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4756 (hildon_pannable_area_jump_to_child):
4758 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4760 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4762 * examples/Makefile.am
4763 * examples/hildon-pannable-area-touch-grid-example.c
4764 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4765 the Hildon Touch List and Hildon Touch Grid using the
4766 HildonPannableArea widget.
4768 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4770 * src/hildon-pannable-area.c,
4771 (hildon_pannable_area_button_press_cb),
4772 (hildon_pannable_area_refresh),
4773 (hildon_pannable_area_scroll),
4774 (hildon_pannable_area_motion_notify_cb),
4775 (hildon_pannable_area_button_release_cb),
4776 (hildon_pannable_area_expose_event),
4777 (hildon_pannable_area_add),
4778 (hildon_pannable_area_remove),
4779 (hildon_pannable_area_realize),
4780 (hildon_pannable_area_size_allocate),
4781 (hildon_pannable_area_class_init),
4782 (hildon_pannable_area_init),
4783 (hildon_pannable_area_scroll_to_child),
4784 (hildon_pannable_area_jump_to_child): Fixed the problem of
4785 removing the child from the GtkBin, we have rearranged the widget
4786 hierarchy, now there is no GtkAlignment which was not doing
4787 anything interesting but breaking some of the assumptions of
4788 GtkContainer. Now developers if they want to add a GtkAlignment
4789 they could, but it is not inside the area.
4791 We had to review the whole allocation/expose process, now it is
4792 improved and we save at least three signals which would be saving
4793 some time when rendering the widget. The allocation of the
4794 scrollbars is now made in the allocate method as usual.
4796 We have also added some conditions in order to control when there
4797 is no child of the pannable area. Maybe we will need more work
4800 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4802 * src/hildon-pannable-area.c,
4803 (hildon_pannable_area_dispose): Released the fade-out timeout when
4804 disposing the widget.
4806 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4808 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4809 zero, we are going to use that property in order to deactivate the
4811 (hildon_pannable_axis_scroll),
4812 (hildon_pannable_area_size_allocate): Added conditions to control
4813 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4814 call, now it is called in all situations and we can remove calls
4815 in the allocate method.
4816 (hildon_pannable_area_map): Control the situation when
4817 overshoot_max is zero, we do not need the timeout.
4818 (hildon_pannable_area_class_init): Added documentation in order to
4819 point out that setting zero to overshoot_max means deactivate
4822 NOTE: removed trailing whitespaces from my previous comments of
4825 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4827 * src/hildon-pannable-area.c
4828 (hildon_pannable_area_get_property),
4829 (hildon_pannable_area_set_property),
4830 (hildon_pannable_area_map),
4831 (hildon_pannable_area_class_init),
4832 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4833 to cause the widget give a hint about its panning abilities upon
4836 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4838 * src/hildon-pannable-area.c: Several documentation improvements.
4840 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-program.c
4843 * src/hildon-stackable-window.c: Update documentation.
4845 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4847 * src/hildon-stackable-window.c (get_previous_window_if_last):
4848 Renamed get_last_window()
4849 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4850 (hildon_stackable_window_unset_program):
4852 (get_previous_window_if_last):
4853 Detect if the window hasn't been added to a HildonProgram.
4855 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4857 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4859 * src/hildon-pannable-area.c
4860 (hildon_pannable_area_button_press_cb),
4861 (hildon_pannable_axis_scroll),
4862 (hildon_pannable_area_scroll),
4863 (hildon_pannable_area_timeout),
4864 (hildon_pannable_calculate_vel_factor),
4865 (hildon_pannable_area_get_property),
4866 (hildon_pannable_area_set_property),
4867 (hildon_pannable_area_class_init),
4868 (hildon_pannable_area_init),
4869 (hildon_pannable_area_scroll_to),
4870 (hildon_pannable_area_jump_to),
4871 (hildon_pannable_area_scroll_to_child),
4872 (hildon_pannable_area_jump_to_child):
4873 * src/hildon-pannable-area.h: Added the new API functions:
4874 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4875 hildon_pannable_area_scroll_to_child,
4876 hildon_pannable_area_jump_to_child
4879 * examples/Makefile.am
4880 * examples/hildon-pannable-area-example-2.c
4881 * examples/hildon-pannable-area-example-3.c: Added these two new
4882 examples in order to test and show how the new APIs work.
4884 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4886 * examples/hildon-stackable-window-example.c (new_window):
4887 * src/Makefile.am (noinst_HEADERS):
4888 * src/hildon-program.c (hildon_program_go_to_root_window):
4889 * src/hildon-program.h:
4890 * src/hildon-stackable-window-private.h:
4891 * src/hildon-stackable-window.c:
4892 * src/hildon-stackable-window.h:
4893 Create hildon-stackable-window-private.h
4894 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4896 * examples/hildon-app-menu-example.c (create_menu):
4897 * examples/hildon-hvolumebar-insensitive-example.c (main):
4898 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4899 * examples/hildon-toolbar-seekbar-example.c (main):
4900 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4901 * src/hildon-banner.c (hildon_banner_set_property):
4902 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4903 Fix compilation warnings
4905 * src/hildon-window.c:
4908 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4910 * src/hildon-stackable-window.c
4911 (hildon_stackable_window_unset_program):
4912 Calculate correctly whether to show the previous window if the
4913 last one is removed from the stack.
4914 (hildon_stackable_window_go_to_root_window):
4915 Send delete events starting from the topmost window.
4916 Stop if one of the windows is not destroyed.
4918 (hildon_stackable_window_delete_event)
4919 (hildon_stackable_window_class_init):
4920 Ignore the delete event if the window is not the topmost one.
4922 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4924 * src/hildon-pannable-area.c
4925 (hildon_pannable_area_expose_event): Fixed a problem when
4926 selecting the background color of the scrollbars.
4928 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4930 * examples/hildon-stackable-window-example.c
4931 * src/hildon-stackable-window.c
4932 * src/hildon-stackable-window.h
4933 hildon_stackable_window_go_home() renamed to
4934 hildon_stackable_window_go_to_root_window()
4935 Send delete events to windows rather than closing them with
4936 gtk_widget_destroy()
4938 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4940 * src/hildon-pannable-area.c
4941 (hildon_pannable_area_button_release_cb): Fix overshooting in
4944 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4946 * src/hildon-pannable-area.c
4947 (hildon_pannable_area_init): Initially show the scroll indicators.
4948 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4950 Add initial effect showing the widget is pannable.
4952 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4954 * src/hildon-pannable-area.c
4955 (hildon_pannable_area_class_init)
4956 (hildon_pannable_area_set_property)
4957 (hildon_pannable_area_get_property)
4958 (hildon_pannable_area_button_press_cb):
4959 New 'velocity_fast_factor' property to decide which velocity is
4962 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4964 * src/hildon-pannable-area.c
4965 (hildon_pannable_draw_hscroll)
4966 (hildon_pannable_draw_vscroll):
4967 Use float variables to calculate the size of the scrollbars to
4968 avoid error propagation and resizing during scrolling.
4970 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-pannable-area.c
4973 (hildon_pannable_draw_vscroll)
4974 (hildon_pannable_draw_hscroll):
4975 Define a minimum size for the scroll bars
4977 * src/hildon-stackable-window.c
4978 (hildon_stackable_window_go_home): Fix compilation warning
4979 (get_last_window): Minor optimizations
4980 (hildon_stackable_window_class_init): Fix initialization of
4983 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4985 * src/hildon-stackable-window.c: Fixed typos in doc
4987 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4989 * src/hildon-pannable-area.c
4990 (hildon_pannable_area_scroll):
4991 Calculate here whether we need to scroll instead of using the booleans
4992 that tell us whether to /draw/ the scrolling bars.
4994 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4996 * src/hildon-app-menu.h
4998 * src/hildon-app-menu.c
4999 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5000 multiple filter groups related code and API. Now we support only
5002 * examples/hildon-app-menu-example.c:
5004 Update to reflect API changes.
5006 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5008 * src/hildon-stackable-window.c
5009 (hildon_stackable_window_class_init):
5010 Add hildon_stackable_window_realize.
5011 (hildon_stackable_window_realize):
5012 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5013 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5014 to apply theming and behavior specific to HildonStackableWindow
5017 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5019 * src/hildon-note.c (hildon_note_button_release):
5020 Close information notes also when tapping on them
5022 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5024 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5025 ELASTICITY, refactor and review, fix some issues with drawing
5028 * src/hildon-pannable-area.c:
5029 (hildon_pannable_area_button_press_cb): removed the conditions to
5030 avoid clicks when overshooting. It is not required
5032 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5033 define. Refatored and reviewed the code, now we do not need to
5034 manage velocity in motion_notify.
5036 (hildon_pannable_area_motion_notify_cb): We have moved the code
5037 that controls the area_scroll to the axis_scroll function and get
5038 rid of duplicated code.
5040 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5042 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5044 (hildon_pannable_draw_vscroll),
5045 (hildon_pannable_draw_hscroll): Fixed the problems with the
5046 scrollbar drawing, now we do not use two surfaces, it is easier
5047 and saves resources.
5049 (hildon_pannable_area_get_property): Style modification.
5051 (hildon_pannable_area_class_init): Changed some default values.
5053 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5055 * src/hildon-stackable-window.c: Fix some typos in the
5058 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5060 * src/hildon-dialog.c:
5061 Change indentation style
5064 (hildon_note_button_release):
5065 Use root coordinates to check if the release event happened
5068 * src/hildon-app-menu.c
5069 (hildon_app_menu_button_release):
5070 Remove unnecessary check
5072 * examples/hildon-app-menu-example.c
5074 Add cast to fix warning
5076 * src/hildon-app-menu.c
5077 (hildon_app_menu_class_init):
5078 New inner-border style property.
5079 Set all default spacings to 16
5080 (hildon_app_menu_init):
5081 Use vertical-spacing to set the space between filter buttons and
5082 regular menu buttons.
5083 Set the default container border using the inner-border value.
5085 * examples/hildon-app-menu-example.c
5087 Don't set the menu border explicitly, now we have the inner-border
5088 style property for that.
5090 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5092 * src/hildon-app-menu.c (hildon_app_menu_init):
5093 Make the window modal
5095 * src/hildon-note.c (hildon_note_map)
5096 * src/hildon-app-menu.c (hildon_app_menu_map):
5097 Destroy the grab window if we're unable to grab the pointer
5099 * src/hildon-app-menu-private.h
5100 * src/hildon-app-menu.c
5101 (hildon_app_menu_init, hildon_app_menu_finalize)
5102 (hildon_app_menu_map, hildon_app_menu_unmap)
5103 (hildon_app_menu_button_release)
5104 (grab_transfer_window_get):
5105 Bring back the grab window
5106 (hildon_app_menu_realize):
5107 Decorate the window, set WM hint for Matchbox
5109 * src/hildon-note.c (hildon_note_realize):
5110 * src/hildon-banner.c (hildon_banner_realize):
5111 Add WM hints for Matchbox
5113 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5115 * src/hildon-app-menu-private.h
5116 * src/hildon-app-menu.c
5117 (hildon_app_menu_init, hildon_app_menu_finalize)
5118 (hildon_app_menu_map, hildon_app_menu_unmap)
5119 (hildon_app_menu_button_release):
5120 Remove the grab window, it's not needed anymore
5122 * src/hildon-program.c
5123 Fixed typo in documentation
5125 * src/hildon-app-menu.h
5126 * src/hildon-app-menu.c
5127 * examples/hildon-app-menu-example.c
5128 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5130 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5133 Added new transfer_window and close_if_pressed_outside private
5135 (hildon_note_rebuild):
5136 Don't add a cancel button to the information note. It will be
5137 closed when tapping outside
5138 Remove the comment about the OK button in the documentation
5139 (hildon_note_realize):
5140 Set the notification type hint
5141 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5142 Grab/ungrab pointer and keyboard if the note has to be closed when
5144 (hildon_note_button_release):
5145 Close the note when tapping outside (if applicable)
5147 * src/hildon-app-menu.c
5148 Grab/ungrab pointer and keyboard on map/unmap
5149 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5150 Close the menu on button release, not button press
5152 * src/hildon-banner.c
5153 (hildon_banner_set_property)
5154 (hildon_banner_check_position):
5155 Make the banner use the full width of the screen
5156 (hildon_banner_show_information)
5157 (hildon_banner_show_information_with_markup):
5158 Don't display an icon by default
5160 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5162 Added fading scrollbars and adapted all the overshooting code to
5163 horizontal scrolling. We have also fixed bugs with overshooting
5164 and current fading implementation.
5166 * src/hildon-pannable-area.c
5167 (hildon_pannable_area_scroll_indicator_fade): Time out function
5168 used to change the transparency of the scrollbars.
5170 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5171 control and fixed a problem with fading, we now remove the fade
5172 timeout before adding a new one.
5174 (hildon_pannable_axis_scroll):
5175 (hildon_pannable_area_scroll):
5176 (hildon_pannable_area_timeout): Added this functions so we can use
5177 the scroll code both for vertical and horizontal.
5179 (hildon_pannable_area_motion_notify_cb):
5180 (hildon_pannable_area_button_release_cb): Added the horizontal
5181 scrolling control, fixed a problem with the overshooting timeout.
5183 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5184 painting of the scrolls.
5186 (hildon_pannable_draw_vscroll):
5187 (hildon_pannable_draw_hscroll):
5188 (hildon_pannable_area_expose_event):
5189 Draw both scrollbars and rectangles in the overshooting area.
5191 (hildon_pannable_area_get_property):
5192 (hildon_pannable_area_set_property):
5193 Modified the overshoot property to overshoot_max
5195 (hildon_pannable_area_map):
5196 Replaced the comments symbols.
5198 (hildon_pannable_area_size_allocate):
5199 (hildon_pannable_area_class_init):
5200 (hildon_pannable_area_init): Added horizontal scroll, fading
5201 effect properties, fixed a problem when overshooting in the bottom
5204 * examples/hildon-pannable-area-example.c:
5205 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5206 looks better in the example.
5208 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5210 * src/hildon-window.c
5211 * src/hildon-window.h
5212 (hildon_window_class_init)
5213 (hildon_window_unset_program)
5214 (hildon_window_unset_program_real):
5215 Make unset_program a virtual function
5217 * src/hildon-stackable-window.c
5218 * src/hildon-stackable-window.h
5219 Added hildon_stackable_window_go_home()
5221 * examples/Makefile.am
5222 * examples/hildon-stackable-window-example.c
5223 HildonStackableWindow example
5225 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5227 * hildon-pannable-area.c: Added the overshoot property and removed
5228 the OVERSHOOT define. Fixed an indent style error.
5229 (hildon_pannable_area_motion_notify_cb):
5230 (hildon_pannable_area_get_property):
5231 (hildon_pannable_area_set_property): Add overshoot property.
5233 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5236 (hildon_pannable_area_class_init): Installed the new property.
5238 * hildon-pannable-area-example.c: Added a sawtooth function, this
5239 way it is easier to check the movement in the pannable.
5240 (get_sawtooth_label): Added this function.
5241 (main): Now we get the labels from the new get_sawtooth_label
5244 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5246 * src/hildon-app-menu.h
5247 * src/hildon-app-menu.c
5248 Renamed API variables for consistency
5250 (hildon_app_menu_popup): Use also the default window size to
5251 decide where to place the menu
5253 (hildon_app_menu_init, hildon_app_menu_class_init): New
5254 external-border style property
5256 2008-05-26 Michael Natterer <mitch@imendio.com>
5258 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5259 widget_class->tap_and_hold_setup signal slot doesn't exist any
5260 longer, stop overriding it.
5262 (hildon_time_editor_init): g_signal_connect() to the
5263 tap-and-hold-setup signal instead.
5265 (hildon_time_editor_entry_keypress): add cast to fix warning.
5267 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5269 * doc/hildon-docs.sgml
5271 * examples/Makefile.am
5272 * examples/hildon-app-menu-example.c
5274 * src/hildon-app-menu-private.h
5275 * src/hildon-app-menu.c
5276 * src/hildon-app-menu.h
5278 New HildonAppMenu widget
5280 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5282 Rearranged the inheritance of the pannable area, now it inherits
5283 from GtkBin. This will allow us to control the event_window and
5284 the allocation process of the widget, required for some effects.
5286 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5287 GtkBin structures. * src/hildon-pannable-area.c: Added the
5288 event_window variable.
5289 (hildon_pannable_area_button_press_cb):
5290 (hildon_pannable_area_button_release_cb):
5291 (hildon_pannable_area_motion_notify_cb):
5292 Changed the signature of the method, now we override the event
5293 callback instead of connecting to the signal.
5295 (hildon_pannable_area_realize):
5296 (hildon_pannable_area_unrealize):
5297 (hildon_pannable_area_map):
5298 (hildon_pannable_area_unmap):
5299 (hildon_pannable_area_size_allocate):
5300 Added functions to control the widget construction. We add a
5301 INPUT_ONLY window and we put it over the widgets inside the
5302 container, this event_window handles the events.
5304 (hildon_pannable_area_class_init):
5305 Replaced the signal connections with overrides of the event
5308 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5310 Bouncing effect added when touching the borders, you can change
5311 the elasticity of the border changing the ELASTICITY define.
5313 * src/hildon-pannable-area.c: Added ELASTICITY define.
5314 (hildon_pannable_area_timeout): Added inverse velocity when
5315 touching the border of the child widget, that causes a bounce.
5317 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5319 Improved performance, we now do not go to the X server in order to
5320 get the list of window children. Apparently the effect is the
5321 same, we have to be careful and check if this breaks something in
5324 * src/hildon-pannable-area.c:
5325 (get_ordered_children): Removed this function.
5326 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5327 the children windows function with gdk_window_get_children.
5329 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5331 * src/hildon-pannable-area.c:
5332 (hildon_pannable_area_dispose): Fixed a crash when closing the
5333 window and kinetics is activated.
5335 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5337 * src/hildon-pannable-area.h
5338 * src/hildon-pannable-area.c
5339 Changed indentation style to meet the one used in Hildon
5341 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5343 Reviewed the interaction of the AUTO mode, now we use the time
5344 attribute of the events and calculate the velocity in the motion,
5345 doing a gimp like calculation. The velocity is calculated in each
5346 motion event using the last velocity and the current one, the
5347 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5349 * src/hildon-pannable-area.c: Replaced the time based algorithm
5351 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5352 timeout for the AUTO mode when we are still moving the cursor. We
5353 added also the velocity calculation in this function.
5354 (hildon_pannable_area_button_release_cb): launch the timeout in
5355 case we are in AUTO mode. There are still some constants here that
5356 come from the old implementation that should be reviewed and
5359 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5361 * doc/hildon-docs.sgml
5364 * src/hildon-stackable-window.c
5365 * src/hildon-stackable-window.h
5367 New HildonStackableWindow widget
5369 * examples/hildon-dialog-example.c
5370 * examples/hildon-pannable-area-example.c
5373 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5375 * src/hildon-dialog.c
5376 (hildon_dialog_new_with_buttons): New constructor.
5378 * examples/hildon-dialog-example.c
5379 (main): Update the example to use the new
5380 hildon_dialog_new_with_buttons().
5382 * examples/hildon-pannable-area-example.c
5383 (main): Update example.
5385 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5387 * doc/hildon-docs.sgml
5389 Added HildonPannableArea to the documentation.
5391 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5393 * doc/visual_index.xml
5394 Fix reference to HildonLoginDialog in documentation
5396 * doc/hildon-docs.sgml
5398 * examples/Makefile.am
5399 * examples/hildon-dialog-example.c
5401 * src/hildon-dialog.c
5402 * src/hildon-dialog.h
5404 New HildonDialog widget.
5406 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5408 * src/hildon-pannable-area.c
5409 Merge latest changes (r4318, r4342) from libmokoui trunk
5411 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5413 * examples/Makefile.am
5414 * examples/hildon-pannable-area-example.c
5416 * src/hildon-pannable-area.c
5417 * src/hildon-pannable-area.h
5419 New HildonPannableArea widget.
5421 2008-04-15 18:05:19 <timj@imendio.com>
5423 * src/hildon-banner.c: revert the recent change, that introduced
5424 gtk_window_present() calls. this reopens:
5425 Bug 78481 - [freetest] information banners are hidden under browser menu
5426 But resolves another variant of:
5427 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5429 2008-04-15 13:21:13 <timj@imendio.com>
5431 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5432 recreated its layout, spotted by Kris. this fixes all remaining
5433 artefacts and stability issues with the banner code. in particular:
5434 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5436 2008-04-14 16:52:59 <timj@imendio.com>
5438 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5439 operating on unrealized widgets, fixes:
5440 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5442 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5444 2008-04-09 Kristian Rietveld <kris@imendio.com>
5446 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5447 makes banner disappear.
5448 Fixes: NB#79182: info banner flickering with certain message lengts.
5450 * src/hildon-banner.c (hildon_banner_constructor),
5451 (hildon_banner_init), (hildon_banner_set_text),
5452 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5453 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5454 FALSE, reset size requests of label and banner,
5455 (force_to_wrap_truncated): when the text is too wide, always enforce
5456 the maximum possible width instead of recalculating it from the
5457 layout; enforce the maximum banner height of 3 lines,
5458 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5459 nicer wrapping and no truncated chars if space gets tight.
5461 * src/hildon-banner-private.h: add has_been_wrapped and
5462 has_been_truncated fields.
5464 2008-04-07 Sven Herzberg <sven@imendio.com>
5466 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5467 local values in hildon_date_editor_size_allocate
5469 * src/hildon-date-editor.c: moved the real allocation code into the
5472 2008-04-07 Sven Herzberg <sven@imendio.com>
5474 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5475 local values in hildon_date_editor_size_allocate
5477 * src/hildon-date-editor.c: merged the two if() branches together
5479 2008-04-07 Sven Herzberg <sven@imendio.com>
5481 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5482 local values in hildon_date_editor_size_allocate
5484 * src/hildon-date-editor.c: changed the arguments of the if()
5487 2008-04-07 Sven Herzberg <sven@imendio.com>
5489 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5490 local values in hildon_date_editor_size_allocate
5492 * src/hildon-date-editor.c: split the calculation of the allocation
5493 from the real allocation
5495 2008-03-27 Michael Natterer <mitch@imendio.com>
5497 Fixes: NB#81696: The passcode is not overwritten even after
5500 * src/hildon-code-dialog.c
5501 (hildon_code_dialog_button_clicked)
5502 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5503 because that doesn't overwrite selected text. Instead, emit the
5504 "commit" signal on the entry's im_context so the entry's normal
5505 insert logic is triggered. Set the cursor to the end of the entry
5506 after each insert operation so that we *only* insert in the middle
5507 of the text if something was selected.
5509 2008-03-27 Michael Natterer <mitch@imendio.com>
5511 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5512 selector cannot be opened
5514 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5515 when the popup color selector is created. Please connect to this
5516 signal in order to set the dialog's help ID.
5518 2008-03-25 Sven Herzberg <sven@imendio.com>
5520 Fixes: MB#1212: Hide info banners (infoprints) on click
5522 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5523 extracted the close event simulation into an extra function
5524 (hildon_banner_button_press_event): simulate a close event and destroy
5525 the widget if the event wasn't handled
5526 (hildon_banner_class_init): added the button_press_event handler
5527 (hildon_banner_init): added button-press events to the widget
5529 2008-03-25 Sven Herzberg <sven@imendio.com>
5531 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5532 Patch from: Mohammad Anwari <mdamt@maemo.org>
5534 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5535 instead of the right in RTL mode
5536 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5537 breadcrumb button list in RTL mode
5538 * src/hildon-caption.c: mirror the appearance of the caption widget in
5540 * src/hildon-date-editor.c: mirror appearance of the date editor in
5542 * src/hildon-time-editor.c: mirror appearance of the time editor in
5544 * src/hildon-window.c: fix the position of the popup in RTL mode
5546 2008-03-25 Sven Herzberg <sven@imendio.com>
5548 Amendment to the fix of NB#22072. Fix compilation.
5550 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5552 2008-03-19 Sven Herzberg <sven@imendio.com>
5554 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5557 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5558 timeout id properly when the timeout will disappear this leaves no
5559 artifacts around in the destroy(); there will only be the timeout
5560 created by hildon_banner_ensure_timeout() and adding a new timeout
5561 will also work if the timeout gets removed because the timeout_handler
5564 2008-03-19 Michael Natterer <mitch@imendio.com>
5566 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5568 * src/hildon-volumebar.c
5569 * src/hildon-vvolumebar.c
5570 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5571 the widget becomes focussable at all.
5573 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5574 set the focus to wither the mute button or the volumebar.
5576 Remove own "can-focus" property and instead listen to
5577 notify::can-focus in order to update the widget's state.
5579 Implement GtkWidget::focus() and make sure we can also *leave* the
5580 widget, not only enter it, depending on volumebar orientation and
5581 requested focus direction.
5583 Clean up set_mute() to cooperate nicely with all the above.
5585 2008-03-04 Michael Natterer <mitch@imendio.com>
5587 Fixes: NB#78481: information banners are hidden under browser menu
5589 * src/hildon-banner.c: call gtk_window_present() on the banners so
5590 they are risen if they are already visible.
5592 2008-03-03 Sven Herzberg <sven@imendio.com>
5594 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5596 * examples/hildon-window-menu-example.c: (main): extended the window
5597 menu example to serve as a testcase for automatically added
5598 accelerator groups, too
5599 * src/hildon-window.c: (hildon_window_add_accel_group),
5600 (hildon_window_set_menu): added patch by Tommi Komulainen
5602 2008-03-03 Sven Herzberg <sven@imendio.com>
5604 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5606 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5607 knowledge about the border allocators used within GTK+
5609 2008-02-26 Sven Herzberg <sven@imendio.com>
5611 Fixes: MB#2981: Build with asserts broken
5613 * src/hildon-date-editor.c,
5614 * src/hildon-number-editor.c,
5615 * src/hildon-time-editor.c,
5616 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5617 the proper GType instance check
5619 2008-02-25 Sven Herzberg <sven@imendio.com>
5621 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5623 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5624 * examples/hildon-window-menu-example.c: (main): explicitly show
5626 * src/hildon-window.c:
5627 (hildon_window_set_main_menu): moved most of the code from set_menu()
5628 to this place; skipped the call to gtk_widget_show_all(); also didn't
5629 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5630 (hildon_window_set_menu): removed most of the code, just keep the
5631 questionable gtk_widget_show_all()
5632 * src/hildon-window.h: added the new function and deprecate the old
5635 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5641 * debian/changelog: Updating.
5643 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5646 * pkgconfig/Makefile.am:
5647 * pkgconfig/hildon.pc.in:
5650 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5651 use newly created API_MAJOR_VERSION.
5653 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5659 * debian/changelog: Updating.
5661 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5663 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5665 Add outer_border style property, we use it but don't define it (!).
5669 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5671 * examples/hildon-bread-crumb-trail-example.c (main):
5675 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5677 Fix logic for the bread crumb trail node removal.
5681 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5687 * debian/changelog: Updating.
5689 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5691 Patch by Alejandro to get/set passwords dialogs accesibility.
5693 * hildon-1/src/hildon-get-password-dialog.c:
5694 * hildon-1/src/hildon-set-password-dialog.c:
5695 Set atk_set_name to the passwd entries in order to allow
5696 accessibility by name on this entries.
5698 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5703 * debian/control: Updating gtk dep.
5705 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5707 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5708 USE_MAEMO_GTK is enabled.
5710 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5712 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5713 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5715 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5721 * debian/changelog: Updating.
5723 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5725 * examples/Makefile.am:
5726 * examples/hildon-logical-color-example.c:
5727 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5728 applied + adding a test case. Fixes: NB#71660.
5730 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5732 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5733 to be visible, fixes warning on map for windows without toolbars.
5735 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5737 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5738 2.11.0, add a check for that besides the MAEMO_GTK check.
5740 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5746 * debian/changelog: Updating.
5748 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5751 visibility. Fixes: NB#70842 and MB#615.
5753 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5755 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5756 set the separator as no-show-all so it doesn't unintentionally appear when
5757 someone does a show_all.
5759 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5761 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5762 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5763 toplevel item. Fixes: NB#62031
5765 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5767 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5768 fix the name of the function in the docs.
5770 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5776 * debian/changelog: Updating.
5778 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5780 * examples/hildon-banner-long-example.c: Adding a test-case for long
5783 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5785 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5787 * src/hildon-color-chooser-dialog.c:
5788 * src/hildon-color-chooser.c:
5789 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5790 memory leaks in font selector and color selector. Fixes: NB#70499 and
5793 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5795 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5797 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5799 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5800 little bit bigger. Fixes: #NB63694.
5802 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5808 * debian/changelog: Updating.
5810 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5813 * doc/hildon-docs.sgml:
5814 * doc/images/bread-crumb-trail.png:
5815 * doc/images/calendar-popup.png:
5816 * doc/images/caption.png:
5817 * doc/images/code-dialog.png:
5818 * doc/images/color-button.png:
5819 * doc/images/color-chooser-dialog.png:
5820 * doc/images/color-chooser.png:
5821 * doc/images/controlbar.png:
5822 * doc/images/date-editor.png:
5823 * doc/images/font-selection-dialog.png:
5824 * doc/images/get-password-dialog.png:
5825 * doc/images/hvolumebar.png:
5826 * doc/images/login-dialog.png:
5827 * doc/images/note.png:
5828 * doc/images/number-editor.png:
5829 * doc/images/range-editor.png:
5830 * doc/images/seekbar.png:
5831 * doc/images/set-password-dialog.png:
5832 * doc/images/sort-dialog.png:
5833 * doc/images/time-editor.png:
5834 * doc/images/time-picker.png:
5835 * doc/images/vvolumebar.png:
5836 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5837 Adding the bread-crumb-trial and helpers to the documentation.
5839 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5841 * examples/hildon-find-toolbar-example.c:
5842 * src/hildon-find-toolbar.c:
5843 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5844 actually continue firing the other handlers if connected. Adding a new
5846 hildon_find_toolbar_get_last_index that gets the index of the most
5847 recently added (last) item. Fixes: NB#52301.
5849 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5851 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5852 behaviour. Fixes: NB#68610.
5854 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5856 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5859 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5861 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5862 when realizing the banner. Should make the infonbanner effect a bit more
5865 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * src/hildon-volumebar.c:
5868 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5869 hildon_volumebar_set_range_insensitive_message and
5870 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5872 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5874 * src/hildon-window.c: Fixing the border freeing on destroy.
5876 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5878 * src/hildon-code-dialog-private.h:
5879 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5880 kw keyboard support in HildonCodeDialog.
5882 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5888 * debian/changelog: Updating.
5890 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5892 * src/hildon-date-editor.c:
5893 * src/hildon-number-editor.c:
5894 * src/hildon-private.c:
5895 * src/hildon-private.h:
5896 * src/hildon-time-editor.c:
5897 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5898 handling in subclassed composite widgets. Fixes: NB#66628.
5900 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5902 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5903 from destroy_ callback as it introduces problems in async dbus signal
5904 handlers. Fixes NB#66673.
5906 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5908 * examples/hildon-hvolumebar-example.c:
5909 * src/hildon-volumebar.c: Improving the focus handling in the
5910 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5911 set_property accessor so that "mute" property can be actually set. I'm
5912 scared that nobody noticed it's totally broken.
5914 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5916 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5919 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5921 * src/hildon-calendar.c:
5922 * src/hildon-number-editor.c:
5923 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5924 matches the spec of 6 chars per second. Fixes: NB#60489.
5926 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5928 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5929 gtk_style_lookup_color sometime returns FALSE even though color was
5930 found and values were filled properly. Weird. Removing the warning for the
5933 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5935 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5936 expand vertically. Adding some extra space to the find toolbar buttons to
5937 make them thumbable. Fixes NB#66060.
5939 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5941 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5942 popup with "Ok" and "Cancel". Fixes NB#59299.
5944 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5946 * src/hildon-calendar.c: Process all window updates before executing next
5947 timeout. Fixes: NB#54146.
5949 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5955 * debian/changelog: Updating.
5957 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5959 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5960 the client event and ignore it, since we use the delete event to close
5963 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5965 * src/hildon-helper.c: Remove the bogus warning about color not being
5966 found. Fixes NB#58352.
5968 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * examples/Makefile.am:
5971 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5972 HildonSeekbar widget inside a toolbar.
5974 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5976 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5977 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5978 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5979 don't want to be closed by non-temporary windows on map.
5981 Also use G_DEFINE_TYPE instead of manually typed code.
5983 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5990 * debian/rules: Updating.
5992 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * examples/Makefile.am:
5995 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5996 bug NB#61128. Strangely it works.
5998 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6000 * src/hildon-date-editor.c: When the date editor entry has been changed
6001 but the numbers of characters < max, turn off the skip validation flag.
6002 Prevents a situation when we enter first a valid year and later re-write
6003 it with an invalid one. Fixes NB#60154.
6005 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6007 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6008 code dialog. Fixes NB#64355.
6010 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6012 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6013 switching the page. Fixes NB#49374.
6015 * examples/Makefile.am:
6016 * examples/hildon-wizard-dialog-example.c: Adding an example for
6017 HildonWizardDialog that shows how to handle manual sensitivity setting on
6020 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6024 * src/hildon-version.h.in:
6025 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6027 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6029 * src/hildon-volumebar.c: Updating the docs.
6031 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6037 * debian/changelog: Updating.
6039 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6041 * src/hildon-find-toolbar.c:
6042 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6043 selected item: hildon_find_toolbar_set_active,
6044 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6045 hildon_find_toolbar_get_active_iter . They correspond to respective
6046 GtkComboBox functions.
6048 * examples/Makefile.am:
6049 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6052 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6054 * examples/Makefile.am:
6055 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6058 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6059 when font size > 32 and we pack a focusable widget inside. Actually using
6060 the default response would work too, but since we don't show default
6061 response state in any way (no theming) it would not be visible to the
6062 user. Fixes NB#63430.
6064 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6066 * src/hildon-date-editor.c: Adding the missing variable setter in the
6067 set_property handler. Fixes NB#54182.
6069 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6071 * src/hildon-window.h: Changing the long key press time from 1500ms to
6072 800ms as requested in NB#63700. I have a bad feeling about this, let's
6073 see... Fixes NB#63700.
6075 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6077 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6078 hildon_time_picker_map, hildon_time_picker_realize,
6079 hildon_time_picker_style_set): Split the contents of map to more
6080 appropriate functions; set window decorations on realize and update
6081 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6083 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6088 * debian/changelog: Updating.
6090 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6092 * src/Makefile.am: fixed installation of the header files
6094 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6100 * debian/changelog: Updating.
6102 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6104 * configure.ac: Removing some remaining of --enable-xan.
6106 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6108 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6109 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6111 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6112 2.10.12-osso6 because the move-focus signal needs to be available in
6115 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6117 * examples/Makefile.am:
6118 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6119 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6120 fine. Prolly NB#61128 is fixed now.
6122 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6124 * src/hildon-volumebar.c:
6125 * src/hildon-volumebar.h: Adding the
6126 hildon_volumebar_set_range_insensitive_message and
6127 hildon_volumebar_set_range_insensitive_messagef functions to set
6128 insensitive message on the slider of the volumebar. Fixes NB#61129.
6130 * examples/Makefile.am:
6131 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6132 test the new insensitive messsage functionality on HildonVolumebar.
6134 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6136 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6139 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6141 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6142 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6143 button on after clearing the trail.
6145 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6147 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6149 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6151 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6152 by splitting the installed headers in generated and non-generated groups. Use
6153 only the non-generated headers to create the hildon-enum-types.h file.
6155 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6157 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6159 * src/hildon-window.c: Hide the window before performing the destroy.
6160 Should make the app closing a little tiny bit more snappy.
6162 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6164 * src/hildon-seekbar.c: add gtkrange.h header
6165 * src/hildon-caption.c: remove unused variable
6167 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6169 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6172 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6178 * debian/changelog: Updating.
6180 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6182 * src/hildon-window.c (hildon_window_window_state_event,
6183 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6184 escape timeout on focus-out-event rather than notify::is-topmost; the
6185 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6187 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6189 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6190 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6192 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6194 * src/hildon-window: actually, you need to use the macro always, there's
6195 no private pointer in the instance structure. We should have cleaned this up
6196 when we had the chance...
6198 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6200 * src/hildon-window.c: do not get the private date from HildonWindow before
6201 it passes the g_return_if_fail check. Once it's passed the test, there's no
6202 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6203 if you are only going to access the data once. Whitespace cleanups.
6205 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6207 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6208 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6210 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6216 * debian/changelog: Updating.
6218 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6220 * src/hildon-window.c: When destroying the window, remove (if exists) the
6221 escape timeout handler. Fixes #NB59276.
6223 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6225 * src/hildon-banner.c: When realizing the widget, set the window
6226 transiency. Setting the transiency in the gobject constructor is not
6227 good, as the widget is not realized at that point. Fixes: #NB56624.
6229 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6231 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6232 Add padding for future expansions.
6234 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6236 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6237 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6238 will fake an activation on the previous to the last item of the trail, so
6239 the effect can be overrided by the developer as usual.
6240 Also change the callback for the back button to do the same thing, so its
6241 effect can be overrided too. Fixes: NB#58982
6243 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6245 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6246 HildonCaption. Fixes NB#52379.
6248 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6250 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6251 the internal state of the trail after the user has had the chance of executing
6252 his handler for the signal. Specifically, it may happen that the activated button
6253 is removed and the user still lets the default handler run. This would segfault
6256 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6258 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6259 scrollbar to the preview dialog. Fixes NB#54147.
6261 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6263 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6264 max/min year properties can be altered, so the client can modify it
6265 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6267 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6269 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6270 hildonlike by default. Fixing a problem with disappearing arrows when
6271 scrolling through months and years. Fixes NB#54127.
6273 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6275 * examples/hildon-date-editor-example.c: Adding error callback to the date
6278 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6284 * configure.ac: Updating.
6286 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6288 * configure.ac: Adding a special '--enable-xan' configure option that
6289 turns off the -Werror compilation setting. Usefull for development.
6291 * src/hildon-calendar.c:
6292 * src/hildon-number-editor.c:
6293 * src/hildon-time-picker.c: Adding the 5* multiplier to
6296 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6298 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6299 instead of g_object_ref + gtk_object_sink.
6301 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6307 * debian/changelog: Updating.
6309 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6311 * src/hildon-color-chooser-dialog.c:
6312 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6313 straight from Tommi labs.
6315 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6317 * examples/hildon-finger-example.c: Correcting the header file path.
6319 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6320 the changed signal. Fixes a small memory leak.
6322 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6326 * src/hildon-banner.c: Importing several usefull fixes from the
6327 ubuntu-mobile branch.
6329 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6331 * examples/Makefile.am:
6332 * examples/hildon-finger-example.c: Adding a finger-checking code
6335 * src/hildon-font-selection-dialog.c: Do not allocate the color
6336 structure using the g_new. Fixes NB#54061.
6338 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6340 * src/hildon-helper.c: Correcting tabs in file.
6342 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6344 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6345 control the visibility of the children.
6347 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6349 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6355 * debian/changelog: Updating.
6357 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6359 * src/hildon-bread-crumb-trail.c:
6360 (hildon_bread_crumb_trail_size_allocate):
6362 Make the back button always a square.
6364 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6366 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6367 from the .c file as it's a private file.
6369 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6371 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6372 uses slightly bigger height.
6374 * src/hildon-font-selection-dialog.c: Adding some checks before
6375 freeing memory in the font selection dialog.
6377 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6379 * src/hildon-font-selection-dialog.c: Adding a small check when
6382 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6383 buttons sensitivity on page switching.
6385 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6387 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6388 internal details of adding a bread crumb to the trail.
6390 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6396 * debian/changelog: Updating.
6398 * src/hildon-bread-crumb-trail.h:
6399 * src/hildon-bread-crumb.h: Changing the API guard to
6400 HILDON_ENABLE_UNSTABLE_API.
6402 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6410 * src/hildon-helper.h: Updating.
6412 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6420 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6424 * src/hildon-helper.h: Small fix to make the package actually compile.
6426 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6428 * src/hildon-bread-crumb-trail.h:
6429 * src/hildon-bread-crumb.h:
6431 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6432 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6434 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6436 * examples/hildon-bread-crumb-trail-example.c:
6438 * src/hildon-bread-crumb-trail.c:
6439 * src/hildon-bread-crumb-trail.h:
6440 * src/hildon-bread-crumb.c:
6441 * src/hildon-bread-crumb.h:
6442 * src/hildon-marshalers.list:
6443 * src/hildon-bread-crumb-widget.c:
6444 * src/hildon-bread-crumb-widget.h:
6446 Slight change in the widget design. The bread crumb trail API is
6447 unchanged, but HildonBreadCrumb is now an interface. A *private*
6448 implementation, hildon-bread-crumb-widget, is provided and used
6449 internally by the trail for the push_text/push_icon functions.
6451 The generic push API is still available, so anyone can implement
6452 and use its own bread crumb widget.
6454 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6456 * debian/rules: Fixing the shlibs.
6458 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6460 * src/hildon-banner.c: Fixing a problem with timed banners having
6461 their parrent destroyed before they are.
6463 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6465 * src/hildon-bread-crumb.c:
6466 * src/hildon-bread-crumb.h:
6468 Make the get_natural_size function a vfunc.
6470 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6472 * src/hildon-bread-crumb.c:
6473 * src/hildon-bread-crumb-trail.c:
6477 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6484 * debian/changelog: Updating for release.
6486 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6488 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6489 don't leak the pango layout.
6491 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6494 * examples/hildon-bread-crumb-trail-example.c:
6498 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6500 * debian/changelog: Removing the bug-fixed entries that were actually
6501 resolved as WONTFIX.
6503 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6506 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6508 * src/hildon-bread-crumb-trail.c:
6509 * src/hildon-bread-crumb-trail.h:
6510 * src/hildon-bread-crumb.c:
6511 * src/hildon-bread-crumb.h:
6515 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6517 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6518 until it's passed the type check.
6520 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6522 * examples/hildon-bread-crumb-trail-example.c
6526 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6528 * examples/Makefile.am
6529 * examples/hildon-bread-crumb-trail-example.c
6531 * src/hildon-bread-crumb-trail.c
6532 * src/hildon-bread-crumb-trail.h
6533 * src/hildon-bread-crumb.c
6534 * src/hildon-bread-crumb.h
6536 New HildonBreadCrumbTrail widget.
6538 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6540 * src/hildon-range-editor.c (hildon_range_editor_init),
6541 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6542 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6543 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6544 hildon_time_editor_class_init, hildon_time_editor_init),
6545 src/hildon-get-password-dialog.c (invalid_input,
6546 hildon_get_password_set_property, hildon_get_password_get_property,
6547 create_contents, hildon_get_password_dialog_set_max_characters),
6548 src/hildon-set-password-dialog.c (create_contents),
6549 src/hildon-date-editor.c (hildon_date_editor_init),
6550 src/hildon-login-dialog.c (hildon_login_dialog_init),
6551 src/hildon-number-editor.c (hildon_number_editor_init),
6552 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6553 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6554 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6555 configure option and adding the respective checks in the code.
6556 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6557 hildon_calendar_drag_data_received): fixed some build warnings.
6559 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6561 * debian/changelog: A 1.0.0 release notes.