1 2009-02-13 Alejandro G. Castro <alex@igalia.com>
3 This patch was applied before but reverted because it caused
4 problems, we have changed the main condition and tested the
5 regressions we detected before and they work ok.
7 * src/hildon-pannable-area.c,
8 (hildon_pannable_area_get_topmost): Added a new parameter to
9 filter the the windows that do not include those events. Added
10 also a condition when finding the window to filter windows that do
11 not ask for those events.
12 (hildon_pannable_area_button_press_cb),
13 (hildon_pannable_area_button_release_cb),
14 (hildon_pannable_get_child_widget_at): Reviewed the call the the
15 topmost function, we have added the new parameter.
17 Fixes: NB#97458 (Pannable area prevents propagation of button
20 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
22 * tests/check-hildon-color-button.c (START_TEST): do not leak
25 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
27 * src/hildon-font-selection-dialog.c
28 (hildon_font_selection_dialog_get_preview_text): Return NULL
29 instead of FALSE on the g_return_val_if_fail().
31 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
33 * src/hildon-time-selector.c (hildon_time_selector_set_time):
34 * src/hildon-date-selector.c
35 (hildon_date_selector_select_current_date):
36 Do not compare unsigned integers to be greater than or equal 0,
37 because it's always TRUE.
39 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
41 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
42 (hildon_date_selector_constructor): Do not select the current
43 date until we are handle the "changed" signal, to avoid having bogus
44 elements in the days model.
46 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
48 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
49 for num_days, since _month_days() can return a negative value.
51 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
53 * src/hildon-caption.c (hildon_caption_size_allocate):
54 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
55 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
57 Initialize allocation variables to 0, to avoid eventually using
58 unitialized variables.
60 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
62 * src/hildon-bread-crumb-trail.c
63 (hildon_bread_crumb_trail_size_allocate):
64 * src/hildon-calendar.c (hildon_calendar_set_background):
65 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
66 * src/hildon-range-editor.c (hildon_range_editor_get_range):
67 * src/hildon-seekbar.c (hildon_seekbar_init):
68 * src/hildon-time-editor.c (hildon_time_editor_get_time):
69 * src/hildon-time-selector.c (hildon_time_selector_finalize):
70 * src/hildon-touch-selector-entry.c
71 (hildon_touch_selector_get_text_from_model):
72 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
73 * src/hildon-window.c (hildon_window_finalize):
75 Remove many unused variables.
77 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
79 * src/hildon-seekbar.c: (hildon_seekbar_init),
80 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
82 Remove unnecessary g_assert() calls.
84 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
86 * src/hildon-caption.c: (hildon_caption_expose),
87 (hildon_caption_set_property), (hildon_caption_init),
88 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
89 (hildon_caption_size_request), (hildon_caption_size_allocate),
90 (hildon_caption_forall), (hildon_caption_set_separator),
91 (hildon_caption_activate), (hildon_caption_set_child_expand),
92 (hildon_caption_set_label_text),
93 (hildon_caption_get_label_alignment):
95 Remove unnecessary g_assert() calls.
97 2009-02-12 Alberto Garcia <agarcia@igalia.com>
100 (hildon_banner_map, hildon_banner_init): Make banner temporary
101 before mapping it to avoid closing other temporary windows, but
102 make it non-temporary afterwards to avoid being closed by other
103 non-temporary windows.
104 (-hildon_banner_client_event, hildon_banner_init):
105 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
107 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
110 2009-02-11 Alberto Garcia <agarcia@igalia.com>
112 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
115 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
117 * src/hildon-remote-texture.c
118 * src/hildon-remote-texture.h
119 * src/hildon-remote-texture-private.h
120 * examples/hildon-remote-texture-example.c:
121 Updates/fixes to remote-texture and its example.
123 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
125 Patch by Mox Soini (ext-mox.soini@nokia.com)
127 * src/hildon-code-dialog.c: Update logical id.
128 * src/hildon-set-password-dialog.c: Update logical id.
130 Fixes: NB#100646 (Logical strings is shown for ok in set
131 password,Password needed dialogs)
133 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
136 * src/hildon-remote-texture.c
137 * src/hildon-remote-texture.h
138 * src/hildon-remote-texture-private.h
140 Added remote texture widget (for Clutter shared memory textures)
142 * examples/hildon-remote-texture-example.c
143 * examples/Makefile.am
144 Added example file for remote texture usage
146 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
148 * configure.ac: post release version bump.
149 * debian/changelog: version bump.
151 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
156 * configure.ac: Bump version.
157 * debian/changelog: Updates.
159 2009-02-06 Alberto Garcia <agarcia@igalia.com>
161 * src/hildon-date-selector.c (hildon_date_selector_init)
162 (hildon_date_selector_constructor): Don't connect to the "changed"
163 signal until the selector is completely constructed.
165 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
167 * src/hildon-touch-selector.c: (_create_new_column),
168 (hildon_touch_selector_append_column),
169 (hildon_touch_selector_set_column_selection_mode),
170 (hildon_touch_selector_set_active),
171 (hildon_touch_selector_select_iter):
172 Emit the HildonTouchSelector::changed signal every time selection
173 is changed in any of the methods above. This behavior was already
174 documented but not fully functional.
176 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
177 selection is programmatically changed)
179 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
181 * doc/hildon-sections.txt: Remove obsolete icon
182 sizes from here as well.
184 2009-02-05 Alberto Garcia <agarcia@igalia.com>
186 * examples/hildon-stackable-window-example.c (add_window): Remove
189 2009-02-05 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-app-menu.c
192 (hildon_app_menu_show): Check whether the parent window of a menu
193 is topmost before popping it up.
195 Fixes: NB#100468 (Application menu window is launched even when a
196 new secondary-window/dialog is pending to be shown/realized.)
198 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
200 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
203 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
205 Patch by Mox Soini (ext-mox.soini@nokia.com)
207 * src/hildon-banner.c: (hildon_banner_show_animation):
208 use stylus size instead of obsolete note size.
209 * src/hildon-defines.h: Update icon sizes.
211 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
213 * src/hildon-touch-selector-entry.c:
214 (hildon_touch_selector_entry_init): Disable unsupported
216 (hildon_touch_selector_entry_get_text_column): Emit a warning
217 if an unsupported input modes is used and explicitile state
218 these modes in the documentation.
220 Fixes: NB#99802 (Hildon touch selector entry not working properly
221 for some of the input modes)
223 2009-02-05 Alejandro G. Castro <alex@igalia.com>
225 * src/hildon-pannable-area.c,
226 (hildon_pannable_area_init): Added the changed signal handlers of
229 Fixes: NB#100320 (HildonPannableArea does not listen to
230 GtkAdjustment "change" signals)
232 2009-02-04 Alberto Garcia <agarcia@igalia.com>
234 * doc/hildon-sections.txt
235 * src/hildon-window-private.h
236 * src/hildon-window.h
237 * src/hildon-window.c (hildon_window_init)
238 (hildon_window_realize, hildon_window_unrealize)
239 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
240 (hildon_window_size_request, hildon_window_size_allocate)
241 (hildon_window_forall, hildon_window_show_all)
242 (hildon_window_destroy, +paint_edit_toolbar)
243 (+hildon_window_set_edit_toolbar):
244 New hildon_window_set_edit_toolbar() method, to add a
245 HildonEditToolbar to a window without having to pack it manually.
247 Reorganize hildon_window_size_allocate()
249 * src/hildon-edit-toolbar.c: Update documentation.
251 * examples/hildon-edit-toolbar-example.c (edit_window): Update
252 example to use the new API.
254 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
256 2009-02-04 Alberto Garcia <agarcia@igalia.com>
258 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
259 Remove from stack before calling parent's hide.
261 2009-02-04 Alberto Garcia <agarcia@igalia.com>
263 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
264 window is removed from the middle of the stack, update the
265 transiency of the previous one.
267 Fixes: NB#100487 (HildonStackableWindow transiency becomes
270 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
272 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
273 block/unblock the signal handler if it's not actually being used.
274 Fixes some critical warnings.
276 2009-02-02 Alberto Garcia <agarcia@igalia.com>
278 Based on a patch by Iván Gómez (igomez@igalia.com)
280 * src/hildon-banner.c
284 * src/hildon-pannable-area.c
285 * src/hildon-picker-dialog.c
286 * src/hildon-wizard-dialog.h
287 * src/hildon-wizard-dialog.c: Documentation updates.
289 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
290 gtk_dialog_add_button() instead of hildon_dialog_add_button().
292 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
294 * configure.ac: post release version bump.
295 * debian/changelog: version bump.
297 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
302 * configure.ac: Bump version.
303 * debian/changelog: Updates.
305 2009-01-29 Alberto Garcia <agarcia@igalia.com>
307 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
308 a stock icon nor change the relief of the back arrow.
310 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
313 2009-01-29 Alberto Garcia <agarcia@igalia.com>
315 * src/hildon-button.c (hildon_button_set_alignment): Use
316 priv->alignment if the button has no child yet.
318 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
320 * src/hildon-button.c: (hildon_button_init): Set the
321 button style during initialization to give it the proper
324 Fixes: NB#99713 (HildonButton value label color is wrong)
326 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
328 * src/hildon-touch-selector.c: Document
329 hildon_touch_selector_center_on_selected()
331 2009-01-28 Alberto Garcia <agarcia@igalia.com>
333 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
334 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
335 all menu items, but not the menu itself.
336 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
337 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
338 items after adding them to the menu so keyboard accelerators work.
339 (hildon_app_menu_show): Don't show the menu if it contains items
340 but none of them are visible.
342 * examples/hildon-app-menu-example.c (create_menu): Use
343 gtk_widget_show_all() to show all menu items.
345 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-picker-dialog.c:
348 (-_update_title_on_selector_changed_cb),
349 (-_dialog_update_title): Removed.
350 (_select_on_selector_changed_cb), (_on_dialog_response),
351 (on_selector_columns_changed): Do not update the dialog title.
352 (setup_interaction_mode): Do not connect to
353 HildonTouchSelector::changed signal if there's a "done" button, as
354 the dialog title doesn't need to be updated.
356 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
359 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
361 Patch by Kristian Rietveld (kris@imendio.com)
363 * src/hildon-touch-selector.c: (_create_new_column): Use new
364 GtkTreeView::hildon-row-tapped signal to react to user interactions
365 instead of ::changed.
367 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
368 with some dynamic tree model)
370 2009-01-27 Alberto Garcia <agarcia@igalia.com>
372 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
373 (+screen_size_changed, +label_size_request)
374 (hildon_note_class_init): Make the Hildon information note have a
375 minimum height, and make its text hvae a maximum width.
377 Fixes: NB#98614 (Hildon information note (background) should have
378 minimum height and maximum text width)
380 2009-01-26 Alberto Garcia <agarcia@igalia.com>
382 * src/hildon-banner.h
383 * src/hildon-banner.c (hildon_banner_show_information)
384 (hildon_banner_show_informationf)
385 (hildon_banner_show_information_with_markup): Update documentation
386 to reflect that the icon_name parameter is not used anymore.
387 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
388 Remove all code from these functions and mark them as deprecated.
389 (hildon_banner_show_progress): Mark as deprecated.
391 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
393 2009-01-26 Alejandro G. Castro <alex@igalia.com>
395 * src/hildon-pannable-area.c,
396 (hildon_pannable_area_class_init),
398 (hildon_pannable_draw_vscroll),
399 (hildon_pannable_draw_hscroll),
400 (hildon_pannable_area_expose_event): Added a new way to render the
401 scrollbars of the pannable area avoiding using cairo at all. This
402 way we improve the performance of the pannable area rendering. The
403 cairo rendering procedure is still in the code, we can control
404 which one to use changing the value of the define
405 USE_CAIRO_SCROLLBARS.
407 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
409 * configure.ac: post release version bump.
410 * debian/changelog: version bump.
412 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
417 * configure.ac: Bump version.
418 * debian/changelog: Updates.
420 2009-01-23 Alberto Garcia <agarcia@igalia.com>
422 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
423 banners instead of destroying them when they receive a button
426 2009-01-23 Alejandro G. Castro <alex@igalia.com>
428 Reverted commit 34028, it was causing regressions, probably the
429 topmost condition is not correct, we have to check it in more
430 detail. We have reponed the bug: NB#97458 (Pannable area prevents
431 propagation of button press events)
433 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
435 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
436 that the selection is not empty before attempting to retrieve the
437 current ampm selection.
439 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
441 * src/hildon-picker-button.c:
442 (hildon_picker_button_on_dialog_response): Directly update the
443 button contents when required instead of calling _selection_changed.
445 2009-01-23 Alberto Garcia <agarcia@igalia.com>
447 * src/hildon-program.c (hildon_program_update_top_most): Update
448 'is-topmost' property also when wm_hints is not set.
450 Fixes: NB#98383 (is-topmost signal is not emitted when task
451 switcher is clicked.)
453 2009-01-23 Alejandro G. Castro <alex@igalia.com>
455 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
459 * src/hildon-animation-actor.c,
460 * src/hildon-animation-actor.h: Added the animation actor class,
461 this widget represents an animation actor for WM-assisted
462 animation effects in the Hildon framework.
464 2009-01-23 Alberto Garcia <agarcia@igalia.com>
466 * src/hildon-window-stack-private.h
467 * src/hildon-window-stack.c
468 * src/hildon-stackable-window.c (hildon_stackable_window_show):
469 Avoid calling gtk_widget_show() again indirectly from
470 hildon_stackable_window_show()
472 2009-01-23 Alberto Garcia <agarcia@igalia.com>
474 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
477 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
479 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
480 (hildon_time_selector_init): Move the construction of the hours and
481 ampm columns to the constructor to preserve the order the columns
484 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
486 * src/hildon-picker-dialog.c:
487 (hildon_picker_dialog_class_init): Connect a realize method.
488 (+hildon_picker_dialog_realize): Setup the interaction mode here
490 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
491 yet, do it during the realize instead.
492 (_on_dialog_response):
493 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
494 if the widget is not realized, to avoid the dialog response before it
497 Avoid premature responses in the HildonPickerDialog that can cause it
498 to be hidden before it's even shown.
500 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
502 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
503 (on_selector_columns_changed), (requires_done_button),
504 (+prepare_action_area), (setup_interaction_mode),
505 (_hildon_picker_dialog_set_selector):
507 Split the interaction mode setup into preparation of the
508 action area (prepare_action_area()) and the connection of
509 the signals in setup_interaction_mode() and update the code to
512 2009-01-22 Alejandro G. Castro <alex@igalia.com>
514 * src/hildon-pannable-area.c,
515 (hildon_pannable_area_class_init): Reduced the amount of scrolls
516 per second to 15, we will check if this is ok regarding
519 2009-01-22 Alejandro G. Castro <alex@igalia.com>
521 * src/hildon-pannable-area.c,
522 (hildon_pannable_axis_scroll): Avoid resize if we already have
523 reached overshoot_max.
525 2009-01-22 Alejandro G. Castro <alex@igalia.com>
527 * src/hildon-pannable-area.c,
528 (hildon_pannable_area_init),
529 (hildon_pannable_area_realize),
530 (hildon_pannable_area_size_allocate),
531 (hildon_pannable_area_map),
532 (hildon_pannable_area_unmap),
533 (hildon_pannable_draw_vscroll),
534 (hildon_pannable_draw_hscroll),
535 (hildon_pannable_area_expose_event),
536 (hildon_pannable_area_refresh): Added a new GdkWindow to the
537 pannable are to avoid the expose events go to the window and
538 redraw the window. We save this way that part of the stack and the
539 paint_boxes. We had to change the positions of the elements when
542 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
544 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
545 * src/hildon-color-chooser-dialog.c:
546 (hildon_color_chooser_dialog_init):
547 * src/hildon-font-selection-dialog.c:
548 (hildon_font_selection_dialog_init),
549 (hildon_font_selection_dialog_show_preview):
550 * src/hildon-get-password-dialog.c:
551 * src/hildon-login-dialog.c:
552 * src/hildon-set-password-dialog.c:
553 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
554 * src/hildon-time-picker.c: (hildon_time_picker_init):
556 Remove obsolete logical string IDs and update to the appropriate ones.
558 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
560 2009-01-21 Alberto Garcia <agarcia@igalia.com>
562 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
563 that happens if the window hasn't been realized yet.
565 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
566 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
568 2009-01-20 Alberto Garcia <agarcia@igalia.com>
570 * src/hildon-app-menu.c (hildon_app_menu_class_init)
571 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
574 Fixes: NB#98537 (Device hangs in account settings dialog)
576 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
578 * configure.ac: post release version bump.
579 * debian/changelog: version bump
581 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
586 * configure.ac: Bump version.
587 * debian/changelog: Updates.
589 2009-01-20 Alejandro G. Castro <alex@igalia.com>
591 Added a new function to the HildonTimeButton widget that allows to
592 change the step of the minutes in the selector associated with the
593 button: hildon_time_button_new_step
595 * src/hildon-time-button.c,
596 (hildon_time_button_init),
597 (hildon_time_button_new),
598 (hildon_time_button_new_step):
599 * src/hildon-time-button.h: Added the new function and refactored
601 * examples/hildon-time-button-example.c,
602 (main): We have replaced the function without parameters with the
603 function with the steps set to 5
605 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
607 2009-01-20 Alejandro G. Castro <alex@igalia.com>
609 * src/hildon-time-selector.c,
610 (hildon_time_selector_class_init),
611 (hildon_time_selector_constructor),
612 (hildon_time_selector_get_property),
613 (hildon_time_selector_set_property),
614 (_create_minutes_model),
615 (hildon_time_selector_new_step),
616 (hildon_time_selector_set_time),
617 * src/hildon-time-selector.h: Added a new property to the
618 HildonTimeSelector (minutes-step), we use that property to control
619 the steps between the minutes in the list of the selector. We have
620 added a new function to the API to create a widget changing the
621 step: hildon_time_selector_new_step.
623 2009-01-20 Alejandro G. Castro <alex@igalia.com>
625 * src/hildon-time-selector.c,
626 (hildon_time_selector_class_init),
627 (hildon_time_selector_constructor),
628 (hildon_time_selector_init): Overrided the construct function when
629 creating the time selector object. We have moved the minutes model
630 handling code from the init to the new construction function:
631 hildon_time_selector_constructor.
633 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
635 * examples/hildon-date-button-example.c: (main): Use the new
636 hildon_date_button_new_with_year_range() method in the example.
637 * src/hildon-date-button.c:
638 (+hildon_date_button_new_with_year_range): New public method
639 to conveniently create a HildonDateButton with a custom year range
640 in its HildonDateSelector.
641 * src/hildon-date-button.h: Add the new public method definition.
643 Fixes: NB#97908 (Not possible to change the year range in
644 HildonDateSelector/HildonDateButton)
646 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
648 * src/hildon-date-selector.c:
649 (+hildon_date_selector_set_property),
650 (+hildon_date_selector_get_property),
651 (hildon_date_selector_class_init): Install new properties "min-year"
652 and "max-year" to define boundaries for the year column.
653 (_create_year_model): Use the boundary properties to populate the model.
654 (+hildon_date_selector_new_with_year_range): New public method to
655 create a HildonDateSelector with a user defined year range.
656 (hildon_date_selector_select_current_date): Use the new boundaries to
657 calculate the iterator of current year.
658 * src/hildon-date-selector.h: Add the new public method definition.
660 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
662 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
663 Install a constructor method.
664 (+hildon_date_selector_construct_ui): construct the widget.
665 (+hildon_date_selector_constructor): new constructor.
666 (+hildon_date_selector_init): move out widget construction code to
669 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
671 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
672 that there's actually a month or year selected before obtaining them.
673 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
674 of the HildonTouchSelector::changed signal, as it was emitted on every
675 single item selection.
677 Fix some warnings and possible crashers due to the selection restoring.
679 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
681 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
682 the signal handlers only after creating the dialog instead of on every
685 2009-01-19 Alberto Garcia <agarcia@igalia.com>
687 * src/hildon-button.c (hildon_button_init)
688 * src/hildon-check-button.c (hildon_check_button_init)
689 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
690 focus when clicked by default.
692 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
694 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
697 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
699 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
700 Alejandro G. Castro (alex@igalia.com)
702 * src/hildon-picker-dialog.c:
703 (hildon_picker_dialog_class_init): install new "center-on-show"
705 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
706 (hildon_picker_dialog_set_property): add setter code for the new
708 (hildon_picker_dialog_get_property): add getter code for the new
710 (hildon_picker_dialog_show): Ensure visibility of selected items in the
711 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
714 Fixes: NB#92849 (Selected item is not always visible when
715 HildonTouchSelector is shown)
717 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
719 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
720 Alejandro G. Castro (alex@igalia.com)
722 * src/hildon-touch-selector.c:
723 (_create_new_column): Do not connect to the "realize" signal of the
725 (hildon_touch_selector_append_column): center on the selected items
726 when a new column is appended.
727 (hildon_touch_selector_select_iter): Factor out the code to select a
728 column to hildon_touch_selector_scroll_to().
729 (+search_nearest_element): Method to retrieve the nearest selected
730 element to the visible area of the pannable area in a column.
731 (+on_realize_cb): scroll to the initially selected item.
732 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
733 the pannable area is realized, otherwise delay this until it is.
734 (+_hildon_touch_selector_center_on_selected_items): Centers on the
735 selected items of a given column.
736 (+hildon_touch_selector_center_on_selected): Public method to center
737 all columns on the nearest selected item.
738 * src/hildon-touch-selector.h: Add definition for
739 hildon_touch_selector_center_on_selected().
741 Implement public API to ensure visibility of all selected items in
742 a HildonTouchSelector.
744 2009-01-16 Alejandro G. Castro <alex@igalia.com>
746 Fixed a problem in the fading when calling the scroll_to API, and
747 improve scrollbar fading handling.
749 * src/hildon-pannable-area.c,
750 (hildon_pannable_area_grab_notify): avoid the timeout when the
752 (hildon_pannable_area_button_press_cb),
753 (hildon_pannable_area_motion_notify_cb): Code style changes.
754 (hildon_pannable_area_button_release_cb): Review the conditions
755 when releasing the mouse button to avoid unrequired fading
757 (hildon_pannable_area_scroll_to): Do not calculate and set the
758 velocity if the scroll is not required.
760 2009-01-15 Alberto Garcia <agarcia@igalia.com>
762 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
763 Don't check whether the new selector is NULL: it cannot be.
764 Hold a reference to the selector while doing the replacement.
766 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
768 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
769 unnecessary size_request in a removed widget.
771 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
773 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
774 an unnecessary reference tracking that was leaking.
776 2009-01-15 Alejandro G. Castro <alex@igalia.com>
778 Added delayed motion notify event handling, this way we can
779 discard redrawing if more than 25 events arrive per second.
781 * src/hildon-pannable-area.c,
782 (hildon_pannable_area_init): Initialized the new private atributes
783 controlling this timeout
784 (hildon_pannable_area_dispose): Remove the timeout that controls
785 the motion notify events.
786 (hildon_pannable_area_scroll): Added a condition to control the
787 use of the acceleration.
788 (hildon_pannable_area_motion_event_scroll_timeout),
789 (hildon_pannable_area_motion_event_scroll): Added this two
790 functions, they handle the motion notify events inside the
792 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
793 to the scroll method with the new function.
794 (hildon_pannable_area_button_release_cb): We have to remove the
795 timeout handler and move to the last position if the last motion
796 events were not handled.
798 Fixes: NB#97028 (Pannable area updates on every motion event)
800 2009-01-15 Alejandro G. Castro <alex@igalia.com>
802 * src/hildon-pannable-area.c,
803 (hildon_pannable_area_get_topmost): Added a new parameter to
804 filter the the windows that do not include those events. Added
805 also a condition when finding the window to filter windows that do
806 not ask for those events.
807 (hildon_pannable_area_button_press_cb),
808 (hildon_pannable_area_button_release_cb),
809 (hildon_pannable_get_child_widget_at): Reviewed the call the the
810 topmost function, we have added the new parameter.
812 Fixes: NB#97458 (Pannable area prevents propagation of button
815 2009-01-15 Alejandro G. Castro <alex@igalia.com>
817 * src/hildon-pannable-area.c,
818 (hildon_pannable_area_initial_effect): Added controls before
819 launching the timeout and the idle functions.
820 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
821 of the method, in some situations it can return with TRUE and 0 in
823 (hildon_pannable_area_button_press_cb): We do not need to set
824 DELAY for fading out here.
826 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
828 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
831 post-cleaning if the selection is not NULL.
833 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
836 all items before restoring the selection.
838 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
840 * src/hildon-touch-selector.c:
841 (+hildon_touch_selector_unselect_all):
842 * src/hildon-touch-selector.h: New API to unselect all items in a
843 column of the touch selector.
845 2009-01-14 Alejandro G. Castro <alex@igalia.com>
847 * src/hildon-pannable-area.c,
848 (hildon_pannable_area_redraw): Added a call to the refresh
849 function inside the redraw because apparently in some cases the
850 change in the adjustment does not imply a size allocate.
852 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
853 despite the view not being scrollable)
855 2009-01-14 Alberto Garcia <agarcia@igalia.com>
857 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
858 leak. Check for NULL before attempting to set the window title.
860 2009-01-14 Alberto Garcia <agarcia@igalia.com>
862 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
863 whether to show or not the 'Done' button each time the dialog is
864 shown, as it depends on the HildonTouchSelector selection mode.
866 Fixes: NB#96226 (In multiple selection mode Done button is shown
867 sometimes in listpicker)
869 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
871 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
872 for the number of columns in the HildonTouchSelector more than once.
874 2009-01-14 Alberto Garcia <agarcia@igalia.com>
876 * src/hildon-touch-selector.c: Minor documentation fixes.
878 * src/hildon-picker-dialog.c (+_dialog_update_title)
879 (_select_on_selector_changed_cb)
880 (_update_title_on_selector_changed_cb)
881 (on_selector_columns_changed): Update dialog title when there's no
882 'Done' button and also when the number of columns in the selector
886 * src/hildon-picker-button.c (hildon_picker_button_finalize)
887 (+_selection_changed, hildon_picker_button_on_dialog_response)
888 (hildon_picker_button_selector_selection_changed)
889 (+hildon_picker_button_selector_columns_changed)
890 (hildon_picker_button_set_selector): Update button value and emit
891 'value-changed' when the number of columns in the selector
895 Fixes: NB#96225 (Dialog titles are not shown according to the
896 values selected in the list picker)
898 2009-01-13 Alberto Garcia <agarcia@igalia.com>
900 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
901 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
902 New "arrow-width" and "arrow-height" style properties to set the
903 size of the arrow button.
904 Set name of arrow button ("hildon-edit-toolbar-arrow").
906 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
909 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
911 * src/hildon-picker-button.c:
912 (hildon_picker_button_selector_selection_changed): Use
913 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
914 the dialog is present.
916 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
917 the selection is accepted in the dialog)
919 2009-01-13 Alberto Garcia <agarcia@igalia.com>
921 * src/hildon-color-chooser.h
922 * src/hildon-color-chooser-dialog.h:
923 Added G_BEGIN_DECLS and G_END_DECLS
925 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
927 (_clean_current_selection): plug a leak in the list.
929 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
931 * src/hildon-picker-dialog.c:
932 (+free_path_list): Method to free a GList of GtkTreePaths.
933 (_clean_current_selection), (_save_current_selection),
934 (_restore_current_selection): Save the current selection in
935 as a list of lists, to support multiple selection properly.
937 2009-01-12 Alberto Garcia <agarcia@igalia.com>
939 patch by Claudio Saavedra (csaavedra@igalia.com)
941 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
942 Store the press position.
943 (+hildon_text_view_button_release_event): If the release position is
944 close enough to the press position, move the cursor here. Otherwise,
946 (hildon_text_view_class_init): Override GtkTextView press, release, and
947 motion event handlers, disabling this way text selection through
948 pointer interaction, and allowing the container widget to handle the
951 Fixes: NB#95828 (HildonTextView functionality)
953 2009-01-12 Alberto Garcia <agarcia@igalia.com>
955 Based on a patch by Iván Gómez (igomez@igalia.com)
957 * src/hildon-button.[ch]
958 * src/hildon-calendar.c
959 * src/hildon-check-button.c
960 * src/hildon-date-editor.c
961 * src/hildon-date-selector.c
962 * src/hildon-picker-button.c
963 * src/hildon-time-editor.c
964 * src/hildon-time-selector.c
965 * src/hildon-touch-selector.[ch]:
966 Documentation updates
968 2009-01-12 Alejandro G. Castro <alex@igalia.com>
970 * src/hildon-pannable-area.c,
971 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
972 threshold, it was required due to X events handling.
974 2009-01-12 Alejandro G. Castro <alex@igalia.com>
976 * src/hildon-pannable-area.c,
977 (hildon_pannable_area_grab_notify),
978 (hildon_pannable_area_initial_effect),
979 (hildon_pannable_area_button_press_cb),
980 (hildon_pannable_area_button_release_cb),
981 (hildon_pannable_area_scroll_cb),
982 (hildon_pannable_area_scroll_to): Review the timeout management of
983 the scrollbar, the frecuency was incorrectly set.
985 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
987 * src/hildon-picker-button.c:
988 (+hildon_picker_button_on_dialog_response),
989 (hildon_picker_button_clicked): Present the dialog instead of
990 running it with gtk_dialog_run().
992 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
995 2009-01-07 Alberto Garcia <agarcia@igalia.com>
997 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
998 (hildon_app_menu_finalize): When a window is hidden it doesn't
999 emit notify::is-topmost, so make sure than the menu also
1000 disappears in that case.
1001 (parent_window_topmost_notify): Renamed from parent_window_hidden
1003 Fixes: NB#94460 (stackable window's menu is not closed when its
1006 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1008 * src/hildon-touch-selector-entry.c:
1009 (+hildon_touch_selector_entry_set_input_mode),
1010 (+hildon_touch_selector_entry_get_input_mode):
1011 * src/hildon-touch-selector-entry.h: New methods to access the input
1012 mode in the selector's entry.
1014 Fixes: NB#93410 (API required for setting IM mode in
1015 HildonTouchSelectorEntry)
1017 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1019 * configure.ac: post release version bump.
1020 * debian/changelog: version bump
1022 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1027 * configure.ac: Bump version.
1028 * debian/changelog: Updates.
1030 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-touch-selector.c:
1033 (_hildon_touch_selector_has_multiple_selection): No need
1034 to initialize the variables here.
1036 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1038 * src/hildon-note-private.h
1039 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1040 (hildon_note_finalize, hildon_note_rebuild): Close information
1041 notes when they receive a button press.
1043 Fixes: NB#89890 (Information notes does not get disappeared after
1046 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1048 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1049 mark from the wizard title, as it's not really necessary. Also,
1050 do not display the page title if not set.
1052 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1055 (parent_window_hidden): Use the window's "is-topmost" property to
1056 detect when to hide the menu.
1058 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1060 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1061 (hildon_app_menu_finalize): If the parent window of the menu is
1062 hidden, hide the menu too.
1064 Fixes: NB#94460 (stackable window's menu is not closed when its
1067 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1070 * debian/libhildon1-examples.install
1072 * examples/Makefile.am:
1073 Use dh_install to install all examples.
1074 Use DEB_SRCDIR instead of defining SOURCE_DIR
1076 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1078 * configure.ac: post release version bump.
1079 * debian/changelog: version bump
1081 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1086 * configure.ac: bump version
1087 * debian/changelog: updates
1088 * debian/control: bump gtk+ dependency
1090 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1092 patch by Christian Dywan (christian@imendio.com)
1094 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1095 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1097 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1099 * src/hildon-check-button.c (hildon_check_button_init)
1100 (hildon_check_button_class_init, hildon_check_button_style_set)
1101 (hildon_check_button_apply_style):
1102 New "checkbox-size" style property.
1104 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1105 larger / configurable size)
1107 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1109 * configure.ac: post release version bump.
1110 * debian/changelog: version bump
1112 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1117 * configure.ac: bump version
1118 * debian/changelog: updates
1120 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1122 * doc/hildon-sections.txt
1123 * src/hildon-pannable-area.c
1124 * src/hildon-program.c
1125 * src/hildon-time-editor.c
1126 * src/hildon-touch-selector-entry.c:
1128 More documentation updates.
1130 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1132 * doc/hildon-sections.txt
1133 * src/hildon-caption.c
1134 * src/hildon-code-dialog.c
1135 * src/hildon-color-button.c
1136 * src/hildon-controlbar.c
1137 * src/hildon-date-editor.c
1138 * src/hildon-date-selector.c
1139 * src/hildon-edit-toolbar.c
1140 * src/hildon-find-toolbar.c
1141 * src/hildon-font-selection-dialog.c
1143 * src/hildon-program.c
1144 * src/hildon-range-editor.c
1145 * src/hildon-seekbar.c
1146 * src/hildon-time-editor.c
1147 * src/hildon-time-selector.c
1148 * src/hildon-volumebar-range.c
1149 * src/hildon-volumebar.c
1150 * src/hildon-vvolumebar.c
1151 * src/hildon-weekday-picker.c
1152 * src/hildon-window.c
1153 * src/hildon-wizard-dialog.c:
1155 Lots of documentation fixes.
1157 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1159 Patch contributed by Iván Gómez (igomez@igalia.com)
1161 * src/hildon-check-button.c:
1162 * src/hildon-date-button.c:
1163 * src/hildon-date-selector.c:
1164 * src/hildon-dialog.c:
1165 * src/hildon-edit-toolbar.c:
1166 * src/hildon-entry.c:
1167 * src/hildon-picker-button.c:
1168 * src/hildon-program.c:
1169 * src/hildon-text-view.c:
1170 * src/hildon-time-button.c:
1171 * src/hildon-touch-selector-entry.c:
1172 * src/hildon-window-stack.c:
1174 Add more "since" tags to the new API.
1176 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1178 * doc/hildon-sections.txt: Add below method.
1179 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1180 version for the hildonized scale.
1181 * src/hildon-gtk.h: Add the definition.
1183 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1185 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1187 * doc/hildon-sections.txt: Add missing entries for new methods.
1189 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1191 Added API to pannable are in order to get its adjustments. We
1192 added two properties to manage the values we had in the private
1195 * src/hildon-pannable-area.c:
1196 (hildon_pannable_area_class_init): Added hadjustment and
1197 vadjustment properties in order to expose horizontal and vertical
1199 (hildon_pannable_area_get_property),
1200 (hildon_pannable_area_set_property): Added code to handle the new
1202 (hildon_pannable_area_get_hadjustment),
1203 (hildon_pannable_area_get_vadjustment): API functions to get the
1205 * src/hildon-pannable-area.h:
1206 (hildon_pannable_area_get_hadjustment),
1207 (hildon_pannable_area_get_vadjustment): API functions to get the
1210 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1212 Fixed some leaks, after valgrinding.
1214 * src/hildon-touch-selector.c:
1215 (_default_print_func): Fixed a leak.
1216 (hildon_touch_selector_append_column): Fixed a leak.
1217 * src/hildon-date-button.c:
1218 (hildon_date_button_init): Fixed a leak.
1219 * src/hildon-date-selector.c
1220 (hildon_date_selector_finalize): Fixed a leak.
1222 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1224 Based on a patch by Christian Dywan (christian@imendio.com)
1226 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1228 * src/hildon-gtk.h: Add definition.
1230 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1232 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1234 * src/hildon-picker-button.c: (hildon_picker_button_init),
1235 (hildon_picker_button_new): Set the HildonButton::style property
1236 in the init method, to propagate the value to the derived classes.
1238 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1240 * src/hildon-button.c: (hildon_button_class_init): Do not make
1241 the "style" property a construct property.
1243 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1245 * src/hildon-wizard-dialog.h
1246 * src/hildon-wizard-dialog.c
1247 (hildon_wizard_dialog_set_forward_page_func)
1248 * src/hildon-pannable-area.h
1249 * src/hildon-pannable-area.c
1250 (hildon_pannable_area_set_size_request_policy):
1251 Documentation fixes.
1253 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1255 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1257 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1259 * doc/hildon-sections.txt: Added sections file.
1261 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1264 * src/*.[ch]: Updates.
1266 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1268 * examples/hildon-progress-indicator-example.c: new file
1269 * examples/Makefile.am: include the new example program
1271 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1273 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1275 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1277 * configure.ac: post release version bump
1278 * debian/changelog: version bump
1280 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1285 * configure.ac: bump version
1286 * debian/changelog: updates
1287 * debian/control: bump gtk+ dependency
1289 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1291 * src/hildon-dialog.c: Mark as deprecated.
1292 * src/hildon-dialog.h: Mark as deprecated.
1293 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1294 from HildonDialog and still work, even if
1295 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1296 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1298 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1299 maemo changes) instead)
1301 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1303 * src/hildon-pannable_area.h:
1304 * src/hildon-pannable_area.c:
1305 (hildon_pannable_area_class_init),
1306 (hildon_pannable_area_set_property),
1307 (hildon_pannable_area_get_property),
1308 (hildon_pannable_area_size_request),
1309 (hildon_pannable_area_get_size_request_policy),
1310 (hildon_pannable_area_set_size_request_policy): Added new API
1311 allowing applications to control the request policy. Now they can
1312 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1313 children allocation (HILDON_MOVEMENT_CHILDREN).
1315 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1319 (hildon_gtk_tree_view_set_ui_mode)
1320 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1321 mode of treeviews and iconviews.
1323 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/hildon-touch-selector-entry.c:
1326 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1327 of a GtkEntry to get proper theming.
1329 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1330 widget, not GtkEntry)
1332 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1334 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1335 no HildonWizardDialogPageFunc.
1337 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1339 Patch contributed by Iván Gómez (igomez@igalia.com)
1341 * src/hildon-app-menu.c:
1342 * src/hildon-button.c:
1343 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1344 * src/hildon-stackable-window.c:
1345 * src/hildon-time-selector.c:
1346 * src/hildon-touch-selector.c:
1347 * src/hildon-window.c:
1349 Add more "since" tags to the new API in hildon 2.2.
1351 2008-12-05 Tim Janik <timj@imendio.com>
1353 Patch contributed by Christian Dywan (christian@imendio.com)
1355 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1356 HildonSizeType, which are supplied by Gtk+ now.
1358 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1360 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1361 (with maemo changes) instead)
1363 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1365 Patch contributed by Iván Gómez (igomez@igalia.com)
1367 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1370 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1372 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1373 (some_page_func), (main): Update the example to use a
1374 HildonWizardDialogPageFunc function.
1376 * src/hildon-wizard-dialog-private.h: Add private data for
1377 the HildonWizardDialogPageFunc function usage.
1379 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1380 (destroy), (hildon_wizard_dialog_init), (response),
1381 (hildon_wizard_dialog_set_forward_page_func):
1382 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1383 that applications can use to stop a HildonWizardDialog to jump to
1386 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1389 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1391 * src/hildon-program.h
1392 * src/hildon-program-private.h
1393 * src/hildon-program.c (hildon_program_init)
1394 (hildon_program_set_common_app_menu)
1395 (hildon_program_get_common_app_menu):
1396 New API for setting a common HildonAppMenu for all
1397 HildonStackableWindows registered with the HildonProgram.
1399 * src/hildon-stackable-window.c
1400 (hildon_stackable_window_toggle_menu):
1401 Use the common HildonAppMenu if a window doesn't have a specific
1404 * src/hildon-app-menu-private.h
1405 * src/hildon-app-menu.c
1406 (hildon_app_menu_get_parent_window):
1407 Function to obtain the window a HildonAppMenu is attached to.
1408 (hildon_app_menu_set_parent_window):
1409 Hide the menu if the parent window is set to NULL.
1411 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1413 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1414 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1415 search widget to popup.
1417 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1419 * configure.ac: post release version bump
1420 * debian/changelog: version bump
1422 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1427 * configure.ac: bump version
1428 * debian/changelog: updates
1430 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1432 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1434 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1435 (hildon_window_stack_window_realized)
1436 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1437 Set the leader GdkWindow when a window is stacked and realized,
1438 unset it when it's unstacked.
1439 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1441 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1443 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1445 * src/hildon-stackable-window.h
1446 * src/hildon-window-stack.h:
1447 Protect definition of HildonWindowStack using the preprocessor.
1449 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1451 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1452 Fix warning if all menu items are hidden.
1454 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1456 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1458 * src/hildon-controlbar.c:
1459 * src/hildon-hvolumebar.c:
1460 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1461 Multiple scale size defines updates.
1463 Fixes: NB#94322 (Scale Updates)
1465 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1467 * examples/hildon-app-menu-example.c (create_menu)
1468 Show items after adding them to the menu, as in the future the
1469 menu will no longer call gtk_widget_show() on the added items.
1471 * src/hildon-app-menu.c:
1472 Update example as explained above.
1474 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1476 * src/hildon-app-menu.c
1477 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1478 Make sure that all menu items have finger height.
1480 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1482 * src/hildon-picker-dialog.c:
1483 (_on_dialog_response), (_save_current_selection),
1484 (_restore_current_selection), (_clean_current_selection),
1485 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1486 Defined new functions in order to save the current internal selector
1487 selection previous open the dialog, in case that the use cancel the
1488 interaction, so the widget restores the previous selection.
1490 Fixes: NB#92032 (In calendar application, date values in 'new event'
1493 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1495 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1497 * src/hildon-button.c: Add a reference to the button examples in
1498 hildon-button-example.c
1500 * examples/hildon-button-example.c: Added examples of the most
1501 common button layouts.
1503 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-app-menu.c (hildon_app_menu_show)
1506 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1508 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1510 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1512 * src/hildon-picker-dialog.c:
1513 (hildon_picker_dialog_init): Initialize the signal id for
1514 HildonTouchSelector::columns-changed.
1515 (+on_selector_columns_changed): Set up the interaction mode everytime a
1516 column is added or removed from the HildonTouchSelector.
1517 (_hildon_picker_dialog_set_selector): Connect to
1518 HildonTouchSelector::columns-changed and keep track of it.
1520 Make sure to update the interaction mode of the dialog everytime a
1521 column is added or removed in the HildonTouchSelector.
1523 Fixes: NB#93228 (Done button is not shown always in listpicker)
1525 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1527 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1528 a new ::columns-changed signal.
1529 (hildon_touch_selector_append_column): Emit ::columns-changed.
1530 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1532 Add a ::columns-changed signal, emitted when the number of columns in a
1533 HildonTouchSelector changes.
1535 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1537 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1538 (_hildon_picker_dialog_set_selector): Factor out the code
1539 to set up the dialog interaction mode.
1541 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1543 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1544 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1545 to signal_changed_id.
1547 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1549 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1552 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1554 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1555 Updated the logical ids related to ampm format, as now it is required to
1556 show it correctly localized even on languages with no default
1557 abbreviations for am or pm
1558 (_check_am_pm_format): check correctly the 24h format gconf property
1560 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1562 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1564 * src/hildon-button.c: Documentation updates.
1566 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1568 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1569 * src/hildon-caption.c: (hildon_caption_class_init):
1570 * src/hildon-color-button.c: (hildon_color_button_class_init):
1571 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1572 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1573 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1574 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1576 Remove deprecated GTK+ marshalers and replace them with the ones
1577 provided by GLib, for those available, add a marshaler for
1578 BOOLEAN:VOID, which is not available in GLib, and use it.
1580 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1582 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1583 the text from the previous column if there is no
1584 HildonTouchSelectorColumn::text-property set.
1586 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-button.h
1589 * src/hildon-button.c (hildon_button_set_property)
1590 (hildon_button_get_property, hildon_button_class_init)
1591 (hildon_button_set_style, hildon_button_get_style):
1592 New "style" property to change the visual appearance of the
1595 * src/hildon-picker-button.c (hildon_picker_button_new):
1596 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1598 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1599 HildonButton look like PickerButton)
1601 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1603 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1604 column while building the default string.
1606 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1608 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1609 scroll indicator by default.
1611 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1613 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-main.c: Fix the documentation for hildon_init()
1617 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1619 * doc/hildon-docs.sgml
1623 * src/hildon-window-stack-private.h
1624 * src/hildon-window-stack.h
1625 * src/hildon-window-stack.c:
1626 New HildonWindowStack object, that adds support for multiple
1627 stacks of windows per process.
1629 * src/hildon-stackable-window-private.h
1630 * src/hildon-stackable-window.h
1631 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1632 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1633 (hildon_stackable_window_show, hildon_stackable_window_hide)
1634 (hildon_stackable_window_class_init)
1635 (hildon_stackable_window_init):
1636 Use HildonWindowStack for stack management.
1638 * src/hildon-program.c (hildon_program_pop_window_stack)
1639 (hildon_program_peek_window_stack)
1640 (hildon_program_go_to_root_window):
1641 Add a fallback implementation to the deprecated functions using
1644 * examples/hildon-stackable-window-example.c:
1645 Use the new HildonWindowStack API.
1647 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1649 * src/hildon-stackable-window-private.h
1650 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1651 (hildon_stackable_window_hide, hildon_stackable_window_init):
1652 Remove all window stack management.
1654 * src/hildon-program-private.h
1655 * src/hildon-program.h
1656 * src/hildon-program.c (hildon_program_init)
1657 (hildon_program_pop_window_stack)
1658 (hildon_program_peek_window_stack)
1659 (hildon_program_go_to_root_window):
1660 Remove all window stack management and mark functions as
1663 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1665 * src/hildon-app-menu.c (hildon_app_menu_realize):
1666 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1668 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1670 * configure.ac: post release version bump
1671 * debian/changelog: version bump
1673 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1678 * configure.ac: bump version
1679 * debian/changelog: updates
1681 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1683 Based on initial code by Christian Dywan (christian@imendio.com)
1685 * doc/hildon-docs.sgml: Add section for hildon-main.
1686 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1687 * src/Makefile.am: Add new hildon-main.[ch]
1688 * src/hildon-defines.h: Update the icon sizes.
1689 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1690 new library initialization files and register icon sizes.
1691 * src/hildon-main.h: New declarations.
1692 * src/hildon.h: Include hildon-main.h
1694 Add new initialization functions to the library. These methods
1695 will register the hildon specific icon sizes and can be used in the
1696 future for other hildon specific bits.
1698 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1700 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1702 * src/hildon-window.c: (hildon_window_realize),
1703 (hildon_window_notify), (-hildon_window_update_title): Do not set
1704 the application name in the window title.
1706 Fixes: NB#89754 (Applications shouldn't display their names in the
1709 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1711 * src/hildon-note-private.h:
1712 * src/hildon-note.c: (hildon_note_set_property),
1713 (hildon_note_get_property), (hildon_note_class_init),
1714 (hildon_note_init), (hildon_note_finalize),
1715 (hildon_note_new_confirmation_with_icon_name),
1716 (hildon_note_new_information_with_icon_name):
1718 No need to mark as deprecated the actual code. Revert
1719 to avoid missing symbols in widgets using deprecated API.
1721 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1723 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1725 * src/hildon-volumebar.h
1726 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1727 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1729 * src/hildon-helper.h
1730 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1731 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1733 * examples/Makefile.am:
1734 Deprecate hildon-insensitive-example
1736 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1738 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1740 * examples/hildon-pannable-area-buttons-scroll-example.c:
1741 Make all buttons finger height
1743 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1745 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1747 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1748 update the day model only if it is really required, and to avoid the
1749 full-reconstruction aproach. Now it only add or remove the required days.
1751 The purpose of this is avoid superfluous HildonTouchSelector::changed
1754 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1755 with strange parameters)
1757 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1759 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1761 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1762 the WINDOW_TYPE property.
1764 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1766 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1769 Fix dependency to allow parallel compilation with make -jX
1771 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1773 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1774 color frame and some minor tweaks to make it more consistent with
1777 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1778 highlighted but not visible)
1780 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1782 * examples/Makefile.am: Fixed typo in the Makefile.am.
1784 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1786 Reviewed the use of MAEMO_GTK define, now we add the define in the
1787 compilation line, and we also add it to the pc file.
1789 * configure.ac: Added MAEMO_GTK define to the compilation command
1790 and removed it from the config.h.
1792 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1793 do not have to take care about this define if the library was
1797 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1799 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1801 * examples/Makefile.am,
1802 * examples/hildon-pannable-area-buttons-scroll-example.c,
1803 * examples/hildon-pannable-area-gesture-signals-example.c,
1804 * examples/hildon-pannable-area-scroll-jump-example.c,
1805 * examples/hildon-pannable-area-tree-view-example.c:
1806 Renamed the pannable area examples, now they have more meaningful
1809 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1811 * src/hildon-touch-selector.c:
1812 (hildon_touch_selector_set_column_selection_mode): Used of
1813 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1814 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1815 to avoid re-seting the same selection mode.
1817 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1818 breaks HildonPickerDialog)
1820 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1822 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1823 conditional in the Makefile.am
1825 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1827 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1828 Remove unused methods.
1830 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1832 * src/hildon-button.c (hildon_button_init):
1833 Make button images center-aligned by default
1835 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1838 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1839 activated, we have to think about how to deal with both defines
1840 MAEMO_GTK and MAEMO_CHANGES.
1842 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1844 * examples/hildon-app-menu-example.c (create_menu): Make all
1845 buttons finger size.
1847 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1849 Fixed the compilation without maemo gtk adding ifdefs with
1850 MAEMO_GTK define to the code, we have to check this version more
1853 * examples/Makefile.am: Added control to avoid some examples that
1854 just make sense with maemo gtk.
1857 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1858 hildon modes with the define.
1860 * examples/hildon-edit-toolbar-example.c,
1861 (create_icon_view): Create the icon view without hildon-gtk
1862 helpers if we are not using maemo gtk.
1864 * src/hildon-touch-selector.c,
1865 (_create_new_column): Create the treeview without hildon-gtk
1866 helpers if we are not using maemo gtk.
1868 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1870 * src/hildon-pnnable-area.c,
1871 (hildon_pannable_area_dispose),
1872 (hildon_pannable_area_button_press_cb),
1873 (hildon_pannable_area_child_mapped),
1874 (hildon_pannable_area_add),
1875 (hildon_pannable_area_remove): Added code to control the position
1876 of the event_window when adding and removing children from the
1877 pannable. We have to raise the event window when the child is
1880 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1881 selection mode using custom widget inside pannable)
1883 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1885 * configure.ac: post release version bump
1886 * debian/changelog: version bump
1888 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1893 * configure.ac: bump version
1894 * debian/changelog: updates
1896 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1898 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1899 search mode, in order to avoid lose the focus on the treeview when
1900 a hw key (like enter) is pressed.
1902 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1903 in HildonDateSelector dialog)
1905 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1907 * debian/rules: Added --enable-maintainer-mode
1908 * Makefile.am: Added ACLOCAL_AMFLAGS
1910 This allows to properly regenerate the Makefiles if you modify the
1911 configure.ac or any Makefile.am.
1913 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1915 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1916 properties, not needed at all.
1918 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1920 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1922 * src/hildon-note.c: (hildon_note_set_property),
1923 (hildon_note_get_property), (hildon_note_class_init),
1924 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1925 (hildon_note_new_confirmation_add_buttons): Remove icons.
1926 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1927 (hildon_note_new_information_with_icon_name): Deprecate.
1928 (hildon_note_new_confirmation): Act directly, without calling
1929 the deprecated constructor.
1930 (hildon_note_new_information): Act directly, without calling
1931 the deprecated constructor.
1932 * src/hildon-note.h: Mark deprecate methods as such.
1933 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1934 not run tests on the deprecated methods if built with deprecation
1937 Fixes: NB#91688 (Never show icons in information notes/confirmation
1940 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1942 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1943 (hildon_app_menu_key_press): Remove leftover usage of the
1944 private structure in HildonAppMenu struct.
1945 * src/hildon-app-menu.h: Remove leftover private structure
1946 from the HildonAppMenu struct.
1948 Fixes a crasher when using the HildonAppMenu.
1950 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1952 * src/hildon-picker-dialog.c: Use appropriate logical id
1953 for the default "Done" text.
1955 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1957 * configure.ac: post release version bump
1958 * debian/changelog: version bump
1960 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1962 Modified the way to scroll to the current selection just when the touch
1963 selector is shown on the screen, avoiding a g_idle. Added too a property
1964 to configure this behaviour. See hildon_pannable_area_jump_to_child
1965 documentation for more information.
1967 * src/hildon-touch-selector.c
1968 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1969 Added 'initial-scroll' property
1970 (hildon_touch_selector_set_property): Added
1971 (hildon_touch_selector_map): Removed as not required anymore
1972 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1973 only a concrete column, instead of iterate along all the columns
1975 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1980 * configure.ac: bump version
1981 * debian/changelog: updates
1983 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1985 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1986 compilation time warnings.
1988 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1990 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1991 the default value for HildonPannableArea::mov-mode to
1992 HILDON_PANNABLE_AREA_MODE_VERT.
1994 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1996 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1998 Reverting following commit:
2000 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2002 * src/hildon-app-menu-private.h
2003 * src/hildon-app-menu.[ch]
2004 * src/hildon-button.[ch]
2005 * src/hildon-check-button.[ch]
2006 * src/hildon-entry.[ch]
2007 * src/hildon-pannable-area.[ch]
2008 * src/hildon-text-view.[ch]:
2009 Added private field to the object's structure.
2011 because it causes an ABI breakage. We will need to introduce these
2012 changes later at some point. See NB#91636 for an extensive
2013 explanation and status.
2015 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2017 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2019 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2020 remove special cases that are no longer necessary.
2022 Fixes: NB#91016 (Change toolbar sizes, simplification)
2024 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2026 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2027 is shown in the cancel note.
2029 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2031 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2032 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2033 (hildon_seekbar_init): Remove steppers, remove expose event.
2034 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2036 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2038 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2040 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2041 label font to "SmallSystemFont" for vertically arranged buttons.
2043 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2046 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2048 * src/hildon-check-button.c
2049 (hildon_check_button_set_active, hildon_check_button_clicked):
2050 Don't access private parts directly, use getters instead.
2052 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2054 * src/hildon-check-button.c (hildon_check_button_new):
2055 Align the contents of the check button to the left.
2057 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2059 * src/hildon-pannable-area.c,
2060 (hildon_pannable_area_scroll_to),
2061 (hildon_pannable_area_jump_to),
2062 (hildon_pannable_area_scroll_to_child),
2063 (hildon_pannable_area_jump_to_child): Replace the mapped
2064 precondition of these functions with the realized, it is the
2065 correct state of the widget in this case. Changed the
2066 documentation according to this modification.
2068 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2070 Added a new EXTRA_CFLAGS option to add the deprecated define to
2071 the compilation command. This way we can avoid using the define in
2072 the documentation compilation.
2074 * configure.ac: Defined EXTRA_CFLAGS.
2076 * examples/Makefile.am:
2078 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2080 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2082 * src/hildon-picker-dialog.c:
2083 Defined a utility macro with the desired touch selector height
2084 Removed currently unused separator, and title_label variables from
2086 (hildon_picker_dialog_init): Removed code related to the creation
2087 of unused private variables title_label and separator.
2088 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2089 to ensure correct visualization of the touch selector inside the dialog.
2090 * src/hildon-touch-selector.c
2091 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2092 ensure a concrete height of the widget.
2094 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2097 * tests/Makefile.am:
2099 Remove spurious whitespaces.
2101 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2103 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2104 compilation warning after the cancel button removal.
2106 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2108 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2110 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2111 Makefile.am, that way we can choose not to compile some examples
2112 and tests of the deprecated widgets.
2114 * examples/Makefile.am: Divided the sources in deprecated and
2117 * src/Makefile.am: Added undef statement of the deprecated
2118 symbol to the enums file generation process.
2120 * src/hildon-color-chooser-dialog.c
2121 * src/hildon-color-chooser-dialog.h
2122 * src/hildon-color-button.c
2123 * src/hildon-color-button.h
2124 * src/hildon-color-chooser.c
2125 * src/hildon-color-chooser.h
2126 * src/hildon-controlbar.c
2127 * src/hildon-controlbar.h
2128 * src/hildon-date-editor.c
2129 * src/hildon-date-editor.h
2130 * src/hildon-hvolumebar.c
2131 * src/hildon-hvolumebar.h
2132 * src/hildon-private.c
2133 * src/hildon-private.h
2134 * src/hildon-range-editor.c
2135 * src/hildon-range-editor.h
2136 * src/hildon-seekbar.c
2137 * src/hildon-seekbar.h
2138 * src/hildon-time-editor.c
2139 * src/hildon-time-editor.h
2140 * src/hildon-time-picker.c
2141 * src/hildon-time-picker.h
2142 * src/hildon-volumebar.c
2143 * src/hildon-volumebar.h
2144 * src/hildon-vvolumebar.c
2145 * src/hildon-vvolumebar.h
2146 * src/hildon-bread-crumb-trail.h
2147 * src/hildon-bread-crumb-trail.c
2148 * src/hildon-calendar-popup.c
2149 * src/hildon-calendar-popup.h
2150 * src/hildon-weekday-picker.c:
2151 * src/hildon-weekday-picker.h:
2152 * src/hildon-bread-crumb-widget.c:
2153 * src/hildon-bread-crumb-widget.h:
2154 * src/hildon-bread-crumb.c:
2155 * src/hildon-bread-crumb.h:
2156 * src/hildon-calendar.c:
2157 * src/hildon-calendar.h:
2158 * src/hildon-caption.c:
2159 * src/hildon-code-dialog.c:
2160 * src/hildon-code-dialog.h:
2161 * src/hildon-font-selection-dialog.c:
2162 * src/hildon-font-selection-dialog.h:
2163 * src/hildon-get-password-dialog.c:
2164 * src/hildon-get-password-dialog.h:
2165 * src/hildon-login-dialog.c:
2166 * src/hildon-login-dialog.h:
2167 * src/hildon-number-editor.c:
2168 * src/hildon-number-editor.h:
2169 * src/hildon-set-password-dialog.c:
2170 * src/hildon-set-password-dialog.h:
2171 * src/hildon-sort-dialog.c:
2172 * src/hildon-sort-dialog.h: This is the list of deprecated
2175 * src/hildon-touch-selector.c:
2176 * src/hildon-window.c: Added undef statement to avoid compilation
2179 * tests/Makefile.am: Divided the sources in deprecated and
2182 * tests/check_test.c,
2183 (configure_tests): Marked the deprecated code that was adding
2184 suites with deprecated tests.
2186 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2188 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-touch-selector.c: (_default_print_func): Do not
2191 duplicate a string returned by gtk_tree_model_get(), it is already
2194 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2197 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2199 * src/hildon-pannable-area.c
2200 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2201 method, it had problems when adding a widget with viewport the
2202 second time. Now checks if it already has a viewport and uses it.
2204 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2207 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2209 * src/hildon-pannable-area.c,
2210 (hildon_pannable_area_scroll_to),
2211 (hildon_pannable_area_jump_to),
2212 (hildon_pannable_area_scroll_to_child),
2213 (hildon_pannable_area_jump_to_child): Added a precondition to the
2214 scroll and jump to functions: the widget must be mapped before we
2215 can safely call these functions. We have also added documentation
2216 to the functions to explain how to use them in this situation.
2219 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2221 Reviewed the threading handling of the pannable widget, we have
2222 used the gdk_threads_add_timeout function instead of the usual
2223 glib handlers. This avoids some problems with the threads.
2225 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2226 (hildon_pannable_area_initial_effect),
2227 (hildon_pannable_area_scroll_indicator_fade),
2228 (hildon_pannable_area_button_press_cb),
2229 (hildon_pannable_area_timeout),
2230 (hildon_pannable_area_motion_notify_cb),
2231 (hildon_pannable_area_button_release_cb),
2232 (hildon_pannable_area_scroll_cb),
2233 (hildon_pannable_area_scroll_to): Removed the
2234 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2235 gdk_threads_add_timeout.
2237 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2239 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2244 * configure.ac: bump version
2245 * debian/changelog: updates
2247 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2249 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2250 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2251 * src/hildon-color-chooser-dialog.c:
2252 (hildon_color_chooser_dialog_init):
2253 * src/hildon-font-selection-dialog.c:
2254 (hildon_font_selection_dialog_init):
2255 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2257 Remove all cancel/close-like dialogs, as these are not going to be
2260 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-note.c: (hildon_note_rebuild),
2263 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2266 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2268 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2270 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2271 sure all buttons are shown, even the Cancel/Close-like ones.
2273 Fixes: NB#90861 (Custom Confirmation dialogs should be
2274 protected from cancel button removal)
2276 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2278 * debian/control: Change libhildon1-examples dependency from libhildon1
2280 * debian/libhildon1-examples.install
2282 * Makefile.am: Modified the final install directory for the examples on
2283 package libhildon1-examples
2284 * Makefile.static: Update clean target in order to remove all the binary
2287 Changes suggested by Claudio after review new libhildon1-examples package
2289 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2291 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2292 * src/hildon-touch-selector.c: Ditto.
2294 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2296 * debian/control: Added new package libhildon1-examples, in order to pack
2297 the current hildon examples as documentation
2298 * debian/rules: Not to compress .c files, modify some includes on the
2299 examples (as normally are compiled locally, but when installed it will
2300 require to include the installed libhildon1 library), and rename
2302 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2303 install all the example files on the new example package
2304 * examples/Makefile.static: Added static makefile that can be used to
2305 compile the examples, once installed the new example package
2306 * examples: Most of the examples were modified in order to grant that
2307 all use only '#include "hildon.h"', in order to be easy to prepare
2308 it on the example package
2310 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2313 * debian/libhildon1-dev.install
2314 * debian/libhildon1-doc.install:
2315 Move all gtk-doc files to a separate libhildon1-doc package.
2317 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2319 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2323 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2325 * debian/rules: Fixed a error in order to avoid unnecessary calls
2326 to autogen.sh on package building
2328 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2330 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2332 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2337 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2339 * src/hildon-picker-button.c
2340 (hildon_picker_button_finalize):
2341 Free priv->done_button_text
2343 * src/hildon-time-button.c
2344 (hildon_time_button_set_time)
2345 * src/hildon-picker-button.c
2346 (hildon_picker_button_clicked)
2347 (hildon_picker_button_selector_selection_changed)
2348 (hildon_picker_button_set_selector)
2349 * src/hildon-date-button.c
2350 (hildon_date_button_set_date):
2351 Free strings returned by hildon_touch_selector_get_current_text()
2353 * src/hildon-button.c (hildon_button_construct_child):
2354 Fix leaks in priv->image and priv->label_box
2356 Fixes: NB#90535 (Memory leak in picker button)
2358 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-button.c: (hildon_button_get_property): Do not access
2361 private elements directly, use getters instead.
2363 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2365 * src/hildon-app-menu-private.h
2366 * src/hildon-app-menu.c
2367 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2368 Store the menu's parent window.
2370 * src/hildon-stackable-window.c
2371 (hildon_stackable_window_toggle_menu)
2372 (hildon_stackable_window_finalize):
2373 Set the menu's parent window when the menu is shown, unset it when
2376 * src/hildon-app-menu.c
2377 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2378 (hildon_app_menu_class_init):
2379 Send unhandled keyboard accelerators to the parent window.
2381 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2383 * src/hildon-stackable-window.c
2384 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2386 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2388 * configure.ac: post release version bump
2390 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2393 * configure.ac: Bump version
2394 * debian/changelog: Updates
2395 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2398 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2400 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2403 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2404 GtkMenu with Hildon style.
2406 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2408 * src/hildon-picker-button.c:
2409 (hildon_picker_button_set_done_button_text): Set the dialog's
2410 done button text here as well.
2412 Fixes: NB#90232 (Picker button does not set the label on done button
2413 for the second time)
2415 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2417 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2420 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-app-menu.c (hildon_app_menu_insert)
2423 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2424 the HildonAppMenu to be activatable using keyboard accelerators
2425 when the menu is not being shown.
2427 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2429 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2431 * src/hildon-stackable-window.c
2432 (hildon_stackable_window_show):
2433 Don't hide old windows automatically when new windows are shown:
2434 this is now a task for the window manager.
2435 (hildon_stackable_window_class_init)
2436 (hildon_stackable_window_hide):
2437 Remove windows from the stack everytime they're hidden.
2438 (hildon_stackable_window_realize):
2439 Don't change the _NET_WM_WINDOW_TYPE property. Use
2440 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2441 it as a stackable window.
2443 * src/hildon-program.c
2444 (hildon_program_pop_window_stack):
2445 Just hide the window to remove it from the stack.
2446 (hildon_program_go_to_root_window):
2447 Don't call gtk_widget_show(), this is now a task for the window
2450 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2452 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-button.c
2455 (hildon_button_construct_child):
2456 Don't pack anything in the button until text or image are
2457 set. This allows adding a custom child after creating the button
2458 with hildon_button_new().
2459 (hildon_button_finalize, hildon_button_class_init)
2460 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2461 alignment and the label box even when they're not packed in the
2464 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2466 * src/hildon-touch-selector.h:
2467 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2468 currently the type definition was using GTK_TYPE_VBOX
2469 * src/hildon-touch-selector.c:
2470 Added some implementation notes in order to clarify that any other widget
2471 added without the column related API will not be included on the
2472 selection logic, and how the widget is freed, as some people ask about
2474 (hildon_touch_selector_remove): Reimplemented in order to free properly
2475 the column related data when you remove the private hbox.
2476 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2477 to get a proper HildonTouchSelectorColumn documentation
2479 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2481 * src/hildon-touch-selector-entry.c:
2482 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2483 text in the GtkEntry and there is no item selected. Fixes a
2486 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2488 * src/hildon-app-menu-private.h
2489 * src/hildon-app-menu.[ch]
2490 * src/hildon-button.[ch]
2491 * src/hildon-check-button.[ch]
2492 * src/hildon-entry.[ch]
2493 * src/hildon-pannable-area.[ch]
2494 * src/hildon-text-view.[ch]:
2495 Added private field to the object's structure.
2497 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2499 * configure.ac: post-release version bump
2501 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2505 * configure.ac: pre-release version bump
2507 * debian/changelog: updates.
2509 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2511 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2512 Disconnect the handler for HildonTouchSelector::changed.
2514 (hildon_picker_button_selector_selection_changed): Update the button
2515 value if the selection change was not triggered by the
2518 (hildon_picker_button_set_selector): connect to
2519 HildonTouchSelector::changed.
2521 Fixes: NB#89650 (Picker button is not updated, when selection in
2522 selector has changed)
2524 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2526 * src/hildon-picker-dialog.c
2527 (hildon_picker_dialog_realize): Removed as not required
2528 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2529 * src/hildon-picker-button.c
2530 (_current_selector_empty): New function, checks if the selector is empty
2531 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2532 if the current selector is empty, in order to avoid to show the dialog
2533 close the dialog in this case (and shows a g_warning).
2535 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2537 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2539 * src/hildon-pannable-area.c,
2540 (hildon_pannable_area_scroll): Added clause to stop movement when
2541 the child of pannable is smaller than one page.
2542 (hildon_pannable_area_scroll_to): Added conditions to avoid
2543 starting the scrolling movement if the child is smaller than one
2544 page, the complete child is in the screen, we do not have to move.
2546 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2548 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2550 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2551 this is managed automatically by the widget when the size of the
2554 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-picker-button.c
2557 (hildon_picker_button_set_done_button_text): Make a copy of the
2558 text, and free the previous value.
2560 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2562 * src/hildon-touch-selector-entry.c:
2563 (hildon_touch_selector_entry_print_func): Return the selected row's
2564 text if the entry is empty.
2566 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2569 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2571 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2573 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-check-button.h
2577 * src/hildon-check-button.c
2578 * examples/hildon-check-button-example.c:
2579 HildonCheckButton is now a new widget. 'toggled' signal added.
2581 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2583 * src/hildon-program-private.h
2584 * src/hildon-program.c (hildon_program_init)
2585 (hildon_program_finalize): Removed unused variables group_leader
2586 and name from HildonProgramPrivate.
2588 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-check-button.c (hildon_check_button_set_active)
2591 (hildon_check_button_get_active, hildon_check_button_new): Use
2592 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2594 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2596 * src/hildon-touch-selector.h
2597 (hildon_touch_selector_set_column_attributes): added deprecation
2598 guard HILDON_DISABLE_DEPRECATED
2599 * src/hildon-time-selector.c
2600 (hildon_time_selector_set_time)
2601 (hildon_time_selector_get_time): Fixed a typo on documentation
2602 * src/hildon-touch-selector.c: update HildonTouchSelector and
2603 HildonTouchSelectorColumn documentation
2604 * src/hildon-touch-selector-entry.c: update "text-column" property
2606 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2607 to be added to the general documentation.
2609 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2611 * examples/hildon-pannable-area-example-4.c,
2613 * examples/hildon-pannable-area-example.c,
2614 (main): Modified the code in order to use the container add, with
2615 viewport treeviews could have problems if they are really big.
2617 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2619 * src/hildon-weekday-picker.c,
2620 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2621 the agreement regarding deprecation in the library.
2623 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2625 * examples/hildon-picker-button-multicolumn-example.c:
2626 (main): Use custom "done" button text.
2628 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2629 (hildon_picker_button_set_property),
2630 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2631 (hildon_picker_button_init),
2632 (+hildon_picker_button_get_done_button_text),
2633 (+hildon_picker_button_set_done_button_text): New methods to customize
2634 the "done" button label in the launched HildonPickerDialog. Also,
2637 * src/hildon-picker-button.h: add the public API.
2639 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2641 * src/hildon-date-selector.h:
2642 * src/hildon-picker-dialog.h:
2643 * src/hildon-time-selector.h:
2644 * src/hildon-touch-selector-column.h:
2645 * src/hildon-touch-selector.h:
2647 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2648 declarations. Fixes gtk-doc warnings.
2650 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2652 * src/hildon-picker-dialog.h
2653 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2654 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2656 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2657 long text is set as label for done button)
2659 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2661 * src/hildon-dialog.c (hildon_dialog_add_button):
2662 Set fixed width to all buttons in the HildonDialog.
2664 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2666 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2668 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2669 Set widget name using class name plus "-finger" or "-thumb".
2671 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2673 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2674 'clicked' when the state of the button is manually changed.
2676 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2678 * src/hildon-app-menu.c (hildon_app_menu_realize)
2679 (hildon_app_menu_unrealize, hildon_app_menu_init)
2680 (hildon_app_menu_class_init, item_visibility_changed):
2681 Change the menu layout when the size of the screen changes.
2682 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2683 Show warning only when changing the number of colums using the
2686 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2688 * debian/compat: Set to 5
2689 * debian/control: Update dependencies.
2690 * debian/libhildon1-dbg.install: Remove.
2691 * debian/libhildon1-dev.install: Update according to cdbs paths.
2692 * debian/libhildon1.install: Update according to cdbs paths.
2693 * debian/rules: Switch to cdbs.
2695 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2697 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2698 'item' variable renamed to 'filter'
2700 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2702 * src/hildon-app-menu.c (hildon_app_menu_insert)
2703 (hildon_app_menu_add_filter, remove_item_from_list)
2704 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2705 Don't leak hidden items when the menu is destroyed.
2707 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-app-menu.c (hildon_app_menu_insert)
2710 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2711 (hildon_app_menu_set_columns, item_visibility_changed)
2712 (filter_visibility_changed, hildon_app_menu_repack_filters)
2713 (hildon_app_menu_repack_items):
2714 Repack items and filters separately.
2716 Don't repack all items, change only the ones that are needed to
2719 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2721 * src/Makefile.am: added hildon-touch-selector-column.h
2723 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2725 * src/hildon-touch-selector.c: added the property "text-column" to the
2726 class HildonTouchSelectorColumn, and related get/set functions
2727 (_default_printf_func): updated to use "text-column" property
2728 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2729 "text-column" in his documentation, as this is now included on
2730 HildonTouchSelectorColumn. The get/set_property can still be used,
2731 working as a wrapper to the concrete column "text-column" property
2732 (_text_column_modified): callback added in order to handle the signal
2733 "notify::text-column" of the concrete HildonTouchSelectorColumn
2734 (hildon_touch_selector_entry_get_text_column)
2735 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2736 modified in order to use the HildonTouchSelectorColumn "text-column"
2738 * src/hildon-time-selector.c:
2739 * src/hildon-date-selector.c:
2740 * examples/hildon-touch-selector-example.c
2741 * examples/hildon-touch-selector-multi-cells-example.c
2742 * examples/hildon-picker-button-multicolumn-example.c
2743 Set the right value to "text-column" property on the creation of a new
2744 column using hildon_touch_selector_append_column()
2746 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2748 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2750 * src/hildon-app-menu.c
2751 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2752 updating the layout of the menu, don't create all widgets again,
2753 just repack the items in their new places.
2755 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2757 * src/hildon-time-selector.c
2758 (hildon_time_selector_get_time)
2759 (hildon_time_selector_set_time)
2760 Added documentation of these public methods
2762 * src/hildon-date-button.h
2763 * src/hildon-touch-selector-column.h
2764 * src/hildon-time-button.h
2765 * src/hildon-picker-dialog.h
2766 * src/hildon-time-selector.h
2767 * src/hildon-picker-button.h
2768 * src/hildon-touch-selector.h
2769 * src/hildon-time-picker.h
2770 * src/hildon-date-selector.h
2771 * src/hildon-touch-selector-entry.h
2772 Modified in order to use hildon-widgets code style
2774 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2776 Added deprecated support to the compilation process using
2777 HILDON_DISABLE_DEPRECATED
2779 * configure.ac: Added the --disable-deprecated to the configure
2782 * src/hildon-weekday-picker.c:
2783 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2784 to use the deprecated support. We will update the other deprecated
2785 widgets status in a new patch.
2787 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2789 * configure.ac: Fixed typo with fatal warnings support, the
2790 variable name was not correct
2792 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2794 * src/hildon-app-menu.c
2795 * src/hildon-program.c: Update documentation.
2797 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2799 * configure.ac: Post-release version bump.
2801 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2806 * configure.ac: Pre-release version bump.
2807 * debian/changelog: Updates.
2809 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2811 * NEWS: Update news for previous releases.
2813 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2815 * examples/hildon-touch-selector-multi-cells-example.c:
2816 (create_selector): Update the example to use
2817 hildon_touch_selector_append_column() with a NULL renderer and set
2818 the renderers later.
2819 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2820 passed a NULL renderer. This is documented behavior now.
2822 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2823 This must be used if the developer wants full control on the layout of
2824 the renderers to be added to the column.
2826 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2828 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2830 * src/hildon-touch-selector.c: Documentation fixes.
2832 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2834 * src/hildon-wizard-dialog-private.h: Remove image and box.
2835 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2836 (hildon_wizard_dialog_set_property), (response): Completely remove
2837 image/icon support, and the containers required for the layout.
2839 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2841 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-app-menu.c: Updated documentation.
2845 * src/hildon-stackable-window.c
2846 (hildon_stackable_window_set_main_menu): Unref the old menu after
2847 ref'ing the new one.
2849 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-stackable-window.c
2852 (hildon_stackable_window_set_main_menu): Unref the previous menu
2853 instead of destroying it.
2855 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2856 floating reference and set has_user_ref_count to FALSE to make
2857 HildonAppMenu act like a normal ref-counted widget and not a
2860 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2863 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2865 * src/hildon-touch-selector-column.h: new file
2866 * src/hildon-touch-selector.h
2867 * src/hildon-touch-selector.c
2868 Implemented GtkCellLayout interface, in order to allow to configure
2869 the cell layout on each individual selector column
2870 (hildon_touch_selector_set_column_attributes): marked as deprecated
2871 * examples/hildon-touch-selector-multi-cells-example.c
2872 Example of how to use the GtkCellLayout interface on the selector
2874 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2876 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2878 * src/hildon-app-menu.h
2879 * src/hildon-app-menu.c
2880 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2881 (hildon_app_menu_append, hildon_app_menu_prepend):
2882 New methods to prepend, insert and move items in the menu.
2884 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2886 * src/hildon-wizard-dialog.c:
2888 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2890 (create_title): Update logical IDs and related code.
2891 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2893 * src/hildon-wizard-dialog.h: Note that
2894 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2895 point, as it is not used anymore.
2897 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2899 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2901 * src/hildon-note.c:
2902 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2903 shown. Do not display an icon in confirmation notes nor information
2905 (hildon_note_set_button_text): Update logical ID for cancel button.
2907 Fixes: NB#88850 (Update HildonNote button strings + signals)
2909 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2911 * src/hildon-stackable-window.c
2912 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2914 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-app-menu-private.h
2917 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2918 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2919 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2920 temporary property 'columns' to change the number of columns.
2922 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2924 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2926 * examples/hildon-note-example.c: (on_information_clicked),
2927 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2928 debugging information.
2929 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2931 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2932 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2933 in order to close: this will be handled by the WM from now on.
2935 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2937 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2939 * src/hildon-app-menu-private.h
2940 * src/hildon-app-menu.c
2941 (hildon_app_menu_append, hildon_app_menu_add_filter)
2942 (button_visibility_changed, hildon_app_menu_apply_style)
2943 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2944 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2945 layout everytime a button (item or filter) is shown or hidden.
2947 * src/hildon-stackable-window.c
2948 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2951 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2953 * src/hildon-touch-selector.c:
2954 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2955 that the treeview inside the touch selector is in fremantle hildon mode
2956 * examples/hildon-date-button-example.c
2957 * examples/hildon-picker-button-multicolumn-example.c
2958 * examples/hildon-touch-selector-entry-example.c
2959 * examples/hildon-touch-selector-example.c
2960 * examples/hildon-time-button-example.c
2961 * examples/hildon-picker-button-example.c:
2962 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2964 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2966 * examples/hildon-text-view-example.c: (main): Remove the
2967 gtkrc bits, now handled by the theme.
2969 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2974 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2976 * po/Makefile.am: Install properly the mo files.
2977 * po/en_GB.po: Update translation, to ease testing purposes.
2979 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2981 * examples/hildon-picker-button-example.c: (main): Select an item
2982 in the selector before setting it to the button.
2984 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2986 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2987 Update button's value if the selector has an item active.
2989 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2990 'value' with the selector)
2992 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2994 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2995 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2996 (hildon_picker_button_class_init): Plug the finalize method.
2997 (hildon_picker_button_set_selector): If there's a previously set
2998 selector, unref'it before setting a new one.
3000 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3001 HildonTouchSelector)
3003 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3005 * src/hildon-touch-selector-entry.c:
3006 (hildon_touch_selector_entry_changed): Check if there is no text
3007 selected before setting the entry text.
3010 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-touch-selector.h
3013 * src/hildon-touch-selector.c
3014 (hildon_touch_selector_get_active)
3015 (hildon_touch_selector_set_active): New methods to set/get the
3016 index of the selected item.
3018 * src/hildon-picker-button.h
3019 * src/hildon-picker-button.c
3020 (hildon_picker_button_get_active)
3021 (hildon_picker_button_set_active): New methods to set/get the
3022 index of the selected item.
3024 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3026 * configure.ac: post-release version bump.
3028 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3032 * configure.ac: Pre-release version bump.
3033 * debian/changelog: Updates.
3034 * debian/control: Add myself as maintainer and depend on l10n
3037 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-window.c
3040 (hildon_window_set_main_menu)
3041 * src/hildon-stackable-window.c
3042 (hildon_stackable_window_set_main_menu):
3043 Updated documentation.
3045 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3047 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3048 Don't free selector->priv manually.
3051 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3054 (hildon_gtk_window_set_progress_indicator):
3055 * src/hildon-gtk.h: Added the new API
3056 hildon_gtk_window_set_progress_indicator, it changes the state of
3057 the window progress hint.
3059 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3061 * src/hildon-button.c
3062 * src/hildon-stackable-window.c: Minor documentation updates.
3064 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3066 * src/hildon-stackable-window.c: Updated documentation.
3068 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/hildon-defines.h: Update margins definitions
3071 to the Fremantle sizes.
3074 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3076 * src/hildon-touch-selector.c,
3077 (_hildon_touch_selector_set_model): Cleaning the code after
3078 review, removed g_print and #if 0 from the code.
3080 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-edit-toolbar.c: Update documentation.
3084 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3086 * src/hildon-check-button.h
3087 * src/hildon-check-button.c
3088 (hildon_check_button_set_label, hildon_check_button_get_label)
3089 * examples/hildon-check-button-example.c
3090 (button_clicked_cb):
3091 Removed deprecated methods.
3093 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3095 * src/hildon-text-view.c:
3096 Add sample code to the documentation.
3098 * src/hildon-entry.h
3099 * src/hildon-text-view.h:
3100 Minor cosmetic changes.
3102 * src/hildon-entry.c:
3103 Add sample code to the documentation.
3104 (hildon_entry_init, hildon_entry_refresh_contents):
3105 Don't allow NULL values in the placeholder.
3107 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3109 * doc/hildon-docs.sgml
3111 * examples/Makefile.am
3112 * examples/hildon-text-view-example.c
3114 * src/hildon-text-view.c
3115 * src/hildon-text-view.h
3117 New HildonTextView widget, with example.
3119 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3121 * po/POTFILES.in: Add missing files with translatable strings.
3122 Partially fixes NB#88287.
3124 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3126 * examples/hildon-pannable-area-example-2.c: (main): No need to
3127 set the cellrenderer height inside hildon touch lists, the theme does
3130 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3132 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3133 they are integrated in the theme.
3135 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3137 * examples/hildon-entry-example.c: Update the example adding
3138 widgets to modify the text and the placeholder of the HildonEntry.
3140 * src/hildon-entry.c: Show the placeholder everytime the widget
3141 is empty and loses the focus.
3143 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3145 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3147 * src/hildon-pannable-area.c,
3148 (hildon_pannable_area_size_request): Fixed bug in height
3149 requisition, avoid increasing size and add border twice.
3151 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3153 * configure.ac: postrelease version bump.
3155 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3159 * configure.ac: Prerelease version bump.
3160 * debian/changelog: update.
3161 * debian/rules: make -dbg package contain useful debugging symbols.
3163 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-dialog.h
3166 * src/hildon-dialog.c
3167 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3168 New methods to add buttons with finger size.
3169 (hildon_dialog_new_with_buttons):
3170 Create buttons with finger size.
3172 * examples/hildon-dialog-example.c (main): Use HildonDialog
3173 methods to add buttons.
3175 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-entry.c: Updated HildonButton documentation.
3179 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3181 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3182 button value label with (FALSE, FALSE) to prevent NB#88126 from
3185 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3187 * examples/hildon-pannable-area-example.c,
3188 (main): Removed examples panning a vbox inside a pannable
3189 area. Check bug NB#87965
3191 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3193 Patch contributed by Kris Rietveld (kris@imendio.com)
3195 * src/hildon-pannable-area.c,
3196 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3197 get_size and get_position, this saves an X server roundtrip.
3199 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3201 * doc/hildon-docs.sgml
3203 * examples/Makefile.am
3204 * examples/hildon-entry-example.c
3206 * src/hildon-entry.c
3207 * src/hildon-entry.h
3209 New HildonEntry widget, with example.
3211 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3213 * src/hildon-button.c (hildon_button_construct_child): Pack the
3214 image with expand == fill == FALSE. This is a workaround for a bug
3217 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3219 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3220 labels for the text column, to make it more look more dynamic.
3222 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3224 * src/hildon-time-selector.c
3225 Define gettext auxiliar macro N_
3226 (_create_minutes_model)
3227 (_create_hours_model)
3228 (_create_ampm_model): use of strftime in order to fill the model
3229 * src/hildon-date-selector.c
3230 (hildon_date_selector_finalize):
3231 (_locales_init): remove the logic related to get the name of the months
3232 using nl_langinfo, as it is not required anymore
3234 (_create_year_model)
3235 (_create_month_model)
3236 (_update_day_model): use of strftime in order to fill the model properly
3239 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3241 * src/hildon-button.h
3242 * src/hildon-button.c (hildon_button_get_image): New method to
3245 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3247 * src/hildon-touch-selector.c:
3248 (hildon_touch_selector_remove_column): Remove from the correct parent
3249 and also remove the list element and free it.
3252 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3254 * src/hildon-time-selector.c
3255 (_create_hours_model): change the range on 12h ampm format in order to use
3256 a 12-11 range instead of previous 01-12 range
3257 (hildon_time_selector_set_time): change the way to select the current time
3258 on 12h ampm format, due the change on the range
3259 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3262 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3264 * src/hildon-touch-selector.c
3265 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3266 in order to allow use this function on multiple row selection mode if
3267 the column is different that the first one
3270 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3272 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3273 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3275 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3277 * src/hildon-date-selector.h: clean some comments, now on the .c
3278 * src/hildon-date-selector.c
3279 (hildon_date_selector_select_month): first implementation
3280 (hildon_date_selector_select_day): added documentation, reimplemented
3281 using hildon_date_selector_select_current_date to avoid repeat code
3284 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3286 Reviewed interaction logic based on device experiences, refactored
3289 * src/hildon-pannable-area.c,
3290 (hildon_pannable_area_class_init): Updated default vmax speed.
3291 (hildon_pannable_area_calculate_velocity): Added this function, it
3292 avoids duplicate valocity calculation. Adjusted calculation to
3293 avoid problems with zero dist events.
3295 (hildon_pannable_area_motion_notify_cb): Now we use the
3296 calculate_velocity function.
3298 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3300 * src/hildon-date-selector.c
3301 (hildon_date_selector_select_current_date): fix the day range check
3302 as it failed using the last day of the current month
3305 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3307 * src/hildon-touch-selector.c
3308 (hildon_touch_selector_get_num_columns): added a parameter validation
3311 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3313 * examples/Makefile.am
3314 * examples/hildon-edit-toolbar-example.c: Example of the
3315 HildonEditToolbar widget.
3317 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3319 * configure.ac: postrelease version bump.
3321 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3325 * configure.ac: prerelease version bump.
3326 * debian/changelog: update.
3328 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3330 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3331 renderer to display stock icons in the touch list. Also, set the sizes
3332 to the recommended in the style guide.
3334 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3335 * src/hildon-touch-selector.h
3336 (hildon_touch_selector_set_active_iter): renamed, now is
3337 hildon_touch_selector_select_iter
3338 (hildon_touch_selector_get_active_iter): renamed, now is
3339 hildon_touch_selector_get_selected
3340 (hildon_touch_selector_unselect_iter): added
3341 * src/hildon-touch-selector.c
3342 Update after API modification (methods renamed)
3343 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3344 order to avoid problems selecting multiple elements on the column
3345 (hildon_touch_selector_unselect_iter): added the implementation
3346 * src/hildon-time-selector.c
3347 * src/hildon-date-selector.c
3348 * src/hildon-touch-selector-entry.c
3349 Update methods calls after hildon-touch-selector.h API modification (methods
3352 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3354 * src/hildon-stackable-window.c
3355 (hildon_stackable_window_finalize): Call the parent class's finalize.
3357 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3359 * examples/hildon-touch-selector-example.c: (create_selector): Use
3360 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3363 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3365 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3366 set a cell background color, to respect theming.
3368 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3370 * doc/hildon-docs.sgml
3373 * src/hildon-edit-toolbar.c
3374 * src/hildon-edit-toolbar.h
3375 * src/hildon.h: New HildonEditToolbar widget.
3377 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3379 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3382 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3383 * src/hildon-touch-selector.c
3384 (_create_new_column): use g_object_set instead of two g_object_set_property
3386 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3387 * src/hildon-touch-selector.c
3388 (_create_new_column): use of hildon_gtk_tree_view_new to create
3389 the treeview, instead of use directly g_object_new
3390 (_create_new_column): update the property name "vindicator-mode" for the
3391 new one "vscrollbar-policy"
3392 * examples/hildon-date-button-example.c
3393 * examples/hildon-picker-button-multicolumn-example.c
3394 * examples/hildon-touch-selector-entry-example.c
3395 * examples/hildon-touch-selector-example.c
3396 * examples/hildon-time-button-example.c
3397 * examples/hildon-picker-button-example.c
3398 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3399 to all the treeviews inside a pannable area.
3401 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-button.h
3404 * src/hildon-button.c (hildon_button_init)
3405 (hildon_button_set_arrangement, hildon_button_set_alignment)
3406 (hildon_button_set_title_alignment)
3407 (hildon_button_set_value_alignment)
3408 (hildon_button_set_image_alignment)
3409 (hildon_button_construct_child): New methods to set the alignment
3410 of the individual components of the button (title, value,
3411 image). Also, new method to alter the xscale and yscale properties
3412 of the GtkAlignment inside the button, so more complex layouts can
3415 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3417 * src/hildon-button.c (hildon_button_style_set)
3418 (hildon_button_class_init, hildon_button_set_arrangement)
3419 (hildon_button_construct_child): Apply style properties
3420 correctly. Use the 'image-spacing' style property too.
3422 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3424 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3425 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3428 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3430 * src/hildon-pannable-area.c,
3431 (hildon_pannable_area_size_request): Fixed problem with
3432 pannable-area size_request.
3434 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3436 Added management for the grab-focus to a child widget, like a
3437 range, we need to fade out the scrollbar when releasing.
3439 * src/hildon-pannable-area.c,
3440 (hildon_pannable_area_init): Connected the grab-focus signal to
3442 (hildon_pannable_area_grab_notify): Added this function in order
3443 to manage the situation when the grab-focus ends. We have to
3444 fade-out the scrollbar.
3446 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3448 * src/hildon-app-menu.c: Minor documentation update.
3450 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3452 * src/hildon-app-menu.c
3453 * examples/hildon-app-menu-example.c (create_menu): Update
3454 examples and documentation to explain how to connect callbacks.
3456 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3458 * examples/hildon-button-example.c
3459 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3460 hildon_stackable_window_new instead of gtk_window_new
3462 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3464 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3465 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3466 (hildon_pannable_area_set_property),
3467 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3468 (hildon_pannable_area_unrealize),
3469 (hildon_pannable_area_size_request),
3470 (hildon_pannable_area_size_allocate),
3471 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3472 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3473 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3474 (hildon_pannable_area_initial_effect),
3475 (hildon_pannable_area_redraw),
3476 (hildon_pannable_area_scroll_indicator_fade),
3477 (hildon_pannable_area_expose_event),
3478 (hildon_pannable_area_get_topmost), (synth_crossing),
3479 (hildon_pannable_area_button_press_cb),
3480 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3481 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3482 (hildon_pannable_area_motion_notify_cb),
3483 (hildon_pannable_area_button_release_cb),
3484 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3485 (hildon_pannable_area_remove),
3486 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3487 chage the code layout to a more GtkWidget like. Review the use of
3490 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3492 * examples/hildon-pannable-area-example-4.c,
3493 (main): Modified the name of the hindicator_mode to
3496 * src/hildon-pannable-area.c,
3497 (hildon_pannable_area_class_init),
3498 (hildon_pannable_area_motion_notify_cb),
3499 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3500 we have reduced the amount of signals and managed reviewed its
3501 rationale. Changed the default decelerate value.
3503 (hildon_pannable_area_add),
3504 (hildon_pannable_area_redraw): Refactored functions.
3506 (hildon_pannable_area_init),
3507 (hildon_pannable_area_get_property),
3508 (hildon_pannable_area_set_property):
3509 (hildon_pannable_draw_vscroll),
3510 (hildon_pannable_draw_hscroll),
3511 (hildon_pannable_area_initial_effect),
3512 (hildon_pannable_area_expose_event),
3513 (hildon_pannable_area_scroll),
3514 (hildon_pannable_area_button_press_cb),
3515 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3516 and vindicator_mode with hscrollbar_policy and
3517 vscrollbar_policy. Replaced hscroll and vscroll with
3518 hscroll_visible and vscroll_visible.
3520 (hildon_pannable_area_refresh): Refactor the function, remove
3521 variables and check the calls to this function, added resize
3522 conditions in case the children change their layout.
3524 (hildon_pannable_area_size_request): Added more detailed
3525 size_request calculation.
3528 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3530 * src/hildon-color-chooser.c
3531 (init_borders): use the correct gtk_border_free instead of g_free, to
3532 avoid a crash when this widget is used (ie: the three color selection
3535 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3537 * src/hildon-check-button.c,
3538 (hildon_check_button_set_active): Fixed problem when setting the
3539 active value, the widget was not redrawn.
3541 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3543 * src/hildon-pannable-area.c,
3544 (hildon_pannable_area_refresh),
3545 (hildon_pannable_area_scroll),
3546 (hildon_pannable_area_motion_notify_cb): Small code style change.
3548 (hildon_pannable_area_class_init): Default initial_hint set to
3549 FALSE, it is not in the specs.
3551 (hildon_pannable_area_initial_effect),
3552 (hildon_pannable_area_expose_event),
3553 (hildon_pannable_area_map),
3554 (hildon_pannable_area_init): Moved the launching point of the
3555 initial effect, it was in map but the sizes where not correct in
3556 that method so we do not know if we have the reproduce it. Now it
3557 is placed in the expose_event method and uses a variable to
3558 reproduce it just once.
3560 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3562 * src/hildon-pannable-area.c,
3563 (hildon_pannable_draw_vscroll),
3564 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3565 position allowed for the scrollbars.
3567 (hildon_pannable_area_size_allocate): Small style change.
3569 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3571 * src/hildon-pannable-area.c,
3572 (hildon_pannable_area_scroll_indicator_fade),
3573 (hildon_pannable_area_button_press_cb),
3574 (hildon_pannable_area_button_release_cb),
3575 (hildon_pannable_area_scroll_cb),
3576 (hildon_pannable_area_expose_event),
3577 (hildon_pannable_area_init): Added the define parameter
3578 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3579 and refactor the fade variable.
3581 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3583 * src/hildon-pannable-area.c,
3584 (hildon_pannable_area_redraw),
3585 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3586 lines, we were reimplemeting the redraw code.
3588 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3590 * src/hildon-pannable-area.c,
3591 (hildon_pannable_area_scroll_cb),
3592 (hildon_pannable_area_realize),
3593 (hildon_pannable_area_class_init): Added scroll_event management
3594 for pannable area, now we can scroll the usual desktop method.
3596 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3597 initialization of the parameters should depend on idle_id.
3599 (hildon_pannable_area_init),
3600 (hildon_pannable_area_map): Small code style modifications
3602 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3604 * src/hildon-pannable-area.c
3605 (hildon_pannable_area_button_press_cb),
3606 (hildon_pannable_area_motion_notify_cb),
3607 (hildon_pannable_area_button_release_cb),
3608 (hildon_pannable_area_size_allocate),
3609 (hildon_pannable_area_scroll_to): Improved the timeouts
3610 management, we avoid creating them each time.
3612 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3614 * src/hildon-pannable-area.c:
3615 (hildon_pannable_area_refresh),
3616 (hildon_pannable_area_motion_notify_cb),
3617 (hildon_pannable_area_class_init):
3618 * src/hildon-pannable-area.h:
3619 * src/hildon-touch-selector.c
3620 (_create_new_column):
3621 * examples/hildon-pannable-area-example-4.c:
3622 (horizontal_movement),
3623 (vertical_movement),
3625 Replaced the names of enums in the HildonPannableArea:
3626 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3627 HILDON_MOVEMENT_MODE_*
3628 - HILDON_PANNABLE_AREA_MOV_* ->
3630 - Removed HildonPannableAreaIndicatorMode, now we
3633 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3635 * examples/hildon-pannable-area-touch-grid-example.c
3636 * examples/hildon-pannable-area-touch-list-example.c: Fix
3637 compilation warnings.
3639 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3641 * src/hildon-gtk.c (hildon_gtk_button_new)
3642 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3643 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3644 images overriding the value of the "gtk-button-images" setting.
3646 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3648 * src/hildon-check-button.c (hildon_check_button_new):
3649 Instead of using a custom container, display the label and the
3650 checkbox using the standard GtkButton API.
3652 * examples/hildon-check-button-example.c (main): Don't use
3653 hildon_check_button_set_label() anymore
3655 * src/hildon-check-button.h
3656 * src/hildon-check-button.c
3657 (hildon_check_button_set_label, hildon_check_button_get_label):
3658 Set as deprecated, now we're using gtk_button_{get,set}_label()
3660 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3662 * src/hildon-pannable-area.c,
3663 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3664 GtkTreeview first line we detected it after the inclusion of the
3665 GtkWindowImpl in gtk+. We now check if the window is visible, not
3666 just if the pointer is over the window.
3667 (hildon_pannable_axis_scroll),
3668 (hildon_pannable_area_expose_event): Small style changes.
3670 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3672 * src/hildon-button.c: Update documentation.
3674 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3676 * examples/hildon-button-example.c: Add a switch to show images in
3679 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3681 * doc/hildon-docs.sgml: Some docs reorganization.
3683 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3685 * examples/hildon-pannable-area-touch-list-example.c
3687 * examples/hildon-pannable-area-touch-grid-example.c
3688 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3689 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3690 Fix memory leak when setting the tree model.
3692 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3696 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3698 * doc/hildon.types: Remove duplicated hildon_window_get_type
3699 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3700 documentation comment.
3702 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3704 * doc/Makefile.am: Complete list of private headers.
3706 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3708 * doc/hildon-docs.sgml
3709 * src/hildon-app-menu.c
3710 * src/hildon-bread-crumb.c
3711 * src/hildon-button.c
3713 * src/hildon-program.c
3714 * src/hildon-stackable-window.c
3715 * src/hildon-window.c: Lots of documentation updates.
3717 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3719 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3721 * configure.ac: Require Gtk+ 2.12.9 at least
3723 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3725 * src/hildon-pannable-area.c
3726 (hildon_pannable_area_scroll_indicator_fade),
3727 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3728 to protect the return of this timeout callbacks, avoiding deadlocks.
3730 2008-08-12 Christian Dywan <christian@imendio.com>
3733 * src/hildon-*.h: Ensure a consistent include order,
3734 include <gtk/gtk.h> instead of particular files and
3735 only include the topmost header in the gtk stack. See NB #39857
3737 2008-08-12 Christian Dywan <christian@imendio.com>
3739 * src/hildon-picker-dialog.c
3740 * src/hildon-touch-selector.c: Fix warnings about unused and
3741 uninitialized variables.
3743 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3745 * examples/Makefile.am
3746 * examples/hildon-check-button-example.c: Example of the hildon
3749 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3751 * src/hildon-window.h
3752 * src/hildon-window.c (hildon_window_class_init)
3753 (hildon_window_unset_program): Don't make
3754 hildon_window_unset_program a virtual function anymore.
3756 * src/hildon-stackable-window.c: Update documentation
3758 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3761 * doc/hildon-docs.sgml
3762 * doc/visual_index.xml
3763 * src/hildon-defines.c
3765 * src/hildon-helper.c
3766 * src/hildon-range-editor.c: Lots of documentation fixes.
3768 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3770 * examples/hildon-picker-button-multicolumn-example.c
3771 (create_touch_selector): Fix compilation warning.
3773 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3775 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3776 (hildon_pannable_area_button_release_cb)
3777 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3779 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3781 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3784 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3786 * src/hildon-bread-crumb-trail.h
3787 * src/hildon-date-editor.c
3788 * src/hildon-date-selector.c
3789 * src/hildon-pannable-area.c
3790 * src/hildon-picker-dialog.c
3791 * src/hildon-time-selector.c
3792 * src/hildon-touch-selector-entry.c
3793 * src/hildon-touch-selector.c
3794 * src/hildon-touch-selector.h: Misc documentation fixes
3796 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3798 * examples/hildon-date-editor-example.c (main): Updated date
3801 * examples/hildon-note-example.c (on_confirmation_clicked):
3802 Updated confirmation note example.
3804 * src/hildon-date-editor.c
3805 * src/hildon-note.c: Updated sample programs in documentation.
3808 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-date-button.h:
3811 * src/hildon-picker-button.h:
3812 * src/hildon-time-button.c:
3813 * src/hildon-time-button.h:
3815 Some declarations changes to allow gtk-doc to document the widgets
3818 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3820 * src/hildon-date-button.c: Document the widget.
3821 * src/hildon-time-button.c: Document the widget.
3823 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-picker-button.c: Document the widget.
3826 * src/hildon-touch-selector-entry.c: Document the widget.
3828 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3830 * doc/hildon-docs.sgml
3833 * src/hildon-check-button.h
3834 * src/hildon-check-button.c: New functions to create the Hildon
3838 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3840 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3842 * src/hildon-button.h
3843 * src/hildon-button.c
3844 (hildon_button_add_title_size_group)
3845 (hildon_button_add_value_size_group)
3846 (hildon_button_add_image_size_group)
3847 (hildon_button_add_size_groups): New functions to set size groups
3848 for the button labels and image.
3849 (hildon_button_new_full): Removed
3851 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3853 * src/hildon-time-selector.c
3854 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3855 in order to avoid a crash if gconf is not available
3857 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3859 * src/hildon-button.c (hildon_button_set_arrangement)
3860 (hildon_button_construct_child): Don't construct the button child
3861 before setting the arrangement.
3863 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3865 * src/hildon-program-private.h
3866 * src/hildon-program.c
3867 * src/hildon-program.h
3868 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3869 (hildon_program_peek_window_stack)
3870 (hildon_program_pop_window_stack)
3871 (hildon_program_go_to_root_window): HildonProgram now has a
3872 separate list for stackable windows. Functions are provided to
3873 manage that list with a stack-like API.
3875 * src/hildon-stackable-window.c: Stackable window management is
3876 now much simpler with the new HildonProgram API. Windows no
3877 longer need to be manually added to the program, they're
3878 automatically pushed to the top of the stack when shown.
3880 * examples/hildon-stackable-window-example.c: Updated example to
3881 reflect the API changes.
3883 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3885 * src/hildon-touch-selector.c: Comment out unimplemented
3886 hildon_touch_selector_insert_column() to avoid a compile warning.
3888 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3890 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3891 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3892 (hildon_touch_selector_set_column_selection_mode),
3893 (_hildon_touch_selector_set_model),
3894 (hildon_touch_selector_set_model):
3896 Complete review of HildonTouchSelector documentation.
3898 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3900 * doc/hildon-docs.sgml
3904 * src/hildon-gtk.c: Convenience functions for standard Gtk
3905 widgets, used to easily perform frequent operations.
3907 * src/hildon-button-helpers.h
3908 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3910 * src/hildon-helper.h
3911 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3912 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3914 * src/hildon-button.h
3915 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3917 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3919 * src/hildon-button.c (hildon_button_init)
3920 (hildon_button_set_arrangement, hildon_button_construct_child):
3921 Pack the image and the labels inside the same GtkAlignment so
3922 gtk_button_set_alignment() can be used
3924 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3926 * src/hildon-button.h
3927 * src/hildon-button.c
3928 (hildon_button_init, hildon_button_set_image)
3929 (hildon_button_set_image_position)
3930 (hildon_button_construct_child): New functions to add an image to
3933 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3935 * src/hildon-date-button.c
3936 * src/hildon-picker-button.c
3937 * src/hildon-time-button.c
3938 * src/hildon-button.c:
3939 (hildon_button_class_init): "size-flags" renamed to "size"
3940 (hildon_button_set_title): Hide the title label if set to NULL.
3942 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3944 HildonButtonFlags split into HildonButtonArrangement (to set the
3945 button layout) and HildonSizeType (which can be used for any
3948 * src/hildon-button.h
3949 * src/hildon-button.c
3950 (hildon_button_class_init)
3951 (hildon_button_set_arrangement)
3952 (hildon_button_set_property): New "size-flags"
3953 property. "arrangement-flags" renamed to "arrangement".
3954 (hildon_button_new, hildon_button_new_with_text)
3955 (hildon_button_new_full): Constructors updated to reflect type changes.
3957 * src/hildon-helper.h
3958 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3959 to set the size of a widget.
3963 * src/hildon-button-helpers.c
3964 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3966 * src/hildon-date-button.c
3967 * src/hildon-date-button.h
3968 * src/hildon-picker-button.c
3969 * src/hildon-picker-button.h
3970 * src/hildon-time-button.c
3971 * src/hildon-time-button.h: Updated widgets to reflect
3972 HildonButton API changes.
3974 * examples/hildon-button-example.c
3975 * examples/hildon-date-button-example.c
3976 * examples/hildon-picker-button-example.c
3977 * examples/hildon-picker-button-multicolumn-example.c
3978 * examples/hildon-time-button-example.c
3979 * examples/hildon-touch-selector-entry-example.c
3980 * examples/hildon-touch-selector-example.c: Updated examples to
3981 reflect HildonButton API changes.
3983 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3985 * doc/hildon-docs.sgml:
3987 * examples/Makefile.am:
3988 * examples/hildon-touch-selector-entry-example.c:
3990 * src/hildon-touch-selector-entry.c:
3991 * src/hildon-touch-selector-entry.h:
3994 Moved HildonTouchSelectorEntry from sandbox. Added its
3995 documentation and examples.
3997 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3999 * src/hildon-touch-selector.h:
4000 * examples/hildon-picker-button-multicolumn-example.c:
4001 (hildon_touch_selector_append_text_column): Add a gboolean
4002 parameter to determine if text must be centered in the column.
4004 * src/hildon-date-selector.c: (hildon_date_selector_init):
4005 * src/hildon-time-selector.c: (hildon_time_selector_init):
4006 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4007 (create_touch_selector): Update widgets and example to reflect
4010 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4012 * src/hildon-touch-selector.c:
4013 (hildon_touch_selector_set_active_iter): Set also the cursor in
4016 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4018 * doc/hildon-docs.sgml
4021 * src/hildon-toggle-button.c
4022 * src/hildon-toggle-button.h
4023 * src/hildon.h: Removed HildonToggleButton widget, a derived
4024 class is not necessary for this.
4026 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4028 * src/hildon-pannable-area.c,
4029 (hildon_pannable_area_realize),
4030 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4033 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4035 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4036 "done" button the default widget for the dialog.
4038 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4040 * src/hildon-touch-selector.c:
4041 (hildon_touch_selector_class_init),
4042 (hildon_touch_selector_get_property),
4043 (_hildon_touch_selector_set_model),
4044 (_hildon_touch_selector_has_multiple_selection),
4045 (hildon_touch_selector_has_multiple_selection):
4046 Add a "has-multiple-selection" property with a virtual
4047 has_multiple_selection() method to allow derived classes to
4048 override the default value for it. See the method and property
4049 documentation for details.
4051 * src/hildon-touch-selector.h: Add the new API.
4053 * src/hildon-picker-dialog.c: (requires_done_button): Call
4054 hildon_touch_selector_has_multiple_selection() instead of
4055 determining the need for a button itself.
4057 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4059 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4060 (_hildon_touch_selector_set_model),
4061 (hildon_touch_selector_set_model): Move working code to
4062 _hildon_touch_selector_set_mode(). Call the class method instead.
4064 * src/hildon-touch-selector.h: Add (*set_model) to
4065 HildonTouchSelectorClass.
4067 Make hildon_touch_selector_set_model() a virtual method, so that
4068 derived classes can extend it and do fancy stuff with the model.
4070 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4072 * configure.ac: Set back the tarname in AC_INIT to hildon.
4074 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4078 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4079 instead of libesd (NB#86876). Volume handling is still an open issue.
4081 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4084 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4086 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4087 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4088 derived class to ease placement of an entry widget in
4089 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4090 end, where the selector columns are packed now.
4092 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4094 * src/hildon-picker-button.c: Removed the simple _text() API.
4095 * src/hildon-picker-button.h: Likewise.
4097 * src/hildon-touch-selector.h:
4098 * src/hildon-touch-selector.c:
4099 (hildon_touch_selector_new_text),
4100 (hildon_touch_selector_append_text),
4101 (hildon_touch_selector_prepend_text),
4102 (hildon_touch_selector_insert_text):
4104 Moved the simple _text() API from HildonPickerButton to
4105 HildonTouchPicker, to provide better escalability and not to tie
4106 that API to HildonPickerButton.
4108 * examples/hildon-picker-button-example.c: (main): Example updated.
4110 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4112 * src/hildon-button.c: Updated documentation.
4114 * examples/hildon-button-example.c: Add the posibility to create
4115 the buttons using horizontal layout for title and value.
4117 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4119 * src/hildon-app-menu-private.h
4120 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4121 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4122 GtkSizeGroup for the filters, use the 'homogeneous' property of
4125 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4127 * examples/hildon-button-example.c: Updated example.
4129 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4131 * doc/hildon-docs.sgml:
4134 Update documentation.
4136 * examples/Makefile.am: Update renamed examples.
4138 * examples/hildon-picker-button-multicolumn-example.c:
4139 (create_touch_selector), (main): Update after the rename.
4141 * examples/hildon-touch-picker-example.c: Removed.
4142 * examples/hildon-touch-selector-example.c: (value_changed),
4143 (create_selector), (get_visible_content), (main): Renamed from
4144 hildon-touch-picker-example.c
4146 * src/Makefile.am: Updated renamed files.
4148 * src/hildon-date-button.c: (hildon_date_button_init),
4149 (hildon_date_button_get_date), (hildon_date_button_set_date):
4150 * src/hildon-date-selector.c: (hildon_date_selector_init),
4151 (_custom_print_func), (_update_day_model),
4152 (_manage_selector_change_cb),
4153 (hildon_date_selector_select_current_date),
4154 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4155 * src/hildon-date-selector.h:
4156 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4157 (hildon_picker_button_set_property),
4158 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4159 (hildon_picker_button_init), (hildon_picker_button_new_text),
4160 (hildon_picker_button_append_text),
4161 (hildon_picker_button_prepend_text),
4162 (hildon_picker_button_insert_text),
4163 (hildon_picker_button_set_selector),
4164 (hildon_picker_button_get_selector):
4165 * src/hildon-picker-button.h:
4166 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4167 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4168 (_update_title_on_selector_changed_cb), (requires_done_button),
4169 (_hildon_picker_dialog_set_selector),
4170 (hildon_picker_dialog_set_selector),
4171 (hildon_picker_dialog_get_selector):
4172 * src/hildon-picker-dialog.h:
4173 * src/hildon-time-button.c: (hildon_time_button_init),
4174 (hildon_time_button_get_time), (hildon_time_button_set_time):
4175 * src/hildon-time-selector.c: (hildon_time_selector_init),
4176 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4177 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4178 * src/hildon-time-selector.h:
4181 Massive code updates after the rename.
4183 * src/hildon-touch-picker.c: Removed.
4184 * src/hildon-touch-picker.h: Removed.
4186 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4187 (hildon_touch_selector_init), (hildon_touch_selector_map),
4188 (hildon_touch_selector_remove), (_default_print_func),
4189 (_selection_changed_cb), (_create_new_column),
4190 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4191 (hildon_touch_selector_append_text_column),
4192 (hildon_touch_selector_remove_column),
4193 (hildon_touch_selector_set_column_attributes),
4194 (hildon_touch_selector_insert_column),
4195 (hildon_touch_selector_get_num_columns),
4196 (hildon_touch_selector_get_column_selection_mode),
4197 (hildon_touch_selector_set_column_selection_mode),
4198 (hildon_touch_selector_set_print_func),
4199 (hildon_touch_selector_get_print_func),
4200 (hildon_touch_selector_get_active_iter),
4201 (hildon_touch_selector_set_active_iter),
4202 (hildon_touch_selector_get_selected_rows),
4203 (hildon_touch_selector_get_model),
4204 (hildon_touch_selector_set_model),
4205 (hildon_touch_selector_get_current_text),
4206 (_hildon_touch_selector_center_on_selected_items):
4207 * src/hildon-touch-selector.h: Renamed from
4208 hildon-touch-picker.[ch]
4210 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4211 references, code examples, and related documentation.
4213 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4215 * doc/hildon-docs.sgml
4218 * src/hildon-toggle-button.c
4219 * src/hildon-toggle-button.h
4220 * src/hildon.h: New HildonToggleButton widget.
4222 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4224 * src/hildon-button.c: Add API documentation.
4225 (hildon_button_set_size_groups): Check input parameters
4227 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4229 * src/hildon-pannable-area.c
4230 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4231 effect after reaching the movement thredshold. This way we start
4232 using the distance after passing the thredshold.
4234 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4236 * src/hildon-button.c: (hildon_button_set_property): Use the
4237 appropriate g_value_get_flags() method.
4239 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4241 * doc/hildon-docs.sgml:
4244 Add the touch pickers, picker dialogs, and picker button widgets
4245 to the documentation.
4247 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/hildon-button.c: (hildon_button_set_property),
4250 (hildon_button_class_init): Make "arrangement-flags" a proper
4251 G_TYPE_FLAGS derived property.
4253 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4255 * examples/Makefile.am: Add below examples.
4256 * examples/hildon-date-button-example.c:
4257 * examples/hildon-picker-button-example.c:
4258 * examples/hildon-picker-button-multicolumn-example.c:
4259 * examples/hildon-time-button-example.c:
4260 * examples/hildon-touch-picker-example.c:
4262 Add examples for the recently added touch pickers,
4263 picker dialogs, and picker button widgets.
4265 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4267 * src/hildon-button.c: Add some API documentation
4269 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-button.h
4272 * src/hildon-button.c
4274 (hildon_button_new_with_text): New constructor to create a button
4275 with no text at all.
4276 (hildon_button_init, hildon_button_set_arrangement)
4277 (hildon_button_set_title, hildon_button_set_value)
4278 (hildon_button_set_text)
4279 (hildon_button_construct_child): Hide the value when it's not used
4280 so the rest of the text is properly aligned.
4281 Allow creating buttons with arbitrary widgets inside (not just
4282 title/value labels).
4284 * examples/hildon-button-example.c (vertical_buttons_window)
4285 (horizontal_buttons_window): Update example to use new API.
4287 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/Makefile.am: Added HildonTimeButton.
4290 * src/hildon-time-button.c: Added missing LGPL header.
4291 * src/hildon-time-button.h: Added missing LGPL header.
4292 * src/hildon.h: Add hildon-time-button.h
4294 Copied HildonTimeButton from sandbox to trunk. Future work on this
4295 widget must take place in trunk.
4297 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4299 * src/Makefile.am: Added HildonDateButton.
4300 * src/hildon-date-button.c: Update includes.
4301 * src/hildon.h: Add hildon-date-button.h
4303 Copied HildonDateButton from sandbox to trunk. Future work on this
4304 widget must take place in trunk.
4306 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/Makefile.am: Added HildonPickerButton.
4309 * src/hildon-picker-button.h: Update includes.
4310 * src/hildon.h: Add hildon-picker-button.h
4312 Copied HildonPickerButton from sandbox to trunk. Future work on
4313 this widget must take place in trunk.
4315 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4317 * src/Makefile.am: Added HildonPickerDialog.
4318 * src/hildon-picker-dialog.c: Update includes.
4319 * src/hildon.h: Add hildon-picker-dialog.h
4321 Copied HildonPickerDialog from sandbox to trunk. Future work
4322 on this widget must take place in trunk.
4324 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4326 * src/Makefile.am: Added HildonTimeSelector.
4327 * src/hildon.h: Add hildon-time-selector.h
4329 Copied HildonTimeSelector widget from sandbox to trunk. Future
4330 work on this widget must happen in trunk.
4332 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4334 * src/Makefile.am: Added HildonDateSelector.
4335 * src/hildon.h: Add hildon-date-selector.h
4337 Copied HildonDateSelector widget from sandbox to trunk. Future
4338 work on this widget must happen in trunk.
4340 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4342 * src/Makefile.am: Added HildonTouchPicker.
4343 * src/hildon-touch-picker.c: Update includes.
4344 * src/hildon.h: Add hildon-touch-picker.h
4346 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4347 on this widget must happen in trunk.
4349 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4351 * src/hildon-pannable-area.c:
4352 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4354 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4356 * examples/hildon-app-menu-example.c (main): Let the window
4359 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4361 * src/hildon-pannable-area.c
4362 (hildon_pannable_area_class_init): Set the min value of the
4363 overshoot properties to zero, which points out that not
4364 overshooting allowed.
4366 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4368 Modified the procedure to get the widget at a point inside the
4369 pannable area when using the movement type signals. Now the user
4370 has to call a function to get the child, that way we just
4371 calculate the child in case the user really want to use it and not
4374 * src/hildon-marshalers.list: Modified the marshallers, now we do
4375 not have the widget as a parameter.
4377 * src/hildon-pannable-area.c
4378 (hildon_pannable_area_motion_notify_cb),
4379 (hildon_pannable_area_class_init),
4380 (hildon_pannable_get_child_widget_at): Removed the widget
4381 parameter from the signal callback. We have also refactored the
4382 emission of the signals.
4384 * src/hildon-pannable-area.h: Added a new method to the API to
4385 calculate a widget at a point inside the pannable area,
4386 hildon_pannable_get_child_widget_at.
4388 * examples/hildon-pannable-area-example-4.c
4389 (horizontal_movement): Modified the example to use the new API,
4390 added condition to control which widget is under the event. This
4391 way we can avoid scrolling laterally over other widgets.
4393 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4395 * src/hildon-pannable-area.c
4396 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4397 modes, we stop getting the pointer events due to returning the
4398 callback without properly calling the get pointer again. Fixed
4399 also an error using the hscroll and vscroll.
4401 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4403 * src/hildon-app-menu-private.h
4404 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4405 (hildon_app_menu_button_release, hildon_app_menu_init)
4406 (hildon_app_menu_class_init): Don't hide the menu on button
4407 release if the user didn't press outside first.
4409 * src/hildon-window.h
4410 * src/hildon-window.c (hildon_window_toggle_menu)
4411 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4412 hildon_window_toggle_menu a virtual function for the stackable
4413 window to override it.
4415 * src/hildon-stackable-window.h
4416 * src/hildon-stackable-window-private.h
4417 * src/hildon-stackable-window.c
4418 (hildon_stackable_window_realize)
4419 (hildon_stackable_window_finalize)
4420 (hildon_stackable_window_class_init)
4421 (hildon_stackable_window_init)
4422 (hildon_stackable_window_set_main_menu): New function to set the
4423 app menu of a HildonStackableWindow.
4425 * examples/hildon-app-menu-example.c: Remove the button to show
4426 the app menu, now it'll be shown when clicking on the title bar
4429 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4431 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4432 set the widget name if the arrangement flags do not specify
4435 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-button.c: (hildon_button_set_property),
4438 (hildon_button_class_init), (hildon_button_new_full),
4439 (hildon_button_set_arrangement): Added "arrangement-flags"
4442 Make the HildonButtonFlags a construction-only property, to allow
4443 subclasses to set them properly.
4445 2008-07-21 Tim Janik <timj@imendio.com>
4447 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4448 insertion position after backspace, so additional digits are appended,
4451 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4453 * src/hildon-pannable-area.c,
4454 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4455 TODO list, it was complete and removed the g_debug and g_print
4458 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4460 Added the movement modes to the hildon-pannable-area, with this
4461 modes the developers can control in which directions the widget
4462 can scroll. They can also connect to signals in order to do
4463 something when that happens, allowing applications scroll. There
4464 is an example uploaded showing how to use it.
4466 * examples/Makefile.am:
4467 * examples/hildon-pannable-area-example-4.c: Added this example of
4468 an application using the modes.
4470 * src/hildon-marshalers.list: Added a new marshaller for the new
4473 * src/hildon-pannable-area.h: Added new enumerations and flags in
4474 order to control the movement modes and the new signals to warn
4475 about the movements in the area.
4477 * src/hildon-pannable-area.c:
4478 (hildon_pannable_axis_scroll),
4479 (hildon_pannable_area_scroll),
4480 (hildon_pannable_area_motion_notify_cb),
4481 (hildon_pannable_area_get_property),
4482 (hildon_pannable_area_set_property),
4483 (hildon_pannable_area_map),
4484 (hildon_pannable_area_class_init),
4485 (hildon_pannable_area_init),
4486 (hildon_pannable_area_jump_to): Added the modes to control the
4487 movement in the widget. We have added properties to control it,
4488 signals to warn about the movements and refactored some code.
4490 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4492 Changes required in order to allow vfast_factor set to zero to
4495 * src/hildon-pannable-area.c:
4496 (hildon_pannable_area_button_press_cb): Changed the condition, it
4497 is required for not allowing click when vfast_factor is zero.
4498 (hildon_pannable_area_timeout): Initialized velocity variables
4499 when we stop moving, it was less than 1 but not zero and we need
4500 to check zero in some situations.
4501 (hildon_pannable_area_class_init): Changed the default value of
4502 the speed factor, now the button_press is just sent in case the
4503 speed is 2 per cent of the max speed.
4504 (hildon_pannable_area_init): Initialization with 0.
4506 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4508 * src/hildon-pannable-area.c,
4509 (hildon_pannable_area_get_topmost): replaced
4510 gdk_window_get_children with gdk_window_peek_children, this way we
4511 do not have to free the list because it is not a copy.
4513 (hildon_pannable_axis_scroll),
4514 (hildon_pannable_area_scroll),
4515 (hildon_pannable_area_timeout),
4516 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4517 two parameters that were only used inside the
4518 hildon_pannable_area_scroll function.
4520 * examples/hildon-pannable-area-example.c,
4521 (get_sawtooth_label): Fixed small memory leak.
4523 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4525 More checks for the case where the overshoot is bigger than the
4528 * src/hildon-pannable-area.c:
4529 (hildon_pannable_draw_vscroll),
4530 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4531 to draw the slider of the scrollbar under the other scrollbar.
4532 (hildon_pannable_area_expose_event): added new checks to control
4533 the drawing of the overshooting area rectangle, in case it is too
4534 big for the area of the widget.
4535 (hildon_pannable_area_size_allocate): add more checks to avoid
4536 setting a position to the child widget outside the area.
4538 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4540 * src/hildon-pannable-area.c
4541 (hildon_pannable_area_size_allocate): Added conditions to control
4542 when overshooting is bigger than the allocated space for the
4543 children, this avoids negative allocations.
4545 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4547 * doc/hildon-docs.sgml
4549 * examples/Makefile.am
4550 * examples/hildon-button-example.c
4552 * src/hildon-button.c
4553 * src/hildon-button.h
4554 * src/hildon.h: Initial version of the new HildonButton widget,
4557 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4559 * src/hildon-pannable-area.c:
4560 (hildon_pannable_area_button_press_cb),
4561 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4562 (hildon_pannable_area_motion_notify_cb),
4563 (hildon_pannable_area_button_release_cb),
4564 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4565 (hildon_pannable_area_jump_to_child):
4567 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4569 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4571 * examples/Makefile.am
4572 * examples/hildon-pannable-area-touch-grid-example.c
4573 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4574 the Hildon Touch List and Hildon Touch Grid using the
4575 HildonPannableArea widget.
4577 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4579 * src/hildon-pannable-area.c,
4580 (hildon_pannable_area_button_press_cb),
4581 (hildon_pannable_area_refresh),
4582 (hildon_pannable_area_scroll),
4583 (hildon_pannable_area_motion_notify_cb),
4584 (hildon_pannable_area_button_release_cb),
4585 (hildon_pannable_area_expose_event),
4586 (hildon_pannable_area_add),
4587 (hildon_pannable_area_remove),
4588 (hildon_pannable_area_realize),
4589 (hildon_pannable_area_size_allocate),
4590 (hildon_pannable_area_class_init),
4591 (hildon_pannable_area_init),
4592 (hildon_pannable_area_scroll_to_child),
4593 (hildon_pannable_area_jump_to_child): Fixed the problem of
4594 removing the child from the GtkBin, we have rearranged the widget
4595 hierarchy, now there is no GtkAlignment which was not doing
4596 anything interesting but breaking some of the assumptions of
4597 GtkContainer. Now developers if they want to add a GtkAlignment
4598 they could, but it is not inside the area.
4600 We had to review the whole allocation/expose process, now it is
4601 improved and we save at least three signals which would be saving
4602 some time when rendering the widget. The allocation of the
4603 scrollbars is now made in the allocate method as usual.
4605 We have also added some conditions in order to control when there
4606 is no child of the pannable area. Maybe we will need more work
4609 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4611 * src/hildon-pannable-area.c,
4612 (hildon_pannable_area_dispose): Released the fade-out timeout when
4613 disposing the widget.
4615 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4617 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4618 zero, we are going to use that property in order to deactivate the
4620 (hildon_pannable_axis_scroll),
4621 (hildon_pannable_area_size_allocate): Added conditions to control
4622 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4623 call, now it is called in all situations and we can remove calls
4624 in the allocate method.
4625 (hildon_pannable_area_map): Control the situation when
4626 overshoot_max is zero, we do not need the timeout.
4627 (hildon_pannable_area_class_init): Added documentation in order to
4628 point out that setting zero to overshoot_max means deactivate
4631 NOTE: removed trailing whitespaces from my previous comments of
4634 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4636 * src/hildon-pannable-area.c
4637 (hildon_pannable_area_get_property),
4638 (hildon_pannable_area_set_property),
4639 (hildon_pannable_area_map),
4640 (hildon_pannable_area_class_init),
4641 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4642 to cause the widget give a hint about its panning abilities upon
4645 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4647 * src/hildon-pannable-area.c: Several documentation improvements.
4649 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4651 * src/hildon-program.c
4652 * src/hildon-stackable-window.c: Update documentation.
4654 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4656 * src/hildon-stackable-window.c (get_previous_window_if_last):
4657 Renamed get_last_window()
4658 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4659 (hildon_stackable_window_unset_program):
4661 (get_previous_window_if_last):
4662 Detect if the window hasn't been added to a HildonProgram.
4664 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4666 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4668 * src/hildon-pannable-area.c
4669 (hildon_pannable_area_button_press_cb),
4670 (hildon_pannable_axis_scroll),
4671 (hildon_pannable_area_scroll),
4672 (hildon_pannable_area_timeout),
4673 (hildon_pannable_calculate_vel_factor),
4674 (hildon_pannable_area_get_property),
4675 (hildon_pannable_area_set_property),
4676 (hildon_pannable_area_class_init),
4677 (hildon_pannable_area_init),
4678 (hildon_pannable_area_scroll_to),
4679 (hildon_pannable_area_jump_to),
4680 (hildon_pannable_area_scroll_to_child),
4681 (hildon_pannable_area_jump_to_child):
4682 * src/hildon-pannable-area.h: Added the new API functions:
4683 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4684 hildon_pannable_area_scroll_to_child,
4685 hildon_pannable_area_jump_to_child
4688 * examples/Makefile.am
4689 * examples/hildon-pannable-area-example-2.c
4690 * examples/hildon-pannable-area-example-3.c: Added these two new
4691 examples in order to test and show how the new APIs work.
4693 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4695 * examples/hildon-stackable-window-example.c (new_window):
4696 * src/Makefile.am (noinst_HEADERS):
4697 * src/hildon-program.c (hildon_program_go_to_root_window):
4698 * src/hildon-program.h:
4699 * src/hildon-stackable-window-private.h:
4700 * src/hildon-stackable-window.c:
4701 * src/hildon-stackable-window.h:
4702 Create hildon-stackable-window-private.h
4703 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4705 * examples/hildon-app-menu-example.c (create_menu):
4706 * examples/hildon-hvolumebar-insensitive-example.c (main):
4707 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4708 * examples/hildon-toolbar-seekbar-example.c (main):
4709 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4710 * src/hildon-banner.c (hildon_banner_set_property):
4711 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4712 Fix compilation warnings
4714 * src/hildon-window.c:
4717 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4719 * src/hildon-stackable-window.c
4720 (hildon_stackable_window_unset_program):
4721 Calculate correctly whether to show the previous window if the
4722 last one is removed from the stack.
4723 (hildon_stackable_window_go_to_root_window):
4724 Send delete events starting from the topmost window.
4725 Stop if one of the windows is not destroyed.
4727 (hildon_stackable_window_delete_event)
4728 (hildon_stackable_window_class_init):
4729 Ignore the delete event if the window is not the topmost one.
4731 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4733 * src/hildon-pannable-area.c
4734 (hildon_pannable_area_expose_event): Fixed a problem when
4735 selecting the background color of the scrollbars.
4737 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4739 * examples/hildon-stackable-window-example.c
4740 * src/hildon-stackable-window.c
4741 * src/hildon-stackable-window.h
4742 hildon_stackable_window_go_home() renamed to
4743 hildon_stackable_window_go_to_root_window()
4744 Send delete events to windows rather than closing them with
4745 gtk_widget_destroy()
4747 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4749 * src/hildon-pannable-area.c
4750 (hildon_pannable_area_button_release_cb): Fix overshooting in
4753 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4755 * src/hildon-pannable-area.c
4756 (hildon_pannable_area_init): Initially show the scroll indicators.
4757 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4759 Add initial effect showing the widget is pannable.
4761 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4763 * src/hildon-pannable-area.c
4764 (hildon_pannable_area_class_init)
4765 (hildon_pannable_area_set_property)
4766 (hildon_pannable_area_get_property)
4767 (hildon_pannable_area_button_press_cb):
4768 New 'velocity_fast_factor' property to decide which velocity is
4771 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4773 * src/hildon-pannable-area.c
4774 (hildon_pannable_draw_hscroll)
4775 (hildon_pannable_draw_vscroll):
4776 Use float variables to calculate the size of the scrollbars to
4777 avoid error propagation and resizing during scrolling.
4779 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4781 * src/hildon-pannable-area.c
4782 (hildon_pannable_draw_vscroll)
4783 (hildon_pannable_draw_hscroll):
4784 Define a minimum size for the scroll bars
4786 * src/hildon-stackable-window.c
4787 (hildon_stackable_window_go_home): Fix compilation warning
4788 (get_last_window): Minor optimizations
4789 (hildon_stackable_window_class_init): Fix initialization of
4792 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4794 * src/hildon-stackable-window.c: Fixed typos in doc
4796 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4798 * src/hildon-pannable-area.c
4799 (hildon_pannable_area_scroll):
4800 Calculate here whether we need to scroll instead of using the booleans
4801 that tell us whether to /draw/ the scrolling bars.
4803 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4805 * src/hildon-app-menu.h
4807 * src/hildon-app-menu.c
4808 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4809 multiple filter groups related code and API. Now we support only
4811 * examples/hildon-app-menu-example.c:
4813 Update to reflect API changes.
4815 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4817 * src/hildon-stackable-window.c
4818 (hildon_stackable_window_class_init):
4819 Add hildon_stackable_window_realize.
4820 (hildon_stackable_window_realize):
4821 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4822 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4823 to apply theming and behavior specific to HildonStackableWindow
4826 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-note.c (hildon_note_button_release):
4829 Close information notes also when tapping on them
4831 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4833 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4834 ELASTICITY, refactor and review, fix some issues with drawing
4837 * src/hildon-pannable-area.c:
4838 (hildon_pannable_area_button_press_cb): removed the conditions to
4839 avoid clicks when overshooting. It is not required
4841 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4842 define. Refatored and reviewed the code, now we do not need to
4843 manage velocity in motion_notify.
4845 (hildon_pannable_area_motion_notify_cb): We have moved the code
4846 that controls the area_scroll to the axis_scroll function and get
4847 rid of duplicated code.
4849 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4851 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4853 (hildon_pannable_draw_vscroll),
4854 (hildon_pannable_draw_hscroll): Fixed the problems with the
4855 scrollbar drawing, now we do not use two surfaces, it is easier
4856 and saves resources.
4858 (hildon_pannable_area_get_property): Style modification.
4860 (hildon_pannable_area_class_init): Changed some default values.
4862 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4864 * src/hildon-stackable-window.c: Fix some typos in the
4867 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4869 * src/hildon-dialog.c:
4870 Change indentation style
4873 (hildon_note_button_release):
4874 Use root coordinates to check if the release event happened
4877 * src/hildon-app-menu.c
4878 (hildon_app_menu_button_release):
4879 Remove unnecessary check
4881 * examples/hildon-app-menu-example.c
4883 Add cast to fix warning
4885 * src/hildon-app-menu.c
4886 (hildon_app_menu_class_init):
4887 New inner-border style property.
4888 Set all default spacings to 16
4889 (hildon_app_menu_init):
4890 Use vertical-spacing to set the space between filter buttons and
4891 regular menu buttons.
4892 Set the default container border using the inner-border value.
4894 * examples/hildon-app-menu-example.c
4896 Don't set the menu border explicitly, now we have the inner-border
4897 style property for that.
4899 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4901 * src/hildon-app-menu.c (hildon_app_menu_init):
4902 Make the window modal
4904 * src/hildon-note.c (hildon_note_map)
4905 * src/hildon-app-menu.c (hildon_app_menu_map):
4906 Destroy the grab window if we're unable to grab the pointer
4908 * src/hildon-app-menu-private.h
4909 * src/hildon-app-menu.c
4910 (hildon_app_menu_init, hildon_app_menu_finalize)
4911 (hildon_app_menu_map, hildon_app_menu_unmap)
4912 (hildon_app_menu_button_release)
4913 (grab_transfer_window_get):
4914 Bring back the grab window
4915 (hildon_app_menu_realize):
4916 Decorate the window, set WM hint for Matchbox
4918 * src/hildon-note.c (hildon_note_realize):
4919 * src/hildon-banner.c (hildon_banner_realize):
4920 Add WM hints for Matchbox
4922 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4924 * src/hildon-app-menu-private.h
4925 * src/hildon-app-menu.c
4926 (hildon_app_menu_init, hildon_app_menu_finalize)
4927 (hildon_app_menu_map, hildon_app_menu_unmap)
4928 (hildon_app_menu_button_release):
4929 Remove the grab window, it's not needed anymore
4931 * src/hildon-program.c
4932 Fixed typo in documentation
4934 * src/hildon-app-menu.h
4935 * src/hildon-app-menu.c
4936 * examples/hildon-app-menu-example.c
4937 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4939 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4942 Added new transfer_window and close_if_pressed_outside private
4944 (hildon_note_rebuild):
4945 Don't add a cancel button to the information note. It will be
4946 closed when tapping outside
4947 Remove the comment about the OK button in the documentation
4948 (hildon_note_realize):
4949 Set the notification type hint
4950 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4951 Grab/ungrab pointer and keyboard if the note has to be closed when
4953 (hildon_note_button_release):
4954 Close the note when tapping outside (if applicable)
4956 * src/hildon-app-menu.c
4957 Grab/ungrab pointer and keyboard on map/unmap
4958 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4959 Close the menu on button release, not button press
4961 * src/hildon-banner.c
4962 (hildon_banner_set_property)
4963 (hildon_banner_check_position):
4964 Make the banner use the full width of the screen
4965 (hildon_banner_show_information)
4966 (hildon_banner_show_information_with_markup):
4967 Don't display an icon by default
4969 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4971 Added fading scrollbars and adapted all the overshooting code to
4972 horizontal scrolling. We have also fixed bugs with overshooting
4973 and current fading implementation.
4975 * src/hildon-pannable-area.c
4976 (hildon_pannable_area_scroll_indicator_fade): Time out function
4977 used to change the transparency of the scrollbars.
4979 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4980 control and fixed a problem with fading, we now remove the fade
4981 timeout before adding a new one.
4983 (hildon_pannable_axis_scroll):
4984 (hildon_pannable_area_scroll):
4985 (hildon_pannable_area_timeout): Added this functions so we can use
4986 the scroll code both for vertical and horizontal.
4988 (hildon_pannable_area_motion_notify_cb):
4989 (hildon_pannable_area_button_release_cb): Added the horizontal
4990 scrolling control, fixed a problem with the overshooting timeout.
4992 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4993 painting of the scrolls.
4995 (hildon_pannable_draw_vscroll):
4996 (hildon_pannable_draw_hscroll):
4997 (hildon_pannable_area_expose_event):
4998 Draw both scrollbars and rectangles in the overshooting area.
5000 (hildon_pannable_area_get_property):
5001 (hildon_pannable_area_set_property):
5002 Modified the overshoot property to overshoot_max
5004 (hildon_pannable_area_map):
5005 Replaced the comments symbols.
5007 (hildon_pannable_area_size_allocate):
5008 (hildon_pannable_area_class_init):
5009 (hildon_pannable_area_init): Added horizontal scroll, fading
5010 effect properties, fixed a problem when overshooting in the bottom
5013 * examples/hildon-pannable-area-example.c:
5014 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5015 looks better in the example.
5017 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5019 * src/hildon-window.c
5020 * src/hildon-window.h
5021 (hildon_window_class_init)
5022 (hildon_window_unset_program)
5023 (hildon_window_unset_program_real):
5024 Make unset_program a virtual function
5026 * src/hildon-stackable-window.c
5027 * src/hildon-stackable-window.h
5028 Added hildon_stackable_window_go_home()
5030 * examples/Makefile.am
5031 * examples/hildon-stackable-window-example.c
5032 HildonStackableWindow example
5034 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5036 * hildon-pannable-area.c: Added the overshoot property and removed
5037 the OVERSHOOT define. Fixed an indent style error.
5038 (hildon_pannable_area_motion_notify_cb):
5039 (hildon_pannable_area_get_property):
5040 (hildon_pannable_area_set_property): Add overshoot property.
5042 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5045 (hildon_pannable_area_class_init): Installed the new property.
5047 * hildon-pannable-area-example.c: Added a sawtooth function, this
5048 way it is easier to check the movement in the pannable.
5049 (get_sawtooth_label): Added this function.
5050 (main): Now we get the labels from the new get_sawtooth_label
5053 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5055 * src/hildon-app-menu.h
5056 * src/hildon-app-menu.c
5057 Renamed API variables for consistency
5059 (hildon_app_menu_popup): Use also the default window size to
5060 decide where to place the menu
5062 (hildon_app_menu_init, hildon_app_menu_class_init): New
5063 external-border style property
5065 2008-05-26 Michael Natterer <mitch@imendio.com>
5067 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5068 widget_class->tap_and_hold_setup signal slot doesn't exist any
5069 longer, stop overriding it.
5071 (hildon_time_editor_init): g_signal_connect() to the
5072 tap-and-hold-setup signal instead.
5074 (hildon_time_editor_entry_keypress): add cast to fix warning.
5076 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5078 * doc/hildon-docs.sgml
5080 * examples/Makefile.am
5081 * examples/hildon-app-menu-example.c
5083 * src/hildon-app-menu-private.h
5084 * src/hildon-app-menu.c
5085 * src/hildon-app-menu.h
5087 New HildonAppMenu widget
5089 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5091 Rearranged the inheritance of the pannable area, now it inherits
5092 from GtkBin. This will allow us to control the event_window and
5093 the allocation process of the widget, required for some effects.
5095 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5096 GtkBin structures. * src/hildon-pannable-area.c: Added the
5097 event_window variable.
5098 (hildon_pannable_area_button_press_cb):
5099 (hildon_pannable_area_button_release_cb):
5100 (hildon_pannable_area_motion_notify_cb):
5101 Changed the signature of the method, now we override the event
5102 callback instead of connecting to the signal.
5104 (hildon_pannable_area_realize):
5105 (hildon_pannable_area_unrealize):
5106 (hildon_pannable_area_map):
5107 (hildon_pannable_area_unmap):
5108 (hildon_pannable_area_size_allocate):
5109 Added functions to control the widget construction. We add a
5110 INPUT_ONLY window and we put it over the widgets inside the
5111 container, this event_window handles the events.
5113 (hildon_pannable_area_class_init):
5114 Replaced the signal connections with overrides of the event
5117 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5119 Bouncing effect added when touching the borders, you can change
5120 the elasticity of the border changing the ELASTICITY define.
5122 * src/hildon-pannable-area.c: Added ELASTICITY define.
5123 (hildon_pannable_area_timeout): Added inverse velocity when
5124 touching the border of the child widget, that causes a bounce.
5126 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5128 Improved performance, we now do not go to the X server in order to
5129 get the list of window children. Apparently the effect is the
5130 same, we have to be careful and check if this breaks something in
5133 * src/hildon-pannable-area.c:
5134 (get_ordered_children): Removed this function.
5135 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5136 the children windows function with gdk_window_get_children.
5138 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5140 * src/hildon-pannable-area.c:
5141 (hildon_pannable_area_dispose): Fixed a crash when closing the
5142 window and kinetics is activated.
5144 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5146 * src/hildon-pannable-area.h
5147 * src/hildon-pannable-area.c
5148 Changed indentation style to meet the one used in Hildon
5150 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5152 Reviewed the interaction of the AUTO mode, now we use the time
5153 attribute of the events and calculate the velocity in the motion,
5154 doing a gimp like calculation. The velocity is calculated in each
5155 motion event using the last velocity and the current one, the
5156 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5158 * src/hildon-pannable-area.c: Replaced the time based algorithm
5160 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5161 timeout for the AUTO mode when we are still moving the cursor. We
5162 added also the velocity calculation in this function.
5163 (hildon_pannable_area_button_release_cb): launch the timeout in
5164 case we are in AUTO mode. There are still some constants here that
5165 come from the old implementation that should be reviewed and
5168 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5170 * doc/hildon-docs.sgml
5173 * src/hildon-stackable-window.c
5174 * src/hildon-stackable-window.h
5176 New HildonStackableWindow widget
5178 * examples/hildon-dialog-example.c
5179 * examples/hildon-pannable-area-example.c
5182 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5184 * src/hildon-dialog.c
5185 (hildon_dialog_new_with_buttons): New constructor.
5187 * examples/hildon-dialog-example.c
5188 (main): Update the example to use the new
5189 hildon_dialog_new_with_buttons().
5191 * examples/hildon-pannable-area-example.c
5192 (main): Update example.
5194 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5196 * doc/hildon-docs.sgml
5198 Added HildonPannableArea to the documentation.
5200 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5202 * doc/visual_index.xml
5203 Fix reference to HildonLoginDialog in documentation
5205 * doc/hildon-docs.sgml
5207 * examples/Makefile.am
5208 * examples/hildon-dialog-example.c
5210 * src/hildon-dialog.c
5211 * src/hildon-dialog.h
5213 New HildonDialog widget.
5215 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5217 * src/hildon-pannable-area.c
5218 Merge latest changes (r4318, r4342) from libmokoui trunk
5220 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5222 * examples/Makefile.am
5223 * examples/hildon-pannable-area-example.c
5225 * src/hildon-pannable-area.c
5226 * src/hildon-pannable-area.h
5228 New HildonPannableArea widget.
5230 2008-04-15 18:05:19 <timj@imendio.com>
5232 * src/hildon-banner.c: revert the recent change, that introduced
5233 gtk_window_present() calls. this reopens:
5234 Bug 78481 - [freetest] information banners are hidden under browser menu
5235 But resolves another variant of:
5236 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5238 2008-04-15 13:21:13 <timj@imendio.com>
5240 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5241 recreated its layout, spotted by Kris. this fixes all remaining
5242 artefacts and stability issues with the banner code. in particular:
5243 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5245 2008-04-14 16:52:59 <timj@imendio.com>
5247 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5248 operating on unrealized widgets, fixes:
5249 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5251 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5253 2008-04-09 Kristian Rietveld <kris@imendio.com>
5255 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5256 makes banner disappear.
5257 Fixes: NB#79182: info banner flickering with certain message lengts.
5259 * src/hildon-banner.c (hildon_banner_constructor),
5260 (hildon_banner_init), (hildon_banner_set_text),
5261 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5262 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5263 FALSE, reset size requests of label and banner,
5264 (force_to_wrap_truncated): when the text is too wide, always enforce
5265 the maximum possible width instead of recalculating it from the
5266 layout; enforce the maximum banner height of 3 lines,
5267 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5268 nicer wrapping and no truncated chars if space gets tight.
5270 * src/hildon-banner-private.h: add has_been_wrapped and
5271 has_been_truncated fields.
5273 2008-04-07 Sven Herzberg <sven@imendio.com>
5275 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5276 local values in hildon_date_editor_size_allocate
5278 * src/hildon-date-editor.c: moved the real allocation code into the
5281 2008-04-07 Sven Herzberg <sven@imendio.com>
5283 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5284 local values in hildon_date_editor_size_allocate
5286 * src/hildon-date-editor.c: merged the two if() branches together
5288 2008-04-07 Sven Herzberg <sven@imendio.com>
5290 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5291 local values in hildon_date_editor_size_allocate
5293 * src/hildon-date-editor.c: changed the arguments of the if()
5296 2008-04-07 Sven Herzberg <sven@imendio.com>
5298 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5299 local values in hildon_date_editor_size_allocate
5301 * src/hildon-date-editor.c: split the calculation of the allocation
5302 from the real allocation
5304 2008-03-27 Michael Natterer <mitch@imendio.com>
5306 Fixes: NB#81696: The passcode is not overwritten even after
5309 * src/hildon-code-dialog.c
5310 (hildon_code_dialog_button_clicked)
5311 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5312 because that doesn't overwrite selected text. Instead, emit the
5313 "commit" signal on the entry's im_context so the entry's normal
5314 insert logic is triggered. Set the cursor to the end of the entry
5315 after each insert operation so that we *only* insert in the middle
5316 of the text if something was selected.
5318 2008-03-27 Michael Natterer <mitch@imendio.com>
5320 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5321 selector cannot be opened
5323 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5324 when the popup color selector is created. Please connect to this
5325 signal in order to set the dialog's help ID.
5327 2008-03-25 Sven Herzberg <sven@imendio.com>
5329 Fixes: MB#1212: Hide info banners (infoprints) on click
5331 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5332 extracted the close event simulation into an extra function
5333 (hildon_banner_button_press_event): simulate a close event and destroy
5334 the widget if the event wasn't handled
5335 (hildon_banner_class_init): added the button_press_event handler
5336 (hildon_banner_init): added button-press events to the widget
5338 2008-03-25 Sven Herzberg <sven@imendio.com>
5340 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5341 Patch from: Mohammad Anwari <mdamt@maemo.org>
5343 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5344 instead of the right in RTL mode
5345 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5346 breadcrumb button list in RTL mode
5347 * src/hildon-caption.c: mirror the appearance of the caption widget in
5349 * src/hildon-date-editor.c: mirror appearance of the date editor in
5351 * src/hildon-time-editor.c: mirror appearance of the time editor in
5353 * src/hildon-window.c: fix the position of the popup in RTL mode
5355 2008-03-25 Sven Herzberg <sven@imendio.com>
5357 Amendment to the fix of NB#22072. Fix compilation.
5359 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5361 2008-03-19 Sven Herzberg <sven@imendio.com>
5363 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5366 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5367 timeout id properly when the timeout will disappear this leaves no
5368 artifacts around in the destroy(); there will only be the timeout
5369 created by hildon_banner_ensure_timeout() and adding a new timeout
5370 will also work if the timeout gets removed because the timeout_handler
5373 2008-03-19 Michael Natterer <mitch@imendio.com>
5375 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5377 * src/hildon-volumebar.c
5378 * src/hildon-vvolumebar.c
5379 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5380 the widget becomes focussable at all.
5382 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5383 set the focus to wither the mute button or the volumebar.
5385 Remove own "can-focus" property and instead listen to
5386 notify::can-focus in order to update the widget's state.
5388 Implement GtkWidget::focus() and make sure we can also *leave* the
5389 widget, not only enter it, depending on volumebar orientation and
5390 requested focus direction.
5392 Clean up set_mute() to cooperate nicely with all the above.
5394 2008-03-04 Michael Natterer <mitch@imendio.com>
5396 Fixes: NB#78481: information banners are hidden under browser menu
5398 * src/hildon-banner.c: call gtk_window_present() on the banners so
5399 they are risen if they are already visible.
5401 2008-03-03 Sven Herzberg <sven@imendio.com>
5403 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5405 * examples/hildon-window-menu-example.c: (main): extended the window
5406 menu example to serve as a testcase for automatically added
5407 accelerator groups, too
5408 * src/hildon-window.c: (hildon_window_add_accel_group),
5409 (hildon_window_set_menu): added patch by Tommi Komulainen
5411 2008-03-03 Sven Herzberg <sven@imendio.com>
5413 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5415 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5416 knowledge about the border allocators used within GTK+
5418 2008-02-26 Sven Herzberg <sven@imendio.com>
5420 Fixes: MB#2981: Build with asserts broken
5422 * src/hildon-date-editor.c,
5423 * src/hildon-number-editor.c,
5424 * src/hildon-time-editor.c,
5425 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5426 the proper GType instance check
5428 2008-02-25 Sven Herzberg <sven@imendio.com>
5430 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5432 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5433 * examples/hildon-window-menu-example.c: (main): explicitly show
5435 * src/hildon-window.c:
5436 (hildon_window_set_main_menu): moved most of the code from set_menu()
5437 to this place; skipped the call to gtk_widget_show_all(); also didn't
5438 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5439 (hildon_window_set_menu): removed most of the code, just keep the
5440 questionable gtk_widget_show_all()
5441 * src/hildon-window.h: added the new function and deprecate the old
5444 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5450 * debian/changelog: Updating.
5452 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5455 * pkgconfig/Makefile.am:
5456 * pkgconfig/hildon.pc.in:
5459 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5460 use newly created API_MAJOR_VERSION.
5462 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5468 * debian/changelog: Updating.
5470 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5472 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5474 Add outer_border style property, we use it but don't define it (!).
5478 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5480 * examples/hildon-bread-crumb-trail-example.c (main):
5484 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5486 Fix logic for the bread crumb trail node removal.
5490 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5496 * debian/changelog: Updating.
5498 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5500 Patch by Alejandro to get/set passwords dialogs accesibility.
5502 * hildon-1/src/hildon-get-password-dialog.c:
5503 * hildon-1/src/hildon-set-password-dialog.c:
5504 Set atk_set_name to the passwd entries in order to allow
5505 accessibility by name on this entries.
5507 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5512 * debian/control: Updating gtk dep.
5514 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5516 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5517 USE_MAEMO_GTK is enabled.
5519 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5521 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5522 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5524 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5530 * debian/changelog: Updating.
5532 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5534 * examples/Makefile.am:
5535 * examples/hildon-logical-color-example.c:
5536 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5537 applied + adding a test case. Fixes: NB#71660.
5539 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5541 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5542 to be visible, fixes warning on map for windows without toolbars.
5544 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5546 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5547 2.11.0, add a check for that besides the MAEMO_GTK check.
5549 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5555 * debian/changelog: Updating.
5557 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5559 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5560 visibility. Fixes: NB#70842 and MB#615.
5562 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5564 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5565 set the separator as no-show-all so it doesn't unintentionally appear when
5566 someone does a show_all.
5568 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5570 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5571 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5572 toplevel item. Fixes: NB#62031
5574 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5576 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5577 fix the name of the function in the docs.
5579 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5585 * debian/changelog: Updating.
5587 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5589 * examples/hildon-banner-long-example.c: Adding a test-case for long
5592 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5594 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5596 * src/hildon-color-chooser-dialog.c:
5597 * src/hildon-color-chooser.c:
5598 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5599 memory leaks in font selector and color selector. Fixes: NB#70499 and
5602 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5604 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5606 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5608 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5609 little bit bigger. Fixes: #NB63694.
5611 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5617 * debian/changelog: Updating.
5619 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5622 * doc/hildon-docs.sgml:
5623 * doc/images/bread-crumb-trail.png:
5624 * doc/images/calendar-popup.png:
5625 * doc/images/caption.png:
5626 * doc/images/code-dialog.png:
5627 * doc/images/color-button.png:
5628 * doc/images/color-chooser-dialog.png:
5629 * doc/images/color-chooser.png:
5630 * doc/images/controlbar.png:
5631 * doc/images/date-editor.png:
5632 * doc/images/font-selection-dialog.png:
5633 * doc/images/get-password-dialog.png:
5634 * doc/images/hvolumebar.png:
5635 * doc/images/login-dialog.png:
5636 * doc/images/note.png:
5637 * doc/images/number-editor.png:
5638 * doc/images/range-editor.png:
5639 * doc/images/seekbar.png:
5640 * doc/images/set-password-dialog.png:
5641 * doc/images/sort-dialog.png:
5642 * doc/images/time-editor.png:
5643 * doc/images/time-picker.png:
5644 * doc/images/vvolumebar.png:
5645 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5646 Adding the bread-crumb-trial and helpers to the documentation.
5648 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5650 * examples/hildon-find-toolbar-example.c:
5651 * src/hildon-find-toolbar.c:
5652 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5653 actually continue firing the other handlers if connected. Adding a new
5655 hildon_find_toolbar_get_last_index that gets the index of the most
5656 recently added (last) item. Fixes: NB#52301.
5658 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5660 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5661 behaviour. Fixes: NB#68610.
5663 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5665 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5668 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5670 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5671 when realizing the banner. Should make the infonbanner effect a bit more
5674 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5676 * src/hildon-volumebar.c:
5677 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5678 hildon_volumebar_set_range_insensitive_message and
5679 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5681 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5683 * src/hildon-window.c: Fixing the border freeing on destroy.
5685 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5687 * src/hildon-code-dialog-private.h:
5688 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5689 kw keyboard support in HildonCodeDialog.
5691 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5697 * debian/changelog: Updating.
5699 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5701 * src/hildon-date-editor.c:
5702 * src/hildon-number-editor.c:
5703 * src/hildon-private.c:
5704 * src/hildon-private.h:
5705 * src/hildon-time-editor.c:
5706 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5707 handling in subclassed composite widgets. Fixes: NB#66628.
5709 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5711 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5712 from destroy_ callback as it introduces problems in async dbus signal
5713 handlers. Fixes NB#66673.
5715 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5717 * examples/hildon-hvolumebar-example.c:
5718 * src/hildon-volumebar.c: Improving the focus handling in the
5719 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5720 set_property accessor so that "mute" property can be actually set. I'm
5721 scared that nobody noticed it's totally broken.
5723 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5725 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5728 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5730 * src/hildon-calendar.c:
5731 * src/hildon-number-editor.c:
5732 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5733 matches the spec of 6 chars per second. Fixes: NB#60489.
5735 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5737 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5738 gtk_style_lookup_color sometime returns FALSE even though color was
5739 found and values were filled properly. Weird. Removing the warning for the
5742 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5744 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5745 expand vertically. Adding some extra space to the find toolbar buttons to
5746 make them thumbable. Fixes NB#66060.
5748 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5751 popup with "Ok" and "Cancel". Fixes NB#59299.
5753 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5755 * src/hildon-calendar.c: Process all window updates before executing next
5756 timeout. Fixes: NB#54146.
5758 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5764 * debian/changelog: Updating.
5766 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5768 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5769 the client event and ignore it, since we use the delete event to close
5772 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5774 * src/hildon-helper.c: Remove the bogus warning about color not being
5775 found. Fixes NB#58352.
5777 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5779 * examples/Makefile.am:
5780 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5781 HildonSeekbar widget inside a toolbar.
5783 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5785 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5786 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5787 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5788 don't want to be closed by non-temporary windows on map.
5790 Also use G_DEFINE_TYPE instead of manually typed code.
5792 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5799 * debian/rules: Updating.
5801 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5803 * examples/Makefile.am:
5804 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5805 bug NB#61128. Strangely it works.
5807 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5809 * src/hildon-date-editor.c: When the date editor entry has been changed
5810 but the numbers of characters < max, turn off the skip validation flag.
5811 Prevents a situation when we enter first a valid year and later re-write
5812 it with an invalid one. Fixes NB#60154.
5814 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5816 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5817 code dialog. Fixes NB#64355.
5819 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5821 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5822 switching the page. Fixes NB#49374.
5824 * examples/Makefile.am:
5825 * examples/hildon-wizard-dialog-example.c: Adding an example for
5826 HildonWizardDialog that shows how to handle manual sensitivity setting on
5829 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5833 * src/hildon-version.h.in:
5834 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5836 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5838 * src/hildon-volumebar.c: Updating the docs.
5840 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5846 * debian/changelog: Updating.
5848 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5850 * src/hildon-find-toolbar.c:
5851 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5852 selected item: hildon_find_toolbar_set_active,
5853 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5854 hildon_find_toolbar_get_active_iter . They correspond to respective
5855 GtkComboBox functions.
5857 * examples/Makefile.am:
5858 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5861 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5863 * examples/Makefile.am:
5864 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5867 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5868 when font size > 32 and we pack a focusable widget inside. Actually using
5869 the default response would work too, but since we don't show default
5870 response state in any way (no theming) it would not be visible to the
5871 user. Fixes NB#63430.
5873 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5875 * src/hildon-date-editor.c: Adding the missing variable setter in the
5876 set_property handler. Fixes NB#54182.
5878 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5880 * src/hildon-window.h: Changing the long key press time from 1500ms to
5881 800ms as requested in NB#63700. I have a bad feeling about this, let's
5882 see... Fixes NB#63700.
5884 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5886 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5887 hildon_time_picker_map, hildon_time_picker_realize,
5888 hildon_time_picker_style_set): Split the contents of map to more
5889 appropriate functions; set window decorations on realize and update
5890 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5892 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5897 * debian/changelog: Updating.
5899 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5901 * src/Makefile.am: fixed installation of the header files
5903 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5909 * debian/changelog: Updating.
5911 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5913 * configure.ac: Removing some remaining of --enable-xan.
5915 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5917 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5918 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5920 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5921 2.10.12-osso6 because the move-focus signal needs to be available in
5924 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5926 * examples/Makefile.am:
5927 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5928 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5929 fine. Prolly NB#61128 is fixed now.
5931 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5933 * src/hildon-volumebar.c:
5934 * src/hildon-volumebar.h: Adding the
5935 hildon_volumebar_set_range_insensitive_message and
5936 hildon_volumebar_set_range_insensitive_messagef functions to set
5937 insensitive message on the slider of the volumebar. Fixes NB#61129.
5939 * examples/Makefile.am:
5940 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5941 test the new insensitive messsage functionality on HildonVolumebar.
5943 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5945 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5948 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5950 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5951 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5952 button on after clearing the trail.
5954 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5956 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5958 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5960 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5961 by splitting the installed headers in generated and non-generated groups. Use
5962 only the non-generated headers to create the hildon-enum-types.h file.
5964 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5966 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5968 * src/hildon-window.c: Hide the window before performing the destroy.
5969 Should make the app closing a little tiny bit more snappy.
5971 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5973 * src/hildon-seekbar.c: add gtkrange.h header
5974 * src/hildon-caption.c: remove unused variable
5976 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5978 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5981 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5987 * debian/changelog: Updating.
5989 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5991 * src/hildon-window.c (hildon_window_window_state_event,
5992 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5993 escape timeout on focus-out-event rather than notify::is-topmost; the
5994 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5996 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5998 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5999 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6001 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6003 * src/hildon-window: actually, you need to use the macro always, there's
6004 no private pointer in the instance structure. We should have cleaned this up
6005 when we had the chance...
6007 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6009 * src/hildon-window.c: do not get the private date from HildonWindow before
6010 it passes the g_return_if_fail check. Once it's passed the test, there's no
6011 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6012 if you are only going to access the data once. Whitespace cleanups.
6014 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6016 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6017 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6019 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6025 * debian/changelog: Updating.
6027 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6029 * src/hildon-window.c: When destroying the window, remove (if exists) the
6030 escape timeout handler. Fixes #NB59276.
6032 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6034 * src/hildon-banner.c: When realizing the widget, set the window
6035 transiency. Setting the transiency in the gobject constructor is not
6036 good, as the widget is not realized at that point. Fixes: #NB56624.
6038 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6040 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6041 Add padding for future expansions.
6043 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6045 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6046 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6047 will fake an activation on the previous to the last item of the trail, so
6048 the effect can be overrided by the developer as usual.
6049 Also change the callback for the back button to do the same thing, so its
6050 effect can be overrided too. Fixes: NB#58982
6052 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6054 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6055 HildonCaption. Fixes NB#52379.
6057 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6059 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6060 the internal state of the trail after the user has had the chance of executing
6061 his handler for the signal. Specifically, it may happen that the activated button
6062 is removed and the user still lets the default handler run. This would segfault
6065 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6067 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6068 scrollbar to the preview dialog. Fixes NB#54147.
6070 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6072 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6073 max/min year properties can be altered, so the client can modify it
6074 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6076 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6078 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6079 hildonlike by default. Fixing a problem with disappearing arrows when
6080 scrolling through months and years. Fixes NB#54127.
6082 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6084 * examples/hildon-date-editor-example.c: Adding error callback to the date
6087 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6093 * configure.ac: Updating.
6095 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6097 * configure.ac: Adding a special '--enable-xan' configure option that
6098 turns off the -Werror compilation setting. Usefull for development.
6100 * src/hildon-calendar.c:
6101 * src/hildon-number-editor.c:
6102 * src/hildon-time-picker.c: Adding the 5* multiplier to
6105 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6107 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6108 instead of g_object_ref + gtk_object_sink.
6110 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6116 * debian/changelog: Updating.
6118 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6120 * src/hildon-color-chooser-dialog.c:
6121 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6122 straight from Tommi labs.
6124 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6126 * examples/hildon-finger-example.c: Correcting the header file path.
6128 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6129 the changed signal. Fixes a small memory leak.
6131 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6135 * src/hildon-banner.c: Importing several usefull fixes from the
6136 ubuntu-mobile branch.
6138 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6140 * examples/Makefile.am:
6141 * examples/hildon-finger-example.c: Adding a finger-checking code
6144 * src/hildon-font-selection-dialog.c: Do not allocate the color
6145 structure using the g_new. Fixes NB#54061.
6147 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6149 * src/hildon-helper.c: Correcting tabs in file.
6151 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6153 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6154 control the visibility of the children.
6156 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6158 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6164 * debian/changelog: Updating.
6166 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6168 * src/hildon-bread-crumb-trail.c:
6169 (hildon_bread_crumb_trail_size_allocate):
6171 Make the back button always a square.
6173 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6175 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6176 from the .c file as it's a private file.
6178 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6180 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6181 uses slightly bigger height.
6183 * src/hildon-font-selection-dialog.c: Adding some checks before
6184 freeing memory in the font selection dialog.
6186 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6188 * src/hildon-font-selection-dialog.c: Adding a small check when
6191 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6192 buttons sensitivity on page switching.
6194 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6196 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6197 internal details of adding a bread crumb to the trail.
6199 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6205 * debian/changelog: Updating.
6207 * src/hildon-bread-crumb-trail.h:
6208 * src/hildon-bread-crumb.h: Changing the API guard to
6209 HILDON_ENABLE_UNSTABLE_API.
6211 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6219 * src/hildon-helper.h: Updating.
6221 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6229 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6233 * src/hildon-helper.h: Small fix to make the package actually compile.
6235 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6237 * src/hildon-bread-crumb-trail.h:
6238 * src/hildon-bread-crumb.h:
6240 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6241 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6243 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6245 * examples/hildon-bread-crumb-trail-example.c:
6247 * src/hildon-bread-crumb-trail.c:
6248 * src/hildon-bread-crumb-trail.h:
6249 * src/hildon-bread-crumb.c:
6250 * src/hildon-bread-crumb.h:
6251 * src/hildon-marshalers.list:
6252 * src/hildon-bread-crumb-widget.c:
6253 * src/hildon-bread-crumb-widget.h:
6255 Slight change in the widget design. The bread crumb trail API is
6256 unchanged, but HildonBreadCrumb is now an interface. A *private*
6257 implementation, hildon-bread-crumb-widget, is provided and used
6258 internally by the trail for the push_text/push_icon functions.
6260 The generic push API is still available, so anyone can implement
6261 and use its own bread crumb widget.
6263 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6265 * debian/rules: Fixing the shlibs.
6267 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6269 * src/hildon-banner.c: Fixing a problem with timed banners having
6270 their parrent destroyed before they are.
6272 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6274 * src/hildon-bread-crumb.c:
6275 * src/hildon-bread-crumb.h:
6277 Make the get_natural_size function a vfunc.
6279 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6281 * src/hildon-bread-crumb.c:
6282 * src/hildon-bread-crumb-trail.c:
6286 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6293 * debian/changelog: Updating for release.
6295 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6297 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6298 don't leak the pango layout.
6300 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6303 * examples/hildon-bread-crumb-trail-example.c:
6307 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6309 * debian/changelog: Removing the bug-fixed entries that were actually
6310 resolved as WONTFIX.
6312 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6315 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6317 * src/hildon-bread-crumb-trail.c:
6318 * src/hildon-bread-crumb-trail.h:
6319 * src/hildon-bread-crumb.c:
6320 * src/hildon-bread-crumb.h:
6324 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6326 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6327 until it's passed the type check.
6329 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6331 * examples/hildon-bread-crumb-trail-example.c
6335 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6337 * examples/Makefile.am
6338 * examples/hildon-bread-crumb-trail-example.c
6340 * src/hildon-bread-crumb-trail.c
6341 * src/hildon-bread-crumb-trail.h
6342 * src/hildon-bread-crumb.c
6343 * src/hildon-bread-crumb.h
6345 New HildonBreadCrumbTrail widget.
6347 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6349 * src/hildon-range-editor.c (hildon_range_editor_init),
6350 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6351 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6352 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6353 hildon_time_editor_class_init, hildon_time_editor_init),
6354 src/hildon-get-password-dialog.c (invalid_input,
6355 hildon_get_password_set_property, hildon_get_password_get_property,
6356 create_contents, hildon_get_password_dialog_set_max_characters),
6357 src/hildon-set-password-dialog.c (create_contents),
6358 src/hildon-date-editor.c (hildon_date_editor_init),
6359 src/hildon-login-dialog.c (hildon_login_dialog_init),
6360 src/hildon-number-editor.c (hildon_number_editor_init),
6361 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6362 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6363 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6364 configure option and adding the respective checks in the code.
6365 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6366 hildon_calendar_drag_data_received): fixed some build warnings.
6368 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6370 * debian/changelog: A 1.0.0 release notes.