1 2009-02-18 Alberto Garcia <agarcia@igalia.com>
3 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
4 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
6 2009-02-18 Alberto Garcia <agarcia@igalia.com>
8 * src/hildon-gtk.c: Check that the window is realized.
10 Fixes: NB#102225 (Crash setting the progress indicator to a non
13 2009-02-17 Alberto Garcia <agarcia@igalia.com>
15 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
16 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
17 instead of modifying the one in the widget style.
19 Fixes: NB#101043 (Second row of all the command button are
20 displayed in transparent mode.)
22 2009-02-17 Alberto Garcia <agarcia@igalia.com>
24 * src/hildon-date-button.c
25 * src/hildon-time-button.c: Add gettext macros
27 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
29 * src/hildon-date-button.c (hildon_date_button_new):
30 * src/hildon-time-button.c (hildon_time_button_new_step):
31 Use new logical strings to set the button default title.
33 Fixes: NB#99915 (Date and Time options are not localised in Date
36 2009-02-16 Alejandro G. Castro <alex@igalia.com>
38 * src/hildon-pannable-area.c
39 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
40 the PANNING_THRESHOLD.
42 2009-02-16 Alejandro G. Castro <alex@igalia.com>
44 * src/hildon-pannable-area.c,
45 (hildon_pannable_area_class_init): Increased the maximum speed.
46 (hildon_pannable_area_get_property),
47 (hildon_pannable_area_set_property),
48 (hildon_pannable_area_timeout): Added a new low friction mode, it
49 allows the user avoid friction when launching the widget fast
50 enough. It is interesting to traverse long lists.
52 2009-02-16 Alberto Garcia <agarcia@igalia.com>
54 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
55 (+hildon_stackable_window_delete_event): Ignore delete events if
56 the window is not the topmost one.
58 Fixes: NB#101698 (Back button long press and delete-event handling)
60 2009-02-16 Alejandro G. Castro <alex@igalia.com>
62 * src/hildon-pannable-area.c,
63 (hildon_pannable_area_motion_notify_cb): Removed the use of the
64 gtk-dnd-drag-threshold, it was too big. We have defined our own
65 dnd define and set a smaller value: PANNIG_THRESHOLD.
67 2009-02-16 Alberto Garcia <agarcia@igalia.com>
69 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
70 user-defined icons, use always the default one.
72 Fixes: NB#101916 (Do not allow custom icons on animation banner)
74 2009-02-13 Alejandro G. Castro <alex@igalia.com>
76 This patch was applied before but reverted because it caused
77 problems, we have changed the main condition and tested the
78 regressions we detected before and they work ok.
80 * src/hildon-pannable-area.c,
81 (hildon_pannable_area_get_topmost): Added a new parameter to
82 filter the the windows that do not include those events. Added
83 also a condition when finding the window to filter windows that do
84 not ask for those events.
85 (hildon_pannable_area_button_press_cb),
86 (hildon_pannable_area_button_release_cb),
87 (hildon_pannable_get_child_widget_at): Reviewed the call the the
88 topmost function, we have added the new parameter.
90 Fixes: NB#97458 (Pannable area prevents propagation of button
93 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
95 * tests/check-hildon-color-button.c (START_TEST): do not leak
98 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
100 * src/hildon-font-selection-dialog.c
101 (hildon_font_selection_dialog_get_preview_text): Return NULL
102 instead of FALSE on the g_return_val_if_fail().
104 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
106 * src/hildon-time-selector.c (hildon_time_selector_set_time):
107 * src/hildon-date-selector.c
108 (hildon_date_selector_select_current_date):
109 Do not compare unsigned integers to be greater than or equal 0,
110 because it's always TRUE.
112 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
114 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
115 (hildon_date_selector_constructor): Do not select the current
116 date until we are handle the "changed" signal, to avoid having bogus
117 elements in the days model.
119 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
121 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
122 for num_days, since _month_days() can return a negative value.
124 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
126 * src/hildon-caption.c (hildon_caption_size_allocate):
127 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
128 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
130 Initialize allocation variables to 0, to avoid eventually using
131 unitialized variables.
133 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
135 * src/hildon-bread-crumb-trail.c
136 (hildon_bread_crumb_trail_size_allocate):
137 * src/hildon-calendar.c (hildon_calendar_set_background):
138 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
139 * src/hildon-range-editor.c (hildon_range_editor_get_range):
140 * src/hildon-seekbar.c (hildon_seekbar_init):
141 * src/hildon-time-editor.c (hildon_time_editor_get_time):
142 * src/hildon-time-selector.c (hildon_time_selector_finalize):
143 * src/hildon-touch-selector-entry.c
144 (hildon_touch_selector_get_text_from_model):
145 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
146 * src/hildon-window.c (hildon_window_finalize):
148 Remove many unused variables.
150 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
152 * src/hildon-seekbar.c: (hildon_seekbar_init),
153 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
155 Remove unnecessary g_assert() calls.
157 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
159 * src/hildon-caption.c: (hildon_caption_expose),
160 (hildon_caption_set_property), (hildon_caption_init),
161 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
162 (hildon_caption_size_request), (hildon_caption_size_allocate),
163 (hildon_caption_forall), (hildon_caption_set_separator),
164 (hildon_caption_activate), (hildon_caption_set_child_expand),
165 (hildon_caption_set_label_text),
166 (hildon_caption_get_label_alignment):
168 Remove unnecessary g_assert() calls.
170 2009-02-12 Alberto Garcia <agarcia@igalia.com>
172 * src/hildon-banner.c
173 (hildon_banner_map, hildon_banner_init): Make banner temporary
174 before mapping it to avoid closing other temporary windows, but
175 make it non-temporary afterwards to avoid being closed by other
176 non-temporary windows.
177 (-hildon_banner_client_event, hildon_banner_init):
178 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
180 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
183 2009-02-11 Alberto Garcia <agarcia@igalia.com>
185 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
188 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
190 * src/hildon-remote-texture.c
191 * src/hildon-remote-texture.h
192 * src/hildon-remote-texture-private.h
193 * examples/hildon-remote-texture-example.c:
194 Updates/fixes to remote-texture and its example.
196 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
198 Patch by Mox Soini (ext-mox.soini@nokia.com)
200 * src/hildon-code-dialog.c: Update logical id.
201 * src/hildon-set-password-dialog.c: Update logical id.
203 Fixes: NB#100646 (Logical strings is shown for ok in set
204 password,Password needed dialogs)
206 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
209 * src/hildon-remote-texture.c
210 * src/hildon-remote-texture.h
211 * src/hildon-remote-texture-private.h
213 Added remote texture widget (for Clutter shared memory textures)
215 * examples/hildon-remote-texture-example.c
216 * examples/Makefile.am
217 Added example file for remote texture usage
219 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
221 * configure.ac: post release version bump.
222 * debian/changelog: version bump.
224 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
229 * configure.ac: Bump version.
230 * debian/changelog: Updates.
232 2009-02-06 Alberto Garcia <agarcia@igalia.com>
234 * src/hildon-date-selector.c (hildon_date_selector_init)
235 (hildon_date_selector_constructor): Don't connect to the "changed"
236 signal until the selector is completely constructed.
238 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
240 * src/hildon-touch-selector.c: (_create_new_column),
241 (hildon_touch_selector_append_column),
242 (hildon_touch_selector_set_column_selection_mode),
243 (hildon_touch_selector_set_active),
244 (hildon_touch_selector_select_iter):
245 Emit the HildonTouchSelector::changed signal every time selection
246 is changed in any of the methods above. This behavior was already
247 documented but not fully functional.
249 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
250 selection is programmatically changed)
252 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
254 * doc/hildon-sections.txt: Remove obsolete icon
255 sizes from here as well.
257 2009-02-05 Alberto Garcia <agarcia@igalia.com>
259 * examples/hildon-stackable-window-example.c (add_window): Remove
262 2009-02-05 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-app-menu.c
265 (hildon_app_menu_show): Check whether the parent window of a menu
266 is topmost before popping it up.
268 Fixes: NB#100468 (Application menu window is launched even when a
269 new secondary-window/dialog is pending to be shown/realized.)
271 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
273 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
276 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
278 Patch by Mox Soini (ext-mox.soini@nokia.com)
280 * src/hildon-banner.c: (hildon_banner_show_animation):
281 use stylus size instead of obsolete note size.
282 * src/hildon-defines.h: Update icon sizes.
284 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
286 * src/hildon-touch-selector-entry.c:
287 (hildon_touch_selector_entry_init): Disable unsupported
289 (hildon_touch_selector_entry_get_text_column): Emit a warning
290 if an unsupported input modes is used and explicitile state
291 these modes in the documentation.
293 Fixes: NB#99802 (Hildon touch selector entry not working properly
294 for some of the input modes)
296 2009-02-05 Alejandro G. Castro <alex@igalia.com>
298 * src/hildon-pannable-area.c,
299 (hildon_pannable_area_init): Added the changed signal handlers of
302 Fixes: NB#100320 (HildonPannableArea does not listen to
303 GtkAdjustment "change" signals)
305 2009-02-04 Alberto Garcia <agarcia@igalia.com>
307 * doc/hildon-sections.txt
308 * src/hildon-window-private.h
309 * src/hildon-window.h
310 * src/hildon-window.c (hildon_window_init)
311 (hildon_window_realize, hildon_window_unrealize)
312 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
313 (hildon_window_size_request, hildon_window_size_allocate)
314 (hildon_window_forall, hildon_window_show_all)
315 (hildon_window_destroy, +paint_edit_toolbar)
316 (+hildon_window_set_edit_toolbar):
317 New hildon_window_set_edit_toolbar() method, to add a
318 HildonEditToolbar to a window without having to pack it manually.
320 Reorganize hildon_window_size_allocate()
322 * src/hildon-edit-toolbar.c: Update documentation.
324 * examples/hildon-edit-toolbar-example.c (edit_window): Update
325 example to use the new API.
327 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
329 2009-02-04 Alberto Garcia <agarcia@igalia.com>
331 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
332 Remove from stack before calling parent's hide.
334 2009-02-04 Alberto Garcia <agarcia@igalia.com>
336 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
337 window is removed from the middle of the stack, update the
338 transiency of the previous one.
340 Fixes: NB#100487 (HildonStackableWindow transiency becomes
343 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
345 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
346 block/unblock the signal handler if it's not actually being used.
347 Fixes some critical warnings.
349 2009-02-02 Alberto Garcia <agarcia@igalia.com>
351 Based on a patch by Iván Gómez (igomez@igalia.com)
353 * src/hildon-banner.c
357 * src/hildon-pannable-area.c
358 * src/hildon-picker-dialog.c
359 * src/hildon-wizard-dialog.h
360 * src/hildon-wizard-dialog.c: Documentation updates.
362 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
363 gtk_dialog_add_button() instead of hildon_dialog_add_button().
365 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
367 * configure.ac: post release version bump.
368 * debian/changelog: version bump.
370 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
375 * configure.ac: Bump version.
376 * debian/changelog: Updates.
378 2009-01-29 Alberto Garcia <agarcia@igalia.com>
380 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
381 a stock icon nor change the relief of the back arrow.
383 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
386 2009-01-29 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-button.c (hildon_button_set_alignment): Use
389 priv->alignment if the button has no child yet.
391 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
393 * src/hildon-button.c: (hildon_button_init): Set the
394 button style during initialization to give it the proper
397 Fixes: NB#99713 (HildonButton value label color is wrong)
399 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
401 * src/hildon-touch-selector.c: Document
402 hildon_touch_selector_center_on_selected()
404 2009-01-28 Alberto Garcia <agarcia@igalia.com>
406 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
407 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
408 all menu items, but not the menu itself.
409 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
410 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
411 items after adding them to the menu so keyboard accelerators work.
412 (hildon_app_menu_show): Don't show the menu if it contains items
413 but none of them are visible.
415 * examples/hildon-app-menu-example.c (create_menu): Use
416 gtk_widget_show_all() to show all menu items.
418 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-picker-dialog.c:
421 (-_update_title_on_selector_changed_cb),
422 (-_dialog_update_title): Removed.
423 (_select_on_selector_changed_cb), (_on_dialog_response),
424 (on_selector_columns_changed): Do not update the dialog title.
425 (setup_interaction_mode): Do not connect to
426 HildonTouchSelector::changed signal if there's a "done" button, as
427 the dialog title doesn't need to be updated.
429 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
432 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
434 Patch by Kristian Rietveld (kris@imendio.com)
436 * src/hildon-touch-selector.c: (_create_new_column): Use new
437 GtkTreeView::hildon-row-tapped signal to react to user interactions
438 instead of ::changed.
440 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
441 with some dynamic tree model)
443 2009-01-27 Alberto Garcia <agarcia@igalia.com>
445 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
446 (+screen_size_changed, +label_size_request)
447 (hildon_note_class_init): Make the Hildon information note have a
448 minimum height, and make its text hvae a maximum width.
450 Fixes: NB#98614 (Hildon information note (background) should have
451 minimum height and maximum text width)
453 2009-01-26 Alberto Garcia <agarcia@igalia.com>
455 * src/hildon-banner.h
456 * src/hildon-banner.c (hildon_banner_show_information)
457 (hildon_banner_show_informationf)
458 (hildon_banner_show_information_with_markup): Update documentation
459 to reflect that the icon_name parameter is not used anymore.
460 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
461 Remove all code from these functions and mark them as deprecated.
462 (hildon_banner_show_progress): Mark as deprecated.
464 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
466 2009-01-26 Alejandro G. Castro <alex@igalia.com>
468 * src/hildon-pannable-area.c,
469 (hildon_pannable_area_class_init),
471 (hildon_pannable_draw_vscroll),
472 (hildon_pannable_draw_hscroll),
473 (hildon_pannable_area_expose_event): Added a new way to render the
474 scrollbars of the pannable area avoiding using cairo at all. This
475 way we improve the performance of the pannable area rendering. The
476 cairo rendering procedure is still in the code, we can control
477 which one to use changing the value of the define
478 USE_CAIRO_SCROLLBARS.
480 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
482 * configure.ac: post release version bump.
483 * debian/changelog: version bump.
485 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
490 * configure.ac: Bump version.
491 * debian/changelog: Updates.
493 2009-01-23 Alberto Garcia <agarcia@igalia.com>
495 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
496 banners instead of destroying them when they receive a button
499 2009-01-23 Alejandro G. Castro <alex@igalia.com>
501 Reverted commit 34028, it was causing regressions, probably the
502 topmost condition is not correct, we have to check it in more
503 detail. We have reponed the bug: NB#97458 (Pannable area prevents
504 propagation of button press events)
506 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
508 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
509 that the selection is not empty before attempting to retrieve the
510 current ampm selection.
512 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
514 * src/hildon-picker-button.c:
515 (hildon_picker_button_on_dialog_response): Directly update the
516 button contents when required instead of calling _selection_changed.
518 2009-01-23 Alberto Garcia <agarcia@igalia.com>
520 * src/hildon-program.c (hildon_program_update_top_most): Update
521 'is-topmost' property also when wm_hints is not set.
523 Fixes: NB#98383 (is-topmost signal is not emitted when task
524 switcher is clicked.)
526 2009-01-23 Alejandro G. Castro <alex@igalia.com>
528 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
532 * src/hildon-animation-actor.c,
533 * src/hildon-animation-actor.h: Added the animation actor class,
534 this widget represents an animation actor for WM-assisted
535 animation effects in the Hildon framework.
537 2009-01-23 Alberto Garcia <agarcia@igalia.com>
539 * src/hildon-window-stack-private.h
540 * src/hildon-window-stack.c
541 * src/hildon-stackable-window.c (hildon_stackable_window_show):
542 Avoid calling gtk_widget_show() again indirectly from
543 hildon_stackable_window_show()
545 2009-01-23 Alberto Garcia <agarcia@igalia.com>
547 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
550 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
553 (hildon_time_selector_init): Move the construction of the hours and
554 ampm columns to the constructor to preserve the order the columns
557 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
559 * src/hildon-picker-dialog.c:
560 (hildon_picker_dialog_class_init): Connect a realize method.
561 (+hildon_picker_dialog_realize): Setup the interaction mode here
563 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
564 yet, do it during the realize instead.
565 (_on_dialog_response):
566 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
567 if the widget is not realized, to avoid the dialog response before it
570 Avoid premature responses in the HildonPickerDialog that can cause it
571 to be hidden before it's even shown.
573 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
576 (on_selector_columns_changed), (requires_done_button),
577 (+prepare_action_area), (setup_interaction_mode),
578 (_hildon_picker_dialog_set_selector):
580 Split the interaction mode setup into preparation of the
581 action area (prepare_action_area()) and the connection of
582 the signals in setup_interaction_mode() and update the code to
585 2009-01-22 Alejandro G. Castro <alex@igalia.com>
587 * src/hildon-pannable-area.c,
588 (hildon_pannable_area_class_init): Reduced the amount of scrolls
589 per second to 15, we will check if this is ok regarding
592 2009-01-22 Alejandro G. Castro <alex@igalia.com>
594 * src/hildon-pannable-area.c,
595 (hildon_pannable_axis_scroll): Avoid resize if we already have
596 reached overshoot_max.
598 2009-01-22 Alejandro G. Castro <alex@igalia.com>
600 * src/hildon-pannable-area.c,
601 (hildon_pannable_area_init),
602 (hildon_pannable_area_realize),
603 (hildon_pannable_area_size_allocate),
604 (hildon_pannable_area_map),
605 (hildon_pannable_area_unmap),
606 (hildon_pannable_draw_vscroll),
607 (hildon_pannable_draw_hscroll),
608 (hildon_pannable_area_expose_event),
609 (hildon_pannable_area_refresh): Added a new GdkWindow to the
610 pannable are to avoid the expose events go to the window and
611 redraw the window. We save this way that part of the stack and the
612 paint_boxes. We had to change the positions of the elements when
615 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
617 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
618 * src/hildon-color-chooser-dialog.c:
619 (hildon_color_chooser_dialog_init):
620 * src/hildon-font-selection-dialog.c:
621 (hildon_font_selection_dialog_init),
622 (hildon_font_selection_dialog_show_preview):
623 * src/hildon-get-password-dialog.c:
624 * src/hildon-login-dialog.c:
625 * src/hildon-set-password-dialog.c:
626 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
627 * src/hildon-time-picker.c: (hildon_time_picker_init):
629 Remove obsolete logical string IDs and update to the appropriate ones.
631 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
633 2009-01-21 Alberto Garcia <agarcia@igalia.com>
635 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
636 that happens if the window hasn't been realized yet.
638 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
639 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
641 2009-01-20 Alberto Garcia <agarcia@igalia.com>
643 * src/hildon-app-menu.c (hildon_app_menu_class_init)
644 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
647 Fixes: NB#98537 (Device hangs in account settings dialog)
649 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
651 * configure.ac: post release version bump.
652 * debian/changelog: version bump
654 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
659 * configure.ac: Bump version.
660 * debian/changelog: Updates.
662 2009-01-20 Alejandro G. Castro <alex@igalia.com>
664 Added a new function to the HildonTimeButton widget that allows to
665 change the step of the minutes in the selector associated with the
666 button: hildon_time_button_new_step
668 * src/hildon-time-button.c,
669 (hildon_time_button_init),
670 (hildon_time_button_new),
671 (hildon_time_button_new_step):
672 * src/hildon-time-button.h: Added the new function and refactored
674 * examples/hildon-time-button-example.c,
675 (main): We have replaced the function without parameters with the
676 function with the steps set to 5
678 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
680 2009-01-20 Alejandro G. Castro <alex@igalia.com>
682 * src/hildon-time-selector.c,
683 (hildon_time_selector_class_init),
684 (hildon_time_selector_constructor),
685 (hildon_time_selector_get_property),
686 (hildon_time_selector_set_property),
687 (_create_minutes_model),
688 (hildon_time_selector_new_step),
689 (hildon_time_selector_set_time),
690 * src/hildon-time-selector.h: Added a new property to the
691 HildonTimeSelector (minutes-step), we use that property to control
692 the steps between the minutes in the list of the selector. We have
693 added a new function to the API to create a widget changing the
694 step: hildon_time_selector_new_step.
696 2009-01-20 Alejandro G. Castro <alex@igalia.com>
698 * src/hildon-time-selector.c,
699 (hildon_time_selector_class_init),
700 (hildon_time_selector_constructor),
701 (hildon_time_selector_init): Overrided the construct function when
702 creating the time selector object. We have moved the minutes model
703 handling code from the init to the new construction function:
704 hildon_time_selector_constructor.
706 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
708 * examples/hildon-date-button-example.c: (main): Use the new
709 hildon_date_button_new_with_year_range() method in the example.
710 * src/hildon-date-button.c:
711 (+hildon_date_button_new_with_year_range): New public method
712 to conveniently create a HildonDateButton with a custom year range
713 in its HildonDateSelector.
714 * src/hildon-date-button.h: Add the new public method definition.
716 Fixes: NB#97908 (Not possible to change the year range in
717 HildonDateSelector/HildonDateButton)
719 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
721 * src/hildon-date-selector.c:
722 (+hildon_date_selector_set_property),
723 (+hildon_date_selector_get_property),
724 (hildon_date_selector_class_init): Install new properties "min-year"
725 and "max-year" to define boundaries for the year column.
726 (_create_year_model): Use the boundary properties to populate the model.
727 (+hildon_date_selector_new_with_year_range): New public method to
728 create a HildonDateSelector with a user defined year range.
729 (hildon_date_selector_select_current_date): Use the new boundaries to
730 calculate the iterator of current year.
731 * src/hildon-date-selector.h: Add the new public method definition.
733 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
736 Install a constructor method.
737 (+hildon_date_selector_construct_ui): construct the widget.
738 (+hildon_date_selector_constructor): new constructor.
739 (+hildon_date_selector_init): move out widget construction code to
742 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
745 that there's actually a month or year selected before obtaining them.
746 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
747 of the HildonTouchSelector::changed signal, as it was emitted on every
748 single item selection.
750 Fix some warnings and possible crashers due to the selection restoring.
752 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
754 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
755 the signal handlers only after creating the dialog instead of on every
758 2009-01-19 Alberto Garcia <agarcia@igalia.com>
760 * src/hildon-button.c (hildon_button_init)
761 * src/hildon-check-button.c (hildon_check_button_init)
762 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
763 focus when clicked by default.
765 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
767 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
770 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
772 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
773 Alejandro G. Castro (alex@igalia.com)
775 * src/hildon-picker-dialog.c:
776 (hildon_picker_dialog_class_init): install new "center-on-show"
778 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
779 (hildon_picker_dialog_set_property): add setter code for the new
781 (hildon_picker_dialog_get_property): add getter code for the new
783 (hildon_picker_dialog_show): Ensure visibility of selected items in the
784 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
787 Fixes: NB#92849 (Selected item is not always visible when
788 HildonTouchSelector is shown)
790 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
792 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
793 Alejandro G. Castro (alex@igalia.com)
795 * src/hildon-touch-selector.c:
796 (_create_new_column): Do not connect to the "realize" signal of the
798 (hildon_touch_selector_append_column): center on the selected items
799 when a new column is appended.
800 (hildon_touch_selector_select_iter): Factor out the code to select a
801 column to hildon_touch_selector_scroll_to().
802 (+search_nearest_element): Method to retrieve the nearest selected
803 element to the visible area of the pannable area in a column.
804 (+on_realize_cb): scroll to the initially selected item.
805 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
806 the pannable area is realized, otherwise delay this until it is.
807 (+_hildon_touch_selector_center_on_selected_items): Centers on the
808 selected items of a given column.
809 (+hildon_touch_selector_center_on_selected): Public method to center
810 all columns on the nearest selected item.
811 * src/hildon-touch-selector.h: Add definition for
812 hildon_touch_selector_center_on_selected().
814 Implement public API to ensure visibility of all selected items in
815 a HildonTouchSelector.
817 2009-01-16 Alejandro G. Castro <alex@igalia.com>
819 Fixed a problem in the fading when calling the scroll_to API, and
820 improve scrollbar fading handling.
822 * src/hildon-pannable-area.c,
823 (hildon_pannable_area_grab_notify): avoid the timeout when the
825 (hildon_pannable_area_button_press_cb),
826 (hildon_pannable_area_motion_notify_cb): Code style changes.
827 (hildon_pannable_area_button_release_cb): Review the conditions
828 when releasing the mouse button to avoid unrequired fading
830 (hildon_pannable_area_scroll_to): Do not calculate and set the
831 velocity if the scroll is not required.
833 2009-01-15 Alberto Garcia <agarcia@igalia.com>
835 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
836 Don't check whether the new selector is NULL: it cannot be.
837 Hold a reference to the selector while doing the replacement.
839 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
841 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
842 unnecessary size_request in a removed widget.
844 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
846 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
847 an unnecessary reference tracking that was leaking.
849 2009-01-15 Alejandro G. Castro <alex@igalia.com>
851 Added delayed motion notify event handling, this way we can
852 discard redrawing if more than 25 events arrive per second.
854 * src/hildon-pannable-area.c,
855 (hildon_pannable_area_init): Initialized the new private atributes
856 controlling this timeout
857 (hildon_pannable_area_dispose): Remove the timeout that controls
858 the motion notify events.
859 (hildon_pannable_area_scroll): Added a condition to control the
860 use of the acceleration.
861 (hildon_pannable_area_motion_event_scroll_timeout),
862 (hildon_pannable_area_motion_event_scroll): Added this two
863 functions, they handle the motion notify events inside the
865 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
866 to the scroll method with the new function.
867 (hildon_pannable_area_button_release_cb): We have to remove the
868 timeout handler and move to the last position if the last motion
869 events were not handled.
871 Fixes: NB#97028 (Pannable area updates on every motion event)
873 2009-01-15 Alejandro G. Castro <alex@igalia.com>
875 * src/hildon-pannable-area.c,
876 (hildon_pannable_area_get_topmost): Added a new parameter to
877 filter the the windows that do not include those events. Added
878 also a condition when finding the window to filter windows that do
879 not ask for those events.
880 (hildon_pannable_area_button_press_cb),
881 (hildon_pannable_area_button_release_cb),
882 (hildon_pannable_get_child_widget_at): Reviewed the call the the
883 topmost function, we have added the new parameter.
885 Fixes: NB#97458 (Pannable area prevents propagation of button
888 2009-01-15 Alejandro G. Castro <alex@igalia.com>
890 * src/hildon-pannable-area.c,
891 (hildon_pannable_area_initial_effect): Added controls before
892 launching the timeout and the idle functions.
893 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
894 of the method, in some situations it can return with TRUE and 0 in
896 (hildon_pannable_area_button_press_cb): We do not need to set
897 DELAY for fading out here.
899 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
901 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
903 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
904 post-cleaning if the selection is not NULL.
906 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
908 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
909 all items before restoring the selection.
911 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
913 * src/hildon-touch-selector.c:
914 (+hildon_touch_selector_unselect_all):
915 * src/hildon-touch-selector.h: New API to unselect all items in a
916 column of the touch selector.
918 2009-01-14 Alejandro G. Castro <alex@igalia.com>
920 * src/hildon-pannable-area.c,
921 (hildon_pannable_area_redraw): Added a call to the refresh
922 function inside the redraw because apparently in some cases the
923 change in the adjustment does not imply a size allocate.
925 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
926 despite the view not being scrollable)
928 2009-01-14 Alberto Garcia <agarcia@igalia.com>
930 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
931 leak. Check for NULL before attempting to set the window title.
933 2009-01-14 Alberto Garcia <agarcia@igalia.com>
935 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
936 whether to show or not the 'Done' button each time the dialog is
937 shown, as it depends on the HildonTouchSelector selection mode.
939 Fixes: NB#96226 (In multiple selection mode Done button is shown
940 sometimes in listpicker)
942 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
944 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
945 for the number of columns in the HildonTouchSelector more than once.
947 2009-01-14 Alberto Garcia <agarcia@igalia.com>
949 * src/hildon-touch-selector.c: Minor documentation fixes.
951 * src/hildon-picker-dialog.c (+_dialog_update_title)
952 (_select_on_selector_changed_cb)
953 (_update_title_on_selector_changed_cb)
954 (on_selector_columns_changed): Update dialog title when there's no
955 'Done' button and also when the number of columns in the selector
959 * src/hildon-picker-button.c (hildon_picker_button_finalize)
960 (+_selection_changed, hildon_picker_button_on_dialog_response)
961 (hildon_picker_button_selector_selection_changed)
962 (+hildon_picker_button_selector_columns_changed)
963 (hildon_picker_button_set_selector): Update button value and emit
964 'value-changed' when the number of columns in the selector
968 Fixes: NB#96225 (Dialog titles are not shown according to the
969 values selected in the list picker)
971 2009-01-13 Alberto Garcia <agarcia@igalia.com>
973 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
974 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
975 New "arrow-width" and "arrow-height" style properties to set the
976 size of the arrow button.
977 Set name of arrow button ("hildon-edit-toolbar-arrow").
979 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
982 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
984 * src/hildon-picker-button.c:
985 (hildon_picker_button_selector_selection_changed): Use
986 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
987 the dialog is present.
989 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
990 the selection is accepted in the dialog)
992 2009-01-13 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-color-chooser.h
995 * src/hildon-color-chooser-dialog.h:
996 Added G_BEGIN_DECLS and G_END_DECLS
998 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1000 (_clean_current_selection): plug a leak in the list.
1002 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1004 * src/hildon-picker-dialog.c:
1005 (+free_path_list): Method to free a GList of GtkTreePaths.
1006 (_clean_current_selection), (_save_current_selection),
1007 (_restore_current_selection): Save the current selection in
1008 as a list of lists, to support multiple selection properly.
1010 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1012 patch by Claudio Saavedra (csaavedra@igalia.com)
1014 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1015 Store the press position.
1016 (+hildon_text_view_button_release_event): If the release position is
1017 close enough to the press position, move the cursor here. Otherwise,
1019 (hildon_text_view_class_init): Override GtkTextView press, release, and
1020 motion event handlers, disabling this way text selection through
1021 pointer interaction, and allowing the container widget to handle the
1024 Fixes: NB#95828 (HildonTextView functionality)
1026 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1028 Based on a patch by Iván Gómez (igomez@igalia.com)
1030 * src/hildon-button.[ch]
1031 * src/hildon-calendar.c
1032 * src/hildon-check-button.c
1033 * src/hildon-date-editor.c
1034 * src/hildon-date-selector.c
1035 * src/hildon-picker-button.c
1036 * src/hildon-time-editor.c
1037 * src/hildon-time-selector.c
1038 * src/hildon-touch-selector.[ch]:
1039 Documentation updates
1041 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1043 * src/hildon-pannable-area.c,
1044 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1045 threshold, it was required due to X events handling.
1047 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1049 * src/hildon-pannable-area.c,
1050 (hildon_pannable_area_grab_notify),
1051 (hildon_pannable_area_initial_effect),
1052 (hildon_pannable_area_button_press_cb),
1053 (hildon_pannable_area_button_release_cb),
1054 (hildon_pannable_area_scroll_cb),
1055 (hildon_pannable_area_scroll_to): Review the timeout management of
1056 the scrollbar, the frecuency was incorrectly set.
1058 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1060 * src/hildon-picker-button.c:
1061 (+hildon_picker_button_on_dialog_response),
1062 (hildon_picker_button_clicked): Present the dialog instead of
1063 running it with gtk_dialog_run().
1065 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1068 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1070 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1071 (hildon_app_menu_finalize): When a window is hidden it doesn't
1072 emit notify::is-topmost, so make sure than the menu also
1073 disappears in that case.
1074 (parent_window_topmost_notify): Renamed from parent_window_hidden
1076 Fixes: NB#94460 (stackable window's menu is not closed when its
1079 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-touch-selector-entry.c:
1082 (+hildon_touch_selector_entry_set_input_mode),
1083 (+hildon_touch_selector_entry_get_input_mode):
1084 * src/hildon-touch-selector-entry.h: New methods to access the input
1085 mode in the selector's entry.
1087 Fixes: NB#93410 (API required for setting IM mode in
1088 HildonTouchSelectorEntry)
1090 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1092 * configure.ac: post release version bump.
1093 * debian/changelog: version bump
1095 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1100 * configure.ac: Bump version.
1101 * debian/changelog: Updates.
1103 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1105 * src/hildon-touch-selector.c:
1106 (_hildon_touch_selector_has_multiple_selection): No need
1107 to initialize the variables here.
1109 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1111 * src/hildon-note-private.h
1112 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1113 (hildon_note_finalize, hildon_note_rebuild): Close information
1114 notes when they receive a button press.
1116 Fixes: NB#89890 (Information notes does not get disappeared after
1119 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1121 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1122 mark from the wizard title, as it's not really necessary. Also,
1123 do not display the page title if not set.
1125 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1127 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1128 (parent_window_hidden): Use the window's "is-topmost" property to
1129 detect when to hide the menu.
1131 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1133 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1134 (hildon_app_menu_finalize): If the parent window of the menu is
1135 hidden, hide the menu too.
1137 Fixes: NB#94460 (stackable window's menu is not closed when its
1140 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1143 * debian/libhildon1-examples.install
1145 * examples/Makefile.am:
1146 Use dh_install to install all examples.
1147 Use DEB_SRCDIR instead of defining SOURCE_DIR
1149 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1151 * configure.ac: post release version bump.
1152 * debian/changelog: version bump
1154 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1159 * configure.ac: bump version
1160 * debian/changelog: updates
1161 * debian/control: bump gtk+ dependency
1163 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1165 patch by Christian Dywan (christian@imendio.com)
1167 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1168 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1170 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1172 * src/hildon-check-button.c (hildon_check_button_init)
1173 (hildon_check_button_class_init, hildon_check_button_style_set)
1174 (hildon_check_button_apply_style):
1175 New "checkbox-size" style property.
1177 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1178 larger / configurable size)
1180 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1182 * configure.ac: post release version bump.
1183 * debian/changelog: version bump
1185 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1190 * configure.ac: bump version
1191 * debian/changelog: updates
1193 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1195 * doc/hildon-sections.txt
1196 * src/hildon-pannable-area.c
1197 * src/hildon-program.c
1198 * src/hildon-time-editor.c
1199 * src/hildon-touch-selector-entry.c:
1201 More documentation updates.
1203 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1205 * doc/hildon-sections.txt
1206 * src/hildon-caption.c
1207 * src/hildon-code-dialog.c
1208 * src/hildon-color-button.c
1209 * src/hildon-controlbar.c
1210 * src/hildon-date-editor.c
1211 * src/hildon-date-selector.c
1212 * src/hildon-edit-toolbar.c
1213 * src/hildon-find-toolbar.c
1214 * src/hildon-font-selection-dialog.c
1216 * src/hildon-program.c
1217 * src/hildon-range-editor.c
1218 * src/hildon-seekbar.c
1219 * src/hildon-time-editor.c
1220 * src/hildon-time-selector.c
1221 * src/hildon-volumebar-range.c
1222 * src/hildon-volumebar.c
1223 * src/hildon-vvolumebar.c
1224 * src/hildon-weekday-picker.c
1225 * src/hildon-window.c
1226 * src/hildon-wizard-dialog.c:
1228 Lots of documentation fixes.
1230 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1232 Patch contributed by Iván Gómez (igomez@igalia.com)
1234 * src/hildon-check-button.c:
1235 * src/hildon-date-button.c:
1236 * src/hildon-date-selector.c:
1237 * src/hildon-dialog.c:
1238 * src/hildon-edit-toolbar.c:
1239 * src/hildon-entry.c:
1240 * src/hildon-picker-button.c:
1241 * src/hildon-program.c:
1242 * src/hildon-text-view.c:
1243 * src/hildon-time-button.c:
1244 * src/hildon-touch-selector-entry.c:
1245 * src/hildon-window-stack.c:
1247 Add more "since" tags to the new API.
1249 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1251 * doc/hildon-sections.txt: Add below method.
1252 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1253 version for the hildonized scale.
1254 * src/hildon-gtk.h: Add the definition.
1256 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1258 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1260 * doc/hildon-sections.txt: Add missing entries for new methods.
1262 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1264 Added API to pannable are in order to get its adjustments. We
1265 added two properties to manage the values we had in the private
1268 * src/hildon-pannable-area.c:
1269 (hildon_pannable_area_class_init): Added hadjustment and
1270 vadjustment properties in order to expose horizontal and vertical
1272 (hildon_pannable_area_get_property),
1273 (hildon_pannable_area_set_property): Added code to handle the new
1275 (hildon_pannable_area_get_hadjustment),
1276 (hildon_pannable_area_get_vadjustment): API functions to get the
1278 * src/hildon-pannable-area.h:
1279 (hildon_pannable_area_get_hadjustment),
1280 (hildon_pannable_area_get_vadjustment): API functions to get the
1283 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1285 Fixed some leaks, after valgrinding.
1287 * src/hildon-touch-selector.c:
1288 (_default_print_func): Fixed a leak.
1289 (hildon_touch_selector_append_column): Fixed a leak.
1290 * src/hildon-date-button.c:
1291 (hildon_date_button_init): Fixed a leak.
1292 * src/hildon-date-selector.c
1293 (hildon_date_selector_finalize): Fixed a leak.
1295 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1297 Based on a patch by Christian Dywan (christian@imendio.com)
1299 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1301 * src/hildon-gtk.h: Add definition.
1303 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1305 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-picker-button.c: (hildon_picker_button_init),
1308 (hildon_picker_button_new): Set the HildonButton::style property
1309 in the init method, to propagate the value to the derived classes.
1311 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1313 * src/hildon-button.c: (hildon_button_class_init): Do not make
1314 the "style" property a construct property.
1316 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1318 * src/hildon-wizard-dialog.h
1319 * src/hildon-wizard-dialog.c
1320 (hildon_wizard_dialog_set_forward_page_func)
1321 * src/hildon-pannable-area.h
1322 * src/hildon-pannable-area.c
1323 (hildon_pannable_area_set_size_request_policy):
1324 Documentation fixes.
1326 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1328 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1330 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1332 * doc/hildon-sections.txt: Added sections file.
1334 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1337 * src/*.[ch]: Updates.
1339 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1341 * examples/hildon-progress-indicator-example.c: new file
1342 * examples/Makefile.am: include the new example program
1344 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1346 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1348 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1350 * configure.ac: post release version bump
1351 * debian/changelog: version bump
1353 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1358 * configure.ac: bump version
1359 * debian/changelog: updates
1360 * debian/control: bump gtk+ dependency
1362 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1364 * src/hildon-dialog.c: Mark as deprecated.
1365 * src/hildon-dialog.h: Mark as deprecated.
1366 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1367 from HildonDialog and still work, even if
1368 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1369 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1371 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1372 maemo changes) instead)
1374 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1376 * src/hildon-pannable_area.h:
1377 * src/hildon-pannable_area.c:
1378 (hildon_pannable_area_class_init),
1379 (hildon_pannable_area_set_property),
1380 (hildon_pannable_area_get_property),
1381 (hildon_pannable_area_size_request),
1382 (hildon_pannable_area_get_size_request_policy),
1383 (hildon_pannable_area_set_size_request_policy): Added new API
1384 allowing applications to control the request policy. Now they can
1385 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1386 children allocation (HILDON_MOVEMENT_CHILDREN).
1388 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1392 (hildon_gtk_tree_view_set_ui_mode)
1393 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1394 mode of treeviews and iconviews.
1396 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-touch-selector-entry.c:
1399 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1400 of a GtkEntry to get proper theming.
1402 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1403 widget, not GtkEntry)
1405 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1407 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1408 no HildonWizardDialogPageFunc.
1410 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1412 Patch contributed by Iván Gómez (igomez@igalia.com)
1414 * src/hildon-app-menu.c:
1415 * src/hildon-button.c:
1416 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1417 * src/hildon-stackable-window.c:
1418 * src/hildon-time-selector.c:
1419 * src/hildon-touch-selector.c:
1420 * src/hildon-window.c:
1422 Add more "since" tags to the new API in hildon 2.2.
1424 2008-12-05 Tim Janik <timj@imendio.com>
1426 Patch contributed by Christian Dywan (christian@imendio.com)
1428 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1429 HildonSizeType, which are supplied by Gtk+ now.
1431 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1433 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1434 (with maemo changes) instead)
1436 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1438 Patch contributed by Iván Gómez (igomez@igalia.com)
1440 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1443 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1445 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1446 (some_page_func), (main): Update the example to use a
1447 HildonWizardDialogPageFunc function.
1449 * src/hildon-wizard-dialog-private.h: Add private data for
1450 the HildonWizardDialogPageFunc function usage.
1452 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1453 (destroy), (hildon_wizard_dialog_init), (response),
1454 (hildon_wizard_dialog_set_forward_page_func):
1455 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1456 that applications can use to stop a HildonWizardDialog to jump to
1459 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1462 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1464 * src/hildon-program.h
1465 * src/hildon-program-private.h
1466 * src/hildon-program.c (hildon_program_init)
1467 (hildon_program_set_common_app_menu)
1468 (hildon_program_get_common_app_menu):
1469 New API for setting a common HildonAppMenu for all
1470 HildonStackableWindows registered with the HildonProgram.
1472 * src/hildon-stackable-window.c
1473 (hildon_stackable_window_toggle_menu):
1474 Use the common HildonAppMenu if a window doesn't have a specific
1477 * src/hildon-app-menu-private.h
1478 * src/hildon-app-menu.c
1479 (hildon_app_menu_get_parent_window):
1480 Function to obtain the window a HildonAppMenu is attached to.
1481 (hildon_app_menu_set_parent_window):
1482 Hide the menu if the parent window is set to NULL.
1484 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1487 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1488 search widget to popup.
1490 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1492 * configure.ac: post release version bump
1493 * debian/changelog: version bump
1495 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1500 * configure.ac: bump version
1501 * debian/changelog: updates
1503 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1505 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1507 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1508 (hildon_window_stack_window_realized)
1509 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1510 Set the leader GdkWindow when a window is stacked and realized,
1511 unset it when it's unstacked.
1512 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1514 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1516 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1518 * src/hildon-stackable-window.h
1519 * src/hildon-window-stack.h:
1520 Protect definition of HildonWindowStack using the preprocessor.
1522 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1524 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1525 Fix warning if all menu items are hidden.
1527 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1529 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1531 * src/hildon-controlbar.c:
1532 * src/hildon-hvolumebar.c:
1533 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1534 Multiple scale size defines updates.
1536 Fixes: NB#94322 (Scale Updates)
1538 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1540 * examples/hildon-app-menu-example.c (create_menu)
1541 Show items after adding them to the menu, as in the future the
1542 menu will no longer call gtk_widget_show() on the added items.
1544 * src/hildon-app-menu.c:
1545 Update example as explained above.
1547 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1549 * src/hildon-app-menu.c
1550 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1551 Make sure that all menu items have finger height.
1553 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1555 * src/hildon-picker-dialog.c:
1556 (_on_dialog_response), (_save_current_selection),
1557 (_restore_current_selection), (_clean_current_selection),
1558 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1559 Defined new functions in order to save the current internal selector
1560 selection previous open the dialog, in case that the use cancel the
1561 interaction, so the widget restores the previous selection.
1563 Fixes: NB#92032 (In calendar application, date values in 'new event'
1566 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1568 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1570 * src/hildon-button.c: Add a reference to the button examples in
1571 hildon-button-example.c
1573 * examples/hildon-button-example.c: Added examples of the most
1574 common button layouts.
1576 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1578 * src/hildon-app-menu.c (hildon_app_menu_show)
1579 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1581 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1583 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1585 * src/hildon-picker-dialog.c:
1586 (hildon_picker_dialog_init): Initialize the signal id for
1587 HildonTouchSelector::columns-changed.
1588 (+on_selector_columns_changed): Set up the interaction mode everytime a
1589 column is added or removed from the HildonTouchSelector.
1590 (_hildon_picker_dialog_set_selector): Connect to
1591 HildonTouchSelector::columns-changed and keep track of it.
1593 Make sure to update the interaction mode of the dialog everytime a
1594 column is added or removed in the HildonTouchSelector.
1596 Fixes: NB#93228 (Done button is not shown always in listpicker)
1598 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1600 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1601 a new ::columns-changed signal.
1602 (hildon_touch_selector_append_column): Emit ::columns-changed.
1603 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1605 Add a ::columns-changed signal, emitted when the number of columns in a
1606 HildonTouchSelector changes.
1608 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1610 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1611 (_hildon_picker_dialog_set_selector): Factor out the code
1612 to set up the dialog interaction mode.
1614 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1616 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1617 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1618 to signal_changed_id.
1620 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1622 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1625 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1627 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1628 Updated the logical ids related to ampm format, as now it is required to
1629 show it correctly localized even on languages with no default
1630 abbreviations for am or pm
1631 (_check_am_pm_format): check correctly the 24h format gconf property
1633 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1635 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1637 * src/hildon-button.c: Documentation updates.
1639 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1642 * src/hildon-caption.c: (hildon_caption_class_init):
1643 * src/hildon-color-button.c: (hildon_color_button_class_init):
1644 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1645 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1646 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1647 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1649 Remove deprecated GTK+ marshalers and replace them with the ones
1650 provided by GLib, for those available, add a marshaler for
1651 BOOLEAN:VOID, which is not available in GLib, and use it.
1653 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1655 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1656 the text from the previous column if there is no
1657 HildonTouchSelectorColumn::text-property set.
1659 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1661 * src/hildon-button.h
1662 * src/hildon-button.c (hildon_button_set_property)
1663 (hildon_button_get_property, hildon_button_class_init)
1664 (hildon_button_set_style, hildon_button_get_style):
1665 New "style" property to change the visual appearance of the
1668 * src/hildon-picker-button.c (hildon_picker_button_new):
1669 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1671 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1672 HildonButton look like PickerButton)
1674 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1676 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1677 column while building the default string.
1679 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1681 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1682 scroll indicator by default.
1684 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1686 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1688 * src/hildon-main.c: Fix the documentation for hildon_init()
1690 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1692 * doc/hildon-docs.sgml
1696 * src/hildon-window-stack-private.h
1697 * src/hildon-window-stack.h
1698 * src/hildon-window-stack.c:
1699 New HildonWindowStack object, that adds support for multiple
1700 stacks of windows per process.
1702 * src/hildon-stackable-window-private.h
1703 * src/hildon-stackable-window.h
1704 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1705 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1706 (hildon_stackable_window_show, hildon_stackable_window_hide)
1707 (hildon_stackable_window_class_init)
1708 (hildon_stackable_window_init):
1709 Use HildonWindowStack for stack management.
1711 * src/hildon-program.c (hildon_program_pop_window_stack)
1712 (hildon_program_peek_window_stack)
1713 (hildon_program_go_to_root_window):
1714 Add a fallback implementation to the deprecated functions using
1717 * examples/hildon-stackable-window-example.c:
1718 Use the new HildonWindowStack API.
1720 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1722 * src/hildon-stackable-window-private.h
1723 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1724 (hildon_stackable_window_hide, hildon_stackable_window_init):
1725 Remove all window stack management.
1727 * src/hildon-program-private.h
1728 * src/hildon-program.h
1729 * src/hildon-program.c (hildon_program_init)
1730 (hildon_program_pop_window_stack)
1731 (hildon_program_peek_window_stack)
1732 (hildon_program_go_to_root_window):
1733 Remove all window stack management and mark functions as
1736 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1738 * src/hildon-app-menu.c (hildon_app_menu_realize):
1739 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1741 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1743 * configure.ac: post release version bump
1744 * debian/changelog: version bump
1746 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1751 * configure.ac: bump version
1752 * debian/changelog: updates
1754 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1756 Based on initial code by Christian Dywan (christian@imendio.com)
1758 * doc/hildon-docs.sgml: Add section for hildon-main.
1759 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1760 * src/Makefile.am: Add new hildon-main.[ch]
1761 * src/hildon-defines.h: Update the icon sizes.
1762 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1763 new library initialization files and register icon sizes.
1764 * src/hildon-main.h: New declarations.
1765 * src/hildon.h: Include hildon-main.h
1767 Add new initialization functions to the library. These methods
1768 will register the hildon specific icon sizes and can be used in the
1769 future for other hildon specific bits.
1771 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1773 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-window.c: (hildon_window_realize),
1776 (hildon_window_notify), (-hildon_window_update_title): Do not set
1777 the application name in the window title.
1779 Fixes: NB#89754 (Applications shouldn't display their names in the
1782 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1784 * src/hildon-note-private.h:
1785 * src/hildon-note.c: (hildon_note_set_property),
1786 (hildon_note_get_property), (hildon_note_class_init),
1787 (hildon_note_init), (hildon_note_finalize),
1788 (hildon_note_new_confirmation_with_icon_name),
1789 (hildon_note_new_information_with_icon_name):
1791 No need to mark as deprecated the actual code. Revert
1792 to avoid missing symbols in widgets using deprecated API.
1794 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1796 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1798 * src/hildon-volumebar.h
1799 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1800 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1802 * src/hildon-helper.h
1803 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1804 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1806 * examples/Makefile.am:
1807 Deprecate hildon-insensitive-example
1809 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1811 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1813 * examples/hildon-pannable-area-buttons-scroll-example.c:
1814 Make all buttons finger height
1816 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1818 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1820 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1821 update the day model only if it is really required, and to avoid the
1822 full-reconstruction aproach. Now it only add or remove the required days.
1824 The purpose of this is avoid superfluous HildonTouchSelector::changed
1827 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1828 with strange parameters)
1830 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1832 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1834 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1835 the WINDOW_TYPE property.
1837 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1839 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1842 Fix dependency to allow parallel compilation with make -jX
1844 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1846 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1847 color frame and some minor tweaks to make it more consistent with
1850 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1851 highlighted but not visible)
1853 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1855 * examples/Makefile.am: Fixed typo in the Makefile.am.
1857 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1859 Reviewed the use of MAEMO_GTK define, now we add the define in the
1860 compilation line, and we also add it to the pc file.
1862 * configure.ac: Added MAEMO_GTK define to the compilation command
1863 and removed it from the config.h.
1865 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1866 do not have to take care about this define if the library was
1870 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1872 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1874 * examples/Makefile.am,
1875 * examples/hildon-pannable-area-buttons-scroll-example.c,
1876 * examples/hildon-pannable-area-gesture-signals-example.c,
1877 * examples/hildon-pannable-area-scroll-jump-example.c,
1878 * examples/hildon-pannable-area-tree-view-example.c:
1879 Renamed the pannable area examples, now they have more meaningful
1882 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1884 * src/hildon-touch-selector.c:
1885 (hildon_touch_selector_set_column_selection_mode): Used of
1886 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1887 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1888 to avoid re-seting the same selection mode.
1890 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1891 breaks HildonPickerDialog)
1893 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1895 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1896 conditional in the Makefile.am
1898 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1900 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1901 Remove unused methods.
1903 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1905 * src/hildon-button.c (hildon_button_init):
1906 Make button images center-aligned by default
1908 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1911 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1912 activated, we have to think about how to deal with both defines
1913 MAEMO_GTK and MAEMO_CHANGES.
1915 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1917 * examples/hildon-app-menu-example.c (create_menu): Make all
1918 buttons finger size.
1920 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1922 Fixed the compilation without maemo gtk adding ifdefs with
1923 MAEMO_GTK define to the code, we have to check this version more
1926 * examples/Makefile.am: Added control to avoid some examples that
1927 just make sense with maemo gtk.
1930 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1931 hildon modes with the define.
1933 * examples/hildon-edit-toolbar-example.c,
1934 (create_icon_view): Create the icon view without hildon-gtk
1935 helpers if we are not using maemo gtk.
1937 * src/hildon-touch-selector.c,
1938 (_create_new_column): Create the treeview without hildon-gtk
1939 helpers if we are not using maemo gtk.
1941 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1943 * src/hildon-pnnable-area.c,
1944 (hildon_pannable_area_dispose),
1945 (hildon_pannable_area_button_press_cb),
1946 (hildon_pannable_area_child_mapped),
1947 (hildon_pannable_area_add),
1948 (hildon_pannable_area_remove): Added code to control the position
1949 of the event_window when adding and removing children from the
1950 pannable. We have to raise the event window when the child is
1953 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1954 selection mode using custom widget inside pannable)
1956 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1958 * configure.ac: post release version bump
1959 * debian/changelog: version bump
1961 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1966 * configure.ac: bump version
1967 * debian/changelog: updates
1969 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1971 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1972 search mode, in order to avoid lose the focus on the treeview when
1973 a hw key (like enter) is pressed.
1975 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1976 in HildonDateSelector dialog)
1978 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1980 * debian/rules: Added --enable-maintainer-mode
1981 * Makefile.am: Added ACLOCAL_AMFLAGS
1983 This allows to properly regenerate the Makefiles if you modify the
1984 configure.ac or any Makefile.am.
1986 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1988 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1989 properties, not needed at all.
1991 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1993 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1995 * src/hildon-note.c: (hildon_note_set_property),
1996 (hildon_note_get_property), (hildon_note_class_init),
1997 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1998 (hildon_note_new_confirmation_add_buttons): Remove icons.
1999 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2000 (hildon_note_new_information_with_icon_name): Deprecate.
2001 (hildon_note_new_confirmation): Act directly, without calling
2002 the deprecated constructor.
2003 (hildon_note_new_information): Act directly, without calling
2004 the deprecated constructor.
2005 * src/hildon-note.h: Mark deprecate methods as such.
2006 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2007 not run tests on the deprecated methods if built with deprecation
2010 Fixes: NB#91688 (Never show icons in information notes/confirmation
2013 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2015 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2016 (hildon_app_menu_key_press): Remove leftover usage of the
2017 private structure in HildonAppMenu struct.
2018 * src/hildon-app-menu.h: Remove leftover private structure
2019 from the HildonAppMenu struct.
2021 Fixes a crasher when using the HildonAppMenu.
2023 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2025 * src/hildon-picker-dialog.c: Use appropriate logical id
2026 for the default "Done" text.
2028 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2030 * configure.ac: post release version bump
2031 * debian/changelog: version bump
2033 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2035 Modified the way to scroll to the current selection just when the touch
2036 selector is shown on the screen, avoiding a g_idle. Added too a property
2037 to configure this behaviour. See hildon_pannable_area_jump_to_child
2038 documentation for more information.
2040 * src/hildon-touch-selector.c
2041 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2042 Added 'initial-scroll' property
2043 (hildon_touch_selector_set_property): Added
2044 (hildon_touch_selector_map): Removed as not required anymore
2045 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2046 only a concrete column, instead of iterate along all the columns
2048 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2053 * configure.ac: bump version
2054 * debian/changelog: updates
2056 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2059 compilation time warnings.
2061 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2063 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2064 the default value for HildonPannableArea::mov-mode to
2065 HILDON_PANNABLE_AREA_MODE_VERT.
2067 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2069 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2071 Reverting following commit:
2073 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2075 * src/hildon-app-menu-private.h
2076 * src/hildon-app-menu.[ch]
2077 * src/hildon-button.[ch]
2078 * src/hildon-check-button.[ch]
2079 * src/hildon-entry.[ch]
2080 * src/hildon-pannable-area.[ch]
2081 * src/hildon-text-view.[ch]:
2082 Added private field to the object's structure.
2084 because it causes an ABI breakage. We will need to introduce these
2085 changes later at some point. See NB#91636 for an extensive
2086 explanation and status.
2088 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2090 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2092 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2093 remove special cases that are no longer necessary.
2095 Fixes: NB#91016 (Change toolbar sizes, simplification)
2097 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2099 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2100 is shown in the cancel note.
2102 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2104 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2105 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2106 (hildon_seekbar_init): Remove steppers, remove expose event.
2107 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2109 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2111 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2113 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2114 label font to "SmallSystemFont" for vertically arranged buttons.
2116 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2119 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2121 * src/hildon-check-button.c
2122 (hildon_check_button_set_active, hildon_check_button_clicked):
2123 Don't access private parts directly, use getters instead.
2125 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2127 * src/hildon-check-button.c (hildon_check_button_new):
2128 Align the contents of the check button to the left.
2130 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2132 * src/hildon-pannable-area.c,
2133 (hildon_pannable_area_scroll_to),
2134 (hildon_pannable_area_jump_to),
2135 (hildon_pannable_area_scroll_to_child),
2136 (hildon_pannable_area_jump_to_child): Replace the mapped
2137 precondition of these functions with the realized, it is the
2138 correct state of the widget in this case. Changed the
2139 documentation according to this modification.
2141 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2143 Added a new EXTRA_CFLAGS option to add the deprecated define to
2144 the compilation command. This way we can avoid using the define in
2145 the documentation compilation.
2147 * configure.ac: Defined EXTRA_CFLAGS.
2149 * examples/Makefile.am:
2151 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2153 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2155 * src/hildon-picker-dialog.c:
2156 Defined a utility macro with the desired touch selector height
2157 Removed currently unused separator, and title_label variables from
2159 (hildon_picker_dialog_init): Removed code related to the creation
2160 of unused private variables title_label and separator.
2161 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2162 to ensure correct visualization of the touch selector inside the dialog.
2163 * src/hildon-touch-selector.c
2164 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2165 ensure a concrete height of the widget.
2167 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2170 * tests/Makefile.am:
2172 Remove spurious whitespaces.
2174 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2176 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2177 compilation warning after the cancel button removal.
2179 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2181 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2183 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2184 Makefile.am, that way we can choose not to compile some examples
2185 and tests of the deprecated widgets.
2187 * examples/Makefile.am: Divided the sources in deprecated and
2190 * src/Makefile.am: Added undef statement of the deprecated
2191 symbol to the enums file generation process.
2193 * src/hildon-color-chooser-dialog.c
2194 * src/hildon-color-chooser-dialog.h
2195 * src/hildon-color-button.c
2196 * src/hildon-color-button.h
2197 * src/hildon-color-chooser.c
2198 * src/hildon-color-chooser.h
2199 * src/hildon-controlbar.c
2200 * src/hildon-controlbar.h
2201 * src/hildon-date-editor.c
2202 * src/hildon-date-editor.h
2203 * src/hildon-hvolumebar.c
2204 * src/hildon-hvolumebar.h
2205 * src/hildon-private.c
2206 * src/hildon-private.h
2207 * src/hildon-range-editor.c
2208 * src/hildon-range-editor.h
2209 * src/hildon-seekbar.c
2210 * src/hildon-seekbar.h
2211 * src/hildon-time-editor.c
2212 * src/hildon-time-editor.h
2213 * src/hildon-time-picker.c
2214 * src/hildon-time-picker.h
2215 * src/hildon-volumebar.c
2216 * src/hildon-volumebar.h
2217 * src/hildon-vvolumebar.c
2218 * src/hildon-vvolumebar.h
2219 * src/hildon-bread-crumb-trail.h
2220 * src/hildon-bread-crumb-trail.c
2221 * src/hildon-calendar-popup.c
2222 * src/hildon-calendar-popup.h
2223 * src/hildon-weekday-picker.c:
2224 * src/hildon-weekday-picker.h:
2225 * src/hildon-bread-crumb-widget.c:
2226 * src/hildon-bread-crumb-widget.h:
2227 * src/hildon-bread-crumb.c:
2228 * src/hildon-bread-crumb.h:
2229 * src/hildon-calendar.c:
2230 * src/hildon-calendar.h:
2231 * src/hildon-caption.c:
2232 * src/hildon-code-dialog.c:
2233 * src/hildon-code-dialog.h:
2234 * src/hildon-font-selection-dialog.c:
2235 * src/hildon-font-selection-dialog.h:
2236 * src/hildon-get-password-dialog.c:
2237 * src/hildon-get-password-dialog.h:
2238 * src/hildon-login-dialog.c:
2239 * src/hildon-login-dialog.h:
2240 * src/hildon-number-editor.c:
2241 * src/hildon-number-editor.h:
2242 * src/hildon-set-password-dialog.c:
2243 * src/hildon-set-password-dialog.h:
2244 * src/hildon-sort-dialog.c:
2245 * src/hildon-sort-dialog.h: This is the list of deprecated
2248 * src/hildon-touch-selector.c:
2249 * src/hildon-window.c: Added undef statement to avoid compilation
2252 * tests/Makefile.am: Divided the sources in deprecated and
2255 * tests/check_test.c,
2256 (configure_tests): Marked the deprecated code that was adding
2257 suites with deprecated tests.
2259 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2261 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2263 * src/hildon-touch-selector.c: (_default_print_func): Do not
2264 duplicate a string returned by gtk_tree_model_get(), it is already
2267 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2270 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2272 * src/hildon-pannable-area.c
2273 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2274 method, it had problems when adding a widget with viewport the
2275 second time. Now checks if it already has a viewport and uses it.
2277 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2280 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2282 * src/hildon-pannable-area.c,
2283 (hildon_pannable_area_scroll_to),
2284 (hildon_pannable_area_jump_to),
2285 (hildon_pannable_area_scroll_to_child),
2286 (hildon_pannable_area_jump_to_child): Added a precondition to the
2287 scroll and jump to functions: the widget must be mapped before we
2288 can safely call these functions. We have also added documentation
2289 to the functions to explain how to use them in this situation.
2292 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2294 Reviewed the threading handling of the pannable widget, we have
2295 used the gdk_threads_add_timeout function instead of the usual
2296 glib handlers. This avoids some problems with the threads.
2298 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2299 (hildon_pannable_area_initial_effect),
2300 (hildon_pannable_area_scroll_indicator_fade),
2301 (hildon_pannable_area_button_press_cb),
2302 (hildon_pannable_area_timeout),
2303 (hildon_pannable_area_motion_notify_cb),
2304 (hildon_pannable_area_button_release_cb),
2305 (hildon_pannable_area_scroll_cb),
2306 (hildon_pannable_area_scroll_to): Removed the
2307 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2308 gdk_threads_add_timeout.
2310 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2312 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2317 * configure.ac: bump version
2318 * debian/changelog: updates
2320 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2322 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2323 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2324 * src/hildon-color-chooser-dialog.c:
2325 (hildon_color_chooser_dialog_init):
2326 * src/hildon-font-selection-dialog.c:
2327 (hildon_font_selection_dialog_init):
2328 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2330 Remove all cancel/close-like dialogs, as these are not going to be
2333 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2335 * src/hildon-note.c: (hildon_note_rebuild),
2336 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2339 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2341 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2343 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2344 sure all buttons are shown, even the Cancel/Close-like ones.
2346 Fixes: NB#90861 (Custom Confirmation dialogs should be
2347 protected from cancel button removal)
2349 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2351 * debian/control: Change libhildon1-examples dependency from libhildon1
2353 * debian/libhildon1-examples.install
2355 * Makefile.am: Modified the final install directory for the examples on
2356 package libhildon1-examples
2357 * Makefile.static: Update clean target in order to remove all the binary
2360 Changes suggested by Claudio after review new libhildon1-examples package
2362 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2364 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2365 * src/hildon-touch-selector.c: Ditto.
2367 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2369 * debian/control: Added new package libhildon1-examples, in order to pack
2370 the current hildon examples as documentation
2371 * debian/rules: Not to compress .c files, modify some includes on the
2372 examples (as normally are compiled locally, but when installed it will
2373 require to include the installed libhildon1 library), and rename
2375 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2376 install all the example files on the new example package
2377 * examples/Makefile.static: Added static makefile that can be used to
2378 compile the examples, once installed the new example package
2379 * examples: Most of the examples were modified in order to grant that
2380 all use only '#include "hildon.h"', in order to be easy to prepare
2381 it on the example package
2383 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2386 * debian/libhildon1-dev.install
2387 * debian/libhildon1-doc.install:
2388 Move all gtk-doc files to a separate libhildon1-doc package.
2390 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2392 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2394 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2396 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2398 * debian/rules: Fixed a error in order to avoid unnecessary calls
2399 to autogen.sh on package building
2401 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2403 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2405 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2410 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2412 * src/hildon-picker-button.c
2413 (hildon_picker_button_finalize):
2414 Free priv->done_button_text
2416 * src/hildon-time-button.c
2417 (hildon_time_button_set_time)
2418 * src/hildon-picker-button.c
2419 (hildon_picker_button_clicked)
2420 (hildon_picker_button_selector_selection_changed)
2421 (hildon_picker_button_set_selector)
2422 * src/hildon-date-button.c
2423 (hildon_date_button_set_date):
2424 Free strings returned by hildon_touch_selector_get_current_text()
2426 * src/hildon-button.c (hildon_button_construct_child):
2427 Fix leaks in priv->image and priv->label_box
2429 Fixes: NB#90535 (Memory leak in picker button)
2431 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2433 * src/hildon-button.c: (hildon_button_get_property): Do not access
2434 private elements directly, use getters instead.
2436 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2438 * src/hildon-app-menu-private.h
2439 * src/hildon-app-menu.c
2440 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2441 Store the menu's parent window.
2443 * src/hildon-stackable-window.c
2444 (hildon_stackable_window_toggle_menu)
2445 (hildon_stackable_window_finalize):
2446 Set the menu's parent window when the menu is shown, unset it when
2449 * src/hildon-app-menu.c
2450 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2451 (hildon_app_menu_class_init):
2452 Send unhandled keyboard accelerators to the parent window.
2454 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2456 * src/hildon-stackable-window.c
2457 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2459 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2461 * configure.ac: post release version bump
2463 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2466 * configure.ac: Bump version
2467 * debian/changelog: Updates
2468 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2471 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2473 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2476 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2477 GtkMenu with Hildon style.
2479 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2481 * src/hildon-picker-button.c:
2482 (hildon_picker_button_set_done_button_text): Set the dialog's
2483 done button text here as well.
2485 Fixes: NB#90232 (Picker button does not set the label on done button
2486 for the second time)
2488 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2490 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2493 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-app-menu.c (hildon_app_menu_insert)
2496 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2497 the HildonAppMenu to be activatable using keyboard accelerators
2498 when the menu is not being shown.
2500 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2502 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2504 * src/hildon-stackable-window.c
2505 (hildon_stackable_window_show):
2506 Don't hide old windows automatically when new windows are shown:
2507 this is now a task for the window manager.
2508 (hildon_stackable_window_class_init)
2509 (hildon_stackable_window_hide):
2510 Remove windows from the stack everytime they're hidden.
2511 (hildon_stackable_window_realize):
2512 Don't change the _NET_WM_WINDOW_TYPE property. Use
2513 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2514 it as a stackable window.
2516 * src/hildon-program.c
2517 (hildon_program_pop_window_stack):
2518 Just hide the window to remove it from the stack.
2519 (hildon_program_go_to_root_window):
2520 Don't call gtk_widget_show(), this is now a task for the window
2523 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2525 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2527 * src/hildon-button.c
2528 (hildon_button_construct_child):
2529 Don't pack anything in the button until text or image are
2530 set. This allows adding a custom child after creating the button
2531 with hildon_button_new().
2532 (hildon_button_finalize, hildon_button_class_init)
2533 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2534 alignment and the label box even when they're not packed in the
2537 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2539 * src/hildon-touch-selector.h:
2540 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2541 currently the type definition was using GTK_TYPE_VBOX
2542 * src/hildon-touch-selector.c:
2543 Added some implementation notes in order to clarify that any other widget
2544 added without the column related API will not be included on the
2545 selection logic, and how the widget is freed, as some people ask about
2547 (hildon_touch_selector_remove): Reimplemented in order to free properly
2548 the column related data when you remove the private hbox.
2549 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2550 to get a proper HildonTouchSelectorColumn documentation
2552 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2554 * src/hildon-touch-selector-entry.c:
2555 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2556 text in the GtkEntry and there is no item selected. Fixes a
2559 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2561 * src/hildon-app-menu-private.h
2562 * src/hildon-app-menu.[ch]
2563 * src/hildon-button.[ch]
2564 * src/hildon-check-button.[ch]
2565 * src/hildon-entry.[ch]
2566 * src/hildon-pannable-area.[ch]
2567 * src/hildon-text-view.[ch]:
2568 Added private field to the object's structure.
2570 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2572 * configure.ac: post-release version bump
2574 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2578 * configure.ac: pre-release version bump
2580 * debian/changelog: updates.
2582 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2584 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2585 Disconnect the handler for HildonTouchSelector::changed.
2587 (hildon_picker_button_selector_selection_changed): Update the button
2588 value if the selection change was not triggered by the
2591 (hildon_picker_button_set_selector): connect to
2592 HildonTouchSelector::changed.
2594 Fixes: NB#89650 (Picker button is not updated, when selection in
2595 selector has changed)
2597 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2599 * src/hildon-picker-dialog.c
2600 (hildon_picker_dialog_realize): Removed as not required
2601 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2602 * src/hildon-picker-button.c
2603 (_current_selector_empty): New function, checks if the selector is empty
2604 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2605 if the current selector is empty, in order to avoid to show the dialog
2606 close the dialog in this case (and shows a g_warning).
2608 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2610 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2612 * src/hildon-pannable-area.c,
2613 (hildon_pannable_area_scroll): Added clause to stop movement when
2614 the child of pannable is smaller than one page.
2615 (hildon_pannable_area_scroll_to): Added conditions to avoid
2616 starting the scrolling movement if the child is smaller than one
2617 page, the complete child is in the screen, we do not have to move.
2619 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2621 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2623 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2624 this is managed automatically by the widget when the size of the
2627 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2629 * src/hildon-picker-button.c
2630 (hildon_picker_button_set_done_button_text): Make a copy of the
2631 text, and free the previous value.
2633 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2635 * src/hildon-touch-selector-entry.c:
2636 (hildon_touch_selector_entry_print_func): Return the selected row's
2637 text if the entry is empty.
2639 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2642 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2644 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2646 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-check-button.h
2650 * src/hildon-check-button.c
2651 * examples/hildon-check-button-example.c:
2652 HildonCheckButton is now a new widget. 'toggled' signal added.
2654 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2656 * src/hildon-program-private.h
2657 * src/hildon-program.c (hildon_program_init)
2658 (hildon_program_finalize): Removed unused variables group_leader
2659 and name from HildonProgramPrivate.
2661 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2663 * src/hildon-check-button.c (hildon_check_button_set_active)
2664 (hildon_check_button_get_active, hildon_check_button_new): Use
2665 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2667 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2669 * src/hildon-touch-selector.h
2670 (hildon_touch_selector_set_column_attributes): added deprecation
2671 guard HILDON_DISABLE_DEPRECATED
2672 * src/hildon-time-selector.c
2673 (hildon_time_selector_set_time)
2674 (hildon_time_selector_get_time): Fixed a typo on documentation
2675 * src/hildon-touch-selector.c: update HildonTouchSelector and
2676 HildonTouchSelectorColumn documentation
2677 * src/hildon-touch-selector-entry.c: update "text-column" property
2679 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2680 to be added to the general documentation.
2682 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2684 * examples/hildon-pannable-area-example-4.c,
2686 * examples/hildon-pannable-area-example.c,
2687 (main): Modified the code in order to use the container add, with
2688 viewport treeviews could have problems if they are really big.
2690 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2692 * src/hildon-weekday-picker.c,
2693 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2694 the agreement regarding deprecation in the library.
2696 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2698 * examples/hildon-picker-button-multicolumn-example.c:
2699 (main): Use custom "done" button text.
2701 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2702 (hildon_picker_button_set_property),
2703 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2704 (hildon_picker_button_init),
2705 (+hildon_picker_button_get_done_button_text),
2706 (+hildon_picker_button_set_done_button_text): New methods to customize
2707 the "done" button label in the launched HildonPickerDialog. Also,
2710 * src/hildon-picker-button.h: add the public API.
2712 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2714 * src/hildon-date-selector.h:
2715 * src/hildon-picker-dialog.h:
2716 * src/hildon-time-selector.h:
2717 * src/hildon-touch-selector-column.h:
2718 * src/hildon-touch-selector.h:
2720 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2721 declarations. Fixes gtk-doc warnings.
2723 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2725 * src/hildon-picker-dialog.h
2726 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2727 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2729 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2730 long text is set as label for done button)
2732 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2734 * src/hildon-dialog.c (hildon_dialog_add_button):
2735 Set fixed width to all buttons in the HildonDialog.
2737 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2739 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2741 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2742 Set widget name using class name plus "-finger" or "-thumb".
2744 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2747 'clicked' when the state of the button is manually changed.
2749 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2751 * src/hildon-app-menu.c (hildon_app_menu_realize)
2752 (hildon_app_menu_unrealize, hildon_app_menu_init)
2753 (hildon_app_menu_class_init, item_visibility_changed):
2754 Change the menu layout when the size of the screen changes.
2755 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2756 Show warning only when changing the number of colums using the
2759 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2761 * debian/compat: Set to 5
2762 * debian/control: Update dependencies.
2763 * debian/libhildon1-dbg.install: Remove.
2764 * debian/libhildon1-dev.install: Update according to cdbs paths.
2765 * debian/libhildon1.install: Update according to cdbs paths.
2766 * debian/rules: Switch to cdbs.
2768 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2770 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2771 'item' variable renamed to 'filter'
2773 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2775 * src/hildon-app-menu.c (hildon_app_menu_insert)
2776 (hildon_app_menu_add_filter, remove_item_from_list)
2777 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2778 Don't leak hidden items when the menu is destroyed.
2780 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-app-menu.c (hildon_app_menu_insert)
2783 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2784 (hildon_app_menu_set_columns, item_visibility_changed)
2785 (filter_visibility_changed, hildon_app_menu_repack_filters)
2786 (hildon_app_menu_repack_items):
2787 Repack items and filters separately.
2789 Don't repack all items, change only the ones that are needed to
2792 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2794 * src/Makefile.am: added hildon-touch-selector-column.h
2796 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2798 * src/hildon-touch-selector.c: added the property "text-column" to the
2799 class HildonTouchSelectorColumn, and related get/set functions
2800 (_default_printf_func): updated to use "text-column" property
2801 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2802 "text-column" in his documentation, as this is now included on
2803 HildonTouchSelectorColumn. The get/set_property can still be used,
2804 working as a wrapper to the concrete column "text-column" property
2805 (_text_column_modified): callback added in order to handle the signal
2806 "notify::text-column" of the concrete HildonTouchSelectorColumn
2807 (hildon_touch_selector_entry_get_text_column)
2808 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2809 modified in order to use the HildonTouchSelectorColumn "text-column"
2811 * src/hildon-time-selector.c:
2812 * src/hildon-date-selector.c:
2813 * examples/hildon-touch-selector-example.c
2814 * examples/hildon-touch-selector-multi-cells-example.c
2815 * examples/hildon-picker-button-multicolumn-example.c
2816 Set the right value to "text-column" property on the creation of a new
2817 column using hildon_touch_selector_append_column()
2819 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2821 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2823 * src/hildon-app-menu.c
2824 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2825 updating the layout of the menu, don't create all widgets again,
2826 just repack the items in their new places.
2828 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2830 * src/hildon-time-selector.c
2831 (hildon_time_selector_get_time)
2832 (hildon_time_selector_set_time)
2833 Added documentation of these public methods
2835 * src/hildon-date-button.h
2836 * src/hildon-touch-selector-column.h
2837 * src/hildon-time-button.h
2838 * src/hildon-picker-dialog.h
2839 * src/hildon-time-selector.h
2840 * src/hildon-picker-button.h
2841 * src/hildon-touch-selector.h
2842 * src/hildon-time-picker.h
2843 * src/hildon-date-selector.h
2844 * src/hildon-touch-selector-entry.h
2845 Modified in order to use hildon-widgets code style
2847 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2849 Added deprecated support to the compilation process using
2850 HILDON_DISABLE_DEPRECATED
2852 * configure.ac: Added the --disable-deprecated to the configure
2855 * src/hildon-weekday-picker.c:
2856 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2857 to use the deprecated support. We will update the other deprecated
2858 widgets status in a new patch.
2860 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2862 * configure.ac: Fixed typo with fatal warnings support, the
2863 variable name was not correct
2865 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2867 * src/hildon-app-menu.c
2868 * src/hildon-program.c: Update documentation.
2870 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2872 * configure.ac: Post-release version bump.
2874 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2879 * configure.ac: Pre-release version bump.
2880 * debian/changelog: Updates.
2882 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2884 * NEWS: Update news for previous releases.
2886 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2888 * examples/hildon-touch-selector-multi-cells-example.c:
2889 (create_selector): Update the example to use
2890 hildon_touch_selector_append_column() with a NULL renderer and set
2891 the renderers later.
2892 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2893 passed a NULL renderer. This is documented behavior now.
2895 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2896 This must be used if the developer wants full control on the layout of
2897 the renderers to be added to the column.
2899 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2901 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2903 * src/hildon-touch-selector.c: Documentation fixes.
2905 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2907 * src/hildon-wizard-dialog-private.h: Remove image and box.
2908 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2909 (hildon_wizard_dialog_set_property), (response): Completely remove
2910 image/icon support, and the containers required for the layout.
2912 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2914 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-app-menu.c: Updated documentation.
2918 * src/hildon-stackable-window.c
2919 (hildon_stackable_window_set_main_menu): Unref the old menu after
2920 ref'ing the new one.
2922 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2924 * src/hildon-stackable-window.c
2925 (hildon_stackable_window_set_main_menu): Unref the previous menu
2926 instead of destroying it.
2928 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2929 floating reference and set has_user_ref_count to FALSE to make
2930 HildonAppMenu act like a normal ref-counted widget and not a
2933 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2936 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2938 * src/hildon-touch-selector-column.h: new file
2939 * src/hildon-touch-selector.h
2940 * src/hildon-touch-selector.c
2941 Implemented GtkCellLayout interface, in order to allow to configure
2942 the cell layout on each individual selector column
2943 (hildon_touch_selector_set_column_attributes): marked as deprecated
2944 * examples/hildon-touch-selector-multi-cells-example.c
2945 Example of how to use the GtkCellLayout interface on the selector
2947 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2949 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-app-menu.h
2952 * src/hildon-app-menu.c
2953 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2954 (hildon_app_menu_append, hildon_app_menu_prepend):
2955 New methods to prepend, insert and move items in the menu.
2957 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2959 * src/hildon-wizard-dialog.c:
2961 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2963 (create_title): Update logical IDs and related code.
2964 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2966 * src/hildon-wizard-dialog.h: Note that
2967 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2968 point, as it is not used anymore.
2970 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2972 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-note.c:
2975 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2976 shown. Do not display an icon in confirmation notes nor information
2978 (hildon_note_set_button_text): Update logical ID for cancel button.
2980 Fixes: NB#88850 (Update HildonNote button strings + signals)
2982 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2984 * src/hildon-stackable-window.c
2985 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2987 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2989 * src/hildon-app-menu-private.h
2990 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2991 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2992 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2993 temporary property 'columns' to change the number of columns.
2995 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2997 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2999 * examples/hildon-note-example.c: (on_information_clicked),
3000 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3001 debugging information.
3002 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3004 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3005 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3006 in order to close: this will be handled by the WM from now on.
3008 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3010 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-app-menu-private.h
3013 * src/hildon-app-menu.c
3014 (hildon_app_menu_append, hildon_app_menu_add_filter)
3015 (button_visibility_changed, hildon_app_menu_apply_style)
3016 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3017 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3018 layout everytime a button (item or filter) is shown or hidden.
3020 * src/hildon-stackable-window.c
3021 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3024 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3026 * src/hildon-touch-selector.c:
3027 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3028 that the treeview inside the touch selector is in fremantle hildon mode
3029 * examples/hildon-date-button-example.c
3030 * examples/hildon-picker-button-multicolumn-example.c
3031 * examples/hildon-touch-selector-entry-example.c
3032 * examples/hildon-touch-selector-example.c
3033 * examples/hildon-time-button-example.c
3034 * examples/hildon-picker-button-example.c:
3035 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3037 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3039 * examples/hildon-text-view-example.c: (main): Remove the
3040 gtkrc bits, now handled by the theme.
3042 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3044 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3047 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3049 * po/Makefile.am: Install properly the mo files.
3050 * po/en_GB.po: Update translation, to ease testing purposes.
3052 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3054 * examples/hildon-picker-button-example.c: (main): Select an item
3055 in the selector before setting it to the button.
3057 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3059 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3060 Update button's value if the selector has an item active.
3062 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3063 'value' with the selector)
3065 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3067 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3068 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3069 (hildon_picker_button_class_init): Plug the finalize method.
3070 (hildon_picker_button_set_selector): If there's a previously set
3071 selector, unref'it before setting a new one.
3073 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3074 HildonTouchSelector)
3076 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3078 * src/hildon-touch-selector-entry.c:
3079 (hildon_touch_selector_entry_changed): Check if there is no text
3080 selected before setting the entry text.
3083 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-touch-selector.h
3086 * src/hildon-touch-selector.c
3087 (hildon_touch_selector_get_active)
3088 (hildon_touch_selector_set_active): New methods to set/get the
3089 index of the selected item.
3091 * src/hildon-picker-button.h
3092 * src/hildon-picker-button.c
3093 (hildon_picker_button_get_active)
3094 (hildon_picker_button_set_active): New methods to set/get the
3095 index of the selected item.
3097 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3099 * configure.ac: post-release version bump.
3101 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3105 * configure.ac: Pre-release version bump.
3106 * debian/changelog: Updates.
3107 * debian/control: Add myself as maintainer and depend on l10n
3110 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3112 * src/hildon-window.c
3113 (hildon_window_set_main_menu)
3114 * src/hildon-stackable-window.c
3115 (hildon_stackable_window_set_main_menu):
3116 Updated documentation.
3118 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3121 Don't free selector->priv manually.
3124 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3127 (hildon_gtk_window_set_progress_indicator):
3128 * src/hildon-gtk.h: Added the new API
3129 hildon_gtk_window_set_progress_indicator, it changes the state of
3130 the window progress hint.
3132 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3134 * src/hildon-button.c
3135 * src/hildon-stackable-window.c: Minor documentation updates.
3137 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3139 * src/hildon-stackable-window.c: Updated documentation.
3141 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3143 * src/hildon-defines.h: Update margins definitions
3144 to the Fremantle sizes.
3147 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3149 * src/hildon-touch-selector.c,
3150 (_hildon_touch_selector_set_model): Cleaning the code after
3151 review, removed g_print and #if 0 from the code.
3153 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3155 * src/hildon-edit-toolbar.c: Update documentation.
3157 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3159 * src/hildon-check-button.h
3160 * src/hildon-check-button.c
3161 (hildon_check_button_set_label, hildon_check_button_get_label)
3162 * examples/hildon-check-button-example.c
3163 (button_clicked_cb):
3164 Removed deprecated methods.
3166 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-text-view.c:
3169 Add sample code to the documentation.
3171 * src/hildon-entry.h
3172 * src/hildon-text-view.h:
3173 Minor cosmetic changes.
3175 * src/hildon-entry.c:
3176 Add sample code to the documentation.
3177 (hildon_entry_init, hildon_entry_refresh_contents):
3178 Don't allow NULL values in the placeholder.
3180 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3182 * doc/hildon-docs.sgml
3184 * examples/Makefile.am
3185 * examples/hildon-text-view-example.c
3187 * src/hildon-text-view.c
3188 * src/hildon-text-view.h
3190 New HildonTextView widget, with example.
3192 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3194 * po/POTFILES.in: Add missing files with translatable strings.
3195 Partially fixes NB#88287.
3197 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3199 * examples/hildon-pannable-area-example-2.c: (main): No need to
3200 set the cellrenderer height inside hildon touch lists, the theme does
3203 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3205 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3206 they are integrated in the theme.
3208 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3210 * examples/hildon-entry-example.c: Update the example adding
3211 widgets to modify the text and the placeholder of the HildonEntry.
3213 * src/hildon-entry.c: Show the placeholder everytime the widget
3214 is empty and loses the focus.
3216 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3218 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3220 * src/hildon-pannable-area.c,
3221 (hildon_pannable_area_size_request): Fixed bug in height
3222 requisition, avoid increasing size and add border twice.
3224 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3226 * configure.ac: postrelease version bump.
3228 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3232 * configure.ac: Prerelease version bump.
3233 * debian/changelog: update.
3234 * debian/rules: make -dbg package contain useful debugging symbols.
3236 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-dialog.h
3239 * src/hildon-dialog.c
3240 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3241 New methods to add buttons with finger size.
3242 (hildon_dialog_new_with_buttons):
3243 Create buttons with finger size.
3245 * examples/hildon-dialog-example.c (main): Use HildonDialog
3246 methods to add buttons.
3248 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-entry.c: Updated HildonButton documentation.
3252 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3254 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3255 button value label with (FALSE, FALSE) to prevent NB#88126 from
3258 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3260 * examples/hildon-pannable-area-example.c,
3261 (main): Removed examples panning a vbox inside a pannable
3262 area. Check bug NB#87965
3264 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3266 Patch contributed by Kris Rietveld (kris@imendio.com)
3268 * src/hildon-pannable-area.c,
3269 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3270 get_size and get_position, this saves an X server roundtrip.
3272 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3274 * doc/hildon-docs.sgml
3276 * examples/Makefile.am
3277 * examples/hildon-entry-example.c
3279 * src/hildon-entry.c
3280 * src/hildon-entry.h
3282 New HildonEntry widget, with example.
3284 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3286 * src/hildon-button.c (hildon_button_construct_child): Pack the
3287 image with expand == fill == FALSE. This is a workaround for a bug
3290 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3292 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3293 labels for the text column, to make it more look more dynamic.
3295 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3297 * src/hildon-time-selector.c
3298 Define gettext auxiliar macro N_
3299 (_create_minutes_model)
3300 (_create_hours_model)
3301 (_create_ampm_model): use of strftime in order to fill the model
3302 * src/hildon-date-selector.c
3303 (hildon_date_selector_finalize):
3304 (_locales_init): remove the logic related to get the name of the months
3305 using nl_langinfo, as it is not required anymore
3307 (_create_year_model)
3308 (_create_month_model)
3309 (_update_day_model): use of strftime in order to fill the model properly
3312 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-button.h
3315 * src/hildon-button.c (hildon_button_get_image): New method to
3318 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3320 * src/hildon-touch-selector.c:
3321 (hildon_touch_selector_remove_column): Remove from the correct parent
3322 and also remove the list element and free it.
3325 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3327 * src/hildon-time-selector.c
3328 (_create_hours_model): change the range on 12h ampm format in order to use
3329 a 12-11 range instead of previous 01-12 range
3330 (hildon_time_selector_set_time): change the way to select the current time
3331 on 12h ampm format, due the change on the range
3332 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3335 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3337 * src/hildon-touch-selector.c
3338 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3339 in order to allow use this function on multiple row selection mode if
3340 the column is different that the first one
3343 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3345 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3346 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3348 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3350 * src/hildon-date-selector.h: clean some comments, now on the .c
3351 * src/hildon-date-selector.c
3352 (hildon_date_selector_select_month): first implementation
3353 (hildon_date_selector_select_day): added documentation, reimplemented
3354 using hildon_date_selector_select_current_date to avoid repeat code
3357 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3359 Reviewed interaction logic based on device experiences, refactored
3362 * src/hildon-pannable-area.c,
3363 (hildon_pannable_area_class_init): Updated default vmax speed.
3364 (hildon_pannable_area_calculate_velocity): Added this function, it
3365 avoids duplicate valocity calculation. Adjusted calculation to
3366 avoid problems with zero dist events.
3368 (hildon_pannable_area_motion_notify_cb): Now we use the
3369 calculate_velocity function.
3371 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3373 * src/hildon-date-selector.c
3374 (hildon_date_selector_select_current_date): fix the day range check
3375 as it failed using the last day of the current month
3378 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3380 * src/hildon-touch-selector.c
3381 (hildon_touch_selector_get_num_columns): added a parameter validation
3384 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3386 * examples/Makefile.am
3387 * examples/hildon-edit-toolbar-example.c: Example of the
3388 HildonEditToolbar widget.
3390 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3392 * configure.ac: postrelease version bump.
3394 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3398 * configure.ac: prerelease version bump.
3399 * debian/changelog: update.
3401 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3403 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3404 renderer to display stock icons in the touch list. Also, set the sizes
3405 to the recommended in the style guide.
3407 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3408 * src/hildon-touch-selector.h
3409 (hildon_touch_selector_set_active_iter): renamed, now is
3410 hildon_touch_selector_select_iter
3411 (hildon_touch_selector_get_active_iter): renamed, now is
3412 hildon_touch_selector_get_selected
3413 (hildon_touch_selector_unselect_iter): added
3414 * src/hildon-touch-selector.c
3415 Update after API modification (methods renamed)
3416 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3417 order to avoid problems selecting multiple elements on the column
3418 (hildon_touch_selector_unselect_iter): added the implementation
3419 * src/hildon-time-selector.c
3420 * src/hildon-date-selector.c
3421 * src/hildon-touch-selector-entry.c
3422 Update methods calls after hildon-touch-selector.h API modification (methods
3425 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3427 * src/hildon-stackable-window.c
3428 (hildon_stackable_window_finalize): Call the parent class's finalize.
3430 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3432 * examples/hildon-touch-selector-example.c: (create_selector): Use
3433 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3436 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3438 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3439 set a cell background color, to respect theming.
3441 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3443 * doc/hildon-docs.sgml
3446 * src/hildon-edit-toolbar.c
3447 * src/hildon-edit-toolbar.h
3448 * src/hildon.h: New HildonEditToolbar widget.
3450 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3452 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3455 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3456 * src/hildon-touch-selector.c
3457 (_create_new_column): use g_object_set instead of two g_object_set_property
3459 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3460 * src/hildon-touch-selector.c
3461 (_create_new_column): use of hildon_gtk_tree_view_new to create
3462 the treeview, instead of use directly g_object_new
3463 (_create_new_column): update the property name "vindicator-mode" for the
3464 new one "vscrollbar-policy"
3465 * examples/hildon-date-button-example.c
3466 * examples/hildon-picker-button-multicolumn-example.c
3467 * examples/hildon-touch-selector-entry-example.c
3468 * examples/hildon-touch-selector-example.c
3469 * examples/hildon-time-button-example.c
3470 * examples/hildon-picker-button-example.c
3471 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3472 to all the treeviews inside a pannable area.
3474 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-button.h
3477 * src/hildon-button.c (hildon_button_init)
3478 (hildon_button_set_arrangement, hildon_button_set_alignment)
3479 (hildon_button_set_title_alignment)
3480 (hildon_button_set_value_alignment)
3481 (hildon_button_set_image_alignment)
3482 (hildon_button_construct_child): New methods to set the alignment
3483 of the individual components of the button (title, value,
3484 image). Also, new method to alter the xscale and yscale properties
3485 of the GtkAlignment inside the button, so more complex layouts can
3488 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3490 * src/hildon-button.c (hildon_button_style_set)
3491 (hildon_button_class_init, hildon_button_set_arrangement)
3492 (hildon_button_construct_child): Apply style properties
3493 correctly. Use the 'image-spacing' style property too.
3495 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3497 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3498 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3501 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pannable-area.c,
3504 (hildon_pannable_area_size_request): Fixed problem with
3505 pannable-area size_request.
3507 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3509 Added management for the grab-focus to a child widget, like a
3510 range, we need to fade out the scrollbar when releasing.
3512 * src/hildon-pannable-area.c,
3513 (hildon_pannable_area_init): Connected the grab-focus signal to
3515 (hildon_pannable_area_grab_notify): Added this function in order
3516 to manage the situation when the grab-focus ends. We have to
3517 fade-out the scrollbar.
3519 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3521 * src/hildon-app-menu.c: Minor documentation update.
3523 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3525 * src/hildon-app-menu.c
3526 * examples/hildon-app-menu-example.c (create_menu): Update
3527 examples and documentation to explain how to connect callbacks.
3529 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3531 * examples/hildon-button-example.c
3532 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3533 hildon_stackable_window_new instead of gtk_window_new
3535 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3538 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3539 (hildon_pannable_area_set_property),
3540 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3541 (hildon_pannable_area_unrealize),
3542 (hildon_pannable_area_size_request),
3543 (hildon_pannable_area_size_allocate),
3544 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3545 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3546 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3547 (hildon_pannable_area_initial_effect),
3548 (hildon_pannable_area_redraw),
3549 (hildon_pannable_area_scroll_indicator_fade),
3550 (hildon_pannable_area_expose_event),
3551 (hildon_pannable_area_get_topmost), (synth_crossing),
3552 (hildon_pannable_area_button_press_cb),
3553 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3554 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3555 (hildon_pannable_area_motion_notify_cb),
3556 (hildon_pannable_area_button_release_cb),
3557 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3558 (hildon_pannable_area_remove),
3559 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3560 chage the code layout to a more GtkWidget like. Review the use of
3563 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3565 * examples/hildon-pannable-area-example-4.c,
3566 (main): Modified the name of the hindicator_mode to
3569 * src/hildon-pannable-area.c,
3570 (hildon_pannable_area_class_init),
3571 (hildon_pannable_area_motion_notify_cb),
3572 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3573 we have reduced the amount of signals and managed reviewed its
3574 rationale. Changed the default decelerate value.
3576 (hildon_pannable_area_add),
3577 (hildon_pannable_area_redraw): Refactored functions.
3579 (hildon_pannable_area_init),
3580 (hildon_pannable_area_get_property),
3581 (hildon_pannable_area_set_property):
3582 (hildon_pannable_draw_vscroll),
3583 (hildon_pannable_draw_hscroll),
3584 (hildon_pannable_area_initial_effect),
3585 (hildon_pannable_area_expose_event),
3586 (hildon_pannable_area_scroll),
3587 (hildon_pannable_area_button_press_cb),
3588 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3589 and vindicator_mode with hscrollbar_policy and
3590 vscrollbar_policy. Replaced hscroll and vscroll with
3591 hscroll_visible and vscroll_visible.
3593 (hildon_pannable_area_refresh): Refactor the function, remove
3594 variables and check the calls to this function, added resize
3595 conditions in case the children change their layout.
3597 (hildon_pannable_area_size_request): Added more detailed
3598 size_request calculation.
3601 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3603 * src/hildon-color-chooser.c
3604 (init_borders): use the correct gtk_border_free instead of g_free, to
3605 avoid a crash when this widget is used (ie: the three color selection
3608 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3610 * src/hildon-check-button.c,
3611 (hildon_check_button_set_active): Fixed problem when setting the
3612 active value, the widget was not redrawn.
3614 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3616 * src/hildon-pannable-area.c,
3617 (hildon_pannable_area_refresh),
3618 (hildon_pannable_area_scroll),
3619 (hildon_pannable_area_motion_notify_cb): Small code style change.
3621 (hildon_pannable_area_class_init): Default initial_hint set to
3622 FALSE, it is not in the specs.
3624 (hildon_pannable_area_initial_effect),
3625 (hildon_pannable_area_expose_event),
3626 (hildon_pannable_area_map),
3627 (hildon_pannable_area_init): Moved the launching point of the
3628 initial effect, it was in map but the sizes where not correct in
3629 that method so we do not know if we have the reproduce it. Now it
3630 is placed in the expose_event method and uses a variable to
3631 reproduce it just once.
3633 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3635 * src/hildon-pannable-area.c,
3636 (hildon_pannable_draw_vscroll),
3637 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3638 position allowed for the scrollbars.
3640 (hildon_pannable_area_size_allocate): Small style change.
3642 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3644 * src/hildon-pannable-area.c,
3645 (hildon_pannable_area_scroll_indicator_fade),
3646 (hildon_pannable_area_button_press_cb),
3647 (hildon_pannable_area_button_release_cb),
3648 (hildon_pannable_area_scroll_cb),
3649 (hildon_pannable_area_expose_event),
3650 (hildon_pannable_area_init): Added the define parameter
3651 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3652 and refactor the fade variable.
3654 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3656 * src/hildon-pannable-area.c,
3657 (hildon_pannable_area_redraw),
3658 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3659 lines, we were reimplemeting the redraw code.
3661 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3663 * src/hildon-pannable-area.c,
3664 (hildon_pannable_area_scroll_cb),
3665 (hildon_pannable_area_realize),
3666 (hildon_pannable_area_class_init): Added scroll_event management
3667 for pannable area, now we can scroll the usual desktop method.
3669 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3670 initialization of the parameters should depend on idle_id.
3672 (hildon_pannable_area_init),
3673 (hildon_pannable_area_map): Small code style modifications
3675 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3677 * src/hildon-pannable-area.c
3678 (hildon_pannable_area_button_press_cb),
3679 (hildon_pannable_area_motion_notify_cb),
3680 (hildon_pannable_area_button_release_cb),
3681 (hildon_pannable_area_size_allocate),
3682 (hildon_pannable_area_scroll_to): Improved the timeouts
3683 management, we avoid creating them each time.
3685 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3687 * src/hildon-pannable-area.c:
3688 (hildon_pannable_area_refresh),
3689 (hildon_pannable_area_motion_notify_cb),
3690 (hildon_pannable_area_class_init):
3691 * src/hildon-pannable-area.h:
3692 * src/hildon-touch-selector.c
3693 (_create_new_column):
3694 * examples/hildon-pannable-area-example-4.c:
3695 (horizontal_movement),
3696 (vertical_movement),
3698 Replaced the names of enums in the HildonPannableArea:
3699 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3700 HILDON_MOVEMENT_MODE_*
3701 - HILDON_PANNABLE_AREA_MOV_* ->
3703 - Removed HildonPannableAreaIndicatorMode, now we
3706 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3708 * examples/hildon-pannable-area-touch-grid-example.c
3709 * examples/hildon-pannable-area-touch-list-example.c: Fix
3710 compilation warnings.
3712 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3714 * src/hildon-gtk.c (hildon_gtk_button_new)
3715 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3716 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3717 images overriding the value of the "gtk-button-images" setting.
3719 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3721 * src/hildon-check-button.c (hildon_check_button_new):
3722 Instead of using a custom container, display the label and the
3723 checkbox using the standard GtkButton API.
3725 * examples/hildon-check-button-example.c (main): Don't use
3726 hildon_check_button_set_label() anymore
3728 * src/hildon-check-button.h
3729 * src/hildon-check-button.c
3730 (hildon_check_button_set_label, hildon_check_button_get_label):
3731 Set as deprecated, now we're using gtk_button_{get,set}_label()
3733 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3735 * src/hildon-pannable-area.c,
3736 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3737 GtkTreeview first line we detected it after the inclusion of the
3738 GtkWindowImpl in gtk+. We now check if the window is visible, not
3739 just if the pointer is over the window.
3740 (hildon_pannable_axis_scroll),
3741 (hildon_pannable_area_expose_event): Small style changes.
3743 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3745 * src/hildon-button.c: Update documentation.
3747 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3749 * examples/hildon-button-example.c: Add a switch to show images in
3752 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3754 * doc/hildon-docs.sgml: Some docs reorganization.
3756 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3758 * examples/hildon-pannable-area-touch-list-example.c
3760 * examples/hildon-pannable-area-touch-grid-example.c
3761 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3762 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3763 Fix memory leak when setting the tree model.
3765 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3769 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3771 * doc/hildon.types: Remove duplicated hildon_window_get_type
3772 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3773 documentation comment.
3775 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3777 * doc/Makefile.am: Complete list of private headers.
3779 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3781 * doc/hildon-docs.sgml
3782 * src/hildon-app-menu.c
3783 * src/hildon-bread-crumb.c
3784 * src/hildon-button.c
3786 * src/hildon-program.c
3787 * src/hildon-stackable-window.c
3788 * src/hildon-window.c: Lots of documentation updates.
3790 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3792 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3794 * configure.ac: Require Gtk+ 2.12.9 at least
3796 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3798 * src/hildon-pannable-area.c
3799 (hildon_pannable_area_scroll_indicator_fade),
3800 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3801 to protect the return of this timeout callbacks, avoiding deadlocks.
3803 2008-08-12 Christian Dywan <christian@imendio.com>
3806 * src/hildon-*.h: Ensure a consistent include order,
3807 include <gtk/gtk.h> instead of particular files and
3808 only include the topmost header in the gtk stack. See NB #39857
3810 2008-08-12 Christian Dywan <christian@imendio.com>
3812 * src/hildon-picker-dialog.c
3813 * src/hildon-touch-selector.c: Fix warnings about unused and
3814 uninitialized variables.
3816 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3818 * examples/Makefile.am
3819 * examples/hildon-check-button-example.c: Example of the hildon
3822 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3824 * src/hildon-window.h
3825 * src/hildon-window.c (hildon_window_class_init)
3826 (hildon_window_unset_program): Don't make
3827 hildon_window_unset_program a virtual function anymore.
3829 * src/hildon-stackable-window.c: Update documentation
3831 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3834 * doc/hildon-docs.sgml
3835 * doc/visual_index.xml
3836 * src/hildon-defines.c
3838 * src/hildon-helper.c
3839 * src/hildon-range-editor.c: Lots of documentation fixes.
3841 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3843 * examples/hildon-picker-button-multicolumn-example.c
3844 (create_touch_selector): Fix compilation warning.
3846 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3848 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3849 (hildon_pannable_area_button_release_cb)
3850 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3852 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3854 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3857 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-bread-crumb-trail.h
3860 * src/hildon-date-editor.c
3861 * src/hildon-date-selector.c
3862 * src/hildon-pannable-area.c
3863 * src/hildon-picker-dialog.c
3864 * src/hildon-time-selector.c
3865 * src/hildon-touch-selector-entry.c
3866 * src/hildon-touch-selector.c
3867 * src/hildon-touch-selector.h: Misc documentation fixes
3869 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3871 * examples/hildon-date-editor-example.c (main): Updated date
3874 * examples/hildon-note-example.c (on_confirmation_clicked):
3875 Updated confirmation note example.
3877 * src/hildon-date-editor.c
3878 * src/hildon-note.c: Updated sample programs in documentation.
3881 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3883 * src/hildon-date-button.h:
3884 * src/hildon-picker-button.h:
3885 * src/hildon-time-button.c:
3886 * src/hildon-time-button.h:
3888 Some declarations changes to allow gtk-doc to document the widgets
3891 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3893 * src/hildon-date-button.c: Document the widget.
3894 * src/hildon-time-button.c: Document the widget.
3896 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3898 * src/hildon-picker-button.c: Document the widget.
3899 * src/hildon-touch-selector-entry.c: Document the widget.
3901 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3903 * doc/hildon-docs.sgml
3906 * src/hildon-check-button.h
3907 * src/hildon-check-button.c: New functions to create the Hildon
3911 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3913 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3915 * src/hildon-button.h
3916 * src/hildon-button.c
3917 (hildon_button_add_title_size_group)
3918 (hildon_button_add_value_size_group)
3919 (hildon_button_add_image_size_group)
3920 (hildon_button_add_size_groups): New functions to set size groups
3921 for the button labels and image.
3922 (hildon_button_new_full): Removed
3924 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3926 * src/hildon-time-selector.c
3927 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3928 in order to avoid a crash if gconf is not available
3930 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3932 * src/hildon-button.c (hildon_button_set_arrangement)
3933 (hildon_button_construct_child): Don't construct the button child
3934 before setting the arrangement.
3936 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3938 * src/hildon-program-private.h
3939 * src/hildon-program.c
3940 * src/hildon-program.h
3941 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3942 (hildon_program_peek_window_stack)
3943 (hildon_program_pop_window_stack)
3944 (hildon_program_go_to_root_window): HildonProgram now has a
3945 separate list for stackable windows. Functions are provided to
3946 manage that list with a stack-like API.
3948 * src/hildon-stackable-window.c: Stackable window management is
3949 now much simpler with the new HildonProgram API. Windows no
3950 longer need to be manually added to the program, they're
3951 automatically pushed to the top of the stack when shown.
3953 * examples/hildon-stackable-window-example.c: Updated example to
3954 reflect the API changes.
3956 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3958 * src/hildon-touch-selector.c: Comment out unimplemented
3959 hildon_touch_selector_insert_column() to avoid a compile warning.
3961 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3964 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3965 (hildon_touch_selector_set_column_selection_mode),
3966 (_hildon_touch_selector_set_model),
3967 (hildon_touch_selector_set_model):
3969 Complete review of HildonTouchSelector documentation.
3971 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3973 * doc/hildon-docs.sgml
3977 * src/hildon-gtk.c: Convenience functions for standard Gtk
3978 widgets, used to easily perform frequent operations.
3980 * src/hildon-button-helpers.h
3981 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3983 * src/hildon-helper.h
3984 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3985 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3987 * src/hildon-button.h
3988 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3990 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3992 * src/hildon-button.c (hildon_button_init)
3993 (hildon_button_set_arrangement, hildon_button_construct_child):
3994 Pack the image and the labels inside the same GtkAlignment so
3995 gtk_button_set_alignment() can be used
3997 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3999 * src/hildon-button.h
4000 * src/hildon-button.c
4001 (hildon_button_init, hildon_button_set_image)
4002 (hildon_button_set_image_position)
4003 (hildon_button_construct_child): New functions to add an image to
4006 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4008 * src/hildon-date-button.c
4009 * src/hildon-picker-button.c
4010 * src/hildon-time-button.c
4011 * src/hildon-button.c:
4012 (hildon_button_class_init): "size-flags" renamed to "size"
4013 (hildon_button_set_title): Hide the title label if set to NULL.
4015 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4017 HildonButtonFlags split into HildonButtonArrangement (to set the
4018 button layout) and HildonSizeType (which can be used for any
4021 * src/hildon-button.h
4022 * src/hildon-button.c
4023 (hildon_button_class_init)
4024 (hildon_button_set_arrangement)
4025 (hildon_button_set_property): New "size-flags"
4026 property. "arrangement-flags" renamed to "arrangement".
4027 (hildon_button_new, hildon_button_new_with_text)
4028 (hildon_button_new_full): Constructors updated to reflect type changes.
4030 * src/hildon-helper.h
4031 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4032 to set the size of a widget.
4036 * src/hildon-button-helpers.c
4037 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4039 * src/hildon-date-button.c
4040 * src/hildon-date-button.h
4041 * src/hildon-picker-button.c
4042 * src/hildon-picker-button.h
4043 * src/hildon-time-button.c
4044 * src/hildon-time-button.h: Updated widgets to reflect
4045 HildonButton API changes.
4047 * examples/hildon-button-example.c
4048 * examples/hildon-date-button-example.c
4049 * examples/hildon-picker-button-example.c
4050 * examples/hildon-picker-button-multicolumn-example.c
4051 * examples/hildon-time-button-example.c
4052 * examples/hildon-touch-selector-entry-example.c
4053 * examples/hildon-touch-selector-example.c: Updated examples to
4054 reflect HildonButton API changes.
4056 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4058 * doc/hildon-docs.sgml:
4060 * examples/Makefile.am:
4061 * examples/hildon-touch-selector-entry-example.c:
4063 * src/hildon-touch-selector-entry.c:
4064 * src/hildon-touch-selector-entry.h:
4067 Moved HildonTouchSelectorEntry from sandbox. Added its
4068 documentation and examples.
4070 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4072 * src/hildon-touch-selector.h:
4073 * examples/hildon-picker-button-multicolumn-example.c:
4074 (hildon_touch_selector_append_text_column): Add a gboolean
4075 parameter to determine if text must be centered in the column.
4077 * src/hildon-date-selector.c: (hildon_date_selector_init):
4078 * src/hildon-time-selector.c: (hildon_time_selector_init):
4079 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4080 (create_touch_selector): Update widgets and example to reflect
4083 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4085 * src/hildon-touch-selector.c:
4086 (hildon_touch_selector_set_active_iter): Set also the cursor in
4089 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4091 * doc/hildon-docs.sgml
4094 * src/hildon-toggle-button.c
4095 * src/hildon-toggle-button.h
4096 * src/hildon.h: Removed HildonToggleButton widget, a derived
4097 class is not necessary for this.
4099 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4101 * src/hildon-pannable-area.c,
4102 (hildon_pannable_area_realize),
4103 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4106 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4108 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4109 "done" button the default widget for the dialog.
4111 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4113 * src/hildon-touch-selector.c:
4114 (hildon_touch_selector_class_init),
4115 (hildon_touch_selector_get_property),
4116 (_hildon_touch_selector_set_model),
4117 (_hildon_touch_selector_has_multiple_selection),
4118 (hildon_touch_selector_has_multiple_selection):
4119 Add a "has-multiple-selection" property with a virtual
4120 has_multiple_selection() method to allow derived classes to
4121 override the default value for it. See the method and property
4122 documentation for details.
4124 * src/hildon-touch-selector.h: Add the new API.
4126 * src/hildon-picker-dialog.c: (requires_done_button): Call
4127 hildon_touch_selector_has_multiple_selection() instead of
4128 determining the need for a button itself.
4130 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4133 (_hildon_touch_selector_set_model),
4134 (hildon_touch_selector_set_model): Move working code to
4135 _hildon_touch_selector_set_mode(). Call the class method instead.
4137 * src/hildon-touch-selector.h: Add (*set_model) to
4138 HildonTouchSelectorClass.
4140 Make hildon_touch_selector_set_model() a virtual method, so that
4141 derived classes can extend it and do fancy stuff with the model.
4143 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4145 * configure.ac: Set back the tarname in AC_INIT to hildon.
4147 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4151 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4152 instead of libesd (NB#86876). Volume handling is still an open issue.
4154 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4157 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4159 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4160 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4161 derived class to ease placement of an entry widget in
4162 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4163 end, where the selector columns are packed now.
4165 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/hildon-picker-button.c: Removed the simple _text() API.
4168 * src/hildon-picker-button.h: Likewise.
4170 * src/hildon-touch-selector.h:
4171 * src/hildon-touch-selector.c:
4172 (hildon_touch_selector_new_text),
4173 (hildon_touch_selector_append_text),
4174 (hildon_touch_selector_prepend_text),
4175 (hildon_touch_selector_insert_text):
4177 Moved the simple _text() API from HildonPickerButton to
4178 HildonTouchPicker, to provide better escalability and not to tie
4179 that API to HildonPickerButton.
4181 * examples/hildon-picker-button-example.c: (main): Example updated.
4183 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4185 * src/hildon-button.c: Updated documentation.
4187 * examples/hildon-button-example.c: Add the posibility to create
4188 the buttons using horizontal layout for title and value.
4190 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4192 * src/hildon-app-menu-private.h
4193 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4194 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4195 GtkSizeGroup for the filters, use the 'homogeneous' property of
4198 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4200 * examples/hildon-button-example.c: Updated example.
4202 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4204 * doc/hildon-docs.sgml:
4207 Update documentation.
4209 * examples/Makefile.am: Update renamed examples.
4211 * examples/hildon-picker-button-multicolumn-example.c:
4212 (create_touch_selector), (main): Update after the rename.
4214 * examples/hildon-touch-picker-example.c: Removed.
4215 * examples/hildon-touch-selector-example.c: (value_changed),
4216 (create_selector), (get_visible_content), (main): Renamed from
4217 hildon-touch-picker-example.c
4219 * src/Makefile.am: Updated renamed files.
4221 * src/hildon-date-button.c: (hildon_date_button_init),
4222 (hildon_date_button_get_date), (hildon_date_button_set_date):
4223 * src/hildon-date-selector.c: (hildon_date_selector_init),
4224 (_custom_print_func), (_update_day_model),
4225 (_manage_selector_change_cb),
4226 (hildon_date_selector_select_current_date),
4227 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4228 * src/hildon-date-selector.h:
4229 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4230 (hildon_picker_button_set_property),
4231 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4232 (hildon_picker_button_init), (hildon_picker_button_new_text),
4233 (hildon_picker_button_append_text),
4234 (hildon_picker_button_prepend_text),
4235 (hildon_picker_button_insert_text),
4236 (hildon_picker_button_set_selector),
4237 (hildon_picker_button_get_selector):
4238 * src/hildon-picker-button.h:
4239 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4240 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4241 (_update_title_on_selector_changed_cb), (requires_done_button),
4242 (_hildon_picker_dialog_set_selector),
4243 (hildon_picker_dialog_set_selector),
4244 (hildon_picker_dialog_get_selector):
4245 * src/hildon-picker-dialog.h:
4246 * src/hildon-time-button.c: (hildon_time_button_init),
4247 (hildon_time_button_get_time), (hildon_time_button_set_time):
4248 * src/hildon-time-selector.c: (hildon_time_selector_init),
4249 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4250 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4251 * src/hildon-time-selector.h:
4254 Massive code updates after the rename.
4256 * src/hildon-touch-picker.c: Removed.
4257 * src/hildon-touch-picker.h: Removed.
4259 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4260 (hildon_touch_selector_init), (hildon_touch_selector_map),
4261 (hildon_touch_selector_remove), (_default_print_func),
4262 (_selection_changed_cb), (_create_new_column),
4263 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4264 (hildon_touch_selector_append_text_column),
4265 (hildon_touch_selector_remove_column),
4266 (hildon_touch_selector_set_column_attributes),
4267 (hildon_touch_selector_insert_column),
4268 (hildon_touch_selector_get_num_columns),
4269 (hildon_touch_selector_get_column_selection_mode),
4270 (hildon_touch_selector_set_column_selection_mode),
4271 (hildon_touch_selector_set_print_func),
4272 (hildon_touch_selector_get_print_func),
4273 (hildon_touch_selector_get_active_iter),
4274 (hildon_touch_selector_set_active_iter),
4275 (hildon_touch_selector_get_selected_rows),
4276 (hildon_touch_selector_get_model),
4277 (hildon_touch_selector_set_model),
4278 (hildon_touch_selector_get_current_text),
4279 (_hildon_touch_selector_center_on_selected_items):
4280 * src/hildon-touch-selector.h: Renamed from
4281 hildon-touch-picker.[ch]
4283 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4284 references, code examples, and related documentation.
4286 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4288 * doc/hildon-docs.sgml
4291 * src/hildon-toggle-button.c
4292 * src/hildon-toggle-button.h
4293 * src/hildon.h: New HildonToggleButton widget.
4295 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4297 * src/hildon-button.c: Add API documentation.
4298 (hildon_button_set_size_groups): Check input parameters
4300 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4302 * src/hildon-pannable-area.c
4303 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4304 effect after reaching the movement thredshold. This way we start
4305 using the distance after passing the thredshold.
4307 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4309 * src/hildon-button.c: (hildon_button_set_property): Use the
4310 appropriate g_value_get_flags() method.
4312 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4314 * doc/hildon-docs.sgml:
4317 Add the touch pickers, picker dialogs, and picker button widgets
4318 to the documentation.
4320 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4322 * src/hildon-button.c: (hildon_button_set_property),
4323 (hildon_button_class_init): Make "arrangement-flags" a proper
4324 G_TYPE_FLAGS derived property.
4326 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4328 * examples/Makefile.am: Add below examples.
4329 * examples/hildon-date-button-example.c:
4330 * examples/hildon-picker-button-example.c:
4331 * examples/hildon-picker-button-multicolumn-example.c:
4332 * examples/hildon-time-button-example.c:
4333 * examples/hildon-touch-picker-example.c:
4335 Add examples for the recently added touch pickers,
4336 picker dialogs, and picker button widgets.
4338 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4340 * src/hildon-button.c: Add some API documentation
4342 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4344 * src/hildon-button.h
4345 * src/hildon-button.c
4347 (hildon_button_new_with_text): New constructor to create a button
4348 with no text at all.
4349 (hildon_button_init, hildon_button_set_arrangement)
4350 (hildon_button_set_title, hildon_button_set_value)
4351 (hildon_button_set_text)
4352 (hildon_button_construct_child): Hide the value when it's not used
4353 so the rest of the text is properly aligned.
4354 Allow creating buttons with arbitrary widgets inside (not just
4355 title/value labels).
4357 * examples/hildon-button-example.c (vertical_buttons_window)
4358 (horizontal_buttons_window): Update example to use new API.
4360 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4362 * src/Makefile.am: Added HildonTimeButton.
4363 * src/hildon-time-button.c: Added missing LGPL header.
4364 * src/hildon-time-button.h: Added missing LGPL header.
4365 * src/hildon.h: Add hildon-time-button.h
4367 Copied HildonTimeButton from sandbox to trunk. Future work on this
4368 widget must take place in trunk.
4370 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/Makefile.am: Added HildonDateButton.
4373 * src/hildon-date-button.c: Update includes.
4374 * src/hildon.h: Add hildon-date-button.h
4376 Copied HildonDateButton from sandbox to trunk. Future work on this
4377 widget must take place in trunk.
4379 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4381 * src/Makefile.am: Added HildonPickerButton.
4382 * src/hildon-picker-button.h: Update includes.
4383 * src/hildon.h: Add hildon-picker-button.h
4385 Copied HildonPickerButton from sandbox to trunk. Future work on
4386 this widget must take place in trunk.
4388 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4390 * src/Makefile.am: Added HildonPickerDialog.
4391 * src/hildon-picker-dialog.c: Update includes.
4392 * src/hildon.h: Add hildon-picker-dialog.h
4394 Copied HildonPickerDialog from sandbox to trunk. Future work
4395 on this widget must take place in trunk.
4397 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4399 * src/Makefile.am: Added HildonTimeSelector.
4400 * src/hildon.h: Add hildon-time-selector.h
4402 Copied HildonTimeSelector widget from sandbox to trunk. Future
4403 work on this widget must happen in trunk.
4405 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4407 * src/Makefile.am: Added HildonDateSelector.
4408 * src/hildon.h: Add hildon-date-selector.h
4410 Copied HildonDateSelector widget from sandbox to trunk. Future
4411 work on this widget must happen in trunk.
4413 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4415 * src/Makefile.am: Added HildonTouchPicker.
4416 * src/hildon-touch-picker.c: Update includes.
4417 * src/hildon.h: Add hildon-touch-picker.h
4419 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4420 on this widget must happen in trunk.
4422 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4424 * src/hildon-pannable-area.c:
4425 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4427 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4429 * examples/hildon-app-menu-example.c (main): Let the window
4432 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4434 * src/hildon-pannable-area.c
4435 (hildon_pannable_area_class_init): Set the min value of the
4436 overshoot properties to zero, which points out that not
4437 overshooting allowed.
4439 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4441 Modified the procedure to get the widget at a point inside the
4442 pannable area when using the movement type signals. Now the user
4443 has to call a function to get the child, that way we just
4444 calculate the child in case the user really want to use it and not
4447 * src/hildon-marshalers.list: Modified the marshallers, now we do
4448 not have the widget as a parameter.
4450 * src/hildon-pannable-area.c
4451 (hildon_pannable_area_motion_notify_cb),
4452 (hildon_pannable_area_class_init),
4453 (hildon_pannable_get_child_widget_at): Removed the widget
4454 parameter from the signal callback. We have also refactored the
4455 emission of the signals.
4457 * src/hildon-pannable-area.h: Added a new method to the API to
4458 calculate a widget at a point inside the pannable area,
4459 hildon_pannable_get_child_widget_at.
4461 * examples/hildon-pannable-area-example-4.c
4462 (horizontal_movement): Modified the example to use the new API,
4463 added condition to control which widget is under the event. This
4464 way we can avoid scrolling laterally over other widgets.
4466 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4468 * src/hildon-pannable-area.c
4469 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4470 modes, we stop getting the pointer events due to returning the
4471 callback without properly calling the get pointer again. Fixed
4472 also an error using the hscroll and vscroll.
4474 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4476 * src/hildon-app-menu-private.h
4477 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4478 (hildon_app_menu_button_release, hildon_app_menu_init)
4479 (hildon_app_menu_class_init): Don't hide the menu on button
4480 release if the user didn't press outside first.
4482 * src/hildon-window.h
4483 * src/hildon-window.c (hildon_window_toggle_menu)
4484 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4485 hildon_window_toggle_menu a virtual function for the stackable
4486 window to override it.
4488 * src/hildon-stackable-window.h
4489 * src/hildon-stackable-window-private.h
4490 * src/hildon-stackable-window.c
4491 (hildon_stackable_window_realize)
4492 (hildon_stackable_window_finalize)
4493 (hildon_stackable_window_class_init)
4494 (hildon_stackable_window_init)
4495 (hildon_stackable_window_set_main_menu): New function to set the
4496 app menu of a HildonStackableWindow.
4498 * examples/hildon-app-menu-example.c: Remove the button to show
4499 the app menu, now it'll be shown when clicking on the title bar
4502 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4504 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4505 set the widget name if the arrangement flags do not specify
4508 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4510 * src/hildon-button.c: (hildon_button_set_property),
4511 (hildon_button_class_init), (hildon_button_new_full),
4512 (hildon_button_set_arrangement): Added "arrangement-flags"
4515 Make the HildonButtonFlags a construction-only property, to allow
4516 subclasses to set them properly.
4518 2008-07-21 Tim Janik <timj@imendio.com>
4520 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4521 insertion position after backspace, so additional digits are appended,
4524 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4526 * src/hildon-pannable-area.c,
4527 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4528 TODO list, it was complete and removed the g_debug and g_print
4531 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4533 Added the movement modes to the hildon-pannable-area, with this
4534 modes the developers can control in which directions the widget
4535 can scroll. They can also connect to signals in order to do
4536 something when that happens, allowing applications scroll. There
4537 is an example uploaded showing how to use it.
4539 * examples/Makefile.am:
4540 * examples/hildon-pannable-area-example-4.c: Added this example of
4541 an application using the modes.
4543 * src/hildon-marshalers.list: Added a new marshaller for the new
4546 * src/hildon-pannable-area.h: Added new enumerations and flags in
4547 order to control the movement modes and the new signals to warn
4548 about the movements in the area.
4550 * src/hildon-pannable-area.c:
4551 (hildon_pannable_axis_scroll),
4552 (hildon_pannable_area_scroll),
4553 (hildon_pannable_area_motion_notify_cb),
4554 (hildon_pannable_area_get_property),
4555 (hildon_pannable_area_set_property),
4556 (hildon_pannable_area_map),
4557 (hildon_pannable_area_class_init),
4558 (hildon_pannable_area_init),
4559 (hildon_pannable_area_jump_to): Added the modes to control the
4560 movement in the widget. We have added properties to control it,
4561 signals to warn about the movements and refactored some code.
4563 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4565 Changes required in order to allow vfast_factor set to zero to
4568 * src/hildon-pannable-area.c:
4569 (hildon_pannable_area_button_press_cb): Changed the condition, it
4570 is required for not allowing click when vfast_factor is zero.
4571 (hildon_pannable_area_timeout): Initialized velocity variables
4572 when we stop moving, it was less than 1 but not zero and we need
4573 to check zero in some situations.
4574 (hildon_pannable_area_class_init): Changed the default value of
4575 the speed factor, now the button_press is just sent in case the
4576 speed is 2 per cent of the max speed.
4577 (hildon_pannable_area_init): Initialization with 0.
4579 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4581 * src/hildon-pannable-area.c,
4582 (hildon_pannable_area_get_topmost): replaced
4583 gdk_window_get_children with gdk_window_peek_children, this way we
4584 do not have to free the list because it is not a copy.
4586 (hildon_pannable_axis_scroll),
4587 (hildon_pannable_area_scroll),
4588 (hildon_pannable_area_timeout),
4589 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4590 two parameters that were only used inside the
4591 hildon_pannable_area_scroll function.
4593 * examples/hildon-pannable-area-example.c,
4594 (get_sawtooth_label): Fixed small memory leak.
4596 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4598 More checks for the case where the overshoot is bigger than the
4601 * src/hildon-pannable-area.c:
4602 (hildon_pannable_draw_vscroll),
4603 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4604 to draw the slider of the scrollbar under the other scrollbar.
4605 (hildon_pannable_area_expose_event): added new checks to control
4606 the drawing of the overshooting area rectangle, in case it is too
4607 big for the area of the widget.
4608 (hildon_pannable_area_size_allocate): add more checks to avoid
4609 setting a position to the child widget outside the area.
4611 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4613 * src/hildon-pannable-area.c
4614 (hildon_pannable_area_size_allocate): Added conditions to control
4615 when overshooting is bigger than the allocated space for the
4616 children, this avoids negative allocations.
4618 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4620 * doc/hildon-docs.sgml
4622 * examples/Makefile.am
4623 * examples/hildon-button-example.c
4625 * src/hildon-button.c
4626 * src/hildon-button.h
4627 * src/hildon.h: Initial version of the new HildonButton widget,
4630 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4632 * src/hildon-pannable-area.c:
4633 (hildon_pannable_area_button_press_cb),
4634 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4635 (hildon_pannable_area_motion_notify_cb),
4636 (hildon_pannable_area_button_release_cb),
4637 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4638 (hildon_pannable_area_jump_to_child):
4640 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4642 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4644 * examples/Makefile.am
4645 * examples/hildon-pannable-area-touch-grid-example.c
4646 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4647 the Hildon Touch List and Hildon Touch Grid using the
4648 HildonPannableArea widget.
4650 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4652 * src/hildon-pannable-area.c,
4653 (hildon_pannable_area_button_press_cb),
4654 (hildon_pannable_area_refresh),
4655 (hildon_pannable_area_scroll),
4656 (hildon_pannable_area_motion_notify_cb),
4657 (hildon_pannable_area_button_release_cb),
4658 (hildon_pannable_area_expose_event),
4659 (hildon_pannable_area_add),
4660 (hildon_pannable_area_remove),
4661 (hildon_pannable_area_realize),
4662 (hildon_pannable_area_size_allocate),
4663 (hildon_pannable_area_class_init),
4664 (hildon_pannable_area_init),
4665 (hildon_pannable_area_scroll_to_child),
4666 (hildon_pannable_area_jump_to_child): Fixed the problem of
4667 removing the child from the GtkBin, we have rearranged the widget
4668 hierarchy, now there is no GtkAlignment which was not doing
4669 anything interesting but breaking some of the assumptions of
4670 GtkContainer. Now developers if they want to add a GtkAlignment
4671 they could, but it is not inside the area.
4673 We had to review the whole allocation/expose process, now it is
4674 improved and we save at least three signals which would be saving
4675 some time when rendering the widget. The allocation of the
4676 scrollbars is now made in the allocate method as usual.
4678 We have also added some conditions in order to control when there
4679 is no child of the pannable area. Maybe we will need more work
4682 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4684 * src/hildon-pannable-area.c,
4685 (hildon_pannable_area_dispose): Released the fade-out timeout when
4686 disposing the widget.
4688 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4690 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4691 zero, we are going to use that property in order to deactivate the
4693 (hildon_pannable_axis_scroll),
4694 (hildon_pannable_area_size_allocate): Added conditions to control
4695 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4696 call, now it is called in all situations and we can remove calls
4697 in the allocate method.
4698 (hildon_pannable_area_map): Control the situation when
4699 overshoot_max is zero, we do not need the timeout.
4700 (hildon_pannable_area_class_init): Added documentation in order to
4701 point out that setting zero to overshoot_max means deactivate
4704 NOTE: removed trailing whitespaces from my previous comments of
4707 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4709 * src/hildon-pannable-area.c
4710 (hildon_pannable_area_get_property),
4711 (hildon_pannable_area_set_property),
4712 (hildon_pannable_area_map),
4713 (hildon_pannable_area_class_init),
4714 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4715 to cause the widget give a hint about its panning abilities upon
4718 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4720 * src/hildon-pannable-area.c: Several documentation improvements.
4722 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4724 * src/hildon-program.c
4725 * src/hildon-stackable-window.c: Update documentation.
4727 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4729 * src/hildon-stackable-window.c (get_previous_window_if_last):
4730 Renamed get_last_window()
4731 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4732 (hildon_stackable_window_unset_program):
4734 (get_previous_window_if_last):
4735 Detect if the window hasn't been added to a HildonProgram.
4737 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4739 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4741 * src/hildon-pannable-area.c
4742 (hildon_pannable_area_button_press_cb),
4743 (hildon_pannable_axis_scroll),
4744 (hildon_pannable_area_scroll),
4745 (hildon_pannable_area_timeout),
4746 (hildon_pannable_calculate_vel_factor),
4747 (hildon_pannable_area_get_property),
4748 (hildon_pannable_area_set_property),
4749 (hildon_pannable_area_class_init),
4750 (hildon_pannable_area_init),
4751 (hildon_pannable_area_scroll_to),
4752 (hildon_pannable_area_jump_to),
4753 (hildon_pannable_area_scroll_to_child),
4754 (hildon_pannable_area_jump_to_child):
4755 * src/hildon-pannable-area.h: Added the new API functions:
4756 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4757 hildon_pannable_area_scroll_to_child,
4758 hildon_pannable_area_jump_to_child
4761 * examples/Makefile.am
4762 * examples/hildon-pannable-area-example-2.c
4763 * examples/hildon-pannable-area-example-3.c: Added these two new
4764 examples in order to test and show how the new APIs work.
4766 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4768 * examples/hildon-stackable-window-example.c (new_window):
4769 * src/Makefile.am (noinst_HEADERS):
4770 * src/hildon-program.c (hildon_program_go_to_root_window):
4771 * src/hildon-program.h:
4772 * src/hildon-stackable-window-private.h:
4773 * src/hildon-stackable-window.c:
4774 * src/hildon-stackable-window.h:
4775 Create hildon-stackable-window-private.h
4776 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4778 * examples/hildon-app-menu-example.c (create_menu):
4779 * examples/hildon-hvolumebar-insensitive-example.c (main):
4780 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4781 * examples/hildon-toolbar-seekbar-example.c (main):
4782 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4783 * src/hildon-banner.c (hildon_banner_set_property):
4784 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4785 Fix compilation warnings
4787 * src/hildon-window.c:
4790 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4792 * src/hildon-stackable-window.c
4793 (hildon_stackable_window_unset_program):
4794 Calculate correctly whether to show the previous window if the
4795 last one is removed from the stack.
4796 (hildon_stackable_window_go_to_root_window):
4797 Send delete events starting from the topmost window.
4798 Stop if one of the windows is not destroyed.
4800 (hildon_stackable_window_delete_event)
4801 (hildon_stackable_window_class_init):
4802 Ignore the delete event if the window is not the topmost one.
4804 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4806 * src/hildon-pannable-area.c
4807 (hildon_pannable_area_expose_event): Fixed a problem when
4808 selecting the background color of the scrollbars.
4810 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4812 * examples/hildon-stackable-window-example.c
4813 * src/hildon-stackable-window.c
4814 * src/hildon-stackable-window.h
4815 hildon_stackable_window_go_home() renamed to
4816 hildon_stackable_window_go_to_root_window()
4817 Send delete events to windows rather than closing them with
4818 gtk_widget_destroy()
4820 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4822 * src/hildon-pannable-area.c
4823 (hildon_pannable_area_button_release_cb): Fix overshooting in
4826 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4828 * src/hildon-pannable-area.c
4829 (hildon_pannable_area_init): Initially show the scroll indicators.
4830 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4832 Add initial effect showing the widget is pannable.
4834 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4836 * src/hildon-pannable-area.c
4837 (hildon_pannable_area_class_init)
4838 (hildon_pannable_area_set_property)
4839 (hildon_pannable_area_get_property)
4840 (hildon_pannable_area_button_press_cb):
4841 New 'velocity_fast_factor' property to decide which velocity is
4844 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4846 * src/hildon-pannable-area.c
4847 (hildon_pannable_draw_hscroll)
4848 (hildon_pannable_draw_vscroll):
4849 Use float variables to calculate the size of the scrollbars to
4850 avoid error propagation and resizing during scrolling.
4852 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4854 * src/hildon-pannable-area.c
4855 (hildon_pannable_draw_vscroll)
4856 (hildon_pannable_draw_hscroll):
4857 Define a minimum size for the scroll bars
4859 * src/hildon-stackable-window.c
4860 (hildon_stackable_window_go_home): Fix compilation warning
4861 (get_last_window): Minor optimizations
4862 (hildon_stackable_window_class_init): Fix initialization of
4865 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4867 * src/hildon-stackable-window.c: Fixed typos in doc
4869 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4871 * src/hildon-pannable-area.c
4872 (hildon_pannable_area_scroll):
4873 Calculate here whether we need to scroll instead of using the booleans
4874 that tell us whether to /draw/ the scrolling bars.
4876 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4878 * src/hildon-app-menu.h
4880 * src/hildon-app-menu.c
4881 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4882 multiple filter groups related code and API. Now we support only
4884 * examples/hildon-app-menu-example.c:
4886 Update to reflect API changes.
4888 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4890 * src/hildon-stackable-window.c
4891 (hildon_stackable_window_class_init):
4892 Add hildon_stackable_window_realize.
4893 (hildon_stackable_window_realize):
4894 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4895 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4896 to apply theming and behavior specific to HildonStackableWindow
4899 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-note.c (hildon_note_button_release):
4902 Close information notes also when tapping on them
4904 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4906 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4907 ELASTICITY, refactor and review, fix some issues with drawing
4910 * src/hildon-pannable-area.c:
4911 (hildon_pannable_area_button_press_cb): removed the conditions to
4912 avoid clicks when overshooting. It is not required
4914 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4915 define. Refatored and reviewed the code, now we do not need to
4916 manage velocity in motion_notify.
4918 (hildon_pannable_area_motion_notify_cb): We have moved the code
4919 that controls the area_scroll to the axis_scroll function and get
4920 rid of duplicated code.
4922 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4924 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4926 (hildon_pannable_draw_vscroll),
4927 (hildon_pannable_draw_hscroll): Fixed the problems with the
4928 scrollbar drawing, now we do not use two surfaces, it is easier
4929 and saves resources.
4931 (hildon_pannable_area_get_property): Style modification.
4933 (hildon_pannable_area_class_init): Changed some default values.
4935 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4937 * src/hildon-stackable-window.c: Fix some typos in the
4940 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-dialog.c:
4943 Change indentation style
4946 (hildon_note_button_release):
4947 Use root coordinates to check if the release event happened
4950 * src/hildon-app-menu.c
4951 (hildon_app_menu_button_release):
4952 Remove unnecessary check
4954 * examples/hildon-app-menu-example.c
4956 Add cast to fix warning
4958 * src/hildon-app-menu.c
4959 (hildon_app_menu_class_init):
4960 New inner-border style property.
4961 Set all default spacings to 16
4962 (hildon_app_menu_init):
4963 Use vertical-spacing to set the space between filter buttons and
4964 regular menu buttons.
4965 Set the default container border using the inner-border value.
4967 * examples/hildon-app-menu-example.c
4969 Don't set the menu border explicitly, now we have the inner-border
4970 style property for that.
4972 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4974 * src/hildon-app-menu.c (hildon_app_menu_init):
4975 Make the window modal
4977 * src/hildon-note.c (hildon_note_map)
4978 * src/hildon-app-menu.c (hildon_app_menu_map):
4979 Destroy the grab window if we're unable to grab the pointer
4981 * src/hildon-app-menu-private.h
4982 * src/hildon-app-menu.c
4983 (hildon_app_menu_init, hildon_app_menu_finalize)
4984 (hildon_app_menu_map, hildon_app_menu_unmap)
4985 (hildon_app_menu_button_release)
4986 (grab_transfer_window_get):
4987 Bring back the grab window
4988 (hildon_app_menu_realize):
4989 Decorate the window, set WM hint for Matchbox
4991 * src/hildon-note.c (hildon_note_realize):
4992 * src/hildon-banner.c (hildon_banner_realize):
4993 Add WM hints for Matchbox
4995 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4997 * src/hildon-app-menu-private.h
4998 * src/hildon-app-menu.c
4999 (hildon_app_menu_init, hildon_app_menu_finalize)
5000 (hildon_app_menu_map, hildon_app_menu_unmap)
5001 (hildon_app_menu_button_release):
5002 Remove the grab window, it's not needed anymore
5004 * src/hildon-program.c
5005 Fixed typo in documentation
5007 * src/hildon-app-menu.h
5008 * src/hildon-app-menu.c
5009 * examples/hildon-app-menu-example.c
5010 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5012 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5015 Added new transfer_window and close_if_pressed_outside private
5017 (hildon_note_rebuild):
5018 Don't add a cancel button to the information note. It will be
5019 closed when tapping outside
5020 Remove the comment about the OK button in the documentation
5021 (hildon_note_realize):
5022 Set the notification type hint
5023 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5024 Grab/ungrab pointer and keyboard if the note has to be closed when
5026 (hildon_note_button_release):
5027 Close the note when tapping outside (if applicable)
5029 * src/hildon-app-menu.c
5030 Grab/ungrab pointer and keyboard on map/unmap
5031 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5032 Close the menu on button release, not button press
5034 * src/hildon-banner.c
5035 (hildon_banner_set_property)
5036 (hildon_banner_check_position):
5037 Make the banner use the full width of the screen
5038 (hildon_banner_show_information)
5039 (hildon_banner_show_information_with_markup):
5040 Don't display an icon by default
5042 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5044 Added fading scrollbars and adapted all the overshooting code to
5045 horizontal scrolling. We have also fixed bugs with overshooting
5046 and current fading implementation.
5048 * src/hildon-pannable-area.c
5049 (hildon_pannable_area_scroll_indicator_fade): Time out function
5050 used to change the transparency of the scrollbars.
5052 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5053 control and fixed a problem with fading, we now remove the fade
5054 timeout before adding a new one.
5056 (hildon_pannable_axis_scroll):
5057 (hildon_pannable_area_scroll):
5058 (hildon_pannable_area_timeout): Added this functions so we can use
5059 the scroll code both for vertical and horizontal.
5061 (hildon_pannable_area_motion_notify_cb):
5062 (hildon_pannable_area_button_release_cb): Added the horizontal
5063 scrolling control, fixed a problem with the overshooting timeout.
5065 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5066 painting of the scrolls.
5068 (hildon_pannable_draw_vscroll):
5069 (hildon_pannable_draw_hscroll):
5070 (hildon_pannable_area_expose_event):
5071 Draw both scrollbars and rectangles in the overshooting area.
5073 (hildon_pannable_area_get_property):
5074 (hildon_pannable_area_set_property):
5075 Modified the overshoot property to overshoot_max
5077 (hildon_pannable_area_map):
5078 Replaced the comments symbols.
5080 (hildon_pannable_area_size_allocate):
5081 (hildon_pannable_area_class_init):
5082 (hildon_pannable_area_init): Added horizontal scroll, fading
5083 effect properties, fixed a problem when overshooting in the bottom
5086 * examples/hildon-pannable-area-example.c:
5087 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5088 looks better in the example.
5090 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5092 * src/hildon-window.c
5093 * src/hildon-window.h
5094 (hildon_window_class_init)
5095 (hildon_window_unset_program)
5096 (hildon_window_unset_program_real):
5097 Make unset_program a virtual function
5099 * src/hildon-stackable-window.c
5100 * src/hildon-stackable-window.h
5101 Added hildon_stackable_window_go_home()
5103 * examples/Makefile.am
5104 * examples/hildon-stackable-window-example.c
5105 HildonStackableWindow example
5107 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5109 * hildon-pannable-area.c: Added the overshoot property and removed
5110 the OVERSHOOT define. Fixed an indent style error.
5111 (hildon_pannable_area_motion_notify_cb):
5112 (hildon_pannable_area_get_property):
5113 (hildon_pannable_area_set_property): Add overshoot property.
5115 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5118 (hildon_pannable_area_class_init): Installed the new property.
5120 * hildon-pannable-area-example.c: Added a sawtooth function, this
5121 way it is easier to check the movement in the pannable.
5122 (get_sawtooth_label): Added this function.
5123 (main): Now we get the labels from the new get_sawtooth_label
5126 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5128 * src/hildon-app-menu.h
5129 * src/hildon-app-menu.c
5130 Renamed API variables for consistency
5132 (hildon_app_menu_popup): Use also the default window size to
5133 decide where to place the menu
5135 (hildon_app_menu_init, hildon_app_menu_class_init): New
5136 external-border style property
5138 2008-05-26 Michael Natterer <mitch@imendio.com>
5140 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5141 widget_class->tap_and_hold_setup signal slot doesn't exist any
5142 longer, stop overriding it.
5144 (hildon_time_editor_init): g_signal_connect() to the
5145 tap-and-hold-setup signal instead.
5147 (hildon_time_editor_entry_keypress): add cast to fix warning.
5149 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5151 * doc/hildon-docs.sgml
5153 * examples/Makefile.am
5154 * examples/hildon-app-menu-example.c
5156 * src/hildon-app-menu-private.h
5157 * src/hildon-app-menu.c
5158 * src/hildon-app-menu.h
5160 New HildonAppMenu widget
5162 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5164 Rearranged the inheritance of the pannable area, now it inherits
5165 from GtkBin. This will allow us to control the event_window and
5166 the allocation process of the widget, required for some effects.
5168 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5169 GtkBin structures. * src/hildon-pannable-area.c: Added the
5170 event_window variable.
5171 (hildon_pannable_area_button_press_cb):
5172 (hildon_pannable_area_button_release_cb):
5173 (hildon_pannable_area_motion_notify_cb):
5174 Changed the signature of the method, now we override the event
5175 callback instead of connecting to the signal.
5177 (hildon_pannable_area_realize):
5178 (hildon_pannable_area_unrealize):
5179 (hildon_pannable_area_map):
5180 (hildon_pannable_area_unmap):
5181 (hildon_pannable_area_size_allocate):
5182 Added functions to control the widget construction. We add a
5183 INPUT_ONLY window and we put it over the widgets inside the
5184 container, this event_window handles the events.
5186 (hildon_pannable_area_class_init):
5187 Replaced the signal connections with overrides of the event
5190 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5192 Bouncing effect added when touching the borders, you can change
5193 the elasticity of the border changing the ELASTICITY define.
5195 * src/hildon-pannable-area.c: Added ELASTICITY define.
5196 (hildon_pannable_area_timeout): Added inverse velocity when
5197 touching the border of the child widget, that causes a bounce.
5199 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5201 Improved performance, we now do not go to the X server in order to
5202 get the list of window children. Apparently the effect is the
5203 same, we have to be careful and check if this breaks something in
5206 * src/hildon-pannable-area.c:
5207 (get_ordered_children): Removed this function.
5208 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5209 the children windows function with gdk_window_get_children.
5211 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5213 * src/hildon-pannable-area.c:
5214 (hildon_pannable_area_dispose): Fixed a crash when closing the
5215 window and kinetics is activated.
5217 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5219 * src/hildon-pannable-area.h
5220 * src/hildon-pannable-area.c
5221 Changed indentation style to meet the one used in Hildon
5223 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5225 Reviewed the interaction of the AUTO mode, now we use the time
5226 attribute of the events and calculate the velocity in the motion,
5227 doing a gimp like calculation. The velocity is calculated in each
5228 motion event using the last velocity and the current one, the
5229 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5231 * src/hildon-pannable-area.c: Replaced the time based algorithm
5233 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5234 timeout for the AUTO mode when we are still moving the cursor. We
5235 added also the velocity calculation in this function.
5236 (hildon_pannable_area_button_release_cb): launch the timeout in
5237 case we are in AUTO mode. There are still some constants here that
5238 come from the old implementation that should be reviewed and
5241 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5243 * doc/hildon-docs.sgml
5246 * src/hildon-stackable-window.c
5247 * src/hildon-stackable-window.h
5249 New HildonStackableWindow widget
5251 * examples/hildon-dialog-example.c
5252 * examples/hildon-pannable-area-example.c
5255 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5257 * src/hildon-dialog.c
5258 (hildon_dialog_new_with_buttons): New constructor.
5260 * examples/hildon-dialog-example.c
5261 (main): Update the example to use the new
5262 hildon_dialog_new_with_buttons().
5264 * examples/hildon-pannable-area-example.c
5265 (main): Update example.
5267 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5269 * doc/hildon-docs.sgml
5271 Added HildonPannableArea to the documentation.
5273 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5275 * doc/visual_index.xml
5276 Fix reference to HildonLoginDialog in documentation
5278 * doc/hildon-docs.sgml
5280 * examples/Makefile.am
5281 * examples/hildon-dialog-example.c
5283 * src/hildon-dialog.c
5284 * src/hildon-dialog.h
5286 New HildonDialog widget.
5288 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5290 * src/hildon-pannable-area.c
5291 Merge latest changes (r4318, r4342) from libmokoui trunk
5293 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5295 * examples/Makefile.am
5296 * examples/hildon-pannable-area-example.c
5298 * src/hildon-pannable-area.c
5299 * src/hildon-pannable-area.h
5301 New HildonPannableArea widget.
5303 2008-04-15 18:05:19 <timj@imendio.com>
5305 * src/hildon-banner.c: revert the recent change, that introduced
5306 gtk_window_present() calls. this reopens:
5307 Bug 78481 - [freetest] information banners are hidden under browser menu
5308 But resolves another variant of:
5309 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5311 2008-04-15 13:21:13 <timj@imendio.com>
5313 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5314 recreated its layout, spotted by Kris. this fixes all remaining
5315 artefacts and stability issues with the banner code. in particular:
5316 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5318 2008-04-14 16:52:59 <timj@imendio.com>
5320 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5321 operating on unrealized widgets, fixes:
5322 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5324 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5326 2008-04-09 Kristian Rietveld <kris@imendio.com>
5328 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5329 makes banner disappear.
5330 Fixes: NB#79182: info banner flickering with certain message lengts.
5332 * src/hildon-banner.c (hildon_banner_constructor),
5333 (hildon_banner_init), (hildon_banner_set_text),
5334 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5335 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5336 FALSE, reset size requests of label and banner,
5337 (force_to_wrap_truncated): when the text is too wide, always enforce
5338 the maximum possible width instead of recalculating it from the
5339 layout; enforce the maximum banner height of 3 lines,
5340 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5341 nicer wrapping and no truncated chars if space gets tight.
5343 * src/hildon-banner-private.h: add has_been_wrapped and
5344 has_been_truncated fields.
5346 2008-04-07 Sven Herzberg <sven@imendio.com>
5348 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5349 local values in hildon_date_editor_size_allocate
5351 * src/hildon-date-editor.c: moved the real allocation code into the
5354 2008-04-07 Sven Herzberg <sven@imendio.com>
5356 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5357 local values in hildon_date_editor_size_allocate
5359 * src/hildon-date-editor.c: merged the two if() branches together
5361 2008-04-07 Sven Herzberg <sven@imendio.com>
5363 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5364 local values in hildon_date_editor_size_allocate
5366 * src/hildon-date-editor.c: changed the arguments of the if()
5369 2008-04-07 Sven Herzberg <sven@imendio.com>
5371 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5372 local values in hildon_date_editor_size_allocate
5374 * src/hildon-date-editor.c: split the calculation of the allocation
5375 from the real allocation
5377 2008-03-27 Michael Natterer <mitch@imendio.com>
5379 Fixes: NB#81696: The passcode is not overwritten even after
5382 * src/hildon-code-dialog.c
5383 (hildon_code_dialog_button_clicked)
5384 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5385 because that doesn't overwrite selected text. Instead, emit the
5386 "commit" signal on the entry's im_context so the entry's normal
5387 insert logic is triggered. Set the cursor to the end of the entry
5388 after each insert operation so that we *only* insert in the middle
5389 of the text if something was selected.
5391 2008-03-27 Michael Natterer <mitch@imendio.com>
5393 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5394 selector cannot be opened
5396 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5397 when the popup color selector is created. Please connect to this
5398 signal in order to set the dialog's help ID.
5400 2008-03-25 Sven Herzberg <sven@imendio.com>
5402 Fixes: MB#1212: Hide info banners (infoprints) on click
5404 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5405 extracted the close event simulation into an extra function
5406 (hildon_banner_button_press_event): simulate a close event and destroy
5407 the widget if the event wasn't handled
5408 (hildon_banner_class_init): added the button_press_event handler
5409 (hildon_banner_init): added button-press events to the widget
5411 2008-03-25 Sven Herzberg <sven@imendio.com>
5413 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5414 Patch from: Mohammad Anwari <mdamt@maemo.org>
5416 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5417 instead of the right in RTL mode
5418 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5419 breadcrumb button list in RTL mode
5420 * src/hildon-caption.c: mirror the appearance of the caption widget in
5422 * src/hildon-date-editor.c: mirror appearance of the date editor in
5424 * src/hildon-time-editor.c: mirror appearance of the time editor in
5426 * src/hildon-window.c: fix the position of the popup in RTL mode
5428 2008-03-25 Sven Herzberg <sven@imendio.com>
5430 Amendment to the fix of NB#22072. Fix compilation.
5432 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5434 2008-03-19 Sven Herzberg <sven@imendio.com>
5436 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5439 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5440 timeout id properly when the timeout will disappear this leaves no
5441 artifacts around in the destroy(); there will only be the timeout
5442 created by hildon_banner_ensure_timeout() and adding a new timeout
5443 will also work if the timeout gets removed because the timeout_handler
5446 2008-03-19 Michael Natterer <mitch@imendio.com>
5448 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5450 * src/hildon-volumebar.c
5451 * src/hildon-vvolumebar.c
5452 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5453 the widget becomes focussable at all.
5455 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5456 set the focus to wither the mute button or the volumebar.
5458 Remove own "can-focus" property and instead listen to
5459 notify::can-focus in order to update the widget's state.
5461 Implement GtkWidget::focus() and make sure we can also *leave* the
5462 widget, not only enter it, depending on volumebar orientation and
5463 requested focus direction.
5465 Clean up set_mute() to cooperate nicely with all the above.
5467 2008-03-04 Michael Natterer <mitch@imendio.com>
5469 Fixes: NB#78481: information banners are hidden under browser menu
5471 * src/hildon-banner.c: call gtk_window_present() on the banners so
5472 they are risen if they are already visible.
5474 2008-03-03 Sven Herzberg <sven@imendio.com>
5476 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5478 * examples/hildon-window-menu-example.c: (main): extended the window
5479 menu example to serve as a testcase for automatically added
5480 accelerator groups, too
5481 * src/hildon-window.c: (hildon_window_add_accel_group),
5482 (hildon_window_set_menu): added patch by Tommi Komulainen
5484 2008-03-03 Sven Herzberg <sven@imendio.com>
5486 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5488 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5489 knowledge about the border allocators used within GTK+
5491 2008-02-26 Sven Herzberg <sven@imendio.com>
5493 Fixes: MB#2981: Build with asserts broken
5495 * src/hildon-date-editor.c,
5496 * src/hildon-number-editor.c,
5497 * src/hildon-time-editor.c,
5498 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5499 the proper GType instance check
5501 2008-02-25 Sven Herzberg <sven@imendio.com>
5503 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5505 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5506 * examples/hildon-window-menu-example.c: (main): explicitly show
5508 * src/hildon-window.c:
5509 (hildon_window_set_main_menu): moved most of the code from set_menu()
5510 to this place; skipped the call to gtk_widget_show_all(); also didn't
5511 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5512 (hildon_window_set_menu): removed most of the code, just keep the
5513 questionable gtk_widget_show_all()
5514 * src/hildon-window.h: added the new function and deprecate the old
5517 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5523 * debian/changelog: Updating.
5525 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5528 * pkgconfig/Makefile.am:
5529 * pkgconfig/hildon.pc.in:
5532 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5533 use newly created API_MAJOR_VERSION.
5535 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5541 * debian/changelog: Updating.
5543 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5545 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5547 Add outer_border style property, we use it but don't define it (!).
5551 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5553 * examples/hildon-bread-crumb-trail-example.c (main):
5557 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5559 Fix logic for the bread crumb trail node removal.
5563 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5569 * debian/changelog: Updating.
5571 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5573 Patch by Alejandro to get/set passwords dialogs accesibility.
5575 * hildon-1/src/hildon-get-password-dialog.c:
5576 * hildon-1/src/hildon-set-password-dialog.c:
5577 Set atk_set_name to the passwd entries in order to allow
5578 accessibility by name on this entries.
5580 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5585 * debian/control: Updating gtk dep.
5587 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5589 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5590 USE_MAEMO_GTK is enabled.
5592 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5594 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5595 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5597 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5603 * debian/changelog: Updating.
5605 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5607 * examples/Makefile.am:
5608 * examples/hildon-logical-color-example.c:
5609 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5610 applied + adding a test case. Fixes: NB#71660.
5612 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5614 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5615 to be visible, fixes warning on map for windows without toolbars.
5617 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5619 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5620 2.11.0, add a check for that besides the MAEMO_GTK check.
5622 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5628 * debian/changelog: Updating.
5630 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5632 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5633 visibility. Fixes: NB#70842 and MB#615.
5635 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5637 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5638 set the separator as no-show-all so it doesn't unintentionally appear when
5639 someone does a show_all.
5641 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5643 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5644 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5645 toplevel item. Fixes: NB#62031
5647 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5649 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5650 fix the name of the function in the docs.
5652 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5658 * debian/changelog: Updating.
5660 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5662 * examples/hildon-banner-long-example.c: Adding a test-case for long
5665 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5667 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5669 * src/hildon-color-chooser-dialog.c:
5670 * src/hildon-color-chooser.c:
5671 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5672 memory leaks in font selector and color selector. Fixes: NB#70499 and
5675 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5677 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5679 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5681 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5682 little bit bigger. Fixes: #NB63694.
5684 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5690 * debian/changelog: Updating.
5692 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5695 * doc/hildon-docs.sgml:
5696 * doc/images/bread-crumb-trail.png:
5697 * doc/images/calendar-popup.png:
5698 * doc/images/caption.png:
5699 * doc/images/code-dialog.png:
5700 * doc/images/color-button.png:
5701 * doc/images/color-chooser-dialog.png:
5702 * doc/images/color-chooser.png:
5703 * doc/images/controlbar.png:
5704 * doc/images/date-editor.png:
5705 * doc/images/font-selection-dialog.png:
5706 * doc/images/get-password-dialog.png:
5707 * doc/images/hvolumebar.png:
5708 * doc/images/login-dialog.png:
5709 * doc/images/note.png:
5710 * doc/images/number-editor.png:
5711 * doc/images/range-editor.png:
5712 * doc/images/seekbar.png:
5713 * doc/images/set-password-dialog.png:
5714 * doc/images/sort-dialog.png:
5715 * doc/images/time-editor.png:
5716 * doc/images/time-picker.png:
5717 * doc/images/vvolumebar.png:
5718 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5719 Adding the bread-crumb-trial and helpers to the documentation.
5721 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5723 * examples/hildon-find-toolbar-example.c:
5724 * src/hildon-find-toolbar.c:
5725 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5726 actually continue firing the other handlers if connected. Adding a new
5728 hildon_find_toolbar_get_last_index that gets the index of the most
5729 recently added (last) item. Fixes: NB#52301.
5731 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5733 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5734 behaviour. Fixes: NB#68610.
5736 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5738 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5741 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5743 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5744 when realizing the banner. Should make the infonbanner effect a bit more
5747 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5749 * src/hildon-volumebar.c:
5750 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5751 hildon_volumebar_set_range_insensitive_message and
5752 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5754 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5756 * src/hildon-window.c: Fixing the border freeing on destroy.
5758 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5760 * src/hildon-code-dialog-private.h:
5761 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5762 kw keyboard support in HildonCodeDialog.
5764 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5770 * debian/changelog: Updating.
5772 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5774 * src/hildon-date-editor.c:
5775 * src/hildon-number-editor.c:
5776 * src/hildon-private.c:
5777 * src/hildon-private.h:
5778 * src/hildon-time-editor.c:
5779 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5780 handling in subclassed composite widgets. Fixes: NB#66628.
5782 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5784 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5785 from destroy_ callback as it introduces problems in async dbus signal
5786 handlers. Fixes NB#66673.
5788 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5790 * examples/hildon-hvolumebar-example.c:
5791 * src/hildon-volumebar.c: Improving the focus handling in the
5792 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5793 set_property accessor so that "mute" property can be actually set. I'm
5794 scared that nobody noticed it's totally broken.
5796 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5798 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5801 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5803 * src/hildon-calendar.c:
5804 * src/hildon-number-editor.c:
5805 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5806 matches the spec of 6 chars per second. Fixes: NB#60489.
5808 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5810 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5811 gtk_style_lookup_color sometime returns FALSE even though color was
5812 found and values were filled properly. Weird. Removing the warning for the
5815 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5817 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5818 expand vertically. Adding some extra space to the find toolbar buttons to
5819 make them thumbable. Fixes NB#66060.
5821 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5823 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5824 popup with "Ok" and "Cancel". Fixes NB#59299.
5826 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5828 * src/hildon-calendar.c: Process all window updates before executing next
5829 timeout. Fixes: NB#54146.
5831 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5837 * debian/changelog: Updating.
5839 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5841 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5842 the client event and ignore it, since we use the delete event to close
5845 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5847 * src/hildon-helper.c: Remove the bogus warning about color not being
5848 found. Fixes NB#58352.
5850 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5852 * examples/Makefile.am:
5853 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5854 HildonSeekbar widget inside a toolbar.
5856 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5858 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5859 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5860 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5861 don't want to be closed by non-temporary windows on map.
5863 Also use G_DEFINE_TYPE instead of manually typed code.
5865 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5872 * debian/rules: Updating.
5874 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5876 * examples/Makefile.am:
5877 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5878 bug NB#61128. Strangely it works.
5880 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5882 * src/hildon-date-editor.c: When the date editor entry has been changed
5883 but the numbers of characters < max, turn off the skip validation flag.
5884 Prevents a situation when we enter first a valid year and later re-write
5885 it with an invalid one. Fixes NB#60154.
5887 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5889 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5890 code dialog. Fixes NB#64355.
5892 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5894 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5895 switching the page. Fixes NB#49374.
5897 * examples/Makefile.am:
5898 * examples/hildon-wizard-dialog-example.c: Adding an example for
5899 HildonWizardDialog that shows how to handle manual sensitivity setting on
5902 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5906 * src/hildon-version.h.in:
5907 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5909 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5911 * src/hildon-volumebar.c: Updating the docs.
5913 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5919 * debian/changelog: Updating.
5921 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5923 * src/hildon-find-toolbar.c:
5924 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5925 selected item: hildon_find_toolbar_set_active,
5926 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5927 hildon_find_toolbar_get_active_iter . They correspond to respective
5928 GtkComboBox functions.
5930 * examples/Makefile.am:
5931 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5934 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5936 * examples/Makefile.am:
5937 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5940 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5941 when font size > 32 and we pack a focusable widget inside. Actually using
5942 the default response would work too, but since we don't show default
5943 response state in any way (no theming) it would not be visible to the
5944 user. Fixes NB#63430.
5946 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5948 * src/hildon-date-editor.c: Adding the missing variable setter in the
5949 set_property handler. Fixes NB#54182.
5951 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5953 * src/hildon-window.h: Changing the long key press time from 1500ms to
5954 800ms as requested in NB#63700. I have a bad feeling about this, let's
5955 see... Fixes NB#63700.
5957 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5959 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5960 hildon_time_picker_map, hildon_time_picker_realize,
5961 hildon_time_picker_style_set): Split the contents of map to more
5962 appropriate functions; set window decorations on realize and update
5963 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5965 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5970 * debian/changelog: Updating.
5972 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5974 * src/Makefile.am: fixed installation of the header files
5976 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5982 * debian/changelog: Updating.
5984 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5986 * configure.ac: Removing some remaining of --enable-xan.
5988 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5990 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5991 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5993 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5994 2.10.12-osso6 because the move-focus signal needs to be available in
5997 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5999 * examples/Makefile.am:
6000 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6001 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6002 fine. Prolly NB#61128 is fixed now.
6004 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6006 * src/hildon-volumebar.c:
6007 * src/hildon-volumebar.h: Adding the
6008 hildon_volumebar_set_range_insensitive_message and
6009 hildon_volumebar_set_range_insensitive_messagef functions to set
6010 insensitive message on the slider of the volumebar. Fixes NB#61129.
6012 * examples/Makefile.am:
6013 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6014 test the new insensitive messsage functionality on HildonVolumebar.
6016 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6018 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6021 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6023 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6024 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6025 button on after clearing the trail.
6027 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6029 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6031 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6033 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6034 by splitting the installed headers in generated and non-generated groups. Use
6035 only the non-generated headers to create the hildon-enum-types.h file.
6037 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6039 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6041 * src/hildon-window.c: Hide the window before performing the destroy.
6042 Should make the app closing a little tiny bit more snappy.
6044 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6046 * src/hildon-seekbar.c: add gtkrange.h header
6047 * src/hildon-caption.c: remove unused variable
6049 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6051 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6054 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6060 * debian/changelog: Updating.
6062 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6064 * src/hildon-window.c (hildon_window_window_state_event,
6065 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6066 escape timeout on focus-out-event rather than notify::is-topmost; the
6067 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6069 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6071 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6072 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6074 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6076 * src/hildon-window: actually, you need to use the macro always, there's
6077 no private pointer in the instance structure. We should have cleaned this up
6078 when we had the chance...
6080 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6082 * src/hildon-window.c: do not get the private date from HildonWindow before
6083 it passes the g_return_if_fail check. Once it's passed the test, there's no
6084 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6085 if you are only going to access the data once. Whitespace cleanups.
6087 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6089 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6090 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6092 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6098 * debian/changelog: Updating.
6100 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6102 * src/hildon-window.c: When destroying the window, remove (if exists) the
6103 escape timeout handler. Fixes #NB59276.
6105 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6107 * src/hildon-banner.c: When realizing the widget, set the window
6108 transiency. Setting the transiency in the gobject constructor is not
6109 good, as the widget is not realized at that point. Fixes: #NB56624.
6111 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6113 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6114 Add padding for future expansions.
6116 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6118 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6119 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6120 will fake an activation on the previous to the last item of the trail, so
6121 the effect can be overrided by the developer as usual.
6122 Also change the callback for the back button to do the same thing, so its
6123 effect can be overrided too. Fixes: NB#58982
6125 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6127 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6128 HildonCaption. Fixes NB#52379.
6130 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6132 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6133 the internal state of the trail after the user has had the chance of executing
6134 his handler for the signal. Specifically, it may happen that the activated button
6135 is removed and the user still lets the default handler run. This would segfault
6138 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6140 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6141 scrollbar to the preview dialog. Fixes NB#54147.
6143 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6145 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6146 max/min year properties can be altered, so the client can modify it
6147 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6149 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6151 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6152 hildonlike by default. Fixing a problem with disappearing arrows when
6153 scrolling through months and years. Fixes NB#54127.
6155 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6157 * examples/hildon-date-editor-example.c: Adding error callback to the date
6160 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6166 * configure.ac: Updating.
6168 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6170 * configure.ac: Adding a special '--enable-xan' configure option that
6171 turns off the -Werror compilation setting. Usefull for development.
6173 * src/hildon-calendar.c:
6174 * src/hildon-number-editor.c:
6175 * src/hildon-time-picker.c: Adding the 5* multiplier to
6178 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6180 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6181 instead of g_object_ref + gtk_object_sink.
6183 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6189 * debian/changelog: Updating.
6191 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6193 * src/hildon-color-chooser-dialog.c:
6194 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6195 straight from Tommi labs.
6197 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6199 * examples/hildon-finger-example.c: Correcting the header file path.
6201 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6202 the changed signal. Fixes a small memory leak.
6204 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6208 * src/hildon-banner.c: Importing several usefull fixes from the
6209 ubuntu-mobile branch.
6211 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6213 * examples/Makefile.am:
6214 * examples/hildon-finger-example.c: Adding a finger-checking code
6217 * src/hildon-font-selection-dialog.c: Do not allocate the color
6218 structure using the g_new. Fixes NB#54061.
6220 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6222 * src/hildon-helper.c: Correcting tabs in file.
6224 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6226 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6227 control the visibility of the children.
6229 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6231 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6237 * debian/changelog: Updating.
6239 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6241 * src/hildon-bread-crumb-trail.c:
6242 (hildon_bread_crumb_trail_size_allocate):
6244 Make the back button always a square.
6246 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6248 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6249 from the .c file as it's a private file.
6251 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6253 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6254 uses slightly bigger height.
6256 * src/hildon-font-selection-dialog.c: Adding some checks before
6257 freeing memory in the font selection dialog.
6259 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6261 * src/hildon-font-selection-dialog.c: Adding a small check when
6264 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6265 buttons sensitivity on page switching.
6267 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6269 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6270 internal details of adding a bread crumb to the trail.
6272 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6278 * debian/changelog: Updating.
6280 * src/hildon-bread-crumb-trail.h:
6281 * src/hildon-bread-crumb.h: Changing the API guard to
6282 HILDON_ENABLE_UNSTABLE_API.
6284 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6292 * src/hildon-helper.h: Updating.
6294 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6302 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6306 * src/hildon-helper.h: Small fix to make the package actually compile.
6308 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6310 * src/hildon-bread-crumb-trail.h:
6311 * src/hildon-bread-crumb.h:
6313 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6314 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6316 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6318 * examples/hildon-bread-crumb-trail-example.c:
6320 * src/hildon-bread-crumb-trail.c:
6321 * src/hildon-bread-crumb-trail.h:
6322 * src/hildon-bread-crumb.c:
6323 * src/hildon-bread-crumb.h:
6324 * src/hildon-marshalers.list:
6325 * src/hildon-bread-crumb-widget.c:
6326 * src/hildon-bread-crumb-widget.h:
6328 Slight change in the widget design. The bread crumb trail API is
6329 unchanged, but HildonBreadCrumb is now an interface. A *private*
6330 implementation, hildon-bread-crumb-widget, is provided and used
6331 internally by the trail for the push_text/push_icon functions.
6333 The generic push API is still available, so anyone can implement
6334 and use its own bread crumb widget.
6336 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6338 * debian/rules: Fixing the shlibs.
6340 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6342 * src/hildon-banner.c: Fixing a problem with timed banners having
6343 their parrent destroyed before they are.
6345 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6347 * src/hildon-bread-crumb.c:
6348 * src/hildon-bread-crumb.h:
6350 Make the get_natural_size function a vfunc.
6352 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6354 * src/hildon-bread-crumb.c:
6355 * src/hildon-bread-crumb-trail.c:
6359 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6366 * debian/changelog: Updating for release.
6368 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6370 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6371 don't leak the pango layout.
6373 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6376 * examples/hildon-bread-crumb-trail-example.c:
6380 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6382 * debian/changelog: Removing the bug-fixed entries that were actually
6383 resolved as WONTFIX.
6385 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6388 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6390 * src/hildon-bread-crumb-trail.c:
6391 * src/hildon-bread-crumb-trail.h:
6392 * src/hildon-bread-crumb.c:
6393 * src/hildon-bread-crumb.h:
6397 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6399 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6400 until it's passed the type check.
6402 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6404 * examples/hildon-bread-crumb-trail-example.c
6408 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6410 * examples/Makefile.am
6411 * examples/hildon-bread-crumb-trail-example.c
6413 * src/hildon-bread-crumb-trail.c
6414 * src/hildon-bread-crumb-trail.h
6415 * src/hildon-bread-crumb.c
6416 * src/hildon-bread-crumb.h
6418 New HildonBreadCrumbTrail widget.
6420 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6422 * src/hildon-range-editor.c (hildon_range_editor_init),
6423 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6424 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6425 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6426 hildon_time_editor_class_init, hildon_time_editor_init),
6427 src/hildon-get-password-dialog.c (invalid_input,
6428 hildon_get_password_set_property, hildon_get_password_get_property,
6429 create_contents, hildon_get_password_dialog_set_max_characters),
6430 src/hildon-set-password-dialog.c (create_contents),
6431 src/hildon-date-editor.c (hildon_date_editor_init),
6432 src/hildon-login-dialog.c (hildon_login_dialog_init),
6433 src/hildon-number-editor.c (hildon_number_editor_init),
6434 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6435 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6436 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6437 configure option and adding the respective checks in the code.
6438 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6439 hildon_calendar_drag_data_received): fixed some build warnings.
6441 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6443 * debian/changelog: A 1.0.0 release notes.