1 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-caption.c: (hildon_caption_expose),
4 (hildon_caption_set_property), (hildon_caption_init),
5 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
6 (hildon_caption_size_request), (hildon_caption_size_allocate),
7 (hildon_caption_forall), (hildon_caption_set_separator),
8 (hildon_caption_activate), (hildon_caption_set_child_expand),
9 (hildon_caption_set_label_text),
10 (hildon_caption_get_label_alignment):
12 Remove unnecessary g_assert() calls.
14 2009-02-12 Alberto Garcia <agarcia@igalia.com>
17 (hildon_banner_map, hildon_banner_init): Make banner temporary
18 before mapping it to avoid closing other temporary windows, but
19 make it non-temporary afterwards to avoid being closed by other
20 non-temporary windows.
21 (-hildon_banner_client_event, hildon_banner_init):
22 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
24 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
27 2009-02-11 Alberto Garcia <agarcia@igalia.com>
29 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
32 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
34 * src/hildon-remote-texture.c
35 * src/hildon-remote-texture.h
36 * src/hildon-remote-texture-private.h
37 * examples/hildon-remote-texture-example.c:
38 Updates/fixes to remote-texture and its example.
40 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
42 Patch by Mox Soini (ext-mox.soini@nokia.com)
44 * src/hildon-code-dialog.c: Update logical id.
45 * src/hildon-set-password-dialog.c: Update logical id.
47 Fixes: NB#100646 (Logical strings is shown for ok in set
48 password,Password needed dialogs)
50 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
53 * src/hildon-remote-texture.c
54 * src/hildon-remote-texture.h
55 * src/hildon-remote-texture-private.h
57 Added remote texture widget (for Clutter shared memory textures)
59 * examples/hildon-remote-texture-example.c
60 * examples/Makefile.am
61 Added example file for remote texture usage
63 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
65 * configure.ac: post release version bump.
66 * debian/changelog: version bump.
68 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
73 * configure.ac: Bump version.
74 * debian/changelog: Updates.
76 2009-02-06 Alberto Garcia <agarcia@igalia.com>
78 * src/hildon-date-selector.c (hildon_date_selector_init)
79 (hildon_date_selector_constructor): Don't connect to the "changed"
80 signal until the selector is completely constructed.
82 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
84 * src/hildon-touch-selector.c: (_create_new_column),
85 (hildon_touch_selector_append_column),
86 (hildon_touch_selector_set_column_selection_mode),
87 (hildon_touch_selector_set_active),
88 (hildon_touch_selector_select_iter):
89 Emit the HildonTouchSelector::changed signal every time selection
90 is changed in any of the methods above. This behavior was already
91 documented but not fully functional.
93 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
94 selection is programmatically changed)
96 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
98 * doc/hildon-sections.txt: Remove obsolete icon
99 sizes from here as well.
101 2009-02-05 Alberto Garcia <agarcia@igalia.com>
103 * examples/hildon-stackable-window-example.c (add_window): Remove
106 2009-02-05 Alberto Garcia <agarcia@igalia.com>
108 * src/hildon-app-menu.c
109 (hildon_app_menu_show): Check whether the parent window of a menu
110 is topmost before popping it up.
112 Fixes: NB#100468 (Application menu window is launched even when a
113 new secondary-window/dialog is pending to be shown/realized.)
115 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
117 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
120 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
122 Patch by Mox Soini (ext-mox.soini@nokia.com)
124 * src/hildon-banner.c: (hildon_banner_show_animation):
125 use stylus size instead of obsolete note size.
126 * src/hildon-defines.h: Update icon sizes.
128 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
130 * src/hildon-touch-selector-entry.c:
131 (hildon_touch_selector_entry_init): Disable unsupported
133 (hildon_touch_selector_entry_get_text_column): Emit a warning
134 if an unsupported input modes is used and explicitile state
135 these modes in the documentation.
137 Fixes: NB#99802 (Hildon touch selector entry not working properly
138 for some of the input modes)
140 2009-02-05 Alejandro G. Castro <alex@igalia.com>
142 * src/hildon-pannable-area.c,
143 (hildon_pannable_area_init): Added the changed signal handlers of
146 Fixes: NB#100320 (HildonPannableArea does not listen to
147 GtkAdjustment "change" signals)
149 2009-02-04 Alberto Garcia <agarcia@igalia.com>
151 * doc/hildon-sections.txt
152 * src/hildon-window-private.h
153 * src/hildon-window.h
154 * src/hildon-window.c (hildon_window_init)
155 (hildon_window_realize, hildon_window_unrealize)
156 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
157 (hildon_window_size_request, hildon_window_size_allocate)
158 (hildon_window_forall, hildon_window_show_all)
159 (hildon_window_destroy, +paint_edit_toolbar)
160 (+hildon_window_set_edit_toolbar):
161 New hildon_window_set_edit_toolbar() method, to add a
162 HildonEditToolbar to a window without having to pack it manually.
164 Reorganize hildon_window_size_allocate()
166 * src/hildon-edit-toolbar.c: Update documentation.
168 * examples/hildon-edit-toolbar-example.c (edit_window): Update
169 example to use the new API.
171 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
173 2009-02-04 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
176 Remove from stack before calling parent's hide.
178 2009-02-04 Alberto Garcia <agarcia@igalia.com>
180 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
181 window is removed from the middle of the stack, update the
182 transiency of the previous one.
184 Fixes: NB#100487 (HildonStackableWindow transiency becomes
187 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
189 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
190 block/unblock the signal handler if it's not actually being used.
191 Fixes some critical warnings.
193 2009-02-02 Alberto Garcia <agarcia@igalia.com>
195 Based on a patch by Iván Gómez (igomez@igalia.com)
197 * src/hildon-banner.c
201 * src/hildon-pannable-area.c
202 * src/hildon-picker-dialog.c
203 * src/hildon-wizard-dialog.h
204 * src/hildon-wizard-dialog.c: Documentation updates.
206 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
207 gtk_dialog_add_button() instead of hildon_dialog_add_button().
209 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
211 * configure.ac: post release version bump.
212 * debian/changelog: version bump.
214 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
219 * configure.ac: Bump version.
220 * debian/changelog: Updates.
222 2009-01-29 Alberto Garcia <agarcia@igalia.com>
224 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
225 a stock icon nor change the relief of the back arrow.
227 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
230 2009-01-29 Alberto Garcia <agarcia@igalia.com>
232 * src/hildon-button.c (hildon_button_set_alignment): Use
233 priv->alignment if the button has no child yet.
235 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
237 * src/hildon-button.c: (hildon_button_init): Set the
238 button style during initialization to give it the proper
241 Fixes: NB#99713 (HildonButton value label color is wrong)
243 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
245 * src/hildon-touch-selector.c: Document
246 hildon_touch_selector_center_on_selected()
248 2009-01-28 Alberto Garcia <agarcia@igalia.com>
250 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
251 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
252 all menu items, but not the menu itself.
253 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
254 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
255 items after adding them to the menu so keyboard accelerators work.
256 (hildon_app_menu_show): Don't show the menu if it contains items
257 but none of them are visible.
259 * examples/hildon-app-menu-example.c (create_menu): Use
260 gtk_widget_show_all() to show all menu items.
262 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
264 * src/hildon-picker-dialog.c:
265 (-_update_title_on_selector_changed_cb),
266 (-_dialog_update_title): Removed.
267 (_select_on_selector_changed_cb), (_on_dialog_response),
268 (on_selector_columns_changed): Do not update the dialog title.
269 (setup_interaction_mode): Do not connect to
270 HildonTouchSelector::changed signal if there's a "done" button, as
271 the dialog title doesn't need to be updated.
273 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
276 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
278 Patch by Kristian Rietveld (kris@imendio.com)
280 * src/hildon-touch-selector.c: (_create_new_column): Use new
281 GtkTreeView::hildon-row-tapped signal to react to user interactions
282 instead of ::changed.
284 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
285 with some dynamic tree model)
287 2009-01-27 Alberto Garcia <agarcia@igalia.com>
289 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
290 (+screen_size_changed, +label_size_request)
291 (hildon_note_class_init): Make the Hildon information note have a
292 minimum height, and make its text hvae a maximum width.
294 Fixes: NB#98614 (Hildon information note (background) should have
295 minimum height and maximum text width)
297 2009-01-26 Alberto Garcia <agarcia@igalia.com>
299 * src/hildon-banner.h
300 * src/hildon-banner.c (hildon_banner_show_information)
301 (hildon_banner_show_informationf)
302 (hildon_banner_show_information_with_markup): Update documentation
303 to reflect that the icon_name parameter is not used anymore.
304 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
305 Remove all code from these functions and mark them as deprecated.
306 (hildon_banner_show_progress): Mark as deprecated.
308 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
310 2009-01-26 Alejandro G. Castro <alex@igalia.com>
312 * src/hildon-pannable-area.c,
313 (hildon_pannable_area_class_init),
315 (hildon_pannable_draw_vscroll),
316 (hildon_pannable_draw_hscroll),
317 (hildon_pannable_area_expose_event): Added a new way to render the
318 scrollbars of the pannable area avoiding using cairo at all. This
319 way we improve the performance of the pannable area rendering. The
320 cairo rendering procedure is still in the code, we can control
321 which one to use changing the value of the define
322 USE_CAIRO_SCROLLBARS.
324 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
326 * configure.ac: post release version bump.
327 * debian/changelog: version bump.
329 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
334 * configure.ac: Bump version.
335 * debian/changelog: Updates.
337 2009-01-23 Alberto Garcia <agarcia@igalia.com>
339 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
340 banners instead of destroying them when they receive a button
343 2009-01-23 Alejandro G. Castro <alex@igalia.com>
345 Reverted commit 34028, it was causing regressions, probably the
346 topmost condition is not correct, we have to check it in more
347 detail. We have reponed the bug: NB#97458 (Pannable area prevents
348 propagation of button press events)
350 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
352 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
353 that the selection is not empty before attempting to retrieve the
354 current ampm selection.
356 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
358 * src/hildon-picker-button.c:
359 (hildon_picker_button_on_dialog_response): Directly update the
360 button contents when required instead of calling _selection_changed.
362 2009-01-23 Alberto Garcia <agarcia@igalia.com>
364 * src/hildon-program.c (hildon_program_update_top_most): Update
365 'is-topmost' property also when wm_hints is not set.
367 Fixes: NB#98383 (is-topmost signal is not emitted when task
368 switcher is clicked.)
370 2009-01-23 Alejandro G. Castro <alex@igalia.com>
372 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
376 * src/hildon-animation-actor.c,
377 * src/hildon-animation-actor.h: Added the animation actor class,
378 this widget represents an animation actor for WM-assisted
379 animation effects in the Hildon framework.
381 2009-01-23 Alberto Garcia <agarcia@igalia.com>
383 * src/hildon-window-stack-private.h
384 * src/hildon-window-stack.c
385 * src/hildon-stackable-window.c (hildon_stackable_window_show):
386 Avoid calling gtk_widget_show() again indirectly from
387 hildon_stackable_window_show()
389 2009-01-23 Alberto Garcia <agarcia@igalia.com>
391 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
394 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
397 (hildon_time_selector_init): Move the construction of the hours and
398 ampm columns to the constructor to preserve the order the columns
401 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
403 * src/hildon-picker-dialog.c:
404 (hildon_picker_dialog_class_init): Connect a realize method.
405 (+hildon_picker_dialog_realize): Setup the interaction mode here
407 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
408 yet, do it during the realize instead.
409 (_on_dialog_response):
410 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
411 if the widget is not realized, to avoid the dialog response before it
414 Avoid premature responses in the HildonPickerDialog that can cause it
415 to be hidden before it's even shown.
417 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
419 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
420 (on_selector_columns_changed), (requires_done_button),
421 (+prepare_action_area), (setup_interaction_mode),
422 (_hildon_picker_dialog_set_selector):
424 Split the interaction mode setup into preparation of the
425 action area (prepare_action_area()) and the connection of
426 the signals in setup_interaction_mode() and update the code to
429 2009-01-22 Alejandro G. Castro <alex@igalia.com>
431 * src/hildon-pannable-area.c,
432 (hildon_pannable_area_class_init): Reduced the amount of scrolls
433 per second to 15, we will check if this is ok regarding
436 2009-01-22 Alejandro G. Castro <alex@igalia.com>
438 * src/hildon-pannable-area.c,
439 (hildon_pannable_axis_scroll): Avoid resize if we already have
440 reached overshoot_max.
442 2009-01-22 Alejandro G. Castro <alex@igalia.com>
444 * src/hildon-pannable-area.c,
445 (hildon_pannable_area_init),
446 (hildon_pannable_area_realize),
447 (hildon_pannable_area_size_allocate),
448 (hildon_pannable_area_map),
449 (hildon_pannable_area_unmap),
450 (hildon_pannable_draw_vscroll),
451 (hildon_pannable_draw_hscroll),
452 (hildon_pannable_area_expose_event),
453 (hildon_pannable_area_refresh): Added a new GdkWindow to the
454 pannable are to avoid the expose events go to the window and
455 redraw the window. We save this way that part of the stack and the
456 paint_boxes. We had to change the positions of the elements when
459 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
462 * src/hildon-color-chooser-dialog.c:
463 (hildon_color_chooser_dialog_init):
464 * src/hildon-font-selection-dialog.c:
465 (hildon_font_selection_dialog_init),
466 (hildon_font_selection_dialog_show_preview):
467 * src/hildon-get-password-dialog.c:
468 * src/hildon-login-dialog.c:
469 * src/hildon-set-password-dialog.c:
470 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
471 * src/hildon-time-picker.c: (hildon_time_picker_init):
473 Remove obsolete logical string IDs and update to the appropriate ones.
475 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
477 2009-01-21 Alberto Garcia <agarcia@igalia.com>
479 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
480 that happens if the window hasn't been realized yet.
482 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
483 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
485 2009-01-20 Alberto Garcia <agarcia@igalia.com>
487 * src/hildon-app-menu.c (hildon_app_menu_class_init)
488 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
491 Fixes: NB#98537 (Device hangs in account settings dialog)
493 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
495 * configure.ac: post release version bump.
496 * debian/changelog: version bump
498 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
503 * configure.ac: Bump version.
504 * debian/changelog: Updates.
506 2009-01-20 Alejandro G. Castro <alex@igalia.com>
508 Added a new function to the HildonTimeButton widget that allows to
509 change the step of the minutes in the selector associated with the
510 button: hildon_time_button_new_step
512 * src/hildon-time-button.c,
513 (hildon_time_button_init),
514 (hildon_time_button_new),
515 (hildon_time_button_new_step):
516 * src/hildon-time-button.h: Added the new function and refactored
518 * examples/hildon-time-button-example.c,
519 (main): We have replaced the function without parameters with the
520 function with the steps set to 5
522 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
524 2009-01-20 Alejandro G. Castro <alex@igalia.com>
526 * src/hildon-time-selector.c,
527 (hildon_time_selector_class_init),
528 (hildon_time_selector_constructor),
529 (hildon_time_selector_get_property),
530 (hildon_time_selector_set_property),
531 (_create_minutes_model),
532 (hildon_time_selector_new_step),
533 (hildon_time_selector_set_time),
534 * src/hildon-time-selector.h: Added a new property to the
535 HildonTimeSelector (minutes-step), we use that property to control
536 the steps between the minutes in the list of the selector. We have
537 added a new function to the API to create a widget changing the
538 step: hildon_time_selector_new_step.
540 2009-01-20 Alejandro G. Castro <alex@igalia.com>
542 * src/hildon-time-selector.c,
543 (hildon_time_selector_class_init),
544 (hildon_time_selector_constructor),
545 (hildon_time_selector_init): Overrided the construct function when
546 creating the time selector object. We have moved the minutes model
547 handling code from the init to the new construction function:
548 hildon_time_selector_constructor.
550 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
552 * examples/hildon-date-button-example.c: (main): Use the new
553 hildon_date_button_new_with_year_range() method in the example.
554 * src/hildon-date-button.c:
555 (+hildon_date_button_new_with_year_range): New public method
556 to conveniently create a HildonDateButton with a custom year range
557 in its HildonDateSelector.
558 * src/hildon-date-button.h: Add the new public method definition.
560 Fixes: NB#97908 (Not possible to change the year range in
561 HildonDateSelector/HildonDateButton)
563 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
565 * src/hildon-date-selector.c:
566 (+hildon_date_selector_set_property),
567 (+hildon_date_selector_get_property),
568 (hildon_date_selector_class_init): Install new properties "min-year"
569 and "max-year" to define boundaries for the year column.
570 (_create_year_model): Use the boundary properties to populate the model.
571 (+hildon_date_selector_new_with_year_range): New public method to
572 create a HildonDateSelector with a user defined year range.
573 (hildon_date_selector_select_current_date): Use the new boundaries to
574 calculate the iterator of current year.
575 * src/hildon-date-selector.h: Add the new public method definition.
577 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
579 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
580 Install a constructor method.
581 (+hildon_date_selector_construct_ui): construct the widget.
582 (+hildon_date_selector_constructor): new constructor.
583 (+hildon_date_selector_init): move out widget construction code to
586 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
588 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
589 that there's actually a month or year selected before obtaining them.
590 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
591 of the HildonTouchSelector::changed signal, as it was emitted on every
592 single item selection.
594 Fix some warnings and possible crashers due to the selection restoring.
596 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
598 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
599 the signal handlers only after creating the dialog instead of on every
602 2009-01-19 Alberto Garcia <agarcia@igalia.com>
604 * src/hildon-button.c (hildon_button_init)
605 * src/hildon-check-button.c (hildon_check_button_init)
606 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
607 focus when clicked by default.
609 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
611 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
614 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
616 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
617 Alejandro G. Castro (alex@igalia.com)
619 * src/hildon-picker-dialog.c:
620 (hildon_picker_dialog_class_init): install new "center-on-show"
622 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
623 (hildon_picker_dialog_set_property): add setter code for the new
625 (hildon_picker_dialog_get_property): add getter code for the new
627 (hildon_picker_dialog_show): Ensure visibility of selected items in the
628 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
631 Fixes: NB#92849 (Selected item is not always visible when
632 HildonTouchSelector is shown)
634 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
636 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
637 Alejandro G. Castro (alex@igalia.com)
639 * src/hildon-touch-selector.c:
640 (_create_new_column): Do not connect to the "realize" signal of the
642 (hildon_touch_selector_append_column): center on the selected items
643 when a new column is appended.
644 (hildon_touch_selector_select_iter): Factor out the code to select a
645 column to hildon_touch_selector_scroll_to().
646 (+search_nearest_element): Method to retrieve the nearest selected
647 element to the visible area of the pannable area in a column.
648 (+on_realize_cb): scroll to the initially selected item.
649 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
650 the pannable area is realized, otherwise delay this until it is.
651 (+_hildon_touch_selector_center_on_selected_items): Centers on the
652 selected items of a given column.
653 (+hildon_touch_selector_center_on_selected): Public method to center
654 all columns on the nearest selected item.
655 * src/hildon-touch-selector.h: Add definition for
656 hildon_touch_selector_center_on_selected().
658 Implement public API to ensure visibility of all selected items in
659 a HildonTouchSelector.
661 2009-01-16 Alejandro G. Castro <alex@igalia.com>
663 Fixed a problem in the fading when calling the scroll_to API, and
664 improve scrollbar fading handling.
666 * src/hildon-pannable-area.c,
667 (hildon_pannable_area_grab_notify): avoid the timeout when the
669 (hildon_pannable_area_button_press_cb),
670 (hildon_pannable_area_motion_notify_cb): Code style changes.
671 (hildon_pannable_area_button_release_cb): Review the conditions
672 when releasing the mouse button to avoid unrequired fading
674 (hildon_pannable_area_scroll_to): Do not calculate and set the
675 velocity if the scroll is not required.
677 2009-01-15 Alberto Garcia <agarcia@igalia.com>
679 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
680 Don't check whether the new selector is NULL: it cannot be.
681 Hold a reference to the selector while doing the replacement.
683 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
685 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
686 unnecessary size_request in a removed widget.
688 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
691 an unnecessary reference tracking that was leaking.
693 2009-01-15 Alejandro G. Castro <alex@igalia.com>
695 Added delayed motion notify event handling, this way we can
696 discard redrawing if more than 25 events arrive per second.
698 * src/hildon-pannable-area.c,
699 (hildon_pannable_area_init): Initialized the new private atributes
700 controlling this timeout
701 (hildon_pannable_area_dispose): Remove the timeout that controls
702 the motion notify events.
703 (hildon_pannable_area_scroll): Added a condition to control the
704 use of the acceleration.
705 (hildon_pannable_area_motion_event_scroll_timeout),
706 (hildon_pannable_area_motion_event_scroll): Added this two
707 functions, they handle the motion notify events inside the
709 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
710 to the scroll method with the new function.
711 (hildon_pannable_area_button_release_cb): We have to remove the
712 timeout handler and move to the last position if the last motion
713 events were not handled.
715 Fixes: NB#97028 (Pannable area updates on every motion event)
717 2009-01-15 Alejandro G. Castro <alex@igalia.com>
719 * src/hildon-pannable-area.c,
720 (hildon_pannable_area_get_topmost): Added a new parameter to
721 filter the the windows that do not include those events. Added
722 also a condition when finding the window to filter windows that do
723 not ask for those events.
724 (hildon_pannable_area_button_press_cb),
725 (hildon_pannable_area_button_release_cb),
726 (hildon_pannable_get_child_widget_at): Reviewed the call the the
727 topmost function, we have added the new parameter.
729 Fixes: NB#97458 (Pannable area prevents propagation of button
732 2009-01-15 Alejandro G. Castro <alex@igalia.com>
734 * src/hildon-pannable-area.c,
735 (hildon_pannable_area_initial_effect): Added controls before
736 launching the timeout and the idle functions.
737 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
738 of the method, in some situations it can return with TRUE and 0 in
740 (hildon_pannable_area_button_press_cb): We do not need to set
741 DELAY for fading out here.
743 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
745 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
747 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
748 post-cleaning if the selection is not NULL.
750 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
752 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
753 all items before restoring the selection.
755 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
757 * src/hildon-touch-selector.c:
758 (+hildon_touch_selector_unselect_all):
759 * src/hildon-touch-selector.h: New API to unselect all items in a
760 column of the touch selector.
762 2009-01-14 Alejandro G. Castro <alex@igalia.com>
764 * src/hildon-pannable-area.c,
765 (hildon_pannable_area_redraw): Added a call to the refresh
766 function inside the redraw because apparently in some cases the
767 change in the adjustment does not imply a size allocate.
769 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
770 despite the view not being scrollable)
772 2009-01-14 Alberto Garcia <agarcia@igalia.com>
774 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
775 leak. Check for NULL before attempting to set the window title.
777 2009-01-14 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
780 whether to show or not the 'Done' button each time the dialog is
781 shown, as it depends on the HildonTouchSelector selection mode.
783 Fixes: NB#96226 (In multiple selection mode Done button is shown
784 sometimes in listpicker)
786 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
788 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
789 for the number of columns in the HildonTouchSelector more than once.
791 2009-01-14 Alberto Garcia <agarcia@igalia.com>
793 * src/hildon-touch-selector.c: Minor documentation fixes.
795 * src/hildon-picker-dialog.c (+_dialog_update_title)
796 (_select_on_selector_changed_cb)
797 (_update_title_on_selector_changed_cb)
798 (on_selector_columns_changed): Update dialog title when there's no
799 'Done' button and also when the number of columns in the selector
803 * src/hildon-picker-button.c (hildon_picker_button_finalize)
804 (+_selection_changed, hildon_picker_button_on_dialog_response)
805 (hildon_picker_button_selector_selection_changed)
806 (+hildon_picker_button_selector_columns_changed)
807 (hildon_picker_button_set_selector): Update button value and emit
808 'value-changed' when the number of columns in the selector
812 Fixes: NB#96225 (Dialog titles are not shown according to the
813 values selected in the list picker)
815 2009-01-13 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
818 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
819 New "arrow-width" and "arrow-height" style properties to set the
820 size of the arrow button.
821 Set name of arrow button ("hildon-edit-toolbar-arrow").
823 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
826 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
828 * src/hildon-picker-button.c:
829 (hildon_picker_button_selector_selection_changed): Use
830 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
831 the dialog is present.
833 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
834 the selection is accepted in the dialog)
836 2009-01-13 Alberto Garcia <agarcia@igalia.com>
838 * src/hildon-color-chooser.h
839 * src/hildon-color-chooser-dialog.h:
840 Added G_BEGIN_DECLS and G_END_DECLS
842 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
844 (_clean_current_selection): plug a leak in the list.
846 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
848 * src/hildon-picker-dialog.c:
849 (+free_path_list): Method to free a GList of GtkTreePaths.
850 (_clean_current_selection), (_save_current_selection),
851 (_restore_current_selection): Save the current selection in
852 as a list of lists, to support multiple selection properly.
854 2009-01-12 Alberto Garcia <agarcia@igalia.com>
856 patch by Claudio Saavedra (csaavedra@igalia.com)
858 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
859 Store the press position.
860 (+hildon_text_view_button_release_event): If the release position is
861 close enough to the press position, move the cursor here. Otherwise,
863 (hildon_text_view_class_init): Override GtkTextView press, release, and
864 motion event handlers, disabling this way text selection through
865 pointer interaction, and allowing the container widget to handle the
868 Fixes: NB#95828 (HildonTextView functionality)
870 2009-01-12 Alberto Garcia <agarcia@igalia.com>
872 Based on a patch by Iván Gómez (igomez@igalia.com)
874 * src/hildon-button.[ch]
875 * src/hildon-calendar.c
876 * src/hildon-check-button.c
877 * src/hildon-date-editor.c
878 * src/hildon-date-selector.c
879 * src/hildon-picker-button.c
880 * src/hildon-time-editor.c
881 * src/hildon-time-selector.c
882 * src/hildon-touch-selector.[ch]:
883 Documentation updates
885 2009-01-12 Alejandro G. Castro <alex@igalia.com>
887 * src/hildon-pannable-area.c,
888 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
889 threshold, it was required due to X events handling.
891 2009-01-12 Alejandro G. Castro <alex@igalia.com>
893 * src/hildon-pannable-area.c,
894 (hildon_pannable_area_grab_notify),
895 (hildon_pannable_area_initial_effect),
896 (hildon_pannable_area_button_press_cb),
897 (hildon_pannable_area_button_release_cb),
898 (hildon_pannable_area_scroll_cb),
899 (hildon_pannable_area_scroll_to): Review the timeout management of
900 the scrollbar, the frecuency was incorrectly set.
902 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
904 * src/hildon-picker-button.c:
905 (+hildon_picker_button_on_dialog_response),
906 (hildon_picker_button_clicked): Present the dialog instead of
907 running it with gtk_dialog_run().
909 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
912 2009-01-07 Alberto Garcia <agarcia@igalia.com>
914 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
915 (hildon_app_menu_finalize): When a window is hidden it doesn't
916 emit notify::is-topmost, so make sure than the menu also
917 disappears in that case.
918 (parent_window_topmost_notify): Renamed from parent_window_hidden
920 Fixes: NB#94460 (stackable window's menu is not closed when its
923 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
925 * src/hildon-touch-selector-entry.c:
926 (+hildon_touch_selector_entry_set_input_mode),
927 (+hildon_touch_selector_entry_get_input_mode):
928 * src/hildon-touch-selector-entry.h: New methods to access the input
929 mode in the selector's entry.
931 Fixes: NB#93410 (API required for setting IM mode in
932 HildonTouchSelectorEntry)
934 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
936 * configure.ac: post release version bump.
937 * debian/changelog: version bump
939 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
944 * configure.ac: Bump version.
945 * debian/changelog: Updates.
947 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
949 * src/hildon-touch-selector.c:
950 (_hildon_touch_selector_has_multiple_selection): No need
951 to initialize the variables here.
953 2008-12-17 Alberto Garcia <agarcia@igalia.com>
955 * src/hildon-note-private.h
956 * src/hildon-note.c (event_box_press_event, hildon_note_init)
957 (hildon_note_finalize, hildon_note_rebuild): Close information
958 notes when they receive a button press.
960 Fixes: NB#89890 (Information notes does not get disappeared after
963 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
965 * src/hildon-wizard-dialog.c: (create_title): Remove translation
966 mark from the wizard title, as it's not really necessary. Also,
967 do not display the page title if not set.
969 2008-12-17 Alberto Garcia <agarcia@igalia.com>
971 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
972 (parent_window_hidden): Use the window's "is-topmost" property to
973 detect when to hide the menu.
975 2008-12-16 Alberto Garcia <agarcia@igalia.com>
977 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
978 (hildon_app_menu_finalize): If the parent window of the menu is
979 hidden, hide the menu too.
981 Fixes: NB#94460 (stackable window's menu is not closed when its
984 2008-12-16 Alberto Garcia <agarcia@igalia.com>
987 * debian/libhildon1-examples.install
989 * examples/Makefile.am:
990 Use dh_install to install all examples.
991 Use DEB_SRCDIR instead of defining SOURCE_DIR
993 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
995 * configure.ac: post release version bump.
996 * debian/changelog: version bump
998 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1003 * configure.ac: bump version
1004 * debian/changelog: updates
1005 * debian/control: bump gtk+ dependency
1007 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1009 patch by Christian Dywan (christian@imendio.com)
1011 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1012 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1014 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1016 * src/hildon-check-button.c (hildon_check_button_init)
1017 (hildon_check_button_class_init, hildon_check_button_style_set)
1018 (hildon_check_button_apply_style):
1019 New "checkbox-size" style property.
1021 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1022 larger / configurable size)
1024 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1026 * configure.ac: post release version bump.
1027 * debian/changelog: version bump
1029 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1034 * configure.ac: bump version
1035 * debian/changelog: updates
1037 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1039 * doc/hildon-sections.txt
1040 * src/hildon-pannable-area.c
1041 * src/hildon-program.c
1042 * src/hildon-time-editor.c
1043 * src/hildon-touch-selector-entry.c:
1045 More documentation updates.
1047 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1049 * doc/hildon-sections.txt
1050 * src/hildon-caption.c
1051 * src/hildon-code-dialog.c
1052 * src/hildon-color-button.c
1053 * src/hildon-controlbar.c
1054 * src/hildon-date-editor.c
1055 * src/hildon-date-selector.c
1056 * src/hildon-edit-toolbar.c
1057 * src/hildon-find-toolbar.c
1058 * src/hildon-font-selection-dialog.c
1060 * src/hildon-program.c
1061 * src/hildon-range-editor.c
1062 * src/hildon-seekbar.c
1063 * src/hildon-time-editor.c
1064 * src/hildon-time-selector.c
1065 * src/hildon-volumebar-range.c
1066 * src/hildon-volumebar.c
1067 * src/hildon-vvolumebar.c
1068 * src/hildon-weekday-picker.c
1069 * src/hildon-window.c
1070 * src/hildon-wizard-dialog.c:
1072 Lots of documentation fixes.
1074 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1076 Patch contributed by Iván Gómez (igomez@igalia.com)
1078 * src/hildon-check-button.c:
1079 * src/hildon-date-button.c:
1080 * src/hildon-date-selector.c:
1081 * src/hildon-dialog.c:
1082 * src/hildon-edit-toolbar.c:
1083 * src/hildon-entry.c:
1084 * src/hildon-picker-button.c:
1085 * src/hildon-program.c:
1086 * src/hildon-text-view.c:
1087 * src/hildon-time-button.c:
1088 * src/hildon-touch-selector-entry.c:
1089 * src/hildon-window-stack.c:
1091 Add more "since" tags to the new API.
1093 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1095 * doc/hildon-sections.txt: Add below method.
1096 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1097 version for the hildonized scale.
1098 * src/hildon-gtk.h: Add the definition.
1100 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1102 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1104 * doc/hildon-sections.txt: Add missing entries for new methods.
1106 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1108 Added API to pannable are in order to get its adjustments. We
1109 added two properties to manage the values we had in the private
1112 * src/hildon-pannable-area.c:
1113 (hildon_pannable_area_class_init): Added hadjustment and
1114 vadjustment properties in order to expose horizontal and vertical
1116 (hildon_pannable_area_get_property),
1117 (hildon_pannable_area_set_property): Added code to handle the new
1119 (hildon_pannable_area_get_hadjustment),
1120 (hildon_pannable_area_get_vadjustment): API functions to get the
1122 * src/hildon-pannable-area.h:
1123 (hildon_pannable_area_get_hadjustment),
1124 (hildon_pannable_area_get_vadjustment): API functions to get the
1127 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1129 Fixed some leaks, after valgrinding.
1131 * src/hildon-touch-selector.c:
1132 (_default_print_func): Fixed a leak.
1133 (hildon_touch_selector_append_column): Fixed a leak.
1134 * src/hildon-date-button.c:
1135 (hildon_date_button_init): Fixed a leak.
1136 * src/hildon-date-selector.c
1137 (hildon_date_selector_finalize): Fixed a leak.
1139 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1141 Based on a patch by Christian Dywan (christian@imendio.com)
1143 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1145 * src/hildon-gtk.h: Add definition.
1147 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1149 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1151 * src/hildon-picker-button.c: (hildon_picker_button_init),
1152 (hildon_picker_button_new): Set the HildonButton::style property
1153 in the init method, to propagate the value to the derived classes.
1155 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1157 * src/hildon-button.c: (hildon_button_class_init): Do not make
1158 the "style" property a construct property.
1160 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1162 * src/hildon-wizard-dialog.h
1163 * src/hildon-wizard-dialog.c
1164 (hildon_wizard_dialog_set_forward_page_func)
1165 * src/hildon-pannable-area.h
1166 * src/hildon-pannable-area.c
1167 (hildon_pannable_area_set_size_request_policy):
1168 Documentation fixes.
1170 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1172 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1174 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1176 * doc/hildon-sections.txt: Added sections file.
1178 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1181 * src/*.[ch]: Updates.
1183 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1185 * examples/hildon-progress-indicator-example.c: new file
1186 * examples/Makefile.am: include the new example program
1188 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1190 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1192 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1194 * configure.ac: post release version bump
1195 * debian/changelog: version bump
1197 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1202 * configure.ac: bump version
1203 * debian/changelog: updates
1204 * debian/control: bump gtk+ dependency
1206 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1208 * src/hildon-dialog.c: Mark as deprecated.
1209 * src/hildon-dialog.h: Mark as deprecated.
1210 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1211 from HildonDialog and still work, even if
1212 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1213 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1215 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1216 maemo changes) instead)
1218 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1220 * src/hildon-pannable_area.h:
1221 * src/hildon-pannable_area.c:
1222 (hildon_pannable_area_class_init),
1223 (hildon_pannable_area_set_property),
1224 (hildon_pannable_area_get_property),
1225 (hildon_pannable_area_size_request),
1226 (hildon_pannable_area_get_size_request_policy),
1227 (hildon_pannable_area_set_size_request_policy): Added new API
1228 allowing applications to control the request policy. Now they can
1229 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1230 children allocation (HILDON_MOVEMENT_CHILDREN).
1232 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1236 (hildon_gtk_tree_view_set_ui_mode)
1237 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1238 mode of treeviews and iconviews.
1240 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1242 * src/hildon-touch-selector-entry.c:
1243 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1244 of a GtkEntry to get proper theming.
1246 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1247 widget, not GtkEntry)
1249 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1251 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1252 no HildonWizardDialogPageFunc.
1254 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1256 Patch contributed by Iván Gómez (igomez@igalia.com)
1258 * src/hildon-app-menu.c:
1259 * src/hildon-button.c:
1260 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1261 * src/hildon-stackable-window.c:
1262 * src/hildon-time-selector.c:
1263 * src/hildon-touch-selector.c:
1264 * src/hildon-window.c:
1266 Add more "since" tags to the new API in hildon 2.2.
1268 2008-12-05 Tim Janik <timj@imendio.com>
1270 Patch contributed by Christian Dywan (christian@imendio.com)
1272 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1273 HildonSizeType, which are supplied by Gtk+ now.
1275 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1277 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1278 (with maemo changes) instead)
1280 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1282 Patch contributed by Iván Gómez (igomez@igalia.com)
1284 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1287 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1289 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1290 (some_page_func), (main): Update the example to use a
1291 HildonWizardDialogPageFunc function.
1293 * src/hildon-wizard-dialog-private.h: Add private data for
1294 the HildonWizardDialogPageFunc function usage.
1296 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1297 (destroy), (hildon_wizard_dialog_init), (response),
1298 (hildon_wizard_dialog_set_forward_page_func):
1299 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1300 that applications can use to stop a HildonWizardDialog to jump to
1303 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1306 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1308 * src/hildon-program.h
1309 * src/hildon-program-private.h
1310 * src/hildon-program.c (hildon_program_init)
1311 (hildon_program_set_common_app_menu)
1312 (hildon_program_get_common_app_menu):
1313 New API for setting a common HildonAppMenu for all
1314 HildonStackableWindows registered with the HildonProgram.
1316 * src/hildon-stackable-window.c
1317 (hildon_stackable_window_toggle_menu):
1318 Use the common HildonAppMenu if a window doesn't have a specific
1321 * src/hildon-app-menu-private.h
1322 * src/hildon-app-menu.c
1323 (hildon_app_menu_get_parent_window):
1324 Function to obtain the window a HildonAppMenu is attached to.
1325 (hildon_app_menu_set_parent_window):
1326 Hide the menu if the parent window is set to NULL.
1328 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1330 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1331 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1332 search widget to popup.
1334 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1336 * configure.ac: post release version bump
1337 * debian/changelog: version bump
1339 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1344 * configure.ac: bump version
1345 * debian/changelog: updates
1347 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1349 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1351 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1352 (hildon_window_stack_window_realized)
1353 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1354 Set the leader GdkWindow when a window is stacked and realized,
1355 unset it when it's unstacked.
1356 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1358 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1360 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-stackable-window.h
1363 * src/hildon-window-stack.h:
1364 Protect definition of HildonWindowStack using the preprocessor.
1366 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1368 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1369 Fix warning if all menu items are hidden.
1371 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1373 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1375 * src/hildon-controlbar.c:
1376 * src/hildon-hvolumebar.c:
1377 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1378 Multiple scale size defines updates.
1380 Fixes: NB#94322 (Scale Updates)
1382 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1384 * examples/hildon-app-menu-example.c (create_menu)
1385 Show items after adding them to the menu, as in the future the
1386 menu will no longer call gtk_widget_show() on the added items.
1388 * src/hildon-app-menu.c:
1389 Update example as explained above.
1391 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1393 * src/hildon-app-menu.c
1394 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1395 Make sure that all menu items have finger height.
1397 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1399 * src/hildon-picker-dialog.c:
1400 (_on_dialog_response), (_save_current_selection),
1401 (_restore_current_selection), (_clean_current_selection),
1402 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1403 Defined new functions in order to save the current internal selector
1404 selection previous open the dialog, in case that the use cancel the
1405 interaction, so the widget restores the previous selection.
1407 Fixes: NB#92032 (In calendar application, date values in 'new event'
1410 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1412 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1414 * src/hildon-button.c: Add a reference to the button examples in
1415 hildon-button-example.c
1417 * examples/hildon-button-example.c: Added examples of the most
1418 common button layouts.
1420 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1422 * src/hildon-app-menu.c (hildon_app_menu_show)
1423 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1425 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1427 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1429 * src/hildon-picker-dialog.c:
1430 (hildon_picker_dialog_init): Initialize the signal id for
1431 HildonTouchSelector::columns-changed.
1432 (+on_selector_columns_changed): Set up the interaction mode everytime a
1433 column is added or removed from the HildonTouchSelector.
1434 (_hildon_picker_dialog_set_selector): Connect to
1435 HildonTouchSelector::columns-changed and keep track of it.
1437 Make sure to update the interaction mode of the dialog everytime a
1438 column is added or removed in the HildonTouchSelector.
1440 Fixes: NB#93228 (Done button is not shown always in listpicker)
1442 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1444 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1445 a new ::columns-changed signal.
1446 (hildon_touch_selector_append_column): Emit ::columns-changed.
1447 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1449 Add a ::columns-changed signal, emitted when the number of columns in a
1450 HildonTouchSelector changes.
1452 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1454 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1455 (_hildon_picker_dialog_set_selector): Factor out the code
1456 to set up the dialog interaction mode.
1458 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1460 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1461 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1462 to signal_changed_id.
1464 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1466 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1469 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1471 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1472 Updated the logical ids related to ampm format, as now it is required to
1473 show it correctly localized even on languages with no default
1474 abbreviations for am or pm
1475 (_check_am_pm_format): check correctly the 24h format gconf property
1477 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1479 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1481 * src/hildon-button.c: Documentation updates.
1483 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1485 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1486 * src/hildon-caption.c: (hildon_caption_class_init):
1487 * src/hildon-color-button.c: (hildon_color_button_class_init):
1488 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1489 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1490 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1491 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1493 Remove deprecated GTK+ marshalers and replace them with the ones
1494 provided by GLib, for those available, add a marshaler for
1495 BOOLEAN:VOID, which is not available in GLib, and use it.
1497 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1499 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1500 the text from the previous column if there is no
1501 HildonTouchSelectorColumn::text-property set.
1503 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-button.h
1506 * src/hildon-button.c (hildon_button_set_property)
1507 (hildon_button_get_property, hildon_button_class_init)
1508 (hildon_button_set_style, hildon_button_get_style):
1509 New "style" property to change the visual appearance of the
1512 * src/hildon-picker-button.c (hildon_picker_button_new):
1513 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1515 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1516 HildonButton look like PickerButton)
1518 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1520 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1521 column while building the default string.
1523 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1525 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1526 scroll indicator by default.
1528 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1530 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1532 * src/hildon-main.c: Fix the documentation for hildon_init()
1534 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1536 * doc/hildon-docs.sgml
1540 * src/hildon-window-stack-private.h
1541 * src/hildon-window-stack.h
1542 * src/hildon-window-stack.c:
1543 New HildonWindowStack object, that adds support for multiple
1544 stacks of windows per process.
1546 * src/hildon-stackable-window-private.h
1547 * src/hildon-stackable-window.h
1548 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1549 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1550 (hildon_stackable_window_show, hildon_stackable_window_hide)
1551 (hildon_stackable_window_class_init)
1552 (hildon_stackable_window_init):
1553 Use HildonWindowStack for stack management.
1555 * src/hildon-program.c (hildon_program_pop_window_stack)
1556 (hildon_program_peek_window_stack)
1557 (hildon_program_go_to_root_window):
1558 Add a fallback implementation to the deprecated functions using
1561 * examples/hildon-stackable-window-example.c:
1562 Use the new HildonWindowStack API.
1564 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1566 * src/hildon-stackable-window-private.h
1567 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1568 (hildon_stackable_window_hide, hildon_stackable_window_init):
1569 Remove all window stack management.
1571 * src/hildon-program-private.h
1572 * src/hildon-program.h
1573 * src/hildon-program.c (hildon_program_init)
1574 (hildon_program_pop_window_stack)
1575 (hildon_program_peek_window_stack)
1576 (hildon_program_go_to_root_window):
1577 Remove all window stack management and mark functions as
1580 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-app-menu.c (hildon_app_menu_realize):
1583 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1585 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1587 * configure.ac: post release version bump
1588 * debian/changelog: version bump
1590 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1595 * configure.ac: bump version
1596 * debian/changelog: updates
1598 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1600 Based on initial code by Christian Dywan (christian@imendio.com)
1602 * doc/hildon-docs.sgml: Add section for hildon-main.
1603 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1604 * src/Makefile.am: Add new hildon-main.[ch]
1605 * src/hildon-defines.h: Update the icon sizes.
1606 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1607 new library initialization files and register icon sizes.
1608 * src/hildon-main.h: New declarations.
1609 * src/hildon.h: Include hildon-main.h
1611 Add new initialization functions to the library. These methods
1612 will register the hildon specific icon sizes and can be used in the
1613 future for other hildon specific bits.
1615 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1617 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1619 * src/hildon-window.c: (hildon_window_realize),
1620 (hildon_window_notify), (-hildon_window_update_title): Do not set
1621 the application name in the window title.
1623 Fixes: NB#89754 (Applications shouldn't display their names in the
1626 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1628 * src/hildon-note-private.h:
1629 * src/hildon-note.c: (hildon_note_set_property),
1630 (hildon_note_get_property), (hildon_note_class_init),
1631 (hildon_note_init), (hildon_note_finalize),
1632 (hildon_note_new_confirmation_with_icon_name),
1633 (hildon_note_new_information_with_icon_name):
1635 No need to mark as deprecated the actual code. Revert
1636 to avoid missing symbols in widgets using deprecated API.
1638 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1640 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1642 * src/hildon-volumebar.h
1643 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1644 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1646 * src/hildon-helper.h
1647 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1648 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1650 * examples/Makefile.am:
1651 Deprecate hildon-insensitive-example
1653 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1655 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1657 * examples/hildon-pannable-area-buttons-scroll-example.c:
1658 Make all buttons finger height
1660 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1662 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1664 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1665 update the day model only if it is really required, and to avoid the
1666 full-reconstruction aproach. Now it only add or remove the required days.
1668 The purpose of this is avoid superfluous HildonTouchSelector::changed
1671 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1672 with strange parameters)
1674 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1676 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1678 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1679 the WINDOW_TYPE property.
1681 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1683 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1686 Fix dependency to allow parallel compilation with make -jX
1688 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1690 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1691 color frame and some minor tweaks to make it more consistent with
1694 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1695 highlighted but not visible)
1697 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1699 * examples/Makefile.am: Fixed typo in the Makefile.am.
1701 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1703 Reviewed the use of MAEMO_GTK define, now we add the define in the
1704 compilation line, and we also add it to the pc file.
1706 * configure.ac: Added MAEMO_GTK define to the compilation command
1707 and removed it from the config.h.
1709 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1710 do not have to take care about this define if the library was
1714 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1716 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1718 * examples/Makefile.am,
1719 * examples/hildon-pannable-area-buttons-scroll-example.c,
1720 * examples/hildon-pannable-area-gesture-signals-example.c,
1721 * examples/hildon-pannable-area-scroll-jump-example.c,
1722 * examples/hildon-pannable-area-tree-view-example.c:
1723 Renamed the pannable area examples, now they have more meaningful
1726 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1728 * src/hildon-touch-selector.c:
1729 (hildon_touch_selector_set_column_selection_mode): Used of
1730 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1731 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1732 to avoid re-seting the same selection mode.
1734 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1735 breaks HildonPickerDialog)
1737 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1739 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1740 conditional in the Makefile.am
1742 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1744 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1745 Remove unused methods.
1747 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1749 * src/hildon-button.c (hildon_button_init):
1750 Make button images center-aligned by default
1752 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1755 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1756 activated, we have to think about how to deal with both defines
1757 MAEMO_GTK and MAEMO_CHANGES.
1759 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1761 * examples/hildon-app-menu-example.c (create_menu): Make all
1762 buttons finger size.
1764 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1766 Fixed the compilation without maemo gtk adding ifdefs with
1767 MAEMO_GTK define to the code, we have to check this version more
1770 * examples/Makefile.am: Added control to avoid some examples that
1771 just make sense with maemo gtk.
1774 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1775 hildon modes with the define.
1777 * examples/hildon-edit-toolbar-example.c,
1778 (create_icon_view): Create the icon view without hildon-gtk
1779 helpers if we are not using maemo gtk.
1781 * src/hildon-touch-selector.c,
1782 (_create_new_column): Create the treeview without hildon-gtk
1783 helpers if we are not using maemo gtk.
1785 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1787 * src/hildon-pnnable-area.c,
1788 (hildon_pannable_area_dispose),
1789 (hildon_pannable_area_button_press_cb),
1790 (hildon_pannable_area_child_mapped),
1791 (hildon_pannable_area_add),
1792 (hildon_pannable_area_remove): Added code to control the position
1793 of the event_window when adding and removing children from the
1794 pannable. We have to raise the event window when the child is
1797 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1798 selection mode using custom widget inside pannable)
1800 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1802 * configure.ac: post release version bump
1803 * debian/changelog: version bump
1805 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1810 * configure.ac: bump version
1811 * debian/changelog: updates
1813 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1815 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1816 search mode, in order to avoid lose the focus on the treeview when
1817 a hw key (like enter) is pressed.
1819 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1820 in HildonDateSelector dialog)
1822 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1824 * debian/rules: Added --enable-maintainer-mode
1825 * Makefile.am: Added ACLOCAL_AMFLAGS
1827 This allows to properly regenerate the Makefiles if you modify the
1828 configure.ac or any Makefile.am.
1830 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1832 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1833 properties, not needed at all.
1835 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1837 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1839 * src/hildon-note.c: (hildon_note_set_property),
1840 (hildon_note_get_property), (hildon_note_class_init),
1841 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1842 (hildon_note_new_confirmation_add_buttons): Remove icons.
1843 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1844 (hildon_note_new_information_with_icon_name): Deprecate.
1845 (hildon_note_new_confirmation): Act directly, without calling
1846 the deprecated constructor.
1847 (hildon_note_new_information): Act directly, without calling
1848 the deprecated constructor.
1849 * src/hildon-note.h: Mark deprecate methods as such.
1850 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1851 not run tests on the deprecated methods if built with deprecation
1854 Fixes: NB#91688 (Never show icons in information notes/confirmation
1857 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1859 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1860 (hildon_app_menu_key_press): Remove leftover usage of the
1861 private structure in HildonAppMenu struct.
1862 * src/hildon-app-menu.h: Remove leftover private structure
1863 from the HildonAppMenu struct.
1865 Fixes a crasher when using the HildonAppMenu.
1867 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1869 * src/hildon-picker-dialog.c: Use appropriate logical id
1870 for the default "Done" text.
1872 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1874 * configure.ac: post release version bump
1875 * debian/changelog: version bump
1877 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1879 Modified the way to scroll to the current selection just when the touch
1880 selector is shown on the screen, avoiding a g_idle. Added too a property
1881 to configure this behaviour. See hildon_pannable_area_jump_to_child
1882 documentation for more information.
1884 * src/hildon-touch-selector.c
1885 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1886 Added 'initial-scroll' property
1887 (hildon_touch_selector_set_property): Added
1888 (hildon_touch_selector_map): Removed as not required anymore
1889 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1890 only a concrete column, instead of iterate along all the columns
1892 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1897 * configure.ac: bump version
1898 * debian/changelog: updates
1900 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1902 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1903 compilation time warnings.
1905 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1908 the default value for HildonPannableArea::mov-mode to
1909 HILDON_PANNABLE_AREA_MODE_VERT.
1911 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1913 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1915 Reverting following commit:
1917 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1919 * src/hildon-app-menu-private.h
1920 * src/hildon-app-menu.[ch]
1921 * src/hildon-button.[ch]
1922 * src/hildon-check-button.[ch]
1923 * src/hildon-entry.[ch]
1924 * src/hildon-pannable-area.[ch]
1925 * src/hildon-text-view.[ch]:
1926 Added private field to the object's structure.
1928 because it causes an ABI breakage. We will need to introduce these
1929 changes later at some point. See NB#91636 for an extensive
1930 explanation and status.
1932 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1934 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1936 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1937 remove special cases that are no longer necessary.
1939 Fixes: NB#91016 (Change toolbar sizes, simplification)
1941 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1943 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1944 is shown in the cancel note.
1946 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1948 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1949 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1950 (hildon_seekbar_init): Remove steppers, remove expose event.
1951 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1953 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1955 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1957 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1958 label font to "SmallSystemFont" for vertically arranged buttons.
1960 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1963 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1965 * src/hildon-check-button.c
1966 (hildon_check_button_set_active, hildon_check_button_clicked):
1967 Don't access private parts directly, use getters instead.
1969 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1971 * src/hildon-check-button.c (hildon_check_button_new):
1972 Align the contents of the check button to the left.
1974 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1976 * src/hildon-pannable-area.c,
1977 (hildon_pannable_area_scroll_to),
1978 (hildon_pannable_area_jump_to),
1979 (hildon_pannable_area_scroll_to_child),
1980 (hildon_pannable_area_jump_to_child): Replace the mapped
1981 precondition of these functions with the realized, it is the
1982 correct state of the widget in this case. Changed the
1983 documentation according to this modification.
1985 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1987 Added a new EXTRA_CFLAGS option to add the deprecated define to
1988 the compilation command. This way we can avoid using the define in
1989 the documentation compilation.
1991 * configure.ac: Defined EXTRA_CFLAGS.
1993 * examples/Makefile.am:
1995 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1997 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1999 * src/hildon-picker-dialog.c:
2000 Defined a utility macro with the desired touch selector height
2001 Removed currently unused separator, and title_label variables from
2003 (hildon_picker_dialog_init): Removed code related to the creation
2004 of unused private variables title_label and separator.
2005 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2006 to ensure correct visualization of the touch selector inside the dialog.
2007 * src/hildon-touch-selector.c
2008 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2009 ensure a concrete height of the widget.
2011 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2014 * tests/Makefile.am:
2016 Remove spurious whitespaces.
2018 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2020 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2021 compilation warning after the cancel button removal.
2023 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2025 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2027 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2028 Makefile.am, that way we can choose not to compile some examples
2029 and tests of the deprecated widgets.
2031 * examples/Makefile.am: Divided the sources in deprecated and
2034 * src/Makefile.am: Added undef statement of the deprecated
2035 symbol to the enums file generation process.
2037 * src/hildon-color-chooser-dialog.c
2038 * src/hildon-color-chooser-dialog.h
2039 * src/hildon-color-button.c
2040 * src/hildon-color-button.h
2041 * src/hildon-color-chooser.c
2042 * src/hildon-color-chooser.h
2043 * src/hildon-controlbar.c
2044 * src/hildon-controlbar.h
2045 * src/hildon-date-editor.c
2046 * src/hildon-date-editor.h
2047 * src/hildon-hvolumebar.c
2048 * src/hildon-hvolumebar.h
2049 * src/hildon-private.c
2050 * src/hildon-private.h
2051 * src/hildon-range-editor.c
2052 * src/hildon-range-editor.h
2053 * src/hildon-seekbar.c
2054 * src/hildon-seekbar.h
2055 * src/hildon-time-editor.c
2056 * src/hildon-time-editor.h
2057 * src/hildon-time-picker.c
2058 * src/hildon-time-picker.h
2059 * src/hildon-volumebar.c
2060 * src/hildon-volumebar.h
2061 * src/hildon-vvolumebar.c
2062 * src/hildon-vvolumebar.h
2063 * src/hildon-bread-crumb-trail.h
2064 * src/hildon-bread-crumb-trail.c
2065 * src/hildon-calendar-popup.c
2066 * src/hildon-calendar-popup.h
2067 * src/hildon-weekday-picker.c:
2068 * src/hildon-weekday-picker.h:
2069 * src/hildon-bread-crumb-widget.c:
2070 * src/hildon-bread-crumb-widget.h:
2071 * src/hildon-bread-crumb.c:
2072 * src/hildon-bread-crumb.h:
2073 * src/hildon-calendar.c:
2074 * src/hildon-calendar.h:
2075 * src/hildon-caption.c:
2076 * src/hildon-code-dialog.c:
2077 * src/hildon-code-dialog.h:
2078 * src/hildon-font-selection-dialog.c:
2079 * src/hildon-font-selection-dialog.h:
2080 * src/hildon-get-password-dialog.c:
2081 * src/hildon-get-password-dialog.h:
2082 * src/hildon-login-dialog.c:
2083 * src/hildon-login-dialog.h:
2084 * src/hildon-number-editor.c:
2085 * src/hildon-number-editor.h:
2086 * src/hildon-set-password-dialog.c:
2087 * src/hildon-set-password-dialog.h:
2088 * src/hildon-sort-dialog.c:
2089 * src/hildon-sort-dialog.h: This is the list of deprecated
2092 * src/hildon-touch-selector.c:
2093 * src/hildon-window.c: Added undef statement to avoid compilation
2096 * tests/Makefile.am: Divided the sources in deprecated and
2099 * tests/check_test.c,
2100 (configure_tests): Marked the deprecated code that was adding
2101 suites with deprecated tests.
2103 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2105 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2107 * src/hildon-touch-selector.c: (_default_print_func): Do not
2108 duplicate a string returned by gtk_tree_model_get(), it is already
2111 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2114 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2116 * src/hildon-pannable-area.c
2117 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2118 method, it had problems when adding a widget with viewport the
2119 second time. Now checks if it already has a viewport and uses it.
2121 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2124 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2126 * src/hildon-pannable-area.c,
2127 (hildon_pannable_area_scroll_to),
2128 (hildon_pannable_area_jump_to),
2129 (hildon_pannable_area_scroll_to_child),
2130 (hildon_pannable_area_jump_to_child): Added a precondition to the
2131 scroll and jump to functions: the widget must be mapped before we
2132 can safely call these functions. We have also added documentation
2133 to the functions to explain how to use them in this situation.
2136 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2138 Reviewed the threading handling of the pannable widget, we have
2139 used the gdk_threads_add_timeout function instead of the usual
2140 glib handlers. This avoids some problems with the threads.
2142 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2143 (hildon_pannable_area_initial_effect),
2144 (hildon_pannable_area_scroll_indicator_fade),
2145 (hildon_pannable_area_button_press_cb),
2146 (hildon_pannable_area_timeout),
2147 (hildon_pannable_area_motion_notify_cb),
2148 (hildon_pannable_area_button_release_cb),
2149 (hildon_pannable_area_scroll_cb),
2150 (hildon_pannable_area_scroll_to): Removed the
2151 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2152 gdk_threads_add_timeout.
2154 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2156 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2161 * configure.ac: bump version
2162 * debian/changelog: updates
2164 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2166 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2167 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2168 * src/hildon-color-chooser-dialog.c:
2169 (hildon_color_chooser_dialog_init):
2170 * src/hildon-font-selection-dialog.c:
2171 (hildon_font_selection_dialog_init):
2172 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2174 Remove all cancel/close-like dialogs, as these are not going to be
2177 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2179 * src/hildon-note.c: (hildon_note_rebuild),
2180 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2183 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2185 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2187 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2188 sure all buttons are shown, even the Cancel/Close-like ones.
2190 Fixes: NB#90861 (Custom Confirmation dialogs should be
2191 protected from cancel button removal)
2193 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2195 * debian/control: Change libhildon1-examples dependency from libhildon1
2197 * debian/libhildon1-examples.install
2199 * Makefile.am: Modified the final install directory for the examples on
2200 package libhildon1-examples
2201 * Makefile.static: Update clean target in order to remove all the binary
2204 Changes suggested by Claudio after review new libhildon1-examples package
2206 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2208 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2209 * src/hildon-touch-selector.c: Ditto.
2211 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2213 * debian/control: Added new package libhildon1-examples, in order to pack
2214 the current hildon examples as documentation
2215 * debian/rules: Not to compress .c files, modify some includes on the
2216 examples (as normally are compiled locally, but when installed it will
2217 require to include the installed libhildon1 library), and rename
2219 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2220 install all the example files on the new example package
2221 * examples/Makefile.static: Added static makefile that can be used to
2222 compile the examples, once installed the new example package
2223 * examples: Most of the examples were modified in order to grant that
2224 all use only '#include "hildon.h"', in order to be easy to prepare
2225 it on the example package
2227 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2230 * debian/libhildon1-dev.install
2231 * debian/libhildon1-doc.install:
2232 Move all gtk-doc files to a separate libhildon1-doc package.
2234 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2236 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2238 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2240 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2242 * debian/rules: Fixed a error in order to avoid unnecessary calls
2243 to autogen.sh on package building
2245 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2247 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2249 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2251 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2254 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2256 * src/hildon-picker-button.c
2257 (hildon_picker_button_finalize):
2258 Free priv->done_button_text
2260 * src/hildon-time-button.c
2261 (hildon_time_button_set_time)
2262 * src/hildon-picker-button.c
2263 (hildon_picker_button_clicked)
2264 (hildon_picker_button_selector_selection_changed)
2265 (hildon_picker_button_set_selector)
2266 * src/hildon-date-button.c
2267 (hildon_date_button_set_date):
2268 Free strings returned by hildon_touch_selector_get_current_text()
2270 * src/hildon-button.c (hildon_button_construct_child):
2271 Fix leaks in priv->image and priv->label_box
2273 Fixes: NB#90535 (Memory leak in picker button)
2275 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2277 * src/hildon-button.c: (hildon_button_get_property): Do not access
2278 private elements directly, use getters instead.
2280 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2282 * src/hildon-app-menu-private.h
2283 * src/hildon-app-menu.c
2284 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2285 Store the menu's parent window.
2287 * src/hildon-stackable-window.c
2288 (hildon_stackable_window_toggle_menu)
2289 (hildon_stackable_window_finalize):
2290 Set the menu's parent window when the menu is shown, unset it when
2293 * src/hildon-app-menu.c
2294 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2295 (hildon_app_menu_class_init):
2296 Send unhandled keyboard accelerators to the parent window.
2298 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2300 * src/hildon-stackable-window.c
2301 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2303 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2305 * configure.ac: post release version bump
2307 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2310 * configure.ac: Bump version
2311 * debian/changelog: Updates
2312 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2315 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2317 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2320 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2321 GtkMenu with Hildon style.
2323 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2325 * src/hildon-picker-button.c:
2326 (hildon_picker_button_set_done_button_text): Set the dialog's
2327 done button text here as well.
2329 Fixes: NB#90232 (Picker button does not set the label on done button
2330 for the second time)
2332 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2334 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2337 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2339 * src/hildon-app-menu.c (hildon_app_menu_insert)
2340 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2341 the HildonAppMenu to be activatable using keyboard accelerators
2342 when the menu is not being shown.
2344 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2346 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-stackable-window.c
2349 (hildon_stackable_window_show):
2350 Don't hide old windows automatically when new windows are shown:
2351 this is now a task for the window manager.
2352 (hildon_stackable_window_class_init)
2353 (hildon_stackable_window_hide):
2354 Remove windows from the stack everytime they're hidden.
2355 (hildon_stackable_window_realize):
2356 Don't change the _NET_WM_WINDOW_TYPE property. Use
2357 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2358 it as a stackable window.
2360 * src/hildon-program.c
2361 (hildon_program_pop_window_stack):
2362 Just hide the window to remove it from the stack.
2363 (hildon_program_go_to_root_window):
2364 Don't call gtk_widget_show(), this is now a task for the window
2367 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2369 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2371 * src/hildon-button.c
2372 (hildon_button_construct_child):
2373 Don't pack anything in the button until text or image are
2374 set. This allows adding a custom child after creating the button
2375 with hildon_button_new().
2376 (hildon_button_finalize, hildon_button_class_init)
2377 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2378 alignment and the label box even when they're not packed in the
2381 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2383 * src/hildon-touch-selector.h:
2384 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2385 currently the type definition was using GTK_TYPE_VBOX
2386 * src/hildon-touch-selector.c:
2387 Added some implementation notes in order to clarify that any other widget
2388 added without the column related API will not be included on the
2389 selection logic, and how the widget is freed, as some people ask about
2391 (hildon_touch_selector_remove): Reimplemented in order to free properly
2392 the column related data when you remove the private hbox.
2393 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2394 to get a proper HildonTouchSelectorColumn documentation
2396 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2398 * src/hildon-touch-selector-entry.c:
2399 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2400 text in the GtkEntry and there is no item selected. Fixes a
2403 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2405 * src/hildon-app-menu-private.h
2406 * src/hildon-app-menu.[ch]
2407 * src/hildon-button.[ch]
2408 * src/hildon-check-button.[ch]
2409 * src/hildon-entry.[ch]
2410 * src/hildon-pannable-area.[ch]
2411 * src/hildon-text-view.[ch]:
2412 Added private field to the object's structure.
2414 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2416 * configure.ac: post-release version bump
2418 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2422 * configure.ac: pre-release version bump
2424 * debian/changelog: updates.
2426 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2429 Disconnect the handler for HildonTouchSelector::changed.
2431 (hildon_picker_button_selector_selection_changed): Update the button
2432 value if the selection change was not triggered by the
2435 (hildon_picker_button_set_selector): connect to
2436 HildonTouchSelector::changed.
2438 Fixes: NB#89650 (Picker button is not updated, when selection in
2439 selector has changed)
2441 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2443 * src/hildon-picker-dialog.c
2444 (hildon_picker_dialog_realize): Removed as not required
2445 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2446 * src/hildon-picker-button.c
2447 (_current_selector_empty): New function, checks if the selector is empty
2448 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2449 if the current selector is empty, in order to avoid to show the dialog
2450 close the dialog in this case (and shows a g_warning).
2452 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2454 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2456 * src/hildon-pannable-area.c,
2457 (hildon_pannable_area_scroll): Added clause to stop movement when
2458 the child of pannable is smaller than one page.
2459 (hildon_pannable_area_scroll_to): Added conditions to avoid
2460 starting the scrolling movement if the child is smaller than one
2461 page, the complete child is in the screen, we do not have to move.
2463 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2465 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2467 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2468 this is managed automatically by the widget when the size of the
2471 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2473 * src/hildon-picker-button.c
2474 (hildon_picker_button_set_done_button_text): Make a copy of the
2475 text, and free the previous value.
2477 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2479 * src/hildon-touch-selector-entry.c:
2480 (hildon_touch_selector_entry_print_func): Return the selected row's
2481 text if the entry is empty.
2483 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2486 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2488 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2490 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2493 * src/hildon-check-button.h
2494 * src/hildon-check-button.c
2495 * examples/hildon-check-button-example.c:
2496 HildonCheckButton is now a new widget. 'toggled' signal added.
2498 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-program-private.h
2501 * src/hildon-program.c (hildon_program_init)
2502 (hildon_program_finalize): Removed unused variables group_leader
2503 and name from HildonProgramPrivate.
2505 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-check-button.c (hildon_check_button_set_active)
2508 (hildon_check_button_get_active, hildon_check_button_new): Use
2509 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2511 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2513 * src/hildon-touch-selector.h
2514 (hildon_touch_selector_set_column_attributes): added deprecation
2515 guard HILDON_DISABLE_DEPRECATED
2516 * src/hildon-time-selector.c
2517 (hildon_time_selector_set_time)
2518 (hildon_time_selector_get_time): Fixed a typo on documentation
2519 * src/hildon-touch-selector.c: update HildonTouchSelector and
2520 HildonTouchSelectorColumn documentation
2521 * src/hildon-touch-selector-entry.c: update "text-column" property
2523 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2524 to be added to the general documentation.
2526 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2528 * examples/hildon-pannable-area-example-4.c,
2530 * examples/hildon-pannable-area-example.c,
2531 (main): Modified the code in order to use the container add, with
2532 viewport treeviews could have problems if they are really big.
2534 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2536 * src/hildon-weekday-picker.c,
2537 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2538 the agreement regarding deprecation in the library.
2540 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2542 * examples/hildon-picker-button-multicolumn-example.c:
2543 (main): Use custom "done" button text.
2545 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2546 (hildon_picker_button_set_property),
2547 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2548 (hildon_picker_button_init),
2549 (+hildon_picker_button_get_done_button_text),
2550 (+hildon_picker_button_set_done_button_text): New methods to customize
2551 the "done" button label in the launched HildonPickerDialog. Also,
2554 * src/hildon-picker-button.h: add the public API.
2556 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2558 * src/hildon-date-selector.h:
2559 * src/hildon-picker-dialog.h:
2560 * src/hildon-time-selector.h:
2561 * src/hildon-touch-selector-column.h:
2562 * src/hildon-touch-selector.h:
2564 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2565 declarations. Fixes gtk-doc warnings.
2567 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2569 * src/hildon-picker-dialog.h
2570 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2571 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2573 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2574 long text is set as label for done button)
2576 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2578 * src/hildon-dialog.c (hildon_dialog_add_button):
2579 Set fixed width to all buttons in the HildonDialog.
2581 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2583 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2585 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2586 Set widget name using class name plus "-finger" or "-thumb".
2588 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2590 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2591 'clicked' when the state of the button is manually changed.
2593 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2595 * src/hildon-app-menu.c (hildon_app_menu_realize)
2596 (hildon_app_menu_unrealize, hildon_app_menu_init)
2597 (hildon_app_menu_class_init, item_visibility_changed):
2598 Change the menu layout when the size of the screen changes.
2599 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2600 Show warning only when changing the number of colums using the
2603 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2605 * debian/compat: Set to 5
2606 * debian/control: Update dependencies.
2607 * debian/libhildon1-dbg.install: Remove.
2608 * debian/libhildon1-dev.install: Update according to cdbs paths.
2609 * debian/libhildon1.install: Update according to cdbs paths.
2610 * debian/rules: Switch to cdbs.
2612 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2615 'item' variable renamed to 'filter'
2617 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-app-menu.c (hildon_app_menu_insert)
2620 (hildon_app_menu_add_filter, remove_item_from_list)
2621 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2622 Don't leak hidden items when the menu is destroyed.
2624 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2626 * src/hildon-app-menu.c (hildon_app_menu_insert)
2627 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2628 (hildon_app_menu_set_columns, item_visibility_changed)
2629 (filter_visibility_changed, hildon_app_menu_repack_filters)
2630 (hildon_app_menu_repack_items):
2631 Repack items and filters separately.
2633 Don't repack all items, change only the ones that are needed to
2636 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2638 * src/Makefile.am: added hildon-touch-selector-column.h
2640 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2642 * src/hildon-touch-selector.c: added the property "text-column" to the
2643 class HildonTouchSelectorColumn, and related get/set functions
2644 (_default_printf_func): updated to use "text-column" property
2645 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2646 "text-column" in his documentation, as this is now included on
2647 HildonTouchSelectorColumn. The get/set_property can still be used,
2648 working as a wrapper to the concrete column "text-column" property
2649 (_text_column_modified): callback added in order to handle the signal
2650 "notify::text-column" of the concrete HildonTouchSelectorColumn
2651 (hildon_touch_selector_entry_get_text_column)
2652 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2653 modified in order to use the HildonTouchSelectorColumn "text-column"
2655 * src/hildon-time-selector.c:
2656 * src/hildon-date-selector.c:
2657 * examples/hildon-touch-selector-example.c
2658 * examples/hildon-touch-selector-multi-cells-example.c
2659 * examples/hildon-picker-button-multicolumn-example.c
2660 Set the right value to "text-column" property on the creation of a new
2661 column using hildon_touch_selector_append_column()
2663 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2665 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2667 * src/hildon-app-menu.c
2668 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2669 updating the layout of the menu, don't create all widgets again,
2670 just repack the items in their new places.
2672 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2674 * src/hildon-time-selector.c
2675 (hildon_time_selector_get_time)
2676 (hildon_time_selector_set_time)
2677 Added documentation of these public methods
2679 * src/hildon-date-button.h
2680 * src/hildon-touch-selector-column.h
2681 * src/hildon-time-button.h
2682 * src/hildon-picker-dialog.h
2683 * src/hildon-time-selector.h
2684 * src/hildon-picker-button.h
2685 * src/hildon-touch-selector.h
2686 * src/hildon-time-picker.h
2687 * src/hildon-date-selector.h
2688 * src/hildon-touch-selector-entry.h
2689 Modified in order to use hildon-widgets code style
2691 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2693 Added deprecated support to the compilation process using
2694 HILDON_DISABLE_DEPRECATED
2696 * configure.ac: Added the --disable-deprecated to the configure
2699 * src/hildon-weekday-picker.c:
2700 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2701 to use the deprecated support. We will update the other deprecated
2702 widgets status in a new patch.
2704 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2706 * configure.ac: Fixed typo with fatal warnings support, the
2707 variable name was not correct
2709 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-app-menu.c
2712 * src/hildon-program.c: Update documentation.
2714 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2716 * configure.ac: Post-release version bump.
2718 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2723 * configure.ac: Pre-release version bump.
2724 * debian/changelog: Updates.
2726 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2728 * NEWS: Update news for previous releases.
2730 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2732 * examples/hildon-touch-selector-multi-cells-example.c:
2733 (create_selector): Update the example to use
2734 hildon_touch_selector_append_column() with a NULL renderer and set
2735 the renderers later.
2736 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2737 passed a NULL renderer. This is documented behavior now.
2739 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2740 This must be used if the developer wants full control on the layout of
2741 the renderers to be added to the column.
2743 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2745 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2747 * src/hildon-touch-selector.c: Documentation fixes.
2749 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2751 * src/hildon-wizard-dialog-private.h: Remove image and box.
2752 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2753 (hildon_wizard_dialog_set_property), (response): Completely remove
2754 image/icon support, and the containers required for the layout.
2756 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2758 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2760 * src/hildon-app-menu.c: Updated documentation.
2762 * src/hildon-stackable-window.c
2763 (hildon_stackable_window_set_main_menu): Unref the old menu after
2764 ref'ing the new one.
2766 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2768 * src/hildon-stackable-window.c
2769 (hildon_stackable_window_set_main_menu): Unref the previous menu
2770 instead of destroying it.
2772 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2773 floating reference and set has_user_ref_count to FALSE to make
2774 HildonAppMenu act like a normal ref-counted widget and not a
2777 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2780 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2782 * src/hildon-touch-selector-column.h: new file
2783 * src/hildon-touch-selector.h
2784 * src/hildon-touch-selector.c
2785 Implemented GtkCellLayout interface, in order to allow to configure
2786 the cell layout on each individual selector column
2787 (hildon_touch_selector_set_column_attributes): marked as deprecated
2788 * examples/hildon-touch-selector-multi-cells-example.c
2789 Example of how to use the GtkCellLayout interface on the selector
2791 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2793 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2795 * src/hildon-app-menu.h
2796 * src/hildon-app-menu.c
2797 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2798 (hildon_app_menu_append, hildon_app_menu_prepend):
2799 New methods to prepend, insert and move items in the menu.
2801 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-wizard-dialog.c:
2805 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2807 (create_title): Update logical IDs and related code.
2808 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2810 * src/hildon-wizard-dialog.h: Note that
2811 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2812 point, as it is not used anymore.
2814 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2816 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2818 * src/hildon-note.c:
2819 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2820 shown. Do not display an icon in confirmation notes nor information
2822 (hildon_note_set_button_text): Update logical ID for cancel button.
2824 Fixes: NB#88850 (Update HildonNote button strings + signals)
2826 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2828 * src/hildon-stackable-window.c
2829 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2831 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-app-menu-private.h
2834 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2835 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2836 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2837 temporary property 'columns' to change the number of columns.
2839 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2841 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2843 * examples/hildon-note-example.c: (on_information_clicked),
2844 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2845 debugging information.
2846 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2848 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2849 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2850 in order to close: this will be handled by the WM from now on.
2852 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2854 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-app-menu-private.h
2857 * src/hildon-app-menu.c
2858 (hildon_app_menu_append, hildon_app_menu_add_filter)
2859 (button_visibility_changed, hildon_app_menu_apply_style)
2860 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2861 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2862 layout everytime a button (item or filter) is shown or hidden.
2864 * src/hildon-stackable-window.c
2865 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2868 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2870 * src/hildon-touch-selector.c:
2871 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2872 that the treeview inside the touch selector is in fremantle hildon mode
2873 * examples/hildon-date-button-example.c
2874 * examples/hildon-picker-button-multicolumn-example.c
2875 * examples/hildon-touch-selector-entry-example.c
2876 * examples/hildon-touch-selector-example.c
2877 * examples/hildon-time-button-example.c
2878 * examples/hildon-picker-button-example.c:
2879 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2881 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2883 * examples/hildon-text-view-example.c: (main): Remove the
2884 gtkrc bits, now handled by the theme.
2886 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2888 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2891 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2893 * po/Makefile.am: Install properly the mo files.
2894 * po/en_GB.po: Update translation, to ease testing purposes.
2896 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2898 * examples/hildon-picker-button-example.c: (main): Select an item
2899 in the selector before setting it to the button.
2901 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2903 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2904 Update button's value if the selector has an item active.
2906 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2907 'value' with the selector)
2909 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2911 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2912 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2913 (hildon_picker_button_class_init): Plug the finalize method.
2914 (hildon_picker_button_set_selector): If there's a previously set
2915 selector, unref'it before setting a new one.
2917 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2918 HildonTouchSelector)
2920 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2922 * src/hildon-touch-selector-entry.c:
2923 (hildon_touch_selector_entry_changed): Check if there is no text
2924 selected before setting the entry text.
2927 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-touch-selector.h
2930 * src/hildon-touch-selector.c
2931 (hildon_touch_selector_get_active)
2932 (hildon_touch_selector_set_active): New methods to set/get the
2933 index of the selected item.
2935 * src/hildon-picker-button.h
2936 * src/hildon-picker-button.c
2937 (hildon_picker_button_get_active)
2938 (hildon_picker_button_set_active): New methods to set/get the
2939 index of the selected item.
2941 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2943 * configure.ac: post-release version bump.
2945 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2949 * configure.ac: Pre-release version bump.
2950 * debian/changelog: Updates.
2951 * debian/control: Add myself as maintainer and depend on l10n
2954 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2956 * src/hildon-window.c
2957 (hildon_window_set_main_menu)
2958 * src/hildon-stackable-window.c
2959 (hildon_stackable_window_set_main_menu):
2960 Updated documentation.
2962 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2964 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2965 Don't free selector->priv manually.
2968 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2971 (hildon_gtk_window_set_progress_indicator):
2972 * src/hildon-gtk.h: Added the new API
2973 hildon_gtk_window_set_progress_indicator, it changes the state of
2974 the window progress hint.
2976 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2978 * src/hildon-button.c
2979 * src/hildon-stackable-window.c: Minor documentation updates.
2981 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2983 * src/hildon-stackable-window.c: Updated documentation.
2985 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2987 * src/hildon-defines.h: Update margins definitions
2988 to the Fremantle sizes.
2991 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2993 * src/hildon-touch-selector.c,
2994 (_hildon_touch_selector_set_model): Cleaning the code after
2995 review, removed g_print and #if 0 from the code.
2997 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-edit-toolbar.c: Update documentation.
3001 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-check-button.h
3004 * src/hildon-check-button.c
3005 (hildon_check_button_set_label, hildon_check_button_get_label)
3006 * examples/hildon-check-button-example.c
3007 (button_clicked_cb):
3008 Removed deprecated methods.
3010 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3012 * src/hildon-text-view.c:
3013 Add sample code to the documentation.
3015 * src/hildon-entry.h
3016 * src/hildon-text-view.h:
3017 Minor cosmetic changes.
3019 * src/hildon-entry.c:
3020 Add sample code to the documentation.
3021 (hildon_entry_init, hildon_entry_refresh_contents):
3022 Don't allow NULL values in the placeholder.
3024 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3026 * doc/hildon-docs.sgml
3028 * examples/Makefile.am
3029 * examples/hildon-text-view-example.c
3031 * src/hildon-text-view.c
3032 * src/hildon-text-view.h
3034 New HildonTextView widget, with example.
3036 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3038 * po/POTFILES.in: Add missing files with translatable strings.
3039 Partially fixes NB#88287.
3041 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3043 * examples/hildon-pannable-area-example-2.c: (main): No need to
3044 set the cellrenderer height inside hildon touch lists, the theme does
3047 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3049 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3050 they are integrated in the theme.
3052 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3054 * examples/hildon-entry-example.c: Update the example adding
3055 widgets to modify the text and the placeholder of the HildonEntry.
3057 * src/hildon-entry.c: Show the placeholder everytime the widget
3058 is empty and loses the focus.
3060 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3062 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3064 * src/hildon-pannable-area.c,
3065 (hildon_pannable_area_size_request): Fixed bug in height
3066 requisition, avoid increasing size and add border twice.
3068 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3070 * configure.ac: postrelease version bump.
3072 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3076 * configure.ac: Prerelease version bump.
3077 * debian/changelog: update.
3078 * debian/rules: make -dbg package contain useful debugging symbols.
3080 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3082 * src/hildon-dialog.h
3083 * src/hildon-dialog.c
3084 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3085 New methods to add buttons with finger size.
3086 (hildon_dialog_new_with_buttons):
3087 Create buttons with finger size.
3089 * examples/hildon-dialog-example.c (main): Use HildonDialog
3090 methods to add buttons.
3092 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3094 * src/hildon-entry.c: Updated HildonButton documentation.
3096 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3098 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3099 button value label with (FALSE, FALSE) to prevent NB#88126 from
3102 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3104 * examples/hildon-pannable-area-example.c,
3105 (main): Removed examples panning a vbox inside a pannable
3106 area. Check bug NB#87965
3108 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3110 Patch contributed by Kris Rietveld (kris@imendio.com)
3112 * src/hildon-pannable-area.c,
3113 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3114 get_size and get_position, this saves an X server roundtrip.
3116 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3118 * doc/hildon-docs.sgml
3120 * examples/Makefile.am
3121 * examples/hildon-entry-example.c
3123 * src/hildon-entry.c
3124 * src/hildon-entry.h
3126 New HildonEntry widget, with example.
3128 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3130 * src/hildon-button.c (hildon_button_construct_child): Pack the
3131 image with expand == fill == FALSE. This is a workaround for a bug
3134 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3136 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3137 labels for the text column, to make it more look more dynamic.
3139 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3141 * src/hildon-time-selector.c
3142 Define gettext auxiliar macro N_
3143 (_create_minutes_model)
3144 (_create_hours_model)
3145 (_create_ampm_model): use of strftime in order to fill the model
3146 * src/hildon-date-selector.c
3147 (hildon_date_selector_finalize):
3148 (_locales_init): remove the logic related to get the name of the months
3149 using nl_langinfo, as it is not required anymore
3151 (_create_year_model)
3152 (_create_month_model)
3153 (_update_day_model): use of strftime in order to fill the model properly
3156 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3158 * src/hildon-button.h
3159 * src/hildon-button.c (hildon_button_get_image): New method to
3162 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3164 * src/hildon-touch-selector.c:
3165 (hildon_touch_selector_remove_column): Remove from the correct parent
3166 and also remove the list element and free it.
3169 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3171 * src/hildon-time-selector.c
3172 (_create_hours_model): change the range on 12h ampm format in order to use
3173 a 12-11 range instead of previous 01-12 range
3174 (hildon_time_selector_set_time): change the way to select the current time
3175 on 12h ampm format, due the change on the range
3176 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3179 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3181 * src/hildon-touch-selector.c
3182 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3183 in order to allow use this function on multiple row selection mode if
3184 the column is different that the first one
3187 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3189 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3190 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3192 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3194 * src/hildon-date-selector.h: clean some comments, now on the .c
3195 * src/hildon-date-selector.c
3196 (hildon_date_selector_select_month): first implementation
3197 (hildon_date_selector_select_day): added documentation, reimplemented
3198 using hildon_date_selector_select_current_date to avoid repeat code
3201 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3203 Reviewed interaction logic based on device experiences, refactored
3206 * src/hildon-pannable-area.c,
3207 (hildon_pannable_area_class_init): Updated default vmax speed.
3208 (hildon_pannable_area_calculate_velocity): Added this function, it
3209 avoids duplicate valocity calculation. Adjusted calculation to
3210 avoid problems with zero dist events.
3212 (hildon_pannable_area_motion_notify_cb): Now we use the
3213 calculate_velocity function.
3215 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3217 * src/hildon-date-selector.c
3218 (hildon_date_selector_select_current_date): fix the day range check
3219 as it failed using the last day of the current month
3222 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3224 * src/hildon-touch-selector.c
3225 (hildon_touch_selector_get_num_columns): added a parameter validation
3228 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3230 * examples/Makefile.am
3231 * examples/hildon-edit-toolbar-example.c: Example of the
3232 HildonEditToolbar widget.
3234 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3236 * configure.ac: postrelease version bump.
3238 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3242 * configure.ac: prerelease version bump.
3243 * debian/changelog: update.
3245 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3247 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3248 renderer to display stock icons in the touch list. Also, set the sizes
3249 to the recommended in the style guide.
3251 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3252 * src/hildon-touch-selector.h
3253 (hildon_touch_selector_set_active_iter): renamed, now is
3254 hildon_touch_selector_select_iter
3255 (hildon_touch_selector_get_active_iter): renamed, now is
3256 hildon_touch_selector_get_selected
3257 (hildon_touch_selector_unselect_iter): added
3258 * src/hildon-touch-selector.c
3259 Update after API modification (methods renamed)
3260 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3261 order to avoid problems selecting multiple elements on the column
3262 (hildon_touch_selector_unselect_iter): added the implementation
3263 * src/hildon-time-selector.c
3264 * src/hildon-date-selector.c
3265 * src/hildon-touch-selector-entry.c
3266 Update methods calls after hildon-touch-selector.h API modification (methods
3269 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-stackable-window.c
3272 (hildon_stackable_window_finalize): Call the parent class's finalize.
3274 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3276 * examples/hildon-touch-selector-example.c: (create_selector): Use
3277 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3280 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3282 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3283 set a cell background color, to respect theming.
3285 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3287 * doc/hildon-docs.sgml
3290 * src/hildon-edit-toolbar.c
3291 * src/hildon-edit-toolbar.h
3292 * src/hildon.h: New HildonEditToolbar widget.
3294 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3296 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3299 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3300 * src/hildon-touch-selector.c
3301 (_create_new_column): use g_object_set instead of two g_object_set_property
3303 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3304 * src/hildon-touch-selector.c
3305 (_create_new_column): use of hildon_gtk_tree_view_new to create
3306 the treeview, instead of use directly g_object_new
3307 (_create_new_column): update the property name "vindicator-mode" for the
3308 new one "vscrollbar-policy"
3309 * examples/hildon-date-button-example.c
3310 * examples/hildon-picker-button-multicolumn-example.c
3311 * examples/hildon-touch-selector-entry-example.c
3312 * examples/hildon-touch-selector-example.c
3313 * examples/hildon-time-button-example.c
3314 * examples/hildon-picker-button-example.c
3315 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3316 to all the treeviews inside a pannable area.
3318 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-button.h
3321 * src/hildon-button.c (hildon_button_init)
3322 (hildon_button_set_arrangement, hildon_button_set_alignment)
3323 (hildon_button_set_title_alignment)
3324 (hildon_button_set_value_alignment)
3325 (hildon_button_set_image_alignment)
3326 (hildon_button_construct_child): New methods to set the alignment
3327 of the individual components of the button (title, value,
3328 image). Also, new method to alter the xscale and yscale properties
3329 of the GtkAlignment inside the button, so more complex layouts can
3332 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3334 * src/hildon-button.c (hildon_button_style_set)
3335 (hildon_button_class_init, hildon_button_set_arrangement)
3336 (hildon_button_construct_child): Apply style properties
3337 correctly. Use the 'image-spacing' style property too.
3339 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3341 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3342 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3345 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3347 * src/hildon-pannable-area.c,
3348 (hildon_pannable_area_size_request): Fixed problem with
3349 pannable-area size_request.
3351 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3353 Added management for the grab-focus to a child widget, like a
3354 range, we need to fade out the scrollbar when releasing.
3356 * src/hildon-pannable-area.c,
3357 (hildon_pannable_area_init): Connected the grab-focus signal to
3359 (hildon_pannable_area_grab_notify): Added this function in order
3360 to manage the situation when the grab-focus ends. We have to
3361 fade-out the scrollbar.
3363 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-app-menu.c: Minor documentation update.
3367 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3369 * src/hildon-app-menu.c
3370 * examples/hildon-app-menu-example.c (create_menu): Update
3371 examples and documentation to explain how to connect callbacks.
3373 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3375 * examples/hildon-button-example.c
3376 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3377 hildon_stackable_window_new instead of gtk_window_new
3379 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3381 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3382 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3383 (hildon_pannable_area_set_property),
3384 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3385 (hildon_pannable_area_unrealize),
3386 (hildon_pannable_area_size_request),
3387 (hildon_pannable_area_size_allocate),
3388 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3389 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3390 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3391 (hildon_pannable_area_initial_effect),
3392 (hildon_pannable_area_redraw),
3393 (hildon_pannable_area_scroll_indicator_fade),
3394 (hildon_pannable_area_expose_event),
3395 (hildon_pannable_area_get_topmost), (synth_crossing),
3396 (hildon_pannable_area_button_press_cb),
3397 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3398 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3399 (hildon_pannable_area_motion_notify_cb),
3400 (hildon_pannable_area_button_release_cb),
3401 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3402 (hildon_pannable_area_remove),
3403 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3404 chage the code layout to a more GtkWidget like. Review the use of
3407 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3409 * examples/hildon-pannable-area-example-4.c,
3410 (main): Modified the name of the hindicator_mode to
3413 * src/hildon-pannable-area.c,
3414 (hildon_pannable_area_class_init),
3415 (hildon_pannable_area_motion_notify_cb),
3416 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3417 we have reduced the amount of signals and managed reviewed its
3418 rationale. Changed the default decelerate value.
3420 (hildon_pannable_area_add),
3421 (hildon_pannable_area_redraw): Refactored functions.
3423 (hildon_pannable_area_init),
3424 (hildon_pannable_area_get_property),
3425 (hildon_pannable_area_set_property):
3426 (hildon_pannable_draw_vscroll),
3427 (hildon_pannable_draw_hscroll),
3428 (hildon_pannable_area_initial_effect),
3429 (hildon_pannable_area_expose_event),
3430 (hildon_pannable_area_scroll),
3431 (hildon_pannable_area_button_press_cb),
3432 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3433 and vindicator_mode with hscrollbar_policy and
3434 vscrollbar_policy. Replaced hscroll and vscroll with
3435 hscroll_visible and vscroll_visible.
3437 (hildon_pannable_area_refresh): Refactor the function, remove
3438 variables and check the calls to this function, added resize
3439 conditions in case the children change their layout.
3441 (hildon_pannable_area_size_request): Added more detailed
3442 size_request calculation.
3445 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3447 * src/hildon-color-chooser.c
3448 (init_borders): use the correct gtk_border_free instead of g_free, to
3449 avoid a crash when this widget is used (ie: the three color selection
3452 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3454 * src/hildon-check-button.c,
3455 (hildon_check_button_set_active): Fixed problem when setting the
3456 active value, the widget was not redrawn.
3458 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3460 * src/hildon-pannable-area.c,
3461 (hildon_pannable_area_refresh),
3462 (hildon_pannable_area_scroll),
3463 (hildon_pannable_area_motion_notify_cb): Small code style change.
3465 (hildon_pannable_area_class_init): Default initial_hint set to
3466 FALSE, it is not in the specs.
3468 (hildon_pannable_area_initial_effect),
3469 (hildon_pannable_area_expose_event),
3470 (hildon_pannable_area_map),
3471 (hildon_pannable_area_init): Moved the launching point of the
3472 initial effect, it was in map but the sizes where not correct in
3473 that method so we do not know if we have the reproduce it. Now it
3474 is placed in the expose_event method and uses a variable to
3475 reproduce it just once.
3477 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3479 * src/hildon-pannable-area.c,
3480 (hildon_pannable_draw_vscroll),
3481 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3482 position allowed for the scrollbars.
3484 (hildon_pannable_area_size_allocate): Small style change.
3486 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3488 * src/hildon-pannable-area.c,
3489 (hildon_pannable_area_scroll_indicator_fade),
3490 (hildon_pannable_area_button_press_cb),
3491 (hildon_pannable_area_button_release_cb),
3492 (hildon_pannable_area_scroll_cb),
3493 (hildon_pannable_area_expose_event),
3494 (hildon_pannable_area_init): Added the define parameter
3495 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3496 and refactor the fade variable.
3498 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3500 * src/hildon-pannable-area.c,
3501 (hildon_pannable_area_redraw),
3502 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3503 lines, we were reimplemeting the redraw code.
3505 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3507 * src/hildon-pannable-area.c,
3508 (hildon_pannable_area_scroll_cb),
3509 (hildon_pannable_area_realize),
3510 (hildon_pannable_area_class_init): Added scroll_event management
3511 for pannable area, now we can scroll the usual desktop method.
3513 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3514 initialization of the parameters should depend on idle_id.
3516 (hildon_pannable_area_init),
3517 (hildon_pannable_area_map): Small code style modifications
3519 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3521 * src/hildon-pannable-area.c
3522 (hildon_pannable_area_button_press_cb),
3523 (hildon_pannable_area_motion_notify_cb),
3524 (hildon_pannable_area_button_release_cb),
3525 (hildon_pannable_area_size_allocate),
3526 (hildon_pannable_area_scroll_to): Improved the timeouts
3527 management, we avoid creating them each time.
3529 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3531 * src/hildon-pannable-area.c:
3532 (hildon_pannable_area_refresh),
3533 (hildon_pannable_area_motion_notify_cb),
3534 (hildon_pannable_area_class_init):
3535 * src/hildon-pannable-area.h:
3536 * src/hildon-touch-selector.c
3537 (_create_new_column):
3538 * examples/hildon-pannable-area-example-4.c:
3539 (horizontal_movement),
3540 (vertical_movement),
3542 Replaced the names of enums in the HildonPannableArea:
3543 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3544 HILDON_MOVEMENT_MODE_*
3545 - HILDON_PANNABLE_AREA_MOV_* ->
3547 - Removed HildonPannableAreaIndicatorMode, now we
3550 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3552 * examples/hildon-pannable-area-touch-grid-example.c
3553 * examples/hildon-pannable-area-touch-list-example.c: Fix
3554 compilation warnings.
3556 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3558 * src/hildon-gtk.c (hildon_gtk_button_new)
3559 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3560 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3561 images overriding the value of the "gtk-button-images" setting.
3563 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-check-button.c (hildon_check_button_new):
3566 Instead of using a custom container, display the label and the
3567 checkbox using the standard GtkButton API.
3569 * examples/hildon-check-button-example.c (main): Don't use
3570 hildon_check_button_set_label() anymore
3572 * src/hildon-check-button.h
3573 * src/hildon-check-button.c
3574 (hildon_check_button_set_label, hildon_check_button_get_label):
3575 Set as deprecated, now we're using gtk_button_{get,set}_label()
3577 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3579 * src/hildon-pannable-area.c,
3580 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3581 GtkTreeview first line we detected it after the inclusion of the
3582 GtkWindowImpl in gtk+. We now check if the window is visible, not
3583 just if the pointer is over the window.
3584 (hildon_pannable_axis_scroll),
3585 (hildon_pannable_area_expose_event): Small style changes.
3587 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-button.c: Update documentation.
3591 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3593 * examples/hildon-button-example.c: Add a switch to show images in
3596 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3598 * doc/hildon-docs.sgml: Some docs reorganization.
3600 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3602 * examples/hildon-pannable-area-touch-list-example.c
3604 * examples/hildon-pannable-area-touch-grid-example.c
3605 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3606 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3607 Fix memory leak when setting the tree model.
3609 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3613 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3615 * doc/hildon.types: Remove duplicated hildon_window_get_type
3616 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3617 documentation comment.
3619 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3621 * doc/Makefile.am: Complete list of private headers.
3623 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3625 * doc/hildon-docs.sgml
3626 * src/hildon-app-menu.c
3627 * src/hildon-bread-crumb.c
3628 * src/hildon-button.c
3630 * src/hildon-program.c
3631 * src/hildon-stackable-window.c
3632 * src/hildon-window.c: Lots of documentation updates.
3634 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3636 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3638 * configure.ac: Require Gtk+ 2.12.9 at least
3640 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3642 * src/hildon-pannable-area.c
3643 (hildon_pannable_area_scroll_indicator_fade),
3644 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3645 to protect the return of this timeout callbacks, avoiding deadlocks.
3647 2008-08-12 Christian Dywan <christian@imendio.com>
3650 * src/hildon-*.h: Ensure a consistent include order,
3651 include <gtk/gtk.h> instead of particular files and
3652 only include the topmost header in the gtk stack. See NB #39857
3654 2008-08-12 Christian Dywan <christian@imendio.com>
3656 * src/hildon-picker-dialog.c
3657 * src/hildon-touch-selector.c: Fix warnings about unused and
3658 uninitialized variables.
3660 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3662 * examples/Makefile.am
3663 * examples/hildon-check-button-example.c: Example of the hildon
3666 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3668 * src/hildon-window.h
3669 * src/hildon-window.c (hildon_window_class_init)
3670 (hildon_window_unset_program): Don't make
3671 hildon_window_unset_program a virtual function anymore.
3673 * src/hildon-stackable-window.c: Update documentation
3675 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3678 * doc/hildon-docs.sgml
3679 * doc/visual_index.xml
3680 * src/hildon-defines.c
3682 * src/hildon-helper.c
3683 * src/hildon-range-editor.c: Lots of documentation fixes.
3685 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3687 * examples/hildon-picker-button-multicolumn-example.c
3688 (create_touch_selector): Fix compilation warning.
3690 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3693 (hildon_pannable_area_button_release_cb)
3694 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3696 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3698 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3701 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3703 * src/hildon-bread-crumb-trail.h
3704 * src/hildon-date-editor.c
3705 * src/hildon-date-selector.c
3706 * src/hildon-pannable-area.c
3707 * src/hildon-picker-dialog.c
3708 * src/hildon-time-selector.c
3709 * src/hildon-touch-selector-entry.c
3710 * src/hildon-touch-selector.c
3711 * src/hildon-touch-selector.h: Misc documentation fixes
3713 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3715 * examples/hildon-date-editor-example.c (main): Updated date
3718 * examples/hildon-note-example.c (on_confirmation_clicked):
3719 Updated confirmation note example.
3721 * src/hildon-date-editor.c
3722 * src/hildon-note.c: Updated sample programs in documentation.
3725 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3727 * src/hildon-date-button.h:
3728 * src/hildon-picker-button.h:
3729 * src/hildon-time-button.c:
3730 * src/hildon-time-button.h:
3732 Some declarations changes to allow gtk-doc to document the widgets
3735 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-date-button.c: Document the widget.
3738 * src/hildon-time-button.c: Document the widget.
3740 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3742 * src/hildon-picker-button.c: Document the widget.
3743 * src/hildon-touch-selector-entry.c: Document the widget.
3745 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3747 * doc/hildon-docs.sgml
3750 * src/hildon-check-button.h
3751 * src/hildon-check-button.c: New functions to create the Hildon
3755 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3757 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3759 * src/hildon-button.h
3760 * src/hildon-button.c
3761 (hildon_button_add_title_size_group)
3762 (hildon_button_add_value_size_group)
3763 (hildon_button_add_image_size_group)
3764 (hildon_button_add_size_groups): New functions to set size groups
3765 for the button labels and image.
3766 (hildon_button_new_full): Removed
3768 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3770 * src/hildon-time-selector.c
3771 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3772 in order to avoid a crash if gconf is not available
3774 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3776 * src/hildon-button.c (hildon_button_set_arrangement)
3777 (hildon_button_construct_child): Don't construct the button child
3778 before setting the arrangement.
3780 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3782 * src/hildon-program-private.h
3783 * src/hildon-program.c
3784 * src/hildon-program.h
3785 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3786 (hildon_program_peek_window_stack)
3787 (hildon_program_pop_window_stack)
3788 (hildon_program_go_to_root_window): HildonProgram now has a
3789 separate list for stackable windows. Functions are provided to
3790 manage that list with a stack-like API.
3792 * src/hildon-stackable-window.c: Stackable window management is
3793 now much simpler with the new HildonProgram API. Windows no
3794 longer need to be manually added to the program, they're
3795 automatically pushed to the top of the stack when shown.
3797 * examples/hildon-stackable-window-example.c: Updated example to
3798 reflect the API changes.
3800 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-touch-selector.c: Comment out unimplemented
3803 hildon_touch_selector_insert_column() to avoid a compile warning.
3805 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3807 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3808 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3809 (hildon_touch_selector_set_column_selection_mode),
3810 (_hildon_touch_selector_set_model),
3811 (hildon_touch_selector_set_model):
3813 Complete review of HildonTouchSelector documentation.
3815 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3817 * doc/hildon-docs.sgml
3821 * src/hildon-gtk.c: Convenience functions for standard Gtk
3822 widgets, used to easily perform frequent operations.
3824 * src/hildon-button-helpers.h
3825 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3827 * src/hildon-helper.h
3828 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3829 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3831 * src/hildon-button.h
3832 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3834 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3836 * src/hildon-button.c (hildon_button_init)
3837 (hildon_button_set_arrangement, hildon_button_construct_child):
3838 Pack the image and the labels inside the same GtkAlignment so
3839 gtk_button_set_alignment() can be used
3841 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3843 * src/hildon-button.h
3844 * src/hildon-button.c
3845 (hildon_button_init, hildon_button_set_image)
3846 (hildon_button_set_image_position)
3847 (hildon_button_construct_child): New functions to add an image to
3850 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3852 * src/hildon-date-button.c
3853 * src/hildon-picker-button.c
3854 * src/hildon-time-button.c
3855 * src/hildon-button.c:
3856 (hildon_button_class_init): "size-flags" renamed to "size"
3857 (hildon_button_set_title): Hide the title label if set to NULL.
3859 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3861 HildonButtonFlags split into HildonButtonArrangement (to set the
3862 button layout) and HildonSizeType (which can be used for any
3865 * src/hildon-button.h
3866 * src/hildon-button.c
3867 (hildon_button_class_init)
3868 (hildon_button_set_arrangement)
3869 (hildon_button_set_property): New "size-flags"
3870 property. "arrangement-flags" renamed to "arrangement".
3871 (hildon_button_new, hildon_button_new_with_text)
3872 (hildon_button_new_full): Constructors updated to reflect type changes.
3874 * src/hildon-helper.h
3875 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3876 to set the size of a widget.
3880 * src/hildon-button-helpers.c
3881 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3883 * src/hildon-date-button.c
3884 * src/hildon-date-button.h
3885 * src/hildon-picker-button.c
3886 * src/hildon-picker-button.h
3887 * src/hildon-time-button.c
3888 * src/hildon-time-button.h: Updated widgets to reflect
3889 HildonButton API changes.
3891 * examples/hildon-button-example.c
3892 * examples/hildon-date-button-example.c
3893 * examples/hildon-picker-button-example.c
3894 * examples/hildon-picker-button-multicolumn-example.c
3895 * examples/hildon-time-button-example.c
3896 * examples/hildon-touch-selector-entry-example.c
3897 * examples/hildon-touch-selector-example.c: Updated examples to
3898 reflect HildonButton API changes.
3900 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3902 * doc/hildon-docs.sgml:
3904 * examples/Makefile.am:
3905 * examples/hildon-touch-selector-entry-example.c:
3907 * src/hildon-touch-selector-entry.c:
3908 * src/hildon-touch-selector-entry.h:
3911 Moved HildonTouchSelectorEntry from sandbox. Added its
3912 documentation and examples.
3914 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3916 * src/hildon-touch-selector.h:
3917 * examples/hildon-picker-button-multicolumn-example.c:
3918 (hildon_touch_selector_append_text_column): Add a gboolean
3919 parameter to determine if text must be centered in the column.
3921 * src/hildon-date-selector.c: (hildon_date_selector_init):
3922 * src/hildon-time-selector.c: (hildon_time_selector_init):
3923 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3924 (create_touch_selector): Update widgets and example to reflect
3927 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3929 * src/hildon-touch-selector.c:
3930 (hildon_touch_selector_set_active_iter): Set also the cursor in
3933 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3935 * doc/hildon-docs.sgml
3938 * src/hildon-toggle-button.c
3939 * src/hildon-toggle-button.h
3940 * src/hildon.h: Removed HildonToggleButton widget, a derived
3941 class is not necessary for this.
3943 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3945 * src/hildon-pannable-area.c,
3946 (hildon_pannable_area_realize),
3947 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3950 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3952 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3953 "done" button the default widget for the dialog.
3955 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-touch-selector.c:
3958 (hildon_touch_selector_class_init),
3959 (hildon_touch_selector_get_property),
3960 (_hildon_touch_selector_set_model),
3961 (_hildon_touch_selector_has_multiple_selection),
3962 (hildon_touch_selector_has_multiple_selection):
3963 Add a "has-multiple-selection" property with a virtual
3964 has_multiple_selection() method to allow derived classes to
3965 override the default value for it. See the method and property
3966 documentation for details.
3968 * src/hildon-touch-selector.h: Add the new API.
3970 * src/hildon-picker-dialog.c: (requires_done_button): Call
3971 hildon_touch_selector_has_multiple_selection() instead of
3972 determining the need for a button itself.
3974 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3977 (_hildon_touch_selector_set_model),
3978 (hildon_touch_selector_set_model): Move working code to
3979 _hildon_touch_selector_set_mode(). Call the class method instead.
3981 * src/hildon-touch-selector.h: Add (*set_model) to
3982 HildonTouchSelectorClass.
3984 Make hildon_touch_selector_set_model() a virtual method, so that
3985 derived classes can extend it and do fancy stuff with the model.
3987 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3989 * configure.ac: Set back the tarname in AC_INIT to hildon.
3991 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3995 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3996 instead of libesd (NB#86876). Volume handling is still an open issue.
3998 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4001 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4003 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4004 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4005 derived class to ease placement of an entry widget in
4006 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4007 end, where the selector columns are packed now.
4009 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4011 * src/hildon-picker-button.c: Removed the simple _text() API.
4012 * src/hildon-picker-button.h: Likewise.
4014 * src/hildon-touch-selector.h:
4015 * src/hildon-touch-selector.c:
4016 (hildon_touch_selector_new_text),
4017 (hildon_touch_selector_append_text),
4018 (hildon_touch_selector_prepend_text),
4019 (hildon_touch_selector_insert_text):
4021 Moved the simple _text() API from HildonPickerButton to
4022 HildonTouchPicker, to provide better escalability and not to tie
4023 that API to HildonPickerButton.
4025 * examples/hildon-picker-button-example.c: (main): Example updated.
4027 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4029 * src/hildon-button.c: Updated documentation.
4031 * examples/hildon-button-example.c: Add the posibility to create
4032 the buttons using horizontal layout for title and value.
4034 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4036 * src/hildon-app-menu-private.h
4037 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4038 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4039 GtkSizeGroup for the filters, use the 'homogeneous' property of
4042 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4044 * examples/hildon-button-example.c: Updated example.
4046 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4048 * doc/hildon-docs.sgml:
4051 Update documentation.
4053 * examples/Makefile.am: Update renamed examples.
4055 * examples/hildon-picker-button-multicolumn-example.c:
4056 (create_touch_selector), (main): Update after the rename.
4058 * examples/hildon-touch-picker-example.c: Removed.
4059 * examples/hildon-touch-selector-example.c: (value_changed),
4060 (create_selector), (get_visible_content), (main): Renamed from
4061 hildon-touch-picker-example.c
4063 * src/Makefile.am: Updated renamed files.
4065 * src/hildon-date-button.c: (hildon_date_button_init),
4066 (hildon_date_button_get_date), (hildon_date_button_set_date):
4067 * src/hildon-date-selector.c: (hildon_date_selector_init),
4068 (_custom_print_func), (_update_day_model),
4069 (_manage_selector_change_cb),
4070 (hildon_date_selector_select_current_date),
4071 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4072 * src/hildon-date-selector.h:
4073 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4074 (hildon_picker_button_set_property),
4075 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4076 (hildon_picker_button_init), (hildon_picker_button_new_text),
4077 (hildon_picker_button_append_text),
4078 (hildon_picker_button_prepend_text),
4079 (hildon_picker_button_insert_text),
4080 (hildon_picker_button_set_selector),
4081 (hildon_picker_button_get_selector):
4082 * src/hildon-picker-button.h:
4083 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4084 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4085 (_update_title_on_selector_changed_cb), (requires_done_button),
4086 (_hildon_picker_dialog_set_selector),
4087 (hildon_picker_dialog_set_selector),
4088 (hildon_picker_dialog_get_selector):
4089 * src/hildon-picker-dialog.h:
4090 * src/hildon-time-button.c: (hildon_time_button_init),
4091 (hildon_time_button_get_time), (hildon_time_button_set_time):
4092 * src/hildon-time-selector.c: (hildon_time_selector_init),
4093 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4094 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4095 * src/hildon-time-selector.h:
4098 Massive code updates after the rename.
4100 * src/hildon-touch-picker.c: Removed.
4101 * src/hildon-touch-picker.h: Removed.
4103 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4104 (hildon_touch_selector_init), (hildon_touch_selector_map),
4105 (hildon_touch_selector_remove), (_default_print_func),
4106 (_selection_changed_cb), (_create_new_column),
4107 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4108 (hildon_touch_selector_append_text_column),
4109 (hildon_touch_selector_remove_column),
4110 (hildon_touch_selector_set_column_attributes),
4111 (hildon_touch_selector_insert_column),
4112 (hildon_touch_selector_get_num_columns),
4113 (hildon_touch_selector_get_column_selection_mode),
4114 (hildon_touch_selector_set_column_selection_mode),
4115 (hildon_touch_selector_set_print_func),
4116 (hildon_touch_selector_get_print_func),
4117 (hildon_touch_selector_get_active_iter),
4118 (hildon_touch_selector_set_active_iter),
4119 (hildon_touch_selector_get_selected_rows),
4120 (hildon_touch_selector_get_model),
4121 (hildon_touch_selector_set_model),
4122 (hildon_touch_selector_get_current_text),
4123 (_hildon_touch_selector_center_on_selected_items):
4124 * src/hildon-touch-selector.h: Renamed from
4125 hildon-touch-picker.[ch]
4127 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4128 references, code examples, and related documentation.
4130 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4132 * doc/hildon-docs.sgml
4135 * src/hildon-toggle-button.c
4136 * src/hildon-toggle-button.h
4137 * src/hildon.h: New HildonToggleButton widget.
4139 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4141 * src/hildon-button.c: Add API documentation.
4142 (hildon_button_set_size_groups): Check input parameters
4144 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4146 * src/hildon-pannable-area.c
4147 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4148 effect after reaching the movement thredshold. This way we start
4149 using the distance after passing the thredshold.
4151 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4153 * src/hildon-button.c: (hildon_button_set_property): Use the
4154 appropriate g_value_get_flags() method.
4156 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4158 * doc/hildon-docs.sgml:
4161 Add the touch pickers, picker dialogs, and picker button widgets
4162 to the documentation.
4164 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4166 * src/hildon-button.c: (hildon_button_set_property),
4167 (hildon_button_class_init): Make "arrangement-flags" a proper
4168 G_TYPE_FLAGS derived property.
4170 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4172 * examples/Makefile.am: Add below examples.
4173 * examples/hildon-date-button-example.c:
4174 * examples/hildon-picker-button-example.c:
4175 * examples/hildon-picker-button-multicolumn-example.c:
4176 * examples/hildon-time-button-example.c:
4177 * examples/hildon-touch-picker-example.c:
4179 Add examples for the recently added touch pickers,
4180 picker dialogs, and picker button widgets.
4182 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-button.c: Add some API documentation
4186 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4188 * src/hildon-button.h
4189 * src/hildon-button.c
4191 (hildon_button_new_with_text): New constructor to create a button
4192 with no text at all.
4193 (hildon_button_init, hildon_button_set_arrangement)
4194 (hildon_button_set_title, hildon_button_set_value)
4195 (hildon_button_set_text)
4196 (hildon_button_construct_child): Hide the value when it's not used
4197 so the rest of the text is properly aligned.
4198 Allow creating buttons with arbitrary widgets inside (not just
4199 title/value labels).
4201 * examples/hildon-button-example.c (vertical_buttons_window)
4202 (horizontal_buttons_window): Update example to use new API.
4204 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4206 * src/Makefile.am: Added HildonTimeButton.
4207 * src/hildon-time-button.c: Added missing LGPL header.
4208 * src/hildon-time-button.h: Added missing LGPL header.
4209 * src/hildon.h: Add hildon-time-button.h
4211 Copied HildonTimeButton from sandbox to trunk. Future work on this
4212 widget must take place in trunk.
4214 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4216 * src/Makefile.am: Added HildonDateButton.
4217 * src/hildon-date-button.c: Update includes.
4218 * src/hildon.h: Add hildon-date-button.h
4220 Copied HildonDateButton from sandbox to trunk. Future work on this
4221 widget must take place in trunk.
4223 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4225 * src/Makefile.am: Added HildonPickerButton.
4226 * src/hildon-picker-button.h: Update includes.
4227 * src/hildon.h: Add hildon-picker-button.h
4229 Copied HildonPickerButton from sandbox to trunk. Future work on
4230 this widget must take place in trunk.
4232 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4234 * src/Makefile.am: Added HildonPickerDialog.
4235 * src/hildon-picker-dialog.c: Update includes.
4236 * src/hildon.h: Add hildon-picker-dialog.h
4238 Copied HildonPickerDialog from sandbox to trunk. Future work
4239 on this widget must take place in trunk.
4241 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4243 * src/Makefile.am: Added HildonTimeSelector.
4244 * src/hildon.h: Add hildon-time-selector.h
4246 Copied HildonTimeSelector widget from sandbox to trunk. Future
4247 work on this widget must happen in trunk.
4249 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4251 * src/Makefile.am: Added HildonDateSelector.
4252 * src/hildon.h: Add hildon-date-selector.h
4254 Copied HildonDateSelector widget from sandbox to trunk. Future
4255 work on this widget must happen in trunk.
4257 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4259 * src/Makefile.am: Added HildonTouchPicker.
4260 * src/hildon-touch-picker.c: Update includes.
4261 * src/hildon.h: Add hildon-touch-picker.h
4263 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4264 on this widget must happen in trunk.
4266 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4268 * src/hildon-pannable-area.c:
4269 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4271 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4273 * examples/hildon-app-menu-example.c (main): Let the window
4276 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4278 * src/hildon-pannable-area.c
4279 (hildon_pannable_area_class_init): Set the min value of the
4280 overshoot properties to zero, which points out that not
4281 overshooting allowed.
4283 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4285 Modified the procedure to get the widget at a point inside the
4286 pannable area when using the movement type signals. Now the user
4287 has to call a function to get the child, that way we just
4288 calculate the child in case the user really want to use it and not
4291 * src/hildon-marshalers.list: Modified the marshallers, now we do
4292 not have the widget as a parameter.
4294 * src/hildon-pannable-area.c
4295 (hildon_pannable_area_motion_notify_cb),
4296 (hildon_pannable_area_class_init),
4297 (hildon_pannable_get_child_widget_at): Removed the widget
4298 parameter from the signal callback. We have also refactored the
4299 emission of the signals.
4301 * src/hildon-pannable-area.h: Added a new method to the API to
4302 calculate a widget at a point inside the pannable area,
4303 hildon_pannable_get_child_widget_at.
4305 * examples/hildon-pannable-area-example-4.c
4306 (horizontal_movement): Modified the example to use the new API,
4307 added condition to control which widget is under the event. This
4308 way we can avoid scrolling laterally over other widgets.
4310 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4312 * src/hildon-pannable-area.c
4313 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4314 modes, we stop getting the pointer events due to returning the
4315 callback without properly calling the get pointer again. Fixed
4316 also an error using the hscroll and vscroll.
4318 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4320 * src/hildon-app-menu-private.h
4321 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4322 (hildon_app_menu_button_release, hildon_app_menu_init)
4323 (hildon_app_menu_class_init): Don't hide the menu on button
4324 release if the user didn't press outside first.
4326 * src/hildon-window.h
4327 * src/hildon-window.c (hildon_window_toggle_menu)
4328 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4329 hildon_window_toggle_menu a virtual function for the stackable
4330 window to override it.
4332 * src/hildon-stackable-window.h
4333 * src/hildon-stackable-window-private.h
4334 * src/hildon-stackable-window.c
4335 (hildon_stackable_window_realize)
4336 (hildon_stackable_window_finalize)
4337 (hildon_stackable_window_class_init)
4338 (hildon_stackable_window_init)
4339 (hildon_stackable_window_set_main_menu): New function to set the
4340 app menu of a HildonStackableWindow.
4342 * examples/hildon-app-menu-example.c: Remove the button to show
4343 the app menu, now it'll be shown when clicking on the title bar
4346 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4348 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4349 set the widget name if the arrangement flags do not specify
4352 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4354 * src/hildon-button.c: (hildon_button_set_property),
4355 (hildon_button_class_init), (hildon_button_new_full),
4356 (hildon_button_set_arrangement): Added "arrangement-flags"
4359 Make the HildonButtonFlags a construction-only property, to allow
4360 subclasses to set them properly.
4362 2008-07-21 Tim Janik <timj@imendio.com>
4364 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4365 insertion position after backspace, so additional digits are appended,
4368 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4370 * src/hildon-pannable-area.c,
4371 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4372 TODO list, it was complete and removed the g_debug and g_print
4375 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4377 Added the movement modes to the hildon-pannable-area, with this
4378 modes the developers can control in which directions the widget
4379 can scroll. They can also connect to signals in order to do
4380 something when that happens, allowing applications scroll. There
4381 is an example uploaded showing how to use it.
4383 * examples/Makefile.am:
4384 * examples/hildon-pannable-area-example-4.c: Added this example of
4385 an application using the modes.
4387 * src/hildon-marshalers.list: Added a new marshaller for the new
4390 * src/hildon-pannable-area.h: Added new enumerations and flags in
4391 order to control the movement modes and the new signals to warn
4392 about the movements in the area.
4394 * src/hildon-pannable-area.c:
4395 (hildon_pannable_axis_scroll),
4396 (hildon_pannable_area_scroll),
4397 (hildon_pannable_area_motion_notify_cb),
4398 (hildon_pannable_area_get_property),
4399 (hildon_pannable_area_set_property),
4400 (hildon_pannable_area_map),
4401 (hildon_pannable_area_class_init),
4402 (hildon_pannable_area_init),
4403 (hildon_pannable_area_jump_to): Added the modes to control the
4404 movement in the widget. We have added properties to control it,
4405 signals to warn about the movements and refactored some code.
4407 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4409 Changes required in order to allow vfast_factor set to zero to
4412 * src/hildon-pannable-area.c:
4413 (hildon_pannable_area_button_press_cb): Changed the condition, it
4414 is required for not allowing click when vfast_factor is zero.
4415 (hildon_pannable_area_timeout): Initialized velocity variables
4416 when we stop moving, it was less than 1 but not zero and we need
4417 to check zero in some situations.
4418 (hildon_pannable_area_class_init): Changed the default value of
4419 the speed factor, now the button_press is just sent in case the
4420 speed is 2 per cent of the max speed.
4421 (hildon_pannable_area_init): Initialization with 0.
4423 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4425 * src/hildon-pannable-area.c,
4426 (hildon_pannable_area_get_topmost): replaced
4427 gdk_window_get_children with gdk_window_peek_children, this way we
4428 do not have to free the list because it is not a copy.
4430 (hildon_pannable_axis_scroll),
4431 (hildon_pannable_area_scroll),
4432 (hildon_pannable_area_timeout),
4433 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4434 two parameters that were only used inside the
4435 hildon_pannable_area_scroll function.
4437 * examples/hildon-pannable-area-example.c,
4438 (get_sawtooth_label): Fixed small memory leak.
4440 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4442 More checks for the case where the overshoot is bigger than the
4445 * src/hildon-pannable-area.c:
4446 (hildon_pannable_draw_vscroll),
4447 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4448 to draw the slider of the scrollbar under the other scrollbar.
4449 (hildon_pannable_area_expose_event): added new checks to control
4450 the drawing of the overshooting area rectangle, in case it is too
4451 big for the area of the widget.
4452 (hildon_pannable_area_size_allocate): add more checks to avoid
4453 setting a position to the child widget outside the area.
4455 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4457 * src/hildon-pannable-area.c
4458 (hildon_pannable_area_size_allocate): Added conditions to control
4459 when overshooting is bigger than the allocated space for the
4460 children, this avoids negative allocations.
4462 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4464 * doc/hildon-docs.sgml
4466 * examples/Makefile.am
4467 * examples/hildon-button-example.c
4469 * src/hildon-button.c
4470 * src/hildon-button.h
4471 * src/hildon.h: Initial version of the new HildonButton widget,
4474 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4476 * src/hildon-pannable-area.c:
4477 (hildon_pannable_area_button_press_cb),
4478 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4479 (hildon_pannable_area_motion_notify_cb),
4480 (hildon_pannable_area_button_release_cb),
4481 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4482 (hildon_pannable_area_jump_to_child):
4484 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4486 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4488 * examples/Makefile.am
4489 * examples/hildon-pannable-area-touch-grid-example.c
4490 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4491 the Hildon Touch List and Hildon Touch Grid using the
4492 HildonPannableArea widget.
4494 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4496 * src/hildon-pannable-area.c,
4497 (hildon_pannable_area_button_press_cb),
4498 (hildon_pannable_area_refresh),
4499 (hildon_pannable_area_scroll),
4500 (hildon_pannable_area_motion_notify_cb),
4501 (hildon_pannable_area_button_release_cb),
4502 (hildon_pannable_area_expose_event),
4503 (hildon_pannable_area_add),
4504 (hildon_pannable_area_remove),
4505 (hildon_pannable_area_realize),
4506 (hildon_pannable_area_size_allocate),
4507 (hildon_pannable_area_class_init),
4508 (hildon_pannable_area_init),
4509 (hildon_pannable_area_scroll_to_child),
4510 (hildon_pannable_area_jump_to_child): Fixed the problem of
4511 removing the child from the GtkBin, we have rearranged the widget
4512 hierarchy, now there is no GtkAlignment which was not doing
4513 anything interesting but breaking some of the assumptions of
4514 GtkContainer. Now developers if they want to add a GtkAlignment
4515 they could, but it is not inside the area.
4517 We had to review the whole allocation/expose process, now it is
4518 improved and we save at least three signals which would be saving
4519 some time when rendering the widget. The allocation of the
4520 scrollbars is now made in the allocate method as usual.
4522 We have also added some conditions in order to control when there
4523 is no child of the pannable area. Maybe we will need more work
4526 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4528 * src/hildon-pannable-area.c,
4529 (hildon_pannable_area_dispose): Released the fade-out timeout when
4530 disposing the widget.
4532 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4534 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4535 zero, we are going to use that property in order to deactivate the
4537 (hildon_pannable_axis_scroll),
4538 (hildon_pannable_area_size_allocate): Added conditions to control
4539 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4540 call, now it is called in all situations and we can remove calls
4541 in the allocate method.
4542 (hildon_pannable_area_map): Control the situation when
4543 overshoot_max is zero, we do not need the timeout.
4544 (hildon_pannable_area_class_init): Added documentation in order to
4545 point out that setting zero to overshoot_max means deactivate
4548 NOTE: removed trailing whitespaces from my previous comments of
4551 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4553 * src/hildon-pannable-area.c
4554 (hildon_pannable_area_get_property),
4555 (hildon_pannable_area_set_property),
4556 (hildon_pannable_area_map),
4557 (hildon_pannable_area_class_init),
4558 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4559 to cause the widget give a hint about its panning abilities upon
4562 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4564 * src/hildon-pannable-area.c: Several documentation improvements.
4566 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4568 * src/hildon-program.c
4569 * src/hildon-stackable-window.c: Update documentation.
4571 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4573 * src/hildon-stackable-window.c (get_previous_window_if_last):
4574 Renamed get_last_window()
4575 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4576 (hildon_stackable_window_unset_program):
4578 (get_previous_window_if_last):
4579 Detect if the window hasn't been added to a HildonProgram.
4581 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4583 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4585 * src/hildon-pannable-area.c
4586 (hildon_pannable_area_button_press_cb),
4587 (hildon_pannable_axis_scroll),
4588 (hildon_pannable_area_scroll),
4589 (hildon_pannable_area_timeout),
4590 (hildon_pannable_calculate_vel_factor),
4591 (hildon_pannable_area_get_property),
4592 (hildon_pannable_area_set_property),
4593 (hildon_pannable_area_class_init),
4594 (hildon_pannable_area_init),
4595 (hildon_pannable_area_scroll_to),
4596 (hildon_pannable_area_jump_to),
4597 (hildon_pannable_area_scroll_to_child),
4598 (hildon_pannable_area_jump_to_child):
4599 * src/hildon-pannable-area.h: Added the new API functions:
4600 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4601 hildon_pannable_area_scroll_to_child,
4602 hildon_pannable_area_jump_to_child
4605 * examples/Makefile.am
4606 * examples/hildon-pannable-area-example-2.c
4607 * examples/hildon-pannable-area-example-3.c: Added these two new
4608 examples in order to test and show how the new APIs work.
4610 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4612 * examples/hildon-stackable-window-example.c (new_window):
4613 * src/Makefile.am (noinst_HEADERS):
4614 * src/hildon-program.c (hildon_program_go_to_root_window):
4615 * src/hildon-program.h:
4616 * src/hildon-stackable-window-private.h:
4617 * src/hildon-stackable-window.c:
4618 * src/hildon-stackable-window.h:
4619 Create hildon-stackable-window-private.h
4620 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4622 * examples/hildon-app-menu-example.c (create_menu):
4623 * examples/hildon-hvolumebar-insensitive-example.c (main):
4624 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4625 * examples/hildon-toolbar-seekbar-example.c (main):
4626 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4627 * src/hildon-banner.c (hildon_banner_set_property):
4628 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4629 Fix compilation warnings
4631 * src/hildon-window.c:
4634 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4636 * src/hildon-stackable-window.c
4637 (hildon_stackable_window_unset_program):
4638 Calculate correctly whether to show the previous window if the
4639 last one is removed from the stack.
4640 (hildon_stackable_window_go_to_root_window):
4641 Send delete events starting from the topmost window.
4642 Stop if one of the windows is not destroyed.
4644 (hildon_stackable_window_delete_event)
4645 (hildon_stackable_window_class_init):
4646 Ignore the delete event if the window is not the topmost one.
4648 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4650 * src/hildon-pannable-area.c
4651 (hildon_pannable_area_expose_event): Fixed a problem when
4652 selecting the background color of the scrollbars.
4654 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4656 * examples/hildon-stackable-window-example.c
4657 * src/hildon-stackable-window.c
4658 * src/hildon-stackable-window.h
4659 hildon_stackable_window_go_home() renamed to
4660 hildon_stackable_window_go_to_root_window()
4661 Send delete events to windows rather than closing them with
4662 gtk_widget_destroy()
4664 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4666 * src/hildon-pannable-area.c
4667 (hildon_pannable_area_button_release_cb): Fix overshooting in
4670 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4672 * src/hildon-pannable-area.c
4673 (hildon_pannable_area_init): Initially show the scroll indicators.
4674 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4676 Add initial effect showing the widget is pannable.
4678 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4680 * src/hildon-pannable-area.c
4681 (hildon_pannable_area_class_init)
4682 (hildon_pannable_area_set_property)
4683 (hildon_pannable_area_get_property)
4684 (hildon_pannable_area_button_press_cb):
4685 New 'velocity_fast_factor' property to decide which velocity is
4688 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4690 * src/hildon-pannable-area.c
4691 (hildon_pannable_draw_hscroll)
4692 (hildon_pannable_draw_vscroll):
4693 Use float variables to calculate the size of the scrollbars to
4694 avoid error propagation and resizing during scrolling.
4696 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-pannable-area.c
4699 (hildon_pannable_draw_vscroll)
4700 (hildon_pannable_draw_hscroll):
4701 Define a minimum size for the scroll bars
4703 * src/hildon-stackable-window.c
4704 (hildon_stackable_window_go_home): Fix compilation warning
4705 (get_last_window): Minor optimizations
4706 (hildon_stackable_window_class_init): Fix initialization of
4709 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4711 * src/hildon-stackable-window.c: Fixed typos in doc
4713 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4715 * src/hildon-pannable-area.c
4716 (hildon_pannable_area_scroll):
4717 Calculate here whether we need to scroll instead of using the booleans
4718 that tell us whether to /draw/ the scrolling bars.
4720 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4722 * src/hildon-app-menu.h
4724 * src/hildon-app-menu.c
4725 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4726 multiple filter groups related code and API. Now we support only
4728 * examples/hildon-app-menu-example.c:
4730 Update to reflect API changes.
4732 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4734 * src/hildon-stackable-window.c
4735 (hildon_stackable_window_class_init):
4736 Add hildon_stackable_window_realize.
4737 (hildon_stackable_window_realize):
4738 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4739 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4740 to apply theming and behavior specific to HildonStackableWindow
4743 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4745 * src/hildon-note.c (hildon_note_button_release):
4746 Close information notes also when tapping on them
4748 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4750 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4751 ELASTICITY, refactor and review, fix some issues with drawing
4754 * src/hildon-pannable-area.c:
4755 (hildon_pannable_area_button_press_cb): removed the conditions to
4756 avoid clicks when overshooting. It is not required
4758 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4759 define. Refatored and reviewed the code, now we do not need to
4760 manage velocity in motion_notify.
4762 (hildon_pannable_area_motion_notify_cb): We have moved the code
4763 that controls the area_scroll to the axis_scroll function and get
4764 rid of duplicated code.
4766 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4768 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4770 (hildon_pannable_draw_vscroll),
4771 (hildon_pannable_draw_hscroll): Fixed the problems with the
4772 scrollbar drawing, now we do not use two surfaces, it is easier
4773 and saves resources.
4775 (hildon_pannable_area_get_property): Style modification.
4777 (hildon_pannable_area_class_init): Changed some default values.
4779 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4781 * src/hildon-stackable-window.c: Fix some typos in the
4784 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4786 * src/hildon-dialog.c:
4787 Change indentation style
4790 (hildon_note_button_release):
4791 Use root coordinates to check if the release event happened
4794 * src/hildon-app-menu.c
4795 (hildon_app_menu_button_release):
4796 Remove unnecessary check
4798 * examples/hildon-app-menu-example.c
4800 Add cast to fix warning
4802 * src/hildon-app-menu.c
4803 (hildon_app_menu_class_init):
4804 New inner-border style property.
4805 Set all default spacings to 16
4806 (hildon_app_menu_init):
4807 Use vertical-spacing to set the space between filter buttons and
4808 regular menu buttons.
4809 Set the default container border using the inner-border value.
4811 * examples/hildon-app-menu-example.c
4813 Don't set the menu border explicitly, now we have the inner-border
4814 style property for that.
4816 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4818 * src/hildon-app-menu.c (hildon_app_menu_init):
4819 Make the window modal
4821 * src/hildon-note.c (hildon_note_map)
4822 * src/hildon-app-menu.c (hildon_app_menu_map):
4823 Destroy the grab window if we're unable to grab the pointer
4825 * src/hildon-app-menu-private.h
4826 * src/hildon-app-menu.c
4827 (hildon_app_menu_init, hildon_app_menu_finalize)
4828 (hildon_app_menu_map, hildon_app_menu_unmap)
4829 (hildon_app_menu_button_release)
4830 (grab_transfer_window_get):
4831 Bring back the grab window
4832 (hildon_app_menu_realize):
4833 Decorate the window, set WM hint for Matchbox
4835 * src/hildon-note.c (hildon_note_realize):
4836 * src/hildon-banner.c (hildon_banner_realize):
4837 Add WM hints for Matchbox
4839 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4841 * src/hildon-app-menu-private.h
4842 * src/hildon-app-menu.c
4843 (hildon_app_menu_init, hildon_app_menu_finalize)
4844 (hildon_app_menu_map, hildon_app_menu_unmap)
4845 (hildon_app_menu_button_release):
4846 Remove the grab window, it's not needed anymore
4848 * src/hildon-program.c
4849 Fixed typo in documentation
4851 * src/hildon-app-menu.h
4852 * src/hildon-app-menu.c
4853 * examples/hildon-app-menu-example.c
4854 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4856 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4859 Added new transfer_window and close_if_pressed_outside private
4861 (hildon_note_rebuild):
4862 Don't add a cancel button to the information note. It will be
4863 closed when tapping outside
4864 Remove the comment about the OK button in the documentation
4865 (hildon_note_realize):
4866 Set the notification type hint
4867 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4868 Grab/ungrab pointer and keyboard if the note has to be closed when
4870 (hildon_note_button_release):
4871 Close the note when tapping outside (if applicable)
4873 * src/hildon-app-menu.c
4874 Grab/ungrab pointer and keyboard on map/unmap
4875 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4876 Close the menu on button release, not button press
4878 * src/hildon-banner.c
4879 (hildon_banner_set_property)
4880 (hildon_banner_check_position):
4881 Make the banner use the full width of the screen
4882 (hildon_banner_show_information)
4883 (hildon_banner_show_information_with_markup):
4884 Don't display an icon by default
4886 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4888 Added fading scrollbars and adapted all the overshooting code to
4889 horizontal scrolling. We have also fixed bugs with overshooting
4890 and current fading implementation.
4892 * src/hildon-pannable-area.c
4893 (hildon_pannable_area_scroll_indicator_fade): Time out function
4894 used to change the transparency of the scrollbars.
4896 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4897 control and fixed a problem with fading, we now remove the fade
4898 timeout before adding a new one.
4900 (hildon_pannable_axis_scroll):
4901 (hildon_pannable_area_scroll):
4902 (hildon_pannable_area_timeout): Added this functions so we can use
4903 the scroll code both for vertical and horizontal.
4905 (hildon_pannable_area_motion_notify_cb):
4906 (hildon_pannable_area_button_release_cb): Added the horizontal
4907 scrolling control, fixed a problem with the overshooting timeout.
4909 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4910 painting of the scrolls.
4912 (hildon_pannable_draw_vscroll):
4913 (hildon_pannable_draw_hscroll):
4914 (hildon_pannable_area_expose_event):
4915 Draw both scrollbars and rectangles in the overshooting area.
4917 (hildon_pannable_area_get_property):
4918 (hildon_pannable_area_set_property):
4919 Modified the overshoot property to overshoot_max
4921 (hildon_pannable_area_map):
4922 Replaced the comments symbols.
4924 (hildon_pannable_area_size_allocate):
4925 (hildon_pannable_area_class_init):
4926 (hildon_pannable_area_init): Added horizontal scroll, fading
4927 effect properties, fixed a problem when overshooting in the bottom
4930 * examples/hildon-pannable-area-example.c:
4931 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4932 looks better in the example.
4934 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-window.c
4937 * src/hildon-window.h
4938 (hildon_window_class_init)
4939 (hildon_window_unset_program)
4940 (hildon_window_unset_program_real):
4941 Make unset_program a virtual function
4943 * src/hildon-stackable-window.c
4944 * src/hildon-stackable-window.h
4945 Added hildon_stackable_window_go_home()
4947 * examples/Makefile.am
4948 * examples/hildon-stackable-window-example.c
4949 HildonStackableWindow example
4951 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4953 * hildon-pannable-area.c: Added the overshoot property and removed
4954 the OVERSHOOT define. Fixed an indent style error.
4955 (hildon_pannable_area_motion_notify_cb):
4956 (hildon_pannable_area_get_property):
4957 (hildon_pannable_area_set_property): Add overshoot property.
4959 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4962 (hildon_pannable_area_class_init): Installed the new property.
4964 * hildon-pannable-area-example.c: Added a sawtooth function, this
4965 way it is easier to check the movement in the pannable.
4966 (get_sawtooth_label): Added this function.
4967 (main): Now we get the labels from the new get_sawtooth_label
4970 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4972 * src/hildon-app-menu.h
4973 * src/hildon-app-menu.c
4974 Renamed API variables for consistency
4976 (hildon_app_menu_popup): Use also the default window size to
4977 decide where to place the menu
4979 (hildon_app_menu_init, hildon_app_menu_class_init): New
4980 external-border style property
4982 2008-05-26 Michael Natterer <mitch@imendio.com>
4984 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4985 widget_class->tap_and_hold_setup signal slot doesn't exist any
4986 longer, stop overriding it.
4988 (hildon_time_editor_init): g_signal_connect() to the
4989 tap-and-hold-setup signal instead.
4991 (hildon_time_editor_entry_keypress): add cast to fix warning.
4993 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4995 * doc/hildon-docs.sgml
4997 * examples/Makefile.am
4998 * examples/hildon-app-menu-example.c
5000 * src/hildon-app-menu-private.h
5001 * src/hildon-app-menu.c
5002 * src/hildon-app-menu.h
5004 New HildonAppMenu widget
5006 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5008 Rearranged the inheritance of the pannable area, now it inherits
5009 from GtkBin. This will allow us to control the event_window and
5010 the allocation process of the widget, required for some effects.
5012 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5013 GtkBin structures. * src/hildon-pannable-area.c: Added the
5014 event_window variable.
5015 (hildon_pannable_area_button_press_cb):
5016 (hildon_pannable_area_button_release_cb):
5017 (hildon_pannable_area_motion_notify_cb):
5018 Changed the signature of the method, now we override the event
5019 callback instead of connecting to the signal.
5021 (hildon_pannable_area_realize):
5022 (hildon_pannable_area_unrealize):
5023 (hildon_pannable_area_map):
5024 (hildon_pannable_area_unmap):
5025 (hildon_pannable_area_size_allocate):
5026 Added functions to control the widget construction. We add a
5027 INPUT_ONLY window and we put it over the widgets inside the
5028 container, this event_window handles the events.
5030 (hildon_pannable_area_class_init):
5031 Replaced the signal connections with overrides of the event
5034 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5036 Bouncing effect added when touching the borders, you can change
5037 the elasticity of the border changing the ELASTICITY define.
5039 * src/hildon-pannable-area.c: Added ELASTICITY define.
5040 (hildon_pannable_area_timeout): Added inverse velocity when
5041 touching the border of the child widget, that causes a bounce.
5043 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5045 Improved performance, we now do not go to the X server in order to
5046 get the list of window children. Apparently the effect is the
5047 same, we have to be careful and check if this breaks something in
5050 * src/hildon-pannable-area.c:
5051 (get_ordered_children): Removed this function.
5052 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5053 the children windows function with gdk_window_get_children.
5055 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5057 * src/hildon-pannable-area.c:
5058 (hildon_pannable_area_dispose): Fixed a crash when closing the
5059 window and kinetics is activated.
5061 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5063 * src/hildon-pannable-area.h
5064 * src/hildon-pannable-area.c
5065 Changed indentation style to meet the one used in Hildon
5067 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5069 Reviewed the interaction of the AUTO mode, now we use the time
5070 attribute of the events and calculate the velocity in the motion,
5071 doing a gimp like calculation. The velocity is calculated in each
5072 motion event using the last velocity and the current one, the
5073 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5075 * src/hildon-pannable-area.c: Replaced the time based algorithm
5077 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5078 timeout for the AUTO mode when we are still moving the cursor. We
5079 added also the velocity calculation in this function.
5080 (hildon_pannable_area_button_release_cb): launch the timeout in
5081 case we are in AUTO mode. There are still some constants here that
5082 come from the old implementation that should be reviewed and
5085 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5087 * doc/hildon-docs.sgml
5090 * src/hildon-stackable-window.c
5091 * src/hildon-stackable-window.h
5093 New HildonStackableWindow widget
5095 * examples/hildon-dialog-example.c
5096 * examples/hildon-pannable-area-example.c
5099 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-dialog.c
5102 (hildon_dialog_new_with_buttons): New constructor.
5104 * examples/hildon-dialog-example.c
5105 (main): Update the example to use the new
5106 hildon_dialog_new_with_buttons().
5108 * examples/hildon-pannable-area-example.c
5109 (main): Update example.
5111 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5113 * doc/hildon-docs.sgml
5115 Added HildonPannableArea to the documentation.
5117 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5119 * doc/visual_index.xml
5120 Fix reference to HildonLoginDialog in documentation
5122 * doc/hildon-docs.sgml
5124 * examples/Makefile.am
5125 * examples/hildon-dialog-example.c
5127 * src/hildon-dialog.c
5128 * src/hildon-dialog.h
5130 New HildonDialog widget.
5132 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5134 * src/hildon-pannable-area.c
5135 Merge latest changes (r4318, r4342) from libmokoui trunk
5137 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5139 * examples/Makefile.am
5140 * examples/hildon-pannable-area-example.c
5142 * src/hildon-pannable-area.c
5143 * src/hildon-pannable-area.h
5145 New HildonPannableArea widget.
5147 2008-04-15 18:05:19 <timj@imendio.com>
5149 * src/hildon-banner.c: revert the recent change, that introduced
5150 gtk_window_present() calls. this reopens:
5151 Bug 78481 - [freetest] information banners are hidden under browser menu
5152 But resolves another variant of:
5153 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5155 2008-04-15 13:21:13 <timj@imendio.com>
5157 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5158 recreated its layout, spotted by Kris. this fixes all remaining
5159 artefacts and stability issues with the banner code. in particular:
5160 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5162 2008-04-14 16:52:59 <timj@imendio.com>
5164 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5165 operating on unrealized widgets, fixes:
5166 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5168 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5170 2008-04-09 Kristian Rietveld <kris@imendio.com>
5172 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5173 makes banner disappear.
5174 Fixes: NB#79182: info banner flickering with certain message lengts.
5176 * src/hildon-banner.c (hildon_banner_constructor),
5177 (hildon_banner_init), (hildon_banner_set_text),
5178 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5179 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5180 FALSE, reset size requests of label and banner,
5181 (force_to_wrap_truncated): when the text is too wide, always enforce
5182 the maximum possible width instead of recalculating it from the
5183 layout; enforce the maximum banner height of 3 lines,
5184 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5185 nicer wrapping and no truncated chars if space gets tight.
5187 * src/hildon-banner-private.h: add has_been_wrapped and
5188 has_been_truncated fields.
5190 2008-04-07 Sven Herzberg <sven@imendio.com>
5192 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5193 local values in hildon_date_editor_size_allocate
5195 * src/hildon-date-editor.c: moved the real allocation code into the
5198 2008-04-07 Sven Herzberg <sven@imendio.com>
5200 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5201 local values in hildon_date_editor_size_allocate
5203 * src/hildon-date-editor.c: merged the two if() branches together
5205 2008-04-07 Sven Herzberg <sven@imendio.com>
5207 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5208 local values in hildon_date_editor_size_allocate
5210 * src/hildon-date-editor.c: changed the arguments of the if()
5213 2008-04-07 Sven Herzberg <sven@imendio.com>
5215 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5216 local values in hildon_date_editor_size_allocate
5218 * src/hildon-date-editor.c: split the calculation of the allocation
5219 from the real allocation
5221 2008-03-27 Michael Natterer <mitch@imendio.com>
5223 Fixes: NB#81696: The passcode is not overwritten even after
5226 * src/hildon-code-dialog.c
5227 (hildon_code_dialog_button_clicked)
5228 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5229 because that doesn't overwrite selected text. Instead, emit the
5230 "commit" signal on the entry's im_context so the entry's normal
5231 insert logic is triggered. Set the cursor to the end of the entry
5232 after each insert operation so that we *only* insert in the middle
5233 of the text if something was selected.
5235 2008-03-27 Michael Natterer <mitch@imendio.com>
5237 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5238 selector cannot be opened
5240 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5241 when the popup color selector is created. Please connect to this
5242 signal in order to set the dialog's help ID.
5244 2008-03-25 Sven Herzberg <sven@imendio.com>
5246 Fixes: MB#1212: Hide info banners (infoprints) on click
5248 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5249 extracted the close event simulation into an extra function
5250 (hildon_banner_button_press_event): simulate a close event and destroy
5251 the widget if the event wasn't handled
5252 (hildon_banner_class_init): added the button_press_event handler
5253 (hildon_banner_init): added button-press events to the widget
5255 2008-03-25 Sven Herzberg <sven@imendio.com>
5257 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5258 Patch from: Mohammad Anwari <mdamt@maemo.org>
5260 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5261 instead of the right in RTL mode
5262 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5263 breadcrumb button list in RTL mode
5264 * src/hildon-caption.c: mirror the appearance of the caption widget in
5266 * src/hildon-date-editor.c: mirror appearance of the date editor in
5268 * src/hildon-time-editor.c: mirror appearance of the time editor in
5270 * src/hildon-window.c: fix the position of the popup in RTL mode
5272 2008-03-25 Sven Herzberg <sven@imendio.com>
5274 Amendment to the fix of NB#22072. Fix compilation.
5276 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5278 2008-03-19 Sven Herzberg <sven@imendio.com>
5280 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5283 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5284 timeout id properly when the timeout will disappear this leaves no
5285 artifacts around in the destroy(); there will only be the timeout
5286 created by hildon_banner_ensure_timeout() and adding a new timeout
5287 will also work if the timeout gets removed because the timeout_handler
5290 2008-03-19 Michael Natterer <mitch@imendio.com>
5292 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5294 * src/hildon-volumebar.c
5295 * src/hildon-vvolumebar.c
5296 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5297 the widget becomes focussable at all.
5299 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5300 set the focus to wither the mute button or the volumebar.
5302 Remove own "can-focus" property and instead listen to
5303 notify::can-focus in order to update the widget's state.
5305 Implement GtkWidget::focus() and make sure we can also *leave* the
5306 widget, not only enter it, depending on volumebar orientation and
5307 requested focus direction.
5309 Clean up set_mute() to cooperate nicely with all the above.
5311 2008-03-04 Michael Natterer <mitch@imendio.com>
5313 Fixes: NB#78481: information banners are hidden under browser menu
5315 * src/hildon-banner.c: call gtk_window_present() on the banners so
5316 they are risen if they are already visible.
5318 2008-03-03 Sven Herzberg <sven@imendio.com>
5320 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5322 * examples/hildon-window-menu-example.c: (main): extended the window
5323 menu example to serve as a testcase for automatically added
5324 accelerator groups, too
5325 * src/hildon-window.c: (hildon_window_add_accel_group),
5326 (hildon_window_set_menu): added patch by Tommi Komulainen
5328 2008-03-03 Sven Herzberg <sven@imendio.com>
5330 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5332 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5333 knowledge about the border allocators used within GTK+
5335 2008-02-26 Sven Herzberg <sven@imendio.com>
5337 Fixes: MB#2981: Build with asserts broken
5339 * src/hildon-date-editor.c,
5340 * src/hildon-number-editor.c,
5341 * src/hildon-time-editor.c,
5342 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5343 the proper GType instance check
5345 2008-02-25 Sven Herzberg <sven@imendio.com>
5347 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5349 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5350 * examples/hildon-window-menu-example.c: (main): explicitly show
5352 * src/hildon-window.c:
5353 (hildon_window_set_main_menu): moved most of the code from set_menu()
5354 to this place; skipped the call to gtk_widget_show_all(); also didn't
5355 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5356 (hildon_window_set_menu): removed most of the code, just keep the
5357 questionable gtk_widget_show_all()
5358 * src/hildon-window.h: added the new function and deprecate the old
5361 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5367 * debian/changelog: Updating.
5369 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5372 * pkgconfig/Makefile.am:
5373 * pkgconfig/hildon.pc.in:
5376 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5377 use newly created API_MAJOR_VERSION.
5379 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5385 * debian/changelog: Updating.
5387 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5389 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5391 Add outer_border style property, we use it but don't define it (!).
5395 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5397 * examples/hildon-bread-crumb-trail-example.c (main):
5401 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5403 Fix logic for the bread crumb trail node removal.
5407 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5413 * debian/changelog: Updating.
5415 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5417 Patch by Alejandro to get/set passwords dialogs accesibility.
5419 * hildon-1/src/hildon-get-password-dialog.c:
5420 * hildon-1/src/hildon-set-password-dialog.c:
5421 Set atk_set_name to the passwd entries in order to allow
5422 accessibility by name on this entries.
5424 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5429 * debian/control: Updating gtk dep.
5431 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5433 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5434 USE_MAEMO_GTK is enabled.
5436 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5438 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5439 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5441 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5447 * debian/changelog: Updating.
5449 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5451 * examples/Makefile.am:
5452 * examples/hildon-logical-color-example.c:
5453 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5454 applied + adding a test case. Fixes: NB#71660.
5456 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5458 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5459 to be visible, fixes warning on map for windows without toolbars.
5461 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5463 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5464 2.11.0, add a check for that besides the MAEMO_GTK check.
5466 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5472 * debian/changelog: Updating.
5474 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5476 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5477 visibility. Fixes: NB#70842 and MB#615.
5479 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5481 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5482 set the separator as no-show-all so it doesn't unintentionally appear when
5483 someone does a show_all.
5485 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5487 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5488 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5489 toplevel item. Fixes: NB#62031
5491 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5493 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5494 fix the name of the function in the docs.
5496 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5502 * debian/changelog: Updating.
5504 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5506 * examples/hildon-banner-long-example.c: Adding a test-case for long
5509 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5511 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5513 * src/hildon-color-chooser-dialog.c:
5514 * src/hildon-color-chooser.c:
5515 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5516 memory leaks in font selector and color selector. Fixes: NB#70499 and
5519 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5521 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5523 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5525 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5526 little bit bigger. Fixes: #NB63694.
5528 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5534 * debian/changelog: Updating.
5536 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5539 * doc/hildon-docs.sgml:
5540 * doc/images/bread-crumb-trail.png:
5541 * doc/images/calendar-popup.png:
5542 * doc/images/caption.png:
5543 * doc/images/code-dialog.png:
5544 * doc/images/color-button.png:
5545 * doc/images/color-chooser-dialog.png:
5546 * doc/images/color-chooser.png:
5547 * doc/images/controlbar.png:
5548 * doc/images/date-editor.png:
5549 * doc/images/font-selection-dialog.png:
5550 * doc/images/get-password-dialog.png:
5551 * doc/images/hvolumebar.png:
5552 * doc/images/login-dialog.png:
5553 * doc/images/note.png:
5554 * doc/images/number-editor.png:
5555 * doc/images/range-editor.png:
5556 * doc/images/seekbar.png:
5557 * doc/images/set-password-dialog.png:
5558 * doc/images/sort-dialog.png:
5559 * doc/images/time-editor.png:
5560 * doc/images/time-picker.png:
5561 * doc/images/vvolumebar.png:
5562 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5563 Adding the bread-crumb-trial and helpers to the documentation.
5565 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5567 * examples/hildon-find-toolbar-example.c:
5568 * src/hildon-find-toolbar.c:
5569 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5570 actually continue firing the other handlers if connected. Adding a new
5572 hildon_find_toolbar_get_last_index that gets the index of the most
5573 recently added (last) item. Fixes: NB#52301.
5575 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5577 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5578 behaviour. Fixes: NB#68610.
5580 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5582 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5585 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5587 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5588 when realizing the banner. Should make the infonbanner effect a bit more
5591 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5593 * src/hildon-volumebar.c:
5594 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5595 hildon_volumebar_set_range_insensitive_message and
5596 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5598 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5600 * src/hildon-window.c: Fixing the border freeing on destroy.
5602 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5604 * src/hildon-code-dialog-private.h:
5605 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5606 kw keyboard support in HildonCodeDialog.
5608 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5614 * debian/changelog: Updating.
5616 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5618 * src/hildon-date-editor.c:
5619 * src/hildon-number-editor.c:
5620 * src/hildon-private.c:
5621 * src/hildon-private.h:
5622 * src/hildon-time-editor.c:
5623 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5624 handling in subclassed composite widgets. Fixes: NB#66628.
5626 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5628 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5629 from destroy_ callback as it introduces problems in async dbus signal
5630 handlers. Fixes NB#66673.
5632 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5634 * examples/hildon-hvolumebar-example.c:
5635 * src/hildon-volumebar.c: Improving the focus handling in the
5636 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5637 set_property accessor so that "mute" property can be actually set. I'm
5638 scared that nobody noticed it's totally broken.
5640 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5642 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5645 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5647 * src/hildon-calendar.c:
5648 * src/hildon-number-editor.c:
5649 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5650 matches the spec of 6 chars per second. Fixes: NB#60489.
5652 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5654 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5655 gtk_style_lookup_color sometime returns FALSE even though color was
5656 found and values were filled properly. Weird. Removing the warning for the
5659 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5661 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5662 expand vertically. Adding some extra space to the find toolbar buttons to
5663 make them thumbable. Fixes NB#66060.
5665 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5667 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5668 popup with "Ok" and "Cancel". Fixes NB#59299.
5670 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5672 * src/hildon-calendar.c: Process all window updates before executing next
5673 timeout. Fixes: NB#54146.
5675 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5681 * debian/changelog: Updating.
5683 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5685 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5686 the client event and ignore it, since we use the delete event to close
5689 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5691 * src/hildon-helper.c: Remove the bogus warning about color not being
5692 found. Fixes NB#58352.
5694 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5696 * examples/Makefile.am:
5697 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5698 HildonSeekbar widget inside a toolbar.
5700 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5702 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5703 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5704 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5705 don't want to be closed by non-temporary windows on map.
5707 Also use G_DEFINE_TYPE instead of manually typed code.
5709 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5716 * debian/rules: Updating.
5718 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5720 * examples/Makefile.am:
5721 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5722 bug NB#61128. Strangely it works.
5724 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5726 * src/hildon-date-editor.c: When the date editor entry has been changed
5727 but the numbers of characters < max, turn off the skip validation flag.
5728 Prevents a situation when we enter first a valid year and later re-write
5729 it with an invalid one. Fixes NB#60154.
5731 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5733 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5734 code dialog. Fixes NB#64355.
5736 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5738 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5739 switching the page. Fixes NB#49374.
5741 * examples/Makefile.am:
5742 * examples/hildon-wizard-dialog-example.c: Adding an example for
5743 HildonWizardDialog that shows how to handle manual sensitivity setting on
5746 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * src/hildon-version.h.in:
5751 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5753 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5755 * src/hildon-volumebar.c: Updating the docs.
5757 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5763 * debian/changelog: Updating.
5765 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5767 * src/hildon-find-toolbar.c:
5768 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5769 selected item: hildon_find_toolbar_set_active,
5770 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5771 hildon_find_toolbar_get_active_iter . They correspond to respective
5772 GtkComboBox functions.
5774 * examples/Makefile.am:
5775 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5778 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5780 * examples/Makefile.am:
5781 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5784 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5785 when font size > 32 and we pack a focusable widget inside. Actually using
5786 the default response would work too, but since we don't show default
5787 response state in any way (no theming) it would not be visible to the
5788 user. Fixes NB#63430.
5790 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5792 * src/hildon-date-editor.c: Adding the missing variable setter in the
5793 set_property handler. Fixes NB#54182.
5795 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5797 * src/hildon-window.h: Changing the long key press time from 1500ms to
5798 800ms as requested in NB#63700. I have a bad feeling about this, let's
5799 see... Fixes NB#63700.
5801 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5803 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5804 hildon_time_picker_map, hildon_time_picker_realize,
5805 hildon_time_picker_style_set): Split the contents of map to more
5806 appropriate functions; set window decorations on realize and update
5807 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5809 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5814 * debian/changelog: Updating.
5816 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5818 * src/Makefile.am: fixed installation of the header files
5820 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5826 * debian/changelog: Updating.
5828 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5830 * configure.ac: Removing some remaining of --enable-xan.
5832 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5834 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5835 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5837 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5838 2.10.12-osso6 because the move-focus signal needs to be available in
5841 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5843 * examples/Makefile.am:
5844 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5845 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5846 fine. Prolly NB#61128 is fixed now.
5848 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5850 * src/hildon-volumebar.c:
5851 * src/hildon-volumebar.h: Adding the
5852 hildon_volumebar_set_range_insensitive_message and
5853 hildon_volumebar_set_range_insensitive_messagef functions to set
5854 insensitive message on the slider of the volumebar. Fixes NB#61129.
5856 * examples/Makefile.am:
5857 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5858 test the new insensitive messsage functionality on HildonVolumebar.
5860 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5862 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5865 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5867 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5868 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5869 button on after clearing the trail.
5871 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5873 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5875 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5877 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5878 by splitting the installed headers in generated and non-generated groups. Use
5879 only the non-generated headers to create the hildon-enum-types.h file.
5881 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5883 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5885 * src/hildon-window.c: Hide the window before performing the destroy.
5886 Should make the app closing a little tiny bit more snappy.
5888 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5890 * src/hildon-seekbar.c: add gtkrange.h header
5891 * src/hildon-caption.c: remove unused variable
5893 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5895 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5898 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5904 * debian/changelog: Updating.
5906 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5908 * src/hildon-window.c (hildon_window_window_state_event,
5909 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5910 escape timeout on focus-out-event rather than notify::is-topmost; the
5911 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5913 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5915 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5916 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5918 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5920 * src/hildon-window: actually, you need to use the macro always, there's
5921 no private pointer in the instance structure. We should have cleaned this up
5922 when we had the chance...
5924 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5926 * src/hildon-window.c: do not get the private date from HildonWindow before
5927 it passes the g_return_if_fail check. Once it's passed the test, there's no
5928 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5929 if you are only going to access the data once. Whitespace cleanups.
5931 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5933 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5934 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5936 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5942 * debian/changelog: Updating.
5944 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5946 * src/hildon-window.c: When destroying the window, remove (if exists) the
5947 escape timeout handler. Fixes #NB59276.
5949 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5951 * src/hildon-banner.c: When realizing the widget, set the window
5952 transiency. Setting the transiency in the gobject constructor is not
5953 good, as the widget is not realized at that point. Fixes: #NB56624.
5955 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5957 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5958 Add padding for future expansions.
5960 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5962 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5963 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5964 will fake an activation on the previous to the last item of the trail, so
5965 the effect can be overrided by the developer as usual.
5966 Also change the callback for the back button to do the same thing, so its
5967 effect can be overrided too. Fixes: NB#58982
5969 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5971 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5972 HildonCaption. Fixes NB#52379.
5974 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5976 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5977 the internal state of the trail after the user has had the chance of executing
5978 his handler for the signal. Specifically, it may happen that the activated button
5979 is removed and the user still lets the default handler run. This would segfault
5982 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5984 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5985 scrollbar to the preview dialog. Fixes NB#54147.
5987 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5989 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5990 max/min year properties can be altered, so the client can modify it
5991 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5993 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5995 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5996 hildonlike by default. Fixing a problem with disappearing arrows when
5997 scrolling through months and years. Fixes NB#54127.
5999 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6001 * examples/hildon-date-editor-example.c: Adding error callback to the date
6004 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6010 * configure.ac: Updating.
6012 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6014 * configure.ac: Adding a special '--enable-xan' configure option that
6015 turns off the -Werror compilation setting. Usefull for development.
6017 * src/hildon-calendar.c:
6018 * src/hildon-number-editor.c:
6019 * src/hildon-time-picker.c: Adding the 5* multiplier to
6022 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6024 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6025 instead of g_object_ref + gtk_object_sink.
6027 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6033 * debian/changelog: Updating.
6035 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6037 * src/hildon-color-chooser-dialog.c:
6038 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6039 straight from Tommi labs.
6041 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6043 * examples/hildon-finger-example.c: Correcting the header file path.
6045 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6046 the changed signal. Fixes a small memory leak.
6048 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6052 * src/hildon-banner.c: Importing several usefull fixes from the
6053 ubuntu-mobile branch.
6055 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6057 * examples/Makefile.am:
6058 * examples/hildon-finger-example.c: Adding a finger-checking code
6061 * src/hildon-font-selection-dialog.c: Do not allocate the color
6062 structure using the g_new. Fixes NB#54061.
6064 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6066 * src/hildon-helper.c: Correcting tabs in file.
6068 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6070 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6071 control the visibility of the children.
6073 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6075 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6081 * debian/changelog: Updating.
6083 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6085 * src/hildon-bread-crumb-trail.c:
6086 (hildon_bread_crumb_trail_size_allocate):
6088 Make the back button always a square.
6090 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6092 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6093 from the .c file as it's a private file.
6095 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6097 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6098 uses slightly bigger height.
6100 * src/hildon-font-selection-dialog.c: Adding some checks before
6101 freeing memory in the font selection dialog.
6103 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * src/hildon-font-selection-dialog.c: Adding a small check when
6108 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6109 buttons sensitivity on page switching.
6111 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6113 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6114 internal details of adding a bread crumb to the trail.
6116 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6122 * debian/changelog: Updating.
6124 * src/hildon-bread-crumb-trail.h:
6125 * src/hildon-bread-crumb.h: Changing the API guard to
6126 HILDON_ENABLE_UNSTABLE_API.
6128 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6136 * src/hildon-helper.h: Updating.
6138 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6146 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6150 * src/hildon-helper.h: Small fix to make the package actually compile.
6152 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6154 * src/hildon-bread-crumb-trail.h:
6155 * src/hildon-bread-crumb.h:
6157 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6158 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6160 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6162 * examples/hildon-bread-crumb-trail-example.c:
6164 * src/hildon-bread-crumb-trail.c:
6165 * src/hildon-bread-crumb-trail.h:
6166 * src/hildon-bread-crumb.c:
6167 * src/hildon-bread-crumb.h:
6168 * src/hildon-marshalers.list:
6169 * src/hildon-bread-crumb-widget.c:
6170 * src/hildon-bread-crumb-widget.h:
6172 Slight change in the widget design. The bread crumb trail API is
6173 unchanged, but HildonBreadCrumb is now an interface. A *private*
6174 implementation, hildon-bread-crumb-widget, is provided and used
6175 internally by the trail for the push_text/push_icon functions.
6177 The generic push API is still available, so anyone can implement
6178 and use its own bread crumb widget.
6180 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6182 * debian/rules: Fixing the shlibs.
6184 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6186 * src/hildon-banner.c: Fixing a problem with timed banners having
6187 their parrent destroyed before they are.
6189 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6191 * src/hildon-bread-crumb.c:
6192 * src/hildon-bread-crumb.h:
6194 Make the get_natural_size function a vfunc.
6196 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6198 * src/hildon-bread-crumb.c:
6199 * src/hildon-bread-crumb-trail.c:
6203 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6210 * debian/changelog: Updating for release.
6212 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6214 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6215 don't leak the pango layout.
6217 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6220 * examples/hildon-bread-crumb-trail-example.c:
6224 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6226 * debian/changelog: Removing the bug-fixed entries that were actually
6227 resolved as WONTFIX.
6229 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6232 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6234 * src/hildon-bread-crumb-trail.c:
6235 * src/hildon-bread-crumb-trail.h:
6236 * src/hildon-bread-crumb.c:
6237 * src/hildon-bread-crumb.h:
6241 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6243 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6244 until it's passed the type check.
6246 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6248 * examples/hildon-bread-crumb-trail-example.c
6252 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6254 * examples/Makefile.am
6255 * examples/hildon-bread-crumb-trail-example.c
6257 * src/hildon-bread-crumb-trail.c
6258 * src/hildon-bread-crumb-trail.h
6259 * src/hildon-bread-crumb.c
6260 * src/hildon-bread-crumb.h
6262 New HildonBreadCrumbTrail widget.
6264 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6266 * src/hildon-range-editor.c (hildon_range_editor_init),
6267 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6268 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6269 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6270 hildon_time_editor_class_init, hildon_time_editor_init),
6271 src/hildon-get-password-dialog.c (invalid_input,
6272 hildon_get_password_set_property, hildon_get_password_get_property,
6273 create_contents, hildon_get_password_dialog_set_max_characters),
6274 src/hildon-set-password-dialog.c (create_contents),
6275 src/hildon-date-editor.c (hildon_date_editor_init),
6276 src/hildon-login-dialog.c (hildon_login_dialog_init),
6277 src/hildon-number-editor.c (hildon_number_editor_init),
6278 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6279 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6280 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6281 configure option and adding the respective checks in the code.
6282 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6283 hildon_calendar_drag_data_received): fixed some build warnings.
6285 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6287 * debian/changelog: A 1.0.0 release notes.