1 2009-02-12 Alberto Garcia <agarcia@igalia.com>
4 (hildon_banner_map, hildon_banner_init): Make banner temporary
5 before mapping it to avoid closing other temporary windows, but
6 make it non-temporary afterwards to avoid being closed by other
8 (-hildon_banner_client_event, hildon_banner_init):
9 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
11 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
14 2009-02-11 Alberto Garcia <agarcia@igalia.com>
16 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
19 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
21 * src/hildon-remote-texture.c
22 * src/hildon-remote-texture.h
23 * src/hildon-remote-texture-private.h
24 * examples/hildon-remote-texture-example.c:
25 Updates/fixes to remote-texture and its example.
27 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
29 Patch by Mox Soini (ext-mox.soini@nokia.com)
31 * src/hildon-code-dialog.c: Update logical id.
32 * src/hildon-set-password-dialog.c: Update logical id.
34 Fixes: NB#100646 (Logical strings is shown for ok in set
35 password,Password needed dialogs)
37 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
40 * src/hildon-remote-texture.c
41 * src/hildon-remote-texture.h
42 * src/hildon-remote-texture-private.h
44 Added remote texture widget (for Clutter shared memory textures)
46 * examples/hildon-remote-texture-example.c
47 * examples/Makefile.am
48 Added example file for remote texture usage
50 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
52 * configure.ac: post release version bump.
53 * debian/changelog: version bump.
55 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
60 * configure.ac: Bump version.
61 * debian/changelog: Updates.
63 2009-02-06 Alberto Garcia <agarcia@igalia.com>
65 * src/hildon-date-selector.c (hildon_date_selector_init)
66 (hildon_date_selector_constructor): Don't connect to the "changed"
67 signal until the selector is completely constructed.
69 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
71 * src/hildon-touch-selector.c: (_create_new_column),
72 (hildon_touch_selector_append_column),
73 (hildon_touch_selector_set_column_selection_mode),
74 (hildon_touch_selector_set_active),
75 (hildon_touch_selector_select_iter):
76 Emit the HildonTouchSelector::changed signal every time selection
77 is changed in any of the methods above. This behavior was already
78 documented but not fully functional.
80 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
81 selection is programmatically changed)
83 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
85 * doc/hildon-sections.txt: Remove obsolete icon
86 sizes from here as well.
88 2009-02-05 Alberto Garcia <agarcia@igalia.com>
90 * examples/hildon-stackable-window-example.c (add_window): Remove
93 2009-02-05 Alberto Garcia <agarcia@igalia.com>
95 * src/hildon-app-menu.c
96 (hildon_app_menu_show): Check whether the parent window of a menu
97 is topmost before popping it up.
99 Fixes: NB#100468 (Application menu window is launched even when a
100 new secondary-window/dialog is pending to be shown/realized.)
102 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
104 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
107 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
109 Patch by Mox Soini (ext-mox.soini@nokia.com)
111 * src/hildon-banner.c: (hildon_banner_show_animation):
112 use stylus size instead of obsolete note size.
113 * src/hildon-defines.h: Update icon sizes.
115 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
117 * src/hildon-touch-selector-entry.c:
118 (hildon_touch_selector_entry_init): Disable unsupported
120 (hildon_touch_selector_entry_get_text_column): Emit a warning
121 if an unsupported input modes is used and explicitile state
122 these modes in the documentation.
124 Fixes: NB#99802 (Hildon touch selector entry not working properly
125 for some of the input modes)
127 2009-02-05 Alejandro G. Castro <alex@igalia.com>
129 * src/hildon-pannable-area.c,
130 (hildon_pannable_area_init): Added the changed signal handlers of
133 Fixes: NB#100320 (HildonPannableArea does not listen to
134 GtkAdjustment "change" signals)
136 2009-02-04 Alberto Garcia <agarcia@igalia.com>
138 * doc/hildon-sections.txt
139 * src/hildon-window-private.h
140 * src/hildon-window.h
141 * src/hildon-window.c (hildon_window_init)
142 (hildon_window_realize, hildon_window_unrealize)
143 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
144 (hildon_window_size_request, hildon_window_size_allocate)
145 (hildon_window_forall, hildon_window_show_all)
146 (hildon_window_destroy, +paint_edit_toolbar)
147 (+hildon_window_set_edit_toolbar):
148 New hildon_window_set_edit_toolbar() method, to add a
149 HildonEditToolbar to a window without having to pack it manually.
151 Reorganize hildon_window_size_allocate()
153 * src/hildon-edit-toolbar.c: Update documentation.
155 * examples/hildon-edit-toolbar-example.c (edit_window): Update
156 example to use the new API.
158 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
160 2009-02-04 Alberto Garcia <agarcia@igalia.com>
162 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
163 Remove from stack before calling parent's hide.
165 2009-02-04 Alberto Garcia <agarcia@igalia.com>
167 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
168 window is removed from the middle of the stack, update the
169 transiency of the previous one.
171 Fixes: NB#100487 (HildonStackableWindow transiency becomes
174 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
176 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
177 block/unblock the signal handler if it's not actually being used.
178 Fixes some critical warnings.
180 2009-02-02 Alberto Garcia <agarcia@igalia.com>
182 Based on a patch by Iván Gómez (igomez@igalia.com)
184 * src/hildon-banner.c
188 * src/hildon-pannable-area.c
189 * src/hildon-picker-dialog.c
190 * src/hildon-wizard-dialog.h
191 * src/hildon-wizard-dialog.c: Documentation updates.
193 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
194 gtk_dialog_add_button() instead of hildon_dialog_add_button().
196 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
198 * configure.ac: post release version bump.
199 * debian/changelog: version bump.
201 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
206 * configure.ac: Bump version.
207 * debian/changelog: Updates.
209 2009-01-29 Alberto Garcia <agarcia@igalia.com>
211 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
212 a stock icon nor change the relief of the back arrow.
214 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
217 2009-01-29 Alberto Garcia <agarcia@igalia.com>
219 * src/hildon-button.c (hildon_button_set_alignment): Use
220 priv->alignment if the button has no child yet.
222 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
224 * src/hildon-button.c: (hildon_button_init): Set the
225 button style during initialization to give it the proper
228 Fixes: NB#99713 (HildonButton value label color is wrong)
230 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
232 * src/hildon-touch-selector.c: Document
233 hildon_touch_selector_center_on_selected()
235 2009-01-28 Alberto Garcia <agarcia@igalia.com>
237 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
238 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
239 all menu items, but not the menu itself.
240 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
241 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
242 items after adding them to the menu so keyboard accelerators work.
243 (hildon_app_menu_show): Don't show the menu if it contains items
244 but none of them are visible.
246 * examples/hildon-app-menu-example.c (create_menu): Use
247 gtk_widget_show_all() to show all menu items.
249 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
251 * src/hildon-picker-dialog.c:
252 (-_update_title_on_selector_changed_cb),
253 (-_dialog_update_title): Removed.
254 (_select_on_selector_changed_cb), (_on_dialog_response),
255 (on_selector_columns_changed): Do not update the dialog title.
256 (setup_interaction_mode): Do not connect to
257 HildonTouchSelector::changed signal if there's a "done" button, as
258 the dialog title doesn't need to be updated.
260 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
263 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
265 Patch by Kristian Rietveld (kris@imendio.com)
267 * src/hildon-touch-selector.c: (_create_new_column): Use new
268 GtkTreeView::hildon-row-tapped signal to react to user interactions
269 instead of ::changed.
271 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
272 with some dynamic tree model)
274 2009-01-27 Alberto Garcia <agarcia@igalia.com>
276 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
277 (+screen_size_changed, +label_size_request)
278 (hildon_note_class_init): Make the Hildon information note have a
279 minimum height, and make its text hvae a maximum width.
281 Fixes: NB#98614 (Hildon information note (background) should have
282 minimum height and maximum text width)
284 2009-01-26 Alberto Garcia <agarcia@igalia.com>
286 * src/hildon-banner.h
287 * src/hildon-banner.c (hildon_banner_show_information)
288 (hildon_banner_show_informationf)
289 (hildon_banner_show_information_with_markup): Update documentation
290 to reflect that the icon_name parameter is not used anymore.
291 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
292 Remove all code from these functions and mark them as deprecated.
293 (hildon_banner_show_progress): Mark as deprecated.
295 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
297 2009-01-26 Alejandro G. Castro <alex@igalia.com>
299 * src/hildon-pannable-area.c,
300 (hildon_pannable_area_class_init),
302 (hildon_pannable_draw_vscroll),
303 (hildon_pannable_draw_hscroll),
304 (hildon_pannable_area_expose_event): Added a new way to render the
305 scrollbars of the pannable area avoiding using cairo at all. This
306 way we improve the performance of the pannable area rendering. The
307 cairo rendering procedure is still in the code, we can control
308 which one to use changing the value of the define
309 USE_CAIRO_SCROLLBARS.
311 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
313 * configure.ac: post release version bump.
314 * debian/changelog: version bump.
316 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
321 * configure.ac: Bump version.
322 * debian/changelog: Updates.
324 2009-01-23 Alberto Garcia <agarcia@igalia.com>
326 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
327 banners instead of destroying them when they receive a button
330 2009-01-23 Alejandro G. Castro <alex@igalia.com>
332 Reverted commit 34028, it was causing regressions, probably the
333 topmost condition is not correct, we have to check it in more
334 detail. We have reponed the bug: NB#97458 (Pannable area prevents
335 propagation of button press events)
337 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
339 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
340 that the selection is not empty before attempting to retrieve the
341 current ampm selection.
343 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
345 * src/hildon-picker-button.c:
346 (hildon_picker_button_on_dialog_response): Directly update the
347 button contents when required instead of calling _selection_changed.
349 2009-01-23 Alberto Garcia <agarcia@igalia.com>
351 * src/hildon-program.c (hildon_program_update_top_most): Update
352 'is-topmost' property also when wm_hints is not set.
354 Fixes: NB#98383 (is-topmost signal is not emitted when task
355 switcher is clicked.)
357 2009-01-23 Alejandro G. Castro <alex@igalia.com>
359 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
363 * src/hildon-animation-actor.c,
364 * src/hildon-animation-actor.h: Added the animation actor class,
365 this widget represents an animation actor for WM-assisted
366 animation effects in the Hildon framework.
368 2009-01-23 Alberto Garcia <agarcia@igalia.com>
370 * src/hildon-window-stack-private.h
371 * src/hildon-window-stack.c
372 * src/hildon-stackable-window.c (hildon_stackable_window_show):
373 Avoid calling gtk_widget_show() again indirectly from
374 hildon_stackable_window_show()
376 2009-01-23 Alberto Garcia <agarcia@igalia.com>
378 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
381 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
383 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
384 (hildon_time_selector_init): Move the construction of the hours and
385 ampm columns to the constructor to preserve the order the columns
388 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
390 * src/hildon-picker-dialog.c:
391 (hildon_picker_dialog_class_init): Connect a realize method.
392 (+hildon_picker_dialog_realize): Setup the interaction mode here
394 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
395 yet, do it during the realize instead.
396 (_on_dialog_response):
397 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
398 if the widget is not realized, to avoid the dialog response before it
401 Avoid premature responses in the HildonPickerDialog that can cause it
402 to be hidden before it's even shown.
404 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
406 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
407 (on_selector_columns_changed), (requires_done_button),
408 (+prepare_action_area), (setup_interaction_mode),
409 (_hildon_picker_dialog_set_selector):
411 Split the interaction mode setup into preparation of the
412 action area (prepare_action_area()) and the connection of
413 the signals in setup_interaction_mode() and update the code to
416 2009-01-22 Alejandro G. Castro <alex@igalia.com>
418 * src/hildon-pannable-area.c,
419 (hildon_pannable_area_class_init): Reduced the amount of scrolls
420 per second to 15, we will check if this is ok regarding
423 2009-01-22 Alejandro G. Castro <alex@igalia.com>
425 * src/hildon-pannable-area.c,
426 (hildon_pannable_axis_scroll): Avoid resize if we already have
427 reached overshoot_max.
429 2009-01-22 Alejandro G. Castro <alex@igalia.com>
431 * src/hildon-pannable-area.c,
432 (hildon_pannable_area_init),
433 (hildon_pannable_area_realize),
434 (hildon_pannable_area_size_allocate),
435 (hildon_pannable_area_map),
436 (hildon_pannable_area_unmap),
437 (hildon_pannable_draw_vscroll),
438 (hildon_pannable_draw_hscroll),
439 (hildon_pannable_area_expose_event),
440 (hildon_pannable_area_refresh): Added a new GdkWindow to the
441 pannable are to avoid the expose events go to the window and
442 redraw the window. We save this way that part of the stack and the
443 paint_boxes. We had to change the positions of the elements when
446 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
448 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
449 * src/hildon-color-chooser-dialog.c:
450 (hildon_color_chooser_dialog_init):
451 * src/hildon-font-selection-dialog.c:
452 (hildon_font_selection_dialog_init),
453 (hildon_font_selection_dialog_show_preview):
454 * src/hildon-get-password-dialog.c:
455 * src/hildon-login-dialog.c:
456 * src/hildon-set-password-dialog.c:
457 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
458 * src/hildon-time-picker.c: (hildon_time_picker_init):
460 Remove obsolete logical string IDs and update to the appropriate ones.
462 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
464 2009-01-21 Alberto Garcia <agarcia@igalia.com>
466 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
467 that happens if the window hasn't been realized yet.
469 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
470 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
472 2009-01-20 Alberto Garcia <agarcia@igalia.com>
474 * src/hildon-app-menu.c (hildon_app_menu_class_init)
475 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
478 Fixes: NB#98537 (Device hangs in account settings dialog)
480 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
482 * configure.ac: post release version bump.
483 * debian/changelog: version bump
485 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
490 * configure.ac: Bump version.
491 * debian/changelog: Updates.
493 2009-01-20 Alejandro G. Castro <alex@igalia.com>
495 Added a new function to the HildonTimeButton widget that allows to
496 change the step of the minutes in the selector associated with the
497 button: hildon_time_button_new_step
499 * src/hildon-time-button.c,
500 (hildon_time_button_init),
501 (hildon_time_button_new),
502 (hildon_time_button_new_step):
503 * src/hildon-time-button.h: Added the new function and refactored
505 * examples/hildon-time-button-example.c,
506 (main): We have replaced the function without parameters with the
507 function with the steps set to 5
509 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
511 2009-01-20 Alejandro G. Castro <alex@igalia.com>
513 * src/hildon-time-selector.c,
514 (hildon_time_selector_class_init),
515 (hildon_time_selector_constructor),
516 (hildon_time_selector_get_property),
517 (hildon_time_selector_set_property),
518 (_create_minutes_model),
519 (hildon_time_selector_new_step),
520 (hildon_time_selector_set_time),
521 * src/hildon-time-selector.h: Added a new property to the
522 HildonTimeSelector (minutes-step), we use that property to control
523 the steps between the minutes in the list of the selector. We have
524 added a new function to the API to create a widget changing the
525 step: hildon_time_selector_new_step.
527 2009-01-20 Alejandro G. Castro <alex@igalia.com>
529 * src/hildon-time-selector.c,
530 (hildon_time_selector_class_init),
531 (hildon_time_selector_constructor),
532 (hildon_time_selector_init): Overrided the construct function when
533 creating the time selector object. We have moved the minutes model
534 handling code from the init to the new construction function:
535 hildon_time_selector_constructor.
537 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
539 * examples/hildon-date-button-example.c: (main): Use the new
540 hildon_date_button_new_with_year_range() method in the example.
541 * src/hildon-date-button.c:
542 (+hildon_date_button_new_with_year_range): New public method
543 to conveniently create a HildonDateButton with a custom year range
544 in its HildonDateSelector.
545 * src/hildon-date-button.h: Add the new public method definition.
547 Fixes: NB#97908 (Not possible to change the year range in
548 HildonDateSelector/HildonDateButton)
550 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
552 * src/hildon-date-selector.c:
553 (+hildon_date_selector_set_property),
554 (+hildon_date_selector_get_property),
555 (hildon_date_selector_class_init): Install new properties "min-year"
556 and "max-year" to define boundaries for the year column.
557 (_create_year_model): Use the boundary properties to populate the model.
558 (+hildon_date_selector_new_with_year_range): New public method to
559 create a HildonDateSelector with a user defined year range.
560 (hildon_date_selector_select_current_date): Use the new boundaries to
561 calculate the iterator of current year.
562 * src/hildon-date-selector.h: Add the new public method definition.
564 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
567 Install a constructor method.
568 (+hildon_date_selector_construct_ui): construct the widget.
569 (+hildon_date_selector_constructor): new constructor.
570 (+hildon_date_selector_init): move out widget construction code to
573 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
575 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
576 that there's actually a month or year selected before obtaining them.
577 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
578 of the HildonTouchSelector::changed signal, as it was emitted on every
579 single item selection.
581 Fix some warnings and possible crashers due to the selection restoring.
583 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
585 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
586 the signal handlers only after creating the dialog instead of on every
589 2009-01-19 Alberto Garcia <agarcia@igalia.com>
591 * src/hildon-button.c (hildon_button_init)
592 * src/hildon-check-button.c (hildon_check_button_init)
593 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
594 focus when clicked by default.
596 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
598 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
601 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
603 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
604 Alejandro G. Castro (alex@igalia.com)
606 * src/hildon-picker-dialog.c:
607 (hildon_picker_dialog_class_init): install new "center-on-show"
609 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
610 (hildon_picker_dialog_set_property): add setter code for the new
612 (hildon_picker_dialog_get_property): add getter code for the new
614 (hildon_picker_dialog_show): Ensure visibility of selected items in the
615 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
618 Fixes: NB#92849 (Selected item is not always visible when
619 HildonTouchSelector is shown)
621 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
623 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
624 Alejandro G. Castro (alex@igalia.com)
626 * src/hildon-touch-selector.c:
627 (_create_new_column): Do not connect to the "realize" signal of the
629 (hildon_touch_selector_append_column): center on the selected items
630 when a new column is appended.
631 (hildon_touch_selector_select_iter): Factor out the code to select a
632 column to hildon_touch_selector_scroll_to().
633 (+search_nearest_element): Method to retrieve the nearest selected
634 element to the visible area of the pannable area in a column.
635 (+on_realize_cb): scroll to the initially selected item.
636 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
637 the pannable area is realized, otherwise delay this until it is.
638 (+_hildon_touch_selector_center_on_selected_items): Centers on the
639 selected items of a given column.
640 (+hildon_touch_selector_center_on_selected): Public method to center
641 all columns on the nearest selected item.
642 * src/hildon-touch-selector.h: Add definition for
643 hildon_touch_selector_center_on_selected().
645 Implement public API to ensure visibility of all selected items in
646 a HildonTouchSelector.
648 2009-01-16 Alejandro G. Castro <alex@igalia.com>
650 Fixed a problem in the fading when calling the scroll_to API, and
651 improve scrollbar fading handling.
653 * src/hildon-pannable-area.c,
654 (hildon_pannable_area_grab_notify): avoid the timeout when the
656 (hildon_pannable_area_button_press_cb),
657 (hildon_pannable_area_motion_notify_cb): Code style changes.
658 (hildon_pannable_area_button_release_cb): Review the conditions
659 when releasing the mouse button to avoid unrequired fading
661 (hildon_pannable_area_scroll_to): Do not calculate and set the
662 velocity if the scroll is not required.
664 2009-01-15 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
667 Don't check whether the new selector is NULL: it cannot be.
668 Hold a reference to the selector while doing the replacement.
670 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
672 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
673 unnecessary size_request in a removed widget.
675 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
677 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
678 an unnecessary reference tracking that was leaking.
680 2009-01-15 Alejandro G. Castro <alex@igalia.com>
682 Added delayed motion notify event handling, this way we can
683 discard redrawing if more than 25 events arrive per second.
685 * src/hildon-pannable-area.c,
686 (hildon_pannable_area_init): Initialized the new private atributes
687 controlling this timeout
688 (hildon_pannable_area_dispose): Remove the timeout that controls
689 the motion notify events.
690 (hildon_pannable_area_scroll): Added a condition to control the
691 use of the acceleration.
692 (hildon_pannable_area_motion_event_scroll_timeout),
693 (hildon_pannable_area_motion_event_scroll): Added this two
694 functions, they handle the motion notify events inside the
696 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
697 to the scroll method with the new function.
698 (hildon_pannable_area_button_release_cb): We have to remove the
699 timeout handler and move to the last position if the last motion
700 events were not handled.
702 Fixes: NB#97028 (Pannable area updates on every motion event)
704 2009-01-15 Alejandro G. Castro <alex@igalia.com>
706 * src/hildon-pannable-area.c,
707 (hildon_pannable_area_get_topmost): Added a new parameter to
708 filter the the windows that do not include those events. Added
709 also a condition when finding the window to filter windows that do
710 not ask for those events.
711 (hildon_pannable_area_button_press_cb),
712 (hildon_pannable_area_button_release_cb),
713 (hildon_pannable_get_child_widget_at): Reviewed the call the the
714 topmost function, we have added the new parameter.
716 Fixes: NB#97458 (Pannable area prevents propagation of button
719 2009-01-15 Alejandro G. Castro <alex@igalia.com>
721 * src/hildon-pannable-area.c,
722 (hildon_pannable_area_initial_effect): Added controls before
723 launching the timeout and the idle functions.
724 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
725 of the method, in some situations it can return with TRUE and 0 in
727 (hildon_pannable_area_button_press_cb): We do not need to set
728 DELAY for fading out here.
730 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
732 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
734 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
735 post-cleaning if the selection is not NULL.
737 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
739 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
740 all items before restoring the selection.
742 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
744 * src/hildon-touch-selector.c:
745 (+hildon_touch_selector_unselect_all):
746 * src/hildon-touch-selector.h: New API to unselect all items in a
747 column of the touch selector.
749 2009-01-14 Alejandro G. Castro <alex@igalia.com>
751 * src/hildon-pannable-area.c,
752 (hildon_pannable_area_redraw): Added a call to the refresh
753 function inside the redraw because apparently in some cases the
754 change in the adjustment does not imply a size allocate.
756 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
757 despite the view not being scrollable)
759 2009-01-14 Alberto Garcia <agarcia@igalia.com>
761 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
762 leak. Check for NULL before attempting to set the window title.
764 2009-01-14 Alberto Garcia <agarcia@igalia.com>
766 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
767 whether to show or not the 'Done' button each time the dialog is
768 shown, as it depends on the HildonTouchSelector selection mode.
770 Fixes: NB#96226 (In multiple selection mode Done button is shown
771 sometimes in listpicker)
773 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
775 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
776 for the number of columns in the HildonTouchSelector more than once.
778 2009-01-14 Alberto Garcia <agarcia@igalia.com>
780 * src/hildon-touch-selector.c: Minor documentation fixes.
782 * src/hildon-picker-dialog.c (+_dialog_update_title)
783 (_select_on_selector_changed_cb)
784 (_update_title_on_selector_changed_cb)
785 (on_selector_columns_changed): Update dialog title when there's no
786 'Done' button and also when the number of columns in the selector
790 * src/hildon-picker-button.c (hildon_picker_button_finalize)
791 (+_selection_changed, hildon_picker_button_on_dialog_response)
792 (hildon_picker_button_selector_selection_changed)
793 (+hildon_picker_button_selector_columns_changed)
794 (hildon_picker_button_set_selector): Update button value and emit
795 'value-changed' when the number of columns in the selector
799 Fixes: NB#96225 (Dialog titles are not shown according to the
800 values selected in the list picker)
802 2009-01-13 Alberto Garcia <agarcia@igalia.com>
804 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
805 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
806 New "arrow-width" and "arrow-height" style properties to set the
807 size of the arrow button.
808 Set name of arrow button ("hildon-edit-toolbar-arrow").
810 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
813 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
815 * src/hildon-picker-button.c:
816 (hildon_picker_button_selector_selection_changed): Use
817 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
818 the dialog is present.
820 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
821 the selection is accepted in the dialog)
823 2009-01-13 Alberto Garcia <agarcia@igalia.com>
825 * src/hildon-color-chooser.h
826 * src/hildon-color-chooser-dialog.h:
827 Added G_BEGIN_DECLS and G_END_DECLS
829 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
831 (_clean_current_selection): plug a leak in the list.
833 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
835 * src/hildon-picker-dialog.c:
836 (+free_path_list): Method to free a GList of GtkTreePaths.
837 (_clean_current_selection), (_save_current_selection),
838 (_restore_current_selection): Save the current selection in
839 as a list of lists, to support multiple selection properly.
841 2009-01-12 Alberto Garcia <agarcia@igalia.com>
843 patch by Claudio Saavedra (csaavedra@igalia.com)
845 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
846 Store the press position.
847 (+hildon_text_view_button_release_event): If the release position is
848 close enough to the press position, move the cursor here. Otherwise,
850 (hildon_text_view_class_init): Override GtkTextView press, release, and
851 motion event handlers, disabling this way text selection through
852 pointer interaction, and allowing the container widget to handle the
855 Fixes: NB#95828 (HildonTextView functionality)
857 2009-01-12 Alberto Garcia <agarcia@igalia.com>
859 Based on a patch by Iván Gómez (igomez@igalia.com)
861 * src/hildon-button.[ch]
862 * src/hildon-calendar.c
863 * src/hildon-check-button.c
864 * src/hildon-date-editor.c
865 * src/hildon-date-selector.c
866 * src/hildon-picker-button.c
867 * src/hildon-time-editor.c
868 * src/hildon-time-selector.c
869 * src/hildon-touch-selector.[ch]:
870 Documentation updates
872 2009-01-12 Alejandro G. Castro <alex@igalia.com>
874 * src/hildon-pannable-area.c,
875 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
876 threshold, it was required due to X events handling.
878 2009-01-12 Alejandro G. Castro <alex@igalia.com>
880 * src/hildon-pannable-area.c,
881 (hildon_pannable_area_grab_notify),
882 (hildon_pannable_area_initial_effect),
883 (hildon_pannable_area_button_press_cb),
884 (hildon_pannable_area_button_release_cb),
885 (hildon_pannable_area_scroll_cb),
886 (hildon_pannable_area_scroll_to): Review the timeout management of
887 the scrollbar, the frecuency was incorrectly set.
889 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
891 * src/hildon-picker-button.c:
892 (+hildon_picker_button_on_dialog_response),
893 (hildon_picker_button_clicked): Present the dialog instead of
894 running it with gtk_dialog_run().
896 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
899 2009-01-07 Alberto Garcia <agarcia@igalia.com>
901 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
902 (hildon_app_menu_finalize): When a window is hidden it doesn't
903 emit notify::is-topmost, so make sure than the menu also
904 disappears in that case.
905 (parent_window_topmost_notify): Renamed from parent_window_hidden
907 Fixes: NB#94460 (stackable window's menu is not closed when its
910 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
912 * src/hildon-touch-selector-entry.c:
913 (+hildon_touch_selector_entry_set_input_mode),
914 (+hildon_touch_selector_entry_get_input_mode):
915 * src/hildon-touch-selector-entry.h: New methods to access the input
916 mode in the selector's entry.
918 Fixes: NB#93410 (API required for setting IM mode in
919 HildonTouchSelectorEntry)
921 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
923 * configure.ac: post release version bump.
924 * debian/changelog: version bump
926 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
931 * configure.ac: Bump version.
932 * debian/changelog: Updates.
934 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
936 * src/hildon-touch-selector.c:
937 (_hildon_touch_selector_has_multiple_selection): No need
938 to initialize the variables here.
940 2008-12-17 Alberto Garcia <agarcia@igalia.com>
942 * src/hildon-note-private.h
943 * src/hildon-note.c (event_box_press_event, hildon_note_init)
944 (hildon_note_finalize, hildon_note_rebuild): Close information
945 notes when they receive a button press.
947 Fixes: NB#89890 (Information notes does not get disappeared after
950 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
952 * src/hildon-wizard-dialog.c: (create_title): Remove translation
953 mark from the wizard title, as it's not really necessary. Also,
954 do not display the page title if not set.
956 2008-12-17 Alberto Garcia <agarcia@igalia.com>
958 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
959 (parent_window_hidden): Use the window's "is-topmost" property to
960 detect when to hide the menu.
962 2008-12-16 Alberto Garcia <agarcia@igalia.com>
964 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
965 (hildon_app_menu_finalize): If the parent window of the menu is
966 hidden, hide the menu too.
968 Fixes: NB#94460 (stackable window's menu is not closed when its
971 2008-12-16 Alberto Garcia <agarcia@igalia.com>
974 * debian/libhildon1-examples.install
976 * examples/Makefile.am:
977 Use dh_install to install all examples.
978 Use DEB_SRCDIR instead of defining SOURCE_DIR
980 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
982 * configure.ac: post release version bump.
983 * debian/changelog: version bump
985 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
990 * configure.ac: bump version
991 * debian/changelog: updates
992 * debian/control: bump gtk+ dependency
994 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
996 patch by Christian Dywan (christian@imendio.com)
998 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
999 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1001 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1003 * src/hildon-check-button.c (hildon_check_button_init)
1004 (hildon_check_button_class_init, hildon_check_button_style_set)
1005 (hildon_check_button_apply_style):
1006 New "checkbox-size" style property.
1008 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1009 larger / configurable size)
1011 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1013 * configure.ac: post release version bump.
1014 * debian/changelog: version bump
1016 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1021 * configure.ac: bump version
1022 * debian/changelog: updates
1024 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1026 * doc/hildon-sections.txt
1027 * src/hildon-pannable-area.c
1028 * src/hildon-program.c
1029 * src/hildon-time-editor.c
1030 * src/hildon-touch-selector-entry.c:
1032 More documentation updates.
1034 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1036 * doc/hildon-sections.txt
1037 * src/hildon-caption.c
1038 * src/hildon-code-dialog.c
1039 * src/hildon-color-button.c
1040 * src/hildon-controlbar.c
1041 * src/hildon-date-editor.c
1042 * src/hildon-date-selector.c
1043 * src/hildon-edit-toolbar.c
1044 * src/hildon-find-toolbar.c
1045 * src/hildon-font-selection-dialog.c
1047 * src/hildon-program.c
1048 * src/hildon-range-editor.c
1049 * src/hildon-seekbar.c
1050 * src/hildon-time-editor.c
1051 * src/hildon-time-selector.c
1052 * src/hildon-volumebar-range.c
1053 * src/hildon-volumebar.c
1054 * src/hildon-vvolumebar.c
1055 * src/hildon-weekday-picker.c
1056 * src/hildon-window.c
1057 * src/hildon-wizard-dialog.c:
1059 Lots of documentation fixes.
1061 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1063 Patch contributed by Iván Gómez (igomez@igalia.com)
1065 * src/hildon-check-button.c:
1066 * src/hildon-date-button.c:
1067 * src/hildon-date-selector.c:
1068 * src/hildon-dialog.c:
1069 * src/hildon-edit-toolbar.c:
1070 * src/hildon-entry.c:
1071 * src/hildon-picker-button.c:
1072 * src/hildon-program.c:
1073 * src/hildon-text-view.c:
1074 * src/hildon-time-button.c:
1075 * src/hildon-touch-selector-entry.c:
1076 * src/hildon-window-stack.c:
1078 Add more "since" tags to the new API.
1080 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1082 * doc/hildon-sections.txt: Add below method.
1083 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1084 version for the hildonized scale.
1085 * src/hildon-gtk.h: Add the definition.
1087 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1089 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1091 * doc/hildon-sections.txt: Add missing entries for new methods.
1093 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1095 Added API to pannable are in order to get its adjustments. We
1096 added two properties to manage the values we had in the private
1099 * src/hildon-pannable-area.c:
1100 (hildon_pannable_area_class_init): Added hadjustment and
1101 vadjustment properties in order to expose horizontal and vertical
1103 (hildon_pannable_area_get_property),
1104 (hildon_pannable_area_set_property): Added code to handle the new
1106 (hildon_pannable_area_get_hadjustment),
1107 (hildon_pannable_area_get_vadjustment): API functions to get the
1109 * src/hildon-pannable-area.h:
1110 (hildon_pannable_area_get_hadjustment),
1111 (hildon_pannable_area_get_vadjustment): API functions to get the
1114 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1116 Fixed some leaks, after valgrinding.
1118 * src/hildon-touch-selector.c:
1119 (_default_print_func): Fixed a leak.
1120 (hildon_touch_selector_append_column): Fixed a leak.
1121 * src/hildon-date-button.c:
1122 (hildon_date_button_init): Fixed a leak.
1123 * src/hildon-date-selector.c
1124 (hildon_date_selector_finalize): Fixed a leak.
1126 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1128 Based on a patch by Christian Dywan (christian@imendio.com)
1130 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1132 * src/hildon-gtk.h: Add definition.
1134 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1136 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1138 * src/hildon-picker-button.c: (hildon_picker_button_init),
1139 (hildon_picker_button_new): Set the HildonButton::style property
1140 in the init method, to propagate the value to the derived classes.
1142 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1144 * src/hildon-button.c: (hildon_button_class_init): Do not make
1145 the "style" property a construct property.
1147 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-wizard-dialog.h
1150 * src/hildon-wizard-dialog.c
1151 (hildon_wizard_dialog_set_forward_page_func)
1152 * src/hildon-pannable-area.h
1153 * src/hildon-pannable-area.c
1154 (hildon_pannable_area_set_size_request_policy):
1155 Documentation fixes.
1157 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1159 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1161 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1163 * doc/hildon-sections.txt: Added sections file.
1165 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1168 * src/*.[ch]: Updates.
1170 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1172 * examples/hildon-progress-indicator-example.c: new file
1173 * examples/Makefile.am: include the new example program
1175 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1177 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1179 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1181 * configure.ac: post release version bump
1182 * debian/changelog: version bump
1184 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1189 * configure.ac: bump version
1190 * debian/changelog: updates
1191 * debian/control: bump gtk+ dependency
1193 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1195 * src/hildon-dialog.c: Mark as deprecated.
1196 * src/hildon-dialog.h: Mark as deprecated.
1197 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1198 from HildonDialog and still work, even if
1199 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1200 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1202 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1203 maemo changes) instead)
1205 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1207 * src/hildon-pannable_area.h:
1208 * src/hildon-pannable_area.c:
1209 (hildon_pannable_area_class_init),
1210 (hildon_pannable_area_set_property),
1211 (hildon_pannable_area_get_property),
1212 (hildon_pannable_area_size_request),
1213 (hildon_pannable_area_get_size_request_policy),
1214 (hildon_pannable_area_set_size_request_policy): Added new API
1215 allowing applications to control the request policy. Now they can
1216 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1217 children allocation (HILDON_MOVEMENT_CHILDREN).
1219 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1223 (hildon_gtk_tree_view_set_ui_mode)
1224 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1225 mode of treeviews and iconviews.
1227 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1229 * src/hildon-touch-selector-entry.c:
1230 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1231 of a GtkEntry to get proper theming.
1233 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1234 widget, not GtkEntry)
1236 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1238 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1239 no HildonWizardDialogPageFunc.
1241 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1243 Patch contributed by Iván Gómez (igomez@igalia.com)
1245 * src/hildon-app-menu.c:
1246 * src/hildon-button.c:
1247 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1248 * src/hildon-stackable-window.c:
1249 * src/hildon-time-selector.c:
1250 * src/hildon-touch-selector.c:
1251 * src/hildon-window.c:
1253 Add more "since" tags to the new API in hildon 2.2.
1255 2008-12-05 Tim Janik <timj@imendio.com>
1257 Patch contributed by Christian Dywan (christian@imendio.com)
1259 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1260 HildonSizeType, which are supplied by Gtk+ now.
1262 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1264 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1265 (with maemo changes) instead)
1267 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1269 Patch contributed by Iván Gómez (igomez@igalia.com)
1271 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1274 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1276 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1277 (some_page_func), (main): Update the example to use a
1278 HildonWizardDialogPageFunc function.
1280 * src/hildon-wizard-dialog-private.h: Add private data for
1281 the HildonWizardDialogPageFunc function usage.
1283 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1284 (destroy), (hildon_wizard_dialog_init), (response),
1285 (hildon_wizard_dialog_set_forward_page_func):
1286 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1287 that applications can use to stop a HildonWizardDialog to jump to
1290 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1293 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-program.h
1296 * src/hildon-program-private.h
1297 * src/hildon-program.c (hildon_program_init)
1298 (hildon_program_set_common_app_menu)
1299 (hildon_program_get_common_app_menu):
1300 New API for setting a common HildonAppMenu for all
1301 HildonStackableWindows registered with the HildonProgram.
1303 * src/hildon-stackable-window.c
1304 (hildon_stackable_window_toggle_menu):
1305 Use the common HildonAppMenu if a window doesn't have a specific
1308 * src/hildon-app-menu-private.h
1309 * src/hildon-app-menu.c
1310 (hildon_app_menu_get_parent_window):
1311 Function to obtain the window a HildonAppMenu is attached to.
1312 (hildon_app_menu_set_parent_window):
1313 Hide the menu if the parent window is set to NULL.
1315 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1317 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1318 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1319 search widget to popup.
1321 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1323 * configure.ac: post release version bump
1324 * debian/changelog: version bump
1326 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1331 * configure.ac: bump version
1332 * debian/changelog: updates
1334 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1336 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1338 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1339 (hildon_window_stack_window_realized)
1340 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1341 Set the leader GdkWindow when a window is stacked and realized,
1342 unset it when it's unstacked.
1343 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1345 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1347 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1349 * src/hildon-stackable-window.h
1350 * src/hildon-window-stack.h:
1351 Protect definition of HildonWindowStack using the preprocessor.
1353 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1355 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1356 Fix warning if all menu items are hidden.
1358 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1360 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1362 * src/hildon-controlbar.c:
1363 * src/hildon-hvolumebar.c:
1364 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1365 Multiple scale size defines updates.
1367 Fixes: NB#94322 (Scale Updates)
1369 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1371 * examples/hildon-app-menu-example.c (create_menu)
1372 Show items after adding them to the menu, as in the future the
1373 menu will no longer call gtk_widget_show() on the added items.
1375 * src/hildon-app-menu.c:
1376 Update example as explained above.
1378 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1380 * src/hildon-app-menu.c
1381 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1382 Make sure that all menu items have finger height.
1384 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1386 * src/hildon-picker-dialog.c:
1387 (_on_dialog_response), (_save_current_selection),
1388 (_restore_current_selection), (_clean_current_selection),
1389 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1390 Defined new functions in order to save the current internal selector
1391 selection previous open the dialog, in case that the use cancel the
1392 interaction, so the widget restores the previous selection.
1394 Fixes: NB#92032 (In calendar application, date values in 'new event'
1397 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1399 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1401 * src/hildon-button.c: Add a reference to the button examples in
1402 hildon-button-example.c
1404 * examples/hildon-button-example.c: Added examples of the most
1405 common button layouts.
1407 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1409 * src/hildon-app-menu.c (hildon_app_menu_show)
1410 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1412 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1414 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1416 * src/hildon-picker-dialog.c:
1417 (hildon_picker_dialog_init): Initialize the signal id for
1418 HildonTouchSelector::columns-changed.
1419 (+on_selector_columns_changed): Set up the interaction mode everytime a
1420 column is added or removed from the HildonTouchSelector.
1421 (_hildon_picker_dialog_set_selector): Connect to
1422 HildonTouchSelector::columns-changed and keep track of it.
1424 Make sure to update the interaction mode of the dialog everytime a
1425 column is added or removed in the HildonTouchSelector.
1427 Fixes: NB#93228 (Done button is not shown always in listpicker)
1429 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1431 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1432 a new ::columns-changed signal.
1433 (hildon_touch_selector_append_column): Emit ::columns-changed.
1434 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1436 Add a ::columns-changed signal, emitted when the number of columns in a
1437 HildonTouchSelector changes.
1439 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1441 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1442 (_hildon_picker_dialog_set_selector): Factor out the code
1443 to set up the dialog interaction mode.
1445 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1447 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1448 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1449 to signal_changed_id.
1451 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1456 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1458 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1459 Updated the logical ids related to ampm format, as now it is required to
1460 show it correctly localized even on languages with no default
1461 abbreviations for am or pm
1462 (_check_am_pm_format): check correctly the 24h format gconf property
1464 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1466 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1468 * src/hildon-button.c: Documentation updates.
1470 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1472 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1473 * src/hildon-caption.c: (hildon_caption_class_init):
1474 * src/hildon-color-button.c: (hildon_color_button_class_init):
1475 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1476 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1477 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1478 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1480 Remove deprecated GTK+ marshalers and replace them with the ones
1481 provided by GLib, for those available, add a marshaler for
1482 BOOLEAN:VOID, which is not available in GLib, and use it.
1484 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1486 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1487 the text from the previous column if there is no
1488 HildonTouchSelectorColumn::text-property set.
1490 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1492 * src/hildon-button.h
1493 * src/hildon-button.c (hildon_button_set_property)
1494 (hildon_button_get_property, hildon_button_class_init)
1495 (hildon_button_set_style, hildon_button_get_style):
1496 New "style" property to change the visual appearance of the
1499 * src/hildon-picker-button.c (hildon_picker_button_new):
1500 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1502 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1503 HildonButton look like PickerButton)
1505 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1507 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1508 column while building the default string.
1510 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1512 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1513 scroll indicator by default.
1515 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1517 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1519 * src/hildon-main.c: Fix the documentation for hildon_init()
1521 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1523 * doc/hildon-docs.sgml
1527 * src/hildon-window-stack-private.h
1528 * src/hildon-window-stack.h
1529 * src/hildon-window-stack.c:
1530 New HildonWindowStack object, that adds support for multiple
1531 stacks of windows per process.
1533 * src/hildon-stackable-window-private.h
1534 * src/hildon-stackable-window.h
1535 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1536 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1537 (hildon_stackable_window_show, hildon_stackable_window_hide)
1538 (hildon_stackable_window_class_init)
1539 (hildon_stackable_window_init):
1540 Use HildonWindowStack for stack management.
1542 * src/hildon-program.c (hildon_program_pop_window_stack)
1543 (hildon_program_peek_window_stack)
1544 (hildon_program_go_to_root_window):
1545 Add a fallback implementation to the deprecated functions using
1548 * examples/hildon-stackable-window-example.c:
1549 Use the new HildonWindowStack API.
1551 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1553 * src/hildon-stackable-window-private.h
1554 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1555 (hildon_stackable_window_hide, hildon_stackable_window_init):
1556 Remove all window stack management.
1558 * src/hildon-program-private.h
1559 * src/hildon-program.h
1560 * src/hildon-program.c (hildon_program_init)
1561 (hildon_program_pop_window_stack)
1562 (hildon_program_peek_window_stack)
1563 (hildon_program_go_to_root_window):
1564 Remove all window stack management and mark functions as
1567 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1569 * src/hildon-app-menu.c (hildon_app_menu_realize):
1570 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1572 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1574 * configure.ac: post release version bump
1575 * debian/changelog: version bump
1577 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1582 * configure.ac: bump version
1583 * debian/changelog: updates
1585 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1587 Based on initial code by Christian Dywan (christian@imendio.com)
1589 * doc/hildon-docs.sgml: Add section for hildon-main.
1590 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1591 * src/Makefile.am: Add new hildon-main.[ch]
1592 * src/hildon-defines.h: Update the icon sizes.
1593 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1594 new library initialization files and register icon sizes.
1595 * src/hildon-main.h: New declarations.
1596 * src/hildon.h: Include hildon-main.h
1598 Add new initialization functions to the library. These methods
1599 will register the hildon specific icon sizes and can be used in the
1600 future for other hildon specific bits.
1602 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1604 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1606 * src/hildon-window.c: (hildon_window_realize),
1607 (hildon_window_notify), (-hildon_window_update_title): Do not set
1608 the application name in the window title.
1610 Fixes: NB#89754 (Applications shouldn't display their names in the
1613 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1615 * src/hildon-note-private.h:
1616 * src/hildon-note.c: (hildon_note_set_property),
1617 (hildon_note_get_property), (hildon_note_class_init),
1618 (hildon_note_init), (hildon_note_finalize),
1619 (hildon_note_new_confirmation_with_icon_name),
1620 (hildon_note_new_information_with_icon_name):
1622 No need to mark as deprecated the actual code. Revert
1623 to avoid missing symbols in widgets using deprecated API.
1625 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1627 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1629 * src/hildon-volumebar.h
1630 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1631 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1633 * src/hildon-helper.h
1634 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1635 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1637 * examples/Makefile.am:
1638 Deprecate hildon-insensitive-example
1640 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1642 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1644 * examples/hildon-pannable-area-buttons-scroll-example.c:
1645 Make all buttons finger height
1647 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1649 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1651 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1652 update the day model only if it is really required, and to avoid the
1653 full-reconstruction aproach. Now it only add or remove the required days.
1655 The purpose of this is avoid superfluous HildonTouchSelector::changed
1658 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1659 with strange parameters)
1661 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1663 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1665 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1666 the WINDOW_TYPE property.
1668 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1670 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1673 Fix dependency to allow parallel compilation with make -jX
1675 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1678 color frame and some minor tweaks to make it more consistent with
1681 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1682 highlighted but not visible)
1684 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1686 * examples/Makefile.am: Fixed typo in the Makefile.am.
1688 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1690 Reviewed the use of MAEMO_GTK define, now we add the define in the
1691 compilation line, and we also add it to the pc file.
1693 * configure.ac: Added MAEMO_GTK define to the compilation command
1694 and removed it from the config.h.
1696 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1697 do not have to take care about this define if the library was
1701 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1703 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1705 * examples/Makefile.am,
1706 * examples/hildon-pannable-area-buttons-scroll-example.c,
1707 * examples/hildon-pannable-area-gesture-signals-example.c,
1708 * examples/hildon-pannable-area-scroll-jump-example.c,
1709 * examples/hildon-pannable-area-tree-view-example.c:
1710 Renamed the pannable area examples, now they have more meaningful
1713 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1715 * src/hildon-touch-selector.c:
1716 (hildon_touch_selector_set_column_selection_mode): Used of
1717 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1718 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1719 to avoid re-seting the same selection mode.
1721 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1722 breaks HildonPickerDialog)
1724 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1726 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1727 conditional in the Makefile.am
1729 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1731 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1732 Remove unused methods.
1734 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1736 * src/hildon-button.c (hildon_button_init):
1737 Make button images center-aligned by default
1739 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1742 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1743 activated, we have to think about how to deal with both defines
1744 MAEMO_GTK and MAEMO_CHANGES.
1746 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1748 * examples/hildon-app-menu-example.c (create_menu): Make all
1749 buttons finger size.
1751 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1753 Fixed the compilation without maemo gtk adding ifdefs with
1754 MAEMO_GTK define to the code, we have to check this version more
1757 * examples/Makefile.am: Added control to avoid some examples that
1758 just make sense with maemo gtk.
1761 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1762 hildon modes with the define.
1764 * examples/hildon-edit-toolbar-example.c,
1765 (create_icon_view): Create the icon view without hildon-gtk
1766 helpers if we are not using maemo gtk.
1768 * src/hildon-touch-selector.c,
1769 (_create_new_column): Create the treeview without hildon-gtk
1770 helpers if we are not using maemo gtk.
1772 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1774 * src/hildon-pnnable-area.c,
1775 (hildon_pannable_area_dispose),
1776 (hildon_pannable_area_button_press_cb),
1777 (hildon_pannable_area_child_mapped),
1778 (hildon_pannable_area_add),
1779 (hildon_pannable_area_remove): Added code to control the position
1780 of the event_window when adding and removing children from the
1781 pannable. We have to raise the event window when the child is
1784 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1785 selection mode using custom widget inside pannable)
1787 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1789 * configure.ac: post release version bump
1790 * debian/changelog: version bump
1792 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1797 * configure.ac: bump version
1798 * debian/changelog: updates
1800 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1802 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1803 search mode, in order to avoid lose the focus on the treeview when
1804 a hw key (like enter) is pressed.
1806 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1807 in HildonDateSelector dialog)
1809 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1811 * debian/rules: Added --enable-maintainer-mode
1812 * Makefile.am: Added ACLOCAL_AMFLAGS
1814 This allows to properly regenerate the Makefiles if you modify the
1815 configure.ac or any Makefile.am.
1817 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1819 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1820 properties, not needed at all.
1822 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1826 * src/hildon-note.c: (hildon_note_set_property),
1827 (hildon_note_get_property), (hildon_note_class_init),
1828 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1829 (hildon_note_new_confirmation_add_buttons): Remove icons.
1830 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1831 (hildon_note_new_information_with_icon_name): Deprecate.
1832 (hildon_note_new_confirmation): Act directly, without calling
1833 the deprecated constructor.
1834 (hildon_note_new_information): Act directly, without calling
1835 the deprecated constructor.
1836 * src/hildon-note.h: Mark deprecate methods as such.
1837 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1838 not run tests on the deprecated methods if built with deprecation
1841 Fixes: NB#91688 (Never show icons in information notes/confirmation
1844 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1846 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1847 (hildon_app_menu_key_press): Remove leftover usage of the
1848 private structure in HildonAppMenu struct.
1849 * src/hildon-app-menu.h: Remove leftover private structure
1850 from the HildonAppMenu struct.
1852 Fixes a crasher when using the HildonAppMenu.
1854 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1856 * src/hildon-picker-dialog.c: Use appropriate logical id
1857 for the default "Done" text.
1859 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1861 * configure.ac: post release version bump
1862 * debian/changelog: version bump
1864 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1866 Modified the way to scroll to the current selection just when the touch
1867 selector is shown on the screen, avoiding a g_idle. Added too a property
1868 to configure this behaviour. See hildon_pannable_area_jump_to_child
1869 documentation for more information.
1871 * src/hildon-touch-selector.c
1872 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1873 Added 'initial-scroll' property
1874 (hildon_touch_selector_set_property): Added
1875 (hildon_touch_selector_map): Removed as not required anymore
1876 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1877 only a concrete column, instead of iterate along all the columns
1879 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1884 * configure.ac: bump version
1885 * debian/changelog: updates
1887 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1889 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1890 compilation time warnings.
1892 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1895 the default value for HildonPannableArea::mov-mode to
1896 HILDON_PANNABLE_AREA_MODE_VERT.
1898 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1900 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1902 Reverting following commit:
1904 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1906 * src/hildon-app-menu-private.h
1907 * src/hildon-app-menu.[ch]
1908 * src/hildon-button.[ch]
1909 * src/hildon-check-button.[ch]
1910 * src/hildon-entry.[ch]
1911 * src/hildon-pannable-area.[ch]
1912 * src/hildon-text-view.[ch]:
1913 Added private field to the object's structure.
1915 because it causes an ABI breakage. We will need to introduce these
1916 changes later at some point. See NB#91636 for an extensive
1917 explanation and status.
1919 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1921 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1923 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1924 remove special cases that are no longer necessary.
1926 Fixes: NB#91016 (Change toolbar sizes, simplification)
1928 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1930 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1931 is shown in the cancel note.
1933 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1935 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1936 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1937 (hildon_seekbar_init): Remove steppers, remove expose event.
1938 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1940 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1942 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1944 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1945 label font to "SmallSystemFont" for vertically arranged buttons.
1947 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1950 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1952 * src/hildon-check-button.c
1953 (hildon_check_button_set_active, hildon_check_button_clicked):
1954 Don't access private parts directly, use getters instead.
1956 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1958 * src/hildon-check-button.c (hildon_check_button_new):
1959 Align the contents of the check button to the left.
1961 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1963 * src/hildon-pannable-area.c,
1964 (hildon_pannable_area_scroll_to),
1965 (hildon_pannable_area_jump_to),
1966 (hildon_pannable_area_scroll_to_child),
1967 (hildon_pannable_area_jump_to_child): Replace the mapped
1968 precondition of these functions with the realized, it is the
1969 correct state of the widget in this case. Changed the
1970 documentation according to this modification.
1972 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1974 Added a new EXTRA_CFLAGS option to add the deprecated define to
1975 the compilation command. This way we can avoid using the define in
1976 the documentation compilation.
1978 * configure.ac: Defined EXTRA_CFLAGS.
1980 * examples/Makefile.am:
1982 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1984 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1986 * src/hildon-picker-dialog.c:
1987 Defined a utility macro with the desired touch selector height
1988 Removed currently unused separator, and title_label variables from
1990 (hildon_picker_dialog_init): Removed code related to the creation
1991 of unused private variables title_label and separator.
1992 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1993 to ensure correct visualization of the touch selector inside the dialog.
1994 * src/hildon-touch-selector.c
1995 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1996 ensure a concrete height of the widget.
1998 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2001 * tests/Makefile.am:
2003 Remove spurious whitespaces.
2005 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2007 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2008 compilation warning after the cancel button removal.
2010 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2012 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2014 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2015 Makefile.am, that way we can choose not to compile some examples
2016 and tests of the deprecated widgets.
2018 * examples/Makefile.am: Divided the sources in deprecated and
2021 * src/Makefile.am: Added undef statement of the deprecated
2022 symbol to the enums file generation process.
2024 * src/hildon-color-chooser-dialog.c
2025 * src/hildon-color-chooser-dialog.h
2026 * src/hildon-color-button.c
2027 * src/hildon-color-button.h
2028 * src/hildon-color-chooser.c
2029 * src/hildon-color-chooser.h
2030 * src/hildon-controlbar.c
2031 * src/hildon-controlbar.h
2032 * src/hildon-date-editor.c
2033 * src/hildon-date-editor.h
2034 * src/hildon-hvolumebar.c
2035 * src/hildon-hvolumebar.h
2036 * src/hildon-private.c
2037 * src/hildon-private.h
2038 * src/hildon-range-editor.c
2039 * src/hildon-range-editor.h
2040 * src/hildon-seekbar.c
2041 * src/hildon-seekbar.h
2042 * src/hildon-time-editor.c
2043 * src/hildon-time-editor.h
2044 * src/hildon-time-picker.c
2045 * src/hildon-time-picker.h
2046 * src/hildon-volumebar.c
2047 * src/hildon-volumebar.h
2048 * src/hildon-vvolumebar.c
2049 * src/hildon-vvolumebar.h
2050 * src/hildon-bread-crumb-trail.h
2051 * src/hildon-bread-crumb-trail.c
2052 * src/hildon-calendar-popup.c
2053 * src/hildon-calendar-popup.h
2054 * src/hildon-weekday-picker.c:
2055 * src/hildon-weekday-picker.h:
2056 * src/hildon-bread-crumb-widget.c:
2057 * src/hildon-bread-crumb-widget.h:
2058 * src/hildon-bread-crumb.c:
2059 * src/hildon-bread-crumb.h:
2060 * src/hildon-calendar.c:
2061 * src/hildon-calendar.h:
2062 * src/hildon-caption.c:
2063 * src/hildon-code-dialog.c:
2064 * src/hildon-code-dialog.h:
2065 * src/hildon-font-selection-dialog.c:
2066 * src/hildon-font-selection-dialog.h:
2067 * src/hildon-get-password-dialog.c:
2068 * src/hildon-get-password-dialog.h:
2069 * src/hildon-login-dialog.c:
2070 * src/hildon-login-dialog.h:
2071 * src/hildon-number-editor.c:
2072 * src/hildon-number-editor.h:
2073 * src/hildon-set-password-dialog.c:
2074 * src/hildon-set-password-dialog.h:
2075 * src/hildon-sort-dialog.c:
2076 * src/hildon-sort-dialog.h: This is the list of deprecated
2079 * src/hildon-touch-selector.c:
2080 * src/hildon-window.c: Added undef statement to avoid compilation
2083 * tests/Makefile.am: Divided the sources in deprecated and
2086 * tests/check_test.c,
2087 (configure_tests): Marked the deprecated code that was adding
2088 suites with deprecated tests.
2090 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2092 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2094 * src/hildon-touch-selector.c: (_default_print_func): Do not
2095 duplicate a string returned by gtk_tree_model_get(), it is already
2098 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2101 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2103 * src/hildon-pannable-area.c
2104 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2105 method, it had problems when adding a widget with viewport the
2106 second time. Now checks if it already has a viewport and uses it.
2108 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2111 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2113 * src/hildon-pannable-area.c,
2114 (hildon_pannable_area_scroll_to),
2115 (hildon_pannable_area_jump_to),
2116 (hildon_pannable_area_scroll_to_child),
2117 (hildon_pannable_area_jump_to_child): Added a precondition to the
2118 scroll and jump to functions: the widget must be mapped before we
2119 can safely call these functions. We have also added documentation
2120 to the functions to explain how to use them in this situation.
2123 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2125 Reviewed the threading handling of the pannable widget, we have
2126 used the gdk_threads_add_timeout function instead of the usual
2127 glib handlers. This avoids some problems with the threads.
2129 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2130 (hildon_pannable_area_initial_effect),
2131 (hildon_pannable_area_scroll_indicator_fade),
2132 (hildon_pannable_area_button_press_cb),
2133 (hildon_pannable_area_timeout),
2134 (hildon_pannable_area_motion_notify_cb),
2135 (hildon_pannable_area_button_release_cb),
2136 (hildon_pannable_area_scroll_cb),
2137 (hildon_pannable_area_scroll_to): Removed the
2138 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2139 gdk_threads_add_timeout.
2141 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2143 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2148 * configure.ac: bump version
2149 * debian/changelog: updates
2151 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2153 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2154 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2155 * src/hildon-color-chooser-dialog.c:
2156 (hildon_color_chooser_dialog_init):
2157 * src/hildon-font-selection-dialog.c:
2158 (hildon_font_selection_dialog_init):
2159 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2161 Remove all cancel/close-like dialogs, as these are not going to be
2164 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2166 * src/hildon-note.c: (hildon_note_rebuild),
2167 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2170 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2172 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2174 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2175 sure all buttons are shown, even the Cancel/Close-like ones.
2177 Fixes: NB#90861 (Custom Confirmation dialogs should be
2178 protected from cancel button removal)
2180 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2182 * debian/control: Change libhildon1-examples dependency from libhildon1
2184 * debian/libhildon1-examples.install
2186 * Makefile.am: Modified the final install directory for the examples on
2187 package libhildon1-examples
2188 * Makefile.static: Update clean target in order to remove all the binary
2191 Changes suggested by Claudio after review new libhildon1-examples package
2193 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2195 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2196 * src/hildon-touch-selector.c: Ditto.
2198 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2200 * debian/control: Added new package libhildon1-examples, in order to pack
2201 the current hildon examples as documentation
2202 * debian/rules: Not to compress .c files, modify some includes on the
2203 examples (as normally are compiled locally, but when installed it will
2204 require to include the installed libhildon1 library), and rename
2206 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2207 install all the example files on the new example package
2208 * examples/Makefile.static: Added static makefile that can be used to
2209 compile the examples, once installed the new example package
2210 * examples: Most of the examples were modified in order to grant that
2211 all use only '#include "hildon.h"', in order to be easy to prepare
2212 it on the example package
2214 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2217 * debian/libhildon1-dev.install
2218 * debian/libhildon1-doc.install:
2219 Move all gtk-doc files to a separate libhildon1-doc package.
2221 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2223 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2225 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2227 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2229 * debian/rules: Fixed a error in order to avoid unnecessary calls
2230 to autogen.sh on package building
2232 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2234 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2236 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2238 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2241 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2243 * src/hildon-picker-button.c
2244 (hildon_picker_button_finalize):
2245 Free priv->done_button_text
2247 * src/hildon-time-button.c
2248 (hildon_time_button_set_time)
2249 * src/hildon-picker-button.c
2250 (hildon_picker_button_clicked)
2251 (hildon_picker_button_selector_selection_changed)
2252 (hildon_picker_button_set_selector)
2253 * src/hildon-date-button.c
2254 (hildon_date_button_set_date):
2255 Free strings returned by hildon_touch_selector_get_current_text()
2257 * src/hildon-button.c (hildon_button_construct_child):
2258 Fix leaks in priv->image and priv->label_box
2260 Fixes: NB#90535 (Memory leak in picker button)
2262 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2264 * src/hildon-button.c: (hildon_button_get_property): Do not access
2265 private elements directly, use getters instead.
2267 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2269 * src/hildon-app-menu-private.h
2270 * src/hildon-app-menu.c
2271 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2272 Store the menu's parent window.
2274 * src/hildon-stackable-window.c
2275 (hildon_stackable_window_toggle_menu)
2276 (hildon_stackable_window_finalize):
2277 Set the menu's parent window when the menu is shown, unset it when
2280 * src/hildon-app-menu.c
2281 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2282 (hildon_app_menu_class_init):
2283 Send unhandled keyboard accelerators to the parent window.
2285 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2287 * src/hildon-stackable-window.c
2288 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2290 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2292 * configure.ac: post release version bump
2294 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2297 * configure.ac: Bump version
2298 * debian/changelog: Updates
2299 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2302 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2304 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2307 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2308 GtkMenu with Hildon style.
2310 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2312 * src/hildon-picker-button.c:
2313 (hildon_picker_button_set_done_button_text): Set the dialog's
2314 done button text here as well.
2316 Fixes: NB#90232 (Picker button does not set the label on done button
2317 for the second time)
2319 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2321 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2324 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2326 * src/hildon-app-menu.c (hildon_app_menu_insert)
2327 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2328 the HildonAppMenu to be activatable using keyboard accelerators
2329 when the menu is not being shown.
2331 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2333 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2335 * src/hildon-stackable-window.c
2336 (hildon_stackable_window_show):
2337 Don't hide old windows automatically when new windows are shown:
2338 this is now a task for the window manager.
2339 (hildon_stackable_window_class_init)
2340 (hildon_stackable_window_hide):
2341 Remove windows from the stack everytime they're hidden.
2342 (hildon_stackable_window_realize):
2343 Don't change the _NET_WM_WINDOW_TYPE property. Use
2344 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2345 it as a stackable window.
2347 * src/hildon-program.c
2348 (hildon_program_pop_window_stack):
2349 Just hide the window to remove it from the stack.
2350 (hildon_program_go_to_root_window):
2351 Don't call gtk_widget_show(), this is now a task for the window
2354 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2356 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2358 * src/hildon-button.c
2359 (hildon_button_construct_child):
2360 Don't pack anything in the button until text or image are
2361 set. This allows adding a custom child after creating the button
2362 with hildon_button_new().
2363 (hildon_button_finalize, hildon_button_class_init)
2364 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2365 alignment and the label box even when they're not packed in the
2368 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2370 * src/hildon-touch-selector.h:
2371 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2372 currently the type definition was using GTK_TYPE_VBOX
2373 * src/hildon-touch-selector.c:
2374 Added some implementation notes in order to clarify that any other widget
2375 added without the column related API will not be included on the
2376 selection logic, and how the widget is freed, as some people ask about
2378 (hildon_touch_selector_remove): Reimplemented in order to free properly
2379 the column related data when you remove the private hbox.
2380 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2381 to get a proper HildonTouchSelectorColumn documentation
2383 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2385 * src/hildon-touch-selector-entry.c:
2386 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2387 text in the GtkEntry and there is no item selected. Fixes a
2390 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2392 * src/hildon-app-menu-private.h
2393 * src/hildon-app-menu.[ch]
2394 * src/hildon-button.[ch]
2395 * src/hildon-check-button.[ch]
2396 * src/hildon-entry.[ch]
2397 * src/hildon-pannable-area.[ch]
2398 * src/hildon-text-view.[ch]:
2399 Added private field to the object's structure.
2401 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2403 * configure.ac: post-release version bump
2405 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2409 * configure.ac: pre-release version bump
2411 * debian/changelog: updates.
2413 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2415 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2416 Disconnect the handler for HildonTouchSelector::changed.
2418 (hildon_picker_button_selector_selection_changed): Update the button
2419 value if the selection change was not triggered by the
2422 (hildon_picker_button_set_selector): connect to
2423 HildonTouchSelector::changed.
2425 Fixes: NB#89650 (Picker button is not updated, when selection in
2426 selector has changed)
2428 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2430 * src/hildon-picker-dialog.c
2431 (hildon_picker_dialog_realize): Removed as not required
2432 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2433 * src/hildon-picker-button.c
2434 (_current_selector_empty): New function, checks if the selector is empty
2435 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2436 if the current selector is empty, in order to avoid to show the dialog
2437 close the dialog in this case (and shows a g_warning).
2439 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2441 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2443 * src/hildon-pannable-area.c,
2444 (hildon_pannable_area_scroll): Added clause to stop movement when
2445 the child of pannable is smaller than one page.
2446 (hildon_pannable_area_scroll_to): Added conditions to avoid
2447 starting the scrolling movement if the child is smaller than one
2448 page, the complete child is in the screen, we do not have to move.
2450 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2452 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2454 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2455 this is managed automatically by the widget when the size of the
2458 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2460 * src/hildon-picker-button.c
2461 (hildon_picker_button_set_done_button_text): Make a copy of the
2462 text, and free the previous value.
2464 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-touch-selector-entry.c:
2467 (hildon_touch_selector_entry_print_func): Return the selected row's
2468 text if the entry is empty.
2470 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2473 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2475 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2477 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2480 * src/hildon-check-button.h
2481 * src/hildon-check-button.c
2482 * examples/hildon-check-button-example.c:
2483 HildonCheckButton is now a new widget. 'toggled' signal added.
2485 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-program-private.h
2488 * src/hildon-program.c (hildon_program_init)
2489 (hildon_program_finalize): Removed unused variables group_leader
2490 and name from HildonProgramPrivate.
2492 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2494 * src/hildon-check-button.c (hildon_check_button_set_active)
2495 (hildon_check_button_get_active, hildon_check_button_new): Use
2496 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2498 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2500 * src/hildon-touch-selector.h
2501 (hildon_touch_selector_set_column_attributes): added deprecation
2502 guard HILDON_DISABLE_DEPRECATED
2503 * src/hildon-time-selector.c
2504 (hildon_time_selector_set_time)
2505 (hildon_time_selector_get_time): Fixed a typo on documentation
2506 * src/hildon-touch-selector.c: update HildonTouchSelector and
2507 HildonTouchSelectorColumn documentation
2508 * src/hildon-touch-selector-entry.c: update "text-column" property
2510 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2511 to be added to the general documentation.
2513 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2515 * examples/hildon-pannable-area-example-4.c,
2517 * examples/hildon-pannable-area-example.c,
2518 (main): Modified the code in order to use the container add, with
2519 viewport treeviews could have problems if they are really big.
2521 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2523 * src/hildon-weekday-picker.c,
2524 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2525 the agreement regarding deprecation in the library.
2527 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2529 * examples/hildon-picker-button-multicolumn-example.c:
2530 (main): Use custom "done" button text.
2532 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2533 (hildon_picker_button_set_property),
2534 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2535 (hildon_picker_button_init),
2536 (+hildon_picker_button_get_done_button_text),
2537 (+hildon_picker_button_set_done_button_text): New methods to customize
2538 the "done" button label in the launched HildonPickerDialog. Also,
2541 * src/hildon-picker-button.h: add the public API.
2543 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-date-selector.h:
2546 * src/hildon-picker-dialog.h:
2547 * src/hildon-time-selector.h:
2548 * src/hildon-touch-selector-column.h:
2549 * src/hildon-touch-selector.h:
2551 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2552 declarations. Fixes gtk-doc warnings.
2554 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2556 * src/hildon-picker-dialog.h
2557 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2558 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2560 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2561 long text is set as label for done button)
2563 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-dialog.c (hildon_dialog_add_button):
2566 Set fixed width to all buttons in the HildonDialog.
2568 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2570 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2572 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2573 Set widget name using class name plus "-finger" or "-thumb".
2575 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2577 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2578 'clicked' when the state of the button is manually changed.
2580 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2582 * src/hildon-app-menu.c (hildon_app_menu_realize)
2583 (hildon_app_menu_unrealize, hildon_app_menu_init)
2584 (hildon_app_menu_class_init, item_visibility_changed):
2585 Change the menu layout when the size of the screen changes.
2586 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2587 Show warning only when changing the number of colums using the
2590 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2592 * debian/compat: Set to 5
2593 * debian/control: Update dependencies.
2594 * debian/libhildon1-dbg.install: Remove.
2595 * debian/libhildon1-dev.install: Update according to cdbs paths.
2596 * debian/libhildon1.install: Update according to cdbs paths.
2597 * debian/rules: Switch to cdbs.
2599 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2601 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2602 'item' variable renamed to 'filter'
2604 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2606 * src/hildon-app-menu.c (hildon_app_menu_insert)
2607 (hildon_app_menu_add_filter, remove_item_from_list)
2608 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2609 Don't leak hidden items when the menu is destroyed.
2611 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2613 * src/hildon-app-menu.c (hildon_app_menu_insert)
2614 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2615 (hildon_app_menu_set_columns, item_visibility_changed)
2616 (filter_visibility_changed, hildon_app_menu_repack_filters)
2617 (hildon_app_menu_repack_items):
2618 Repack items and filters separately.
2620 Don't repack all items, change only the ones that are needed to
2623 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2625 * src/Makefile.am: added hildon-touch-selector-column.h
2627 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2629 * src/hildon-touch-selector.c: added the property "text-column" to the
2630 class HildonTouchSelectorColumn, and related get/set functions
2631 (_default_printf_func): updated to use "text-column" property
2632 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2633 "text-column" in his documentation, as this is now included on
2634 HildonTouchSelectorColumn. The get/set_property can still be used,
2635 working as a wrapper to the concrete column "text-column" property
2636 (_text_column_modified): callback added in order to handle the signal
2637 "notify::text-column" of the concrete HildonTouchSelectorColumn
2638 (hildon_touch_selector_entry_get_text_column)
2639 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2640 modified in order to use the HildonTouchSelectorColumn "text-column"
2642 * src/hildon-time-selector.c:
2643 * src/hildon-date-selector.c:
2644 * examples/hildon-touch-selector-example.c
2645 * examples/hildon-touch-selector-multi-cells-example.c
2646 * examples/hildon-picker-button-multicolumn-example.c
2647 Set the right value to "text-column" property on the creation of a new
2648 column using hildon_touch_selector_append_column()
2650 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2652 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2654 * src/hildon-app-menu.c
2655 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2656 updating the layout of the menu, don't create all widgets again,
2657 just repack the items in their new places.
2659 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2661 * src/hildon-time-selector.c
2662 (hildon_time_selector_get_time)
2663 (hildon_time_selector_set_time)
2664 Added documentation of these public methods
2666 * src/hildon-date-button.h
2667 * src/hildon-touch-selector-column.h
2668 * src/hildon-time-button.h
2669 * src/hildon-picker-dialog.h
2670 * src/hildon-time-selector.h
2671 * src/hildon-picker-button.h
2672 * src/hildon-touch-selector.h
2673 * src/hildon-time-picker.h
2674 * src/hildon-date-selector.h
2675 * src/hildon-touch-selector-entry.h
2676 Modified in order to use hildon-widgets code style
2678 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2680 Added deprecated support to the compilation process using
2681 HILDON_DISABLE_DEPRECATED
2683 * configure.ac: Added the --disable-deprecated to the configure
2686 * src/hildon-weekday-picker.c:
2687 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2688 to use the deprecated support. We will update the other deprecated
2689 widgets status in a new patch.
2691 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2693 * configure.ac: Fixed typo with fatal warnings support, the
2694 variable name was not correct
2696 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2698 * src/hildon-app-menu.c
2699 * src/hildon-program.c: Update documentation.
2701 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2703 * configure.ac: Post-release version bump.
2705 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2710 * configure.ac: Pre-release version bump.
2711 * debian/changelog: Updates.
2713 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2715 * NEWS: Update news for previous releases.
2717 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2719 * examples/hildon-touch-selector-multi-cells-example.c:
2720 (create_selector): Update the example to use
2721 hildon_touch_selector_append_column() with a NULL renderer and set
2722 the renderers later.
2723 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2724 passed a NULL renderer. This is documented behavior now.
2726 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2727 This must be used if the developer wants full control on the layout of
2728 the renderers to be added to the column.
2730 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2732 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2734 * src/hildon-touch-selector.c: Documentation fixes.
2736 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2738 * src/hildon-wizard-dialog-private.h: Remove image and box.
2739 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2740 (hildon_wizard_dialog_set_property), (response): Completely remove
2741 image/icon support, and the containers required for the layout.
2743 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2745 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2747 * src/hildon-app-menu.c: Updated documentation.
2749 * src/hildon-stackable-window.c
2750 (hildon_stackable_window_set_main_menu): Unref the old menu after
2751 ref'ing the new one.
2753 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2755 * src/hildon-stackable-window.c
2756 (hildon_stackable_window_set_main_menu): Unref the previous menu
2757 instead of destroying it.
2759 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2760 floating reference and set has_user_ref_count to FALSE to make
2761 HildonAppMenu act like a normal ref-counted widget and not a
2764 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2767 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2769 * src/hildon-touch-selector-column.h: new file
2770 * src/hildon-touch-selector.h
2771 * src/hildon-touch-selector.c
2772 Implemented GtkCellLayout interface, in order to allow to configure
2773 the cell layout on each individual selector column
2774 (hildon_touch_selector_set_column_attributes): marked as deprecated
2775 * examples/hildon-touch-selector-multi-cells-example.c
2776 Example of how to use the GtkCellLayout interface on the selector
2778 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2780 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2782 * src/hildon-app-menu.h
2783 * src/hildon-app-menu.c
2784 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2785 (hildon_app_menu_append, hildon_app_menu_prepend):
2786 New methods to prepend, insert and move items in the menu.
2788 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2790 * src/hildon-wizard-dialog.c:
2792 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2794 (create_title): Update logical IDs and related code.
2795 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2797 * src/hildon-wizard-dialog.h: Note that
2798 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2799 point, as it is not used anymore.
2801 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2803 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2805 * src/hildon-note.c:
2806 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2807 shown. Do not display an icon in confirmation notes nor information
2809 (hildon_note_set_button_text): Update logical ID for cancel button.
2811 Fixes: NB#88850 (Update HildonNote button strings + signals)
2813 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-stackable-window.c
2816 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2818 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-app-menu-private.h
2821 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2822 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2823 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2824 temporary property 'columns' to change the number of columns.
2826 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2828 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2830 * examples/hildon-note-example.c: (on_information_clicked),
2831 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2832 debugging information.
2833 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2835 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2836 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2837 in order to close: this will be handled by the WM from now on.
2839 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2841 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2843 * src/hildon-app-menu-private.h
2844 * src/hildon-app-menu.c
2845 (hildon_app_menu_append, hildon_app_menu_add_filter)
2846 (button_visibility_changed, hildon_app_menu_apply_style)
2847 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2848 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2849 layout everytime a button (item or filter) is shown or hidden.
2851 * src/hildon-stackable-window.c
2852 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2855 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2857 * src/hildon-touch-selector.c:
2858 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2859 that the treeview inside the touch selector is in fremantle hildon mode
2860 * examples/hildon-date-button-example.c
2861 * examples/hildon-picker-button-multicolumn-example.c
2862 * examples/hildon-touch-selector-entry-example.c
2863 * examples/hildon-touch-selector-example.c
2864 * examples/hildon-time-button-example.c
2865 * examples/hildon-picker-button-example.c:
2866 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2868 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2870 * examples/hildon-text-view-example.c: (main): Remove the
2871 gtkrc bits, now handled by the theme.
2873 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2875 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2878 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2880 * po/Makefile.am: Install properly the mo files.
2881 * po/en_GB.po: Update translation, to ease testing purposes.
2883 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2885 * examples/hildon-picker-button-example.c: (main): Select an item
2886 in the selector before setting it to the button.
2888 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2890 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2891 Update button's value if the selector has an item active.
2893 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2894 'value' with the selector)
2896 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2898 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2899 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2900 (hildon_picker_button_class_init): Plug the finalize method.
2901 (hildon_picker_button_set_selector): If there's a previously set
2902 selector, unref'it before setting a new one.
2904 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2905 HildonTouchSelector)
2907 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2909 * src/hildon-touch-selector-entry.c:
2910 (hildon_touch_selector_entry_changed): Check if there is no text
2911 selected before setting the entry text.
2914 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2916 * src/hildon-touch-selector.h
2917 * src/hildon-touch-selector.c
2918 (hildon_touch_selector_get_active)
2919 (hildon_touch_selector_set_active): New methods to set/get the
2920 index of the selected item.
2922 * src/hildon-picker-button.h
2923 * src/hildon-picker-button.c
2924 (hildon_picker_button_get_active)
2925 (hildon_picker_button_set_active): New methods to set/get the
2926 index of the selected item.
2928 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2930 * configure.ac: post-release version bump.
2932 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2936 * configure.ac: Pre-release version bump.
2937 * debian/changelog: Updates.
2938 * debian/control: Add myself as maintainer and depend on l10n
2941 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2943 * src/hildon-window.c
2944 (hildon_window_set_main_menu)
2945 * src/hildon-stackable-window.c
2946 (hildon_stackable_window_set_main_menu):
2947 Updated documentation.
2949 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2952 Don't free selector->priv manually.
2955 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2958 (hildon_gtk_window_set_progress_indicator):
2959 * src/hildon-gtk.h: Added the new API
2960 hildon_gtk_window_set_progress_indicator, it changes the state of
2961 the window progress hint.
2963 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2965 * src/hildon-button.c
2966 * src/hildon-stackable-window.c: Minor documentation updates.
2968 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2970 * src/hildon-stackable-window.c: Updated documentation.
2972 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2974 * src/hildon-defines.h: Update margins definitions
2975 to the Fremantle sizes.
2978 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2980 * src/hildon-touch-selector.c,
2981 (_hildon_touch_selector_set_model): Cleaning the code after
2982 review, removed g_print and #if 0 from the code.
2984 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2986 * src/hildon-edit-toolbar.c: Update documentation.
2988 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2990 * src/hildon-check-button.h
2991 * src/hildon-check-button.c
2992 (hildon_check_button_set_label, hildon_check_button_get_label)
2993 * examples/hildon-check-button-example.c
2994 (button_clicked_cb):
2995 Removed deprecated methods.
2997 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-text-view.c:
3000 Add sample code to the documentation.
3002 * src/hildon-entry.h
3003 * src/hildon-text-view.h:
3004 Minor cosmetic changes.
3006 * src/hildon-entry.c:
3007 Add sample code to the documentation.
3008 (hildon_entry_init, hildon_entry_refresh_contents):
3009 Don't allow NULL values in the placeholder.
3011 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3013 * doc/hildon-docs.sgml
3015 * examples/Makefile.am
3016 * examples/hildon-text-view-example.c
3018 * src/hildon-text-view.c
3019 * src/hildon-text-view.h
3021 New HildonTextView widget, with example.
3023 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3025 * po/POTFILES.in: Add missing files with translatable strings.
3026 Partially fixes NB#88287.
3028 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3030 * examples/hildon-pannable-area-example-2.c: (main): No need to
3031 set the cellrenderer height inside hildon touch lists, the theme does
3034 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3036 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3037 they are integrated in the theme.
3039 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3041 * examples/hildon-entry-example.c: Update the example adding
3042 widgets to modify the text and the placeholder of the HildonEntry.
3044 * src/hildon-entry.c: Show the placeholder everytime the widget
3045 is empty and loses the focus.
3047 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3049 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3051 * src/hildon-pannable-area.c,
3052 (hildon_pannable_area_size_request): Fixed bug in height
3053 requisition, avoid increasing size and add border twice.
3055 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3057 * configure.ac: postrelease version bump.
3059 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3063 * configure.ac: Prerelease version bump.
3064 * debian/changelog: update.
3065 * debian/rules: make -dbg package contain useful debugging symbols.
3067 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3069 * src/hildon-dialog.h
3070 * src/hildon-dialog.c
3071 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3072 New methods to add buttons with finger size.
3073 (hildon_dialog_new_with_buttons):
3074 Create buttons with finger size.
3076 * examples/hildon-dialog-example.c (main): Use HildonDialog
3077 methods to add buttons.
3079 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3081 * src/hildon-entry.c: Updated HildonButton documentation.
3083 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3085 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3086 button value label with (FALSE, FALSE) to prevent NB#88126 from
3089 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3091 * examples/hildon-pannable-area-example.c,
3092 (main): Removed examples panning a vbox inside a pannable
3093 area. Check bug NB#87965
3095 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3097 Patch contributed by Kris Rietveld (kris@imendio.com)
3099 * src/hildon-pannable-area.c,
3100 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3101 get_size and get_position, this saves an X server roundtrip.
3103 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3105 * doc/hildon-docs.sgml
3107 * examples/Makefile.am
3108 * examples/hildon-entry-example.c
3110 * src/hildon-entry.c
3111 * src/hildon-entry.h
3113 New HildonEntry widget, with example.
3115 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3117 * src/hildon-button.c (hildon_button_construct_child): Pack the
3118 image with expand == fill == FALSE. This is a workaround for a bug
3121 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3123 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3124 labels for the text column, to make it more look more dynamic.
3126 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3128 * src/hildon-time-selector.c
3129 Define gettext auxiliar macro N_
3130 (_create_minutes_model)
3131 (_create_hours_model)
3132 (_create_ampm_model): use of strftime in order to fill the model
3133 * src/hildon-date-selector.c
3134 (hildon_date_selector_finalize):
3135 (_locales_init): remove the logic related to get the name of the months
3136 using nl_langinfo, as it is not required anymore
3138 (_create_year_model)
3139 (_create_month_model)
3140 (_update_day_model): use of strftime in order to fill the model properly
3143 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3145 * src/hildon-button.h
3146 * src/hildon-button.c (hildon_button_get_image): New method to
3149 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3151 * src/hildon-touch-selector.c:
3152 (hildon_touch_selector_remove_column): Remove from the correct parent
3153 and also remove the list element and free it.
3156 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3158 * src/hildon-time-selector.c
3159 (_create_hours_model): change the range on 12h ampm format in order to use
3160 a 12-11 range instead of previous 01-12 range
3161 (hildon_time_selector_set_time): change the way to select the current time
3162 on 12h ampm format, due the change on the range
3163 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3166 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3168 * src/hildon-touch-selector.c
3169 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3170 in order to allow use this function on multiple row selection mode if
3171 the column is different that the first one
3174 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3176 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3177 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3179 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3181 * src/hildon-date-selector.h: clean some comments, now on the .c
3182 * src/hildon-date-selector.c
3183 (hildon_date_selector_select_month): first implementation
3184 (hildon_date_selector_select_day): added documentation, reimplemented
3185 using hildon_date_selector_select_current_date to avoid repeat code
3188 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3190 Reviewed interaction logic based on device experiences, refactored
3193 * src/hildon-pannable-area.c,
3194 (hildon_pannable_area_class_init): Updated default vmax speed.
3195 (hildon_pannable_area_calculate_velocity): Added this function, it
3196 avoids duplicate valocity calculation. Adjusted calculation to
3197 avoid problems with zero dist events.
3199 (hildon_pannable_area_motion_notify_cb): Now we use the
3200 calculate_velocity function.
3202 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3204 * src/hildon-date-selector.c
3205 (hildon_date_selector_select_current_date): fix the day range check
3206 as it failed using the last day of the current month
3209 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3211 * src/hildon-touch-selector.c
3212 (hildon_touch_selector_get_num_columns): added a parameter validation
3215 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3217 * examples/Makefile.am
3218 * examples/hildon-edit-toolbar-example.c: Example of the
3219 HildonEditToolbar widget.
3221 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3223 * configure.ac: postrelease version bump.
3225 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3229 * configure.ac: prerelease version bump.
3230 * debian/changelog: update.
3232 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3234 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3235 renderer to display stock icons in the touch list. Also, set the sizes
3236 to the recommended in the style guide.
3238 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3239 * src/hildon-touch-selector.h
3240 (hildon_touch_selector_set_active_iter): renamed, now is
3241 hildon_touch_selector_select_iter
3242 (hildon_touch_selector_get_active_iter): renamed, now is
3243 hildon_touch_selector_get_selected
3244 (hildon_touch_selector_unselect_iter): added
3245 * src/hildon-touch-selector.c
3246 Update after API modification (methods renamed)
3247 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3248 order to avoid problems selecting multiple elements on the column
3249 (hildon_touch_selector_unselect_iter): added the implementation
3250 * src/hildon-time-selector.c
3251 * src/hildon-date-selector.c
3252 * src/hildon-touch-selector-entry.c
3253 Update methods calls after hildon-touch-selector.h API modification (methods
3256 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3258 * src/hildon-stackable-window.c
3259 (hildon_stackable_window_finalize): Call the parent class's finalize.
3261 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3263 * examples/hildon-touch-selector-example.c: (create_selector): Use
3264 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3267 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3269 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3270 set a cell background color, to respect theming.
3272 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3274 * doc/hildon-docs.sgml
3277 * src/hildon-edit-toolbar.c
3278 * src/hildon-edit-toolbar.h
3279 * src/hildon.h: New HildonEditToolbar widget.
3281 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3283 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3286 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3287 * src/hildon-touch-selector.c
3288 (_create_new_column): use g_object_set instead of two g_object_set_property
3290 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3291 * src/hildon-touch-selector.c
3292 (_create_new_column): use of hildon_gtk_tree_view_new to create
3293 the treeview, instead of use directly g_object_new
3294 (_create_new_column): update the property name "vindicator-mode" for the
3295 new one "vscrollbar-policy"
3296 * examples/hildon-date-button-example.c
3297 * examples/hildon-picker-button-multicolumn-example.c
3298 * examples/hildon-touch-selector-entry-example.c
3299 * examples/hildon-touch-selector-example.c
3300 * examples/hildon-time-button-example.c
3301 * examples/hildon-picker-button-example.c
3302 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3303 to all the treeviews inside a pannable area.
3305 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3307 * src/hildon-button.h
3308 * src/hildon-button.c (hildon_button_init)
3309 (hildon_button_set_arrangement, hildon_button_set_alignment)
3310 (hildon_button_set_title_alignment)
3311 (hildon_button_set_value_alignment)
3312 (hildon_button_set_image_alignment)
3313 (hildon_button_construct_child): New methods to set the alignment
3314 of the individual components of the button (title, value,
3315 image). Also, new method to alter the xscale and yscale properties
3316 of the GtkAlignment inside the button, so more complex layouts can
3319 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3321 * src/hildon-button.c (hildon_button_style_set)
3322 (hildon_button_class_init, hildon_button_set_arrangement)
3323 (hildon_button_construct_child): Apply style properties
3324 correctly. Use the 'image-spacing' style property too.
3326 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3328 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3329 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3332 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3334 * src/hildon-pannable-area.c,
3335 (hildon_pannable_area_size_request): Fixed problem with
3336 pannable-area size_request.
3338 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3340 Added management for the grab-focus to a child widget, like a
3341 range, we need to fade out the scrollbar when releasing.
3343 * src/hildon-pannable-area.c,
3344 (hildon_pannable_area_init): Connected the grab-focus signal to
3346 (hildon_pannable_area_grab_notify): Added this function in order
3347 to manage the situation when the grab-focus ends. We have to
3348 fade-out the scrollbar.
3350 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3352 * src/hildon-app-menu.c: Minor documentation update.
3354 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3356 * src/hildon-app-menu.c
3357 * examples/hildon-app-menu-example.c (create_menu): Update
3358 examples and documentation to explain how to connect callbacks.
3360 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3362 * examples/hildon-button-example.c
3363 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3364 hildon_stackable_window_new instead of gtk_window_new
3366 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3368 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3369 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3370 (hildon_pannable_area_set_property),
3371 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3372 (hildon_pannable_area_unrealize),
3373 (hildon_pannable_area_size_request),
3374 (hildon_pannable_area_size_allocate),
3375 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3376 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3377 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3378 (hildon_pannable_area_initial_effect),
3379 (hildon_pannable_area_redraw),
3380 (hildon_pannable_area_scroll_indicator_fade),
3381 (hildon_pannable_area_expose_event),
3382 (hildon_pannable_area_get_topmost), (synth_crossing),
3383 (hildon_pannable_area_button_press_cb),
3384 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3385 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3386 (hildon_pannable_area_motion_notify_cb),
3387 (hildon_pannable_area_button_release_cb),
3388 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3389 (hildon_pannable_area_remove),
3390 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3391 chage the code layout to a more GtkWidget like. Review the use of
3394 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3396 * examples/hildon-pannable-area-example-4.c,
3397 (main): Modified the name of the hindicator_mode to
3400 * src/hildon-pannable-area.c,
3401 (hildon_pannable_area_class_init),
3402 (hildon_pannable_area_motion_notify_cb),
3403 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3404 we have reduced the amount of signals and managed reviewed its
3405 rationale. Changed the default decelerate value.
3407 (hildon_pannable_area_add),
3408 (hildon_pannable_area_redraw): Refactored functions.
3410 (hildon_pannable_area_init),
3411 (hildon_pannable_area_get_property),
3412 (hildon_pannable_area_set_property):
3413 (hildon_pannable_draw_vscroll),
3414 (hildon_pannable_draw_hscroll),
3415 (hildon_pannable_area_initial_effect),
3416 (hildon_pannable_area_expose_event),
3417 (hildon_pannable_area_scroll),
3418 (hildon_pannable_area_button_press_cb),
3419 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3420 and vindicator_mode with hscrollbar_policy and
3421 vscrollbar_policy. Replaced hscroll and vscroll with
3422 hscroll_visible and vscroll_visible.
3424 (hildon_pannable_area_refresh): Refactor the function, remove
3425 variables and check the calls to this function, added resize
3426 conditions in case the children change their layout.
3428 (hildon_pannable_area_size_request): Added more detailed
3429 size_request calculation.
3432 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3434 * src/hildon-color-chooser.c
3435 (init_borders): use the correct gtk_border_free instead of g_free, to
3436 avoid a crash when this widget is used (ie: the three color selection
3439 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3441 * src/hildon-check-button.c,
3442 (hildon_check_button_set_active): Fixed problem when setting the
3443 active value, the widget was not redrawn.
3445 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3447 * src/hildon-pannable-area.c,
3448 (hildon_pannable_area_refresh),
3449 (hildon_pannable_area_scroll),
3450 (hildon_pannable_area_motion_notify_cb): Small code style change.
3452 (hildon_pannable_area_class_init): Default initial_hint set to
3453 FALSE, it is not in the specs.
3455 (hildon_pannable_area_initial_effect),
3456 (hildon_pannable_area_expose_event),
3457 (hildon_pannable_area_map),
3458 (hildon_pannable_area_init): Moved the launching point of the
3459 initial effect, it was in map but the sizes where not correct in
3460 that method so we do not know if we have the reproduce it. Now it
3461 is placed in the expose_event method and uses a variable to
3462 reproduce it just once.
3464 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3466 * src/hildon-pannable-area.c,
3467 (hildon_pannable_draw_vscroll),
3468 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3469 position allowed for the scrollbars.
3471 (hildon_pannable_area_size_allocate): Small style change.
3473 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3475 * src/hildon-pannable-area.c,
3476 (hildon_pannable_area_scroll_indicator_fade),
3477 (hildon_pannable_area_button_press_cb),
3478 (hildon_pannable_area_button_release_cb),
3479 (hildon_pannable_area_scroll_cb),
3480 (hildon_pannable_area_expose_event),
3481 (hildon_pannable_area_init): Added the define parameter
3482 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3483 and refactor the fade variable.
3485 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3487 * src/hildon-pannable-area.c,
3488 (hildon_pannable_area_redraw),
3489 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3490 lines, we were reimplemeting the redraw code.
3492 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3494 * src/hildon-pannable-area.c,
3495 (hildon_pannable_area_scroll_cb),
3496 (hildon_pannable_area_realize),
3497 (hildon_pannable_area_class_init): Added scroll_event management
3498 for pannable area, now we can scroll the usual desktop method.
3500 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3501 initialization of the parameters should depend on idle_id.
3503 (hildon_pannable_area_init),
3504 (hildon_pannable_area_map): Small code style modifications
3506 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3508 * src/hildon-pannable-area.c
3509 (hildon_pannable_area_button_press_cb),
3510 (hildon_pannable_area_motion_notify_cb),
3511 (hildon_pannable_area_button_release_cb),
3512 (hildon_pannable_area_size_allocate),
3513 (hildon_pannable_area_scroll_to): Improved the timeouts
3514 management, we avoid creating them each time.
3516 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3518 * src/hildon-pannable-area.c:
3519 (hildon_pannable_area_refresh),
3520 (hildon_pannable_area_motion_notify_cb),
3521 (hildon_pannable_area_class_init):
3522 * src/hildon-pannable-area.h:
3523 * src/hildon-touch-selector.c
3524 (_create_new_column):
3525 * examples/hildon-pannable-area-example-4.c:
3526 (horizontal_movement),
3527 (vertical_movement),
3529 Replaced the names of enums in the HildonPannableArea:
3530 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3531 HILDON_MOVEMENT_MODE_*
3532 - HILDON_PANNABLE_AREA_MOV_* ->
3534 - Removed HildonPannableAreaIndicatorMode, now we
3537 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3539 * examples/hildon-pannable-area-touch-grid-example.c
3540 * examples/hildon-pannable-area-touch-list-example.c: Fix
3541 compilation warnings.
3543 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3545 * src/hildon-gtk.c (hildon_gtk_button_new)
3546 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3547 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3548 images overriding the value of the "gtk-button-images" setting.
3550 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3552 * src/hildon-check-button.c (hildon_check_button_new):
3553 Instead of using a custom container, display the label and the
3554 checkbox using the standard GtkButton API.
3556 * examples/hildon-check-button-example.c (main): Don't use
3557 hildon_check_button_set_label() anymore
3559 * src/hildon-check-button.h
3560 * src/hildon-check-button.c
3561 (hildon_check_button_set_label, hildon_check_button_get_label):
3562 Set as deprecated, now we're using gtk_button_{get,set}_label()
3564 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3566 * src/hildon-pannable-area.c,
3567 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3568 GtkTreeview first line we detected it after the inclusion of the
3569 GtkWindowImpl in gtk+. We now check if the window is visible, not
3570 just if the pointer is over the window.
3571 (hildon_pannable_axis_scroll),
3572 (hildon_pannable_area_expose_event): Small style changes.
3574 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-button.c: Update documentation.
3578 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3580 * examples/hildon-button-example.c: Add a switch to show images in
3583 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3585 * doc/hildon-docs.sgml: Some docs reorganization.
3587 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3589 * examples/hildon-pannable-area-touch-list-example.c
3591 * examples/hildon-pannable-area-touch-grid-example.c
3592 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3593 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3594 Fix memory leak when setting the tree model.
3596 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3600 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3602 * doc/hildon.types: Remove duplicated hildon_window_get_type
3603 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3604 documentation comment.
3606 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3608 * doc/Makefile.am: Complete list of private headers.
3610 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3612 * doc/hildon-docs.sgml
3613 * src/hildon-app-menu.c
3614 * src/hildon-bread-crumb.c
3615 * src/hildon-button.c
3617 * src/hildon-program.c
3618 * src/hildon-stackable-window.c
3619 * src/hildon-window.c: Lots of documentation updates.
3621 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3623 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3625 * configure.ac: Require Gtk+ 2.12.9 at least
3627 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3629 * src/hildon-pannable-area.c
3630 (hildon_pannable_area_scroll_indicator_fade),
3631 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3632 to protect the return of this timeout callbacks, avoiding deadlocks.
3634 2008-08-12 Christian Dywan <christian@imendio.com>
3637 * src/hildon-*.h: Ensure a consistent include order,
3638 include <gtk/gtk.h> instead of particular files and
3639 only include the topmost header in the gtk stack. See NB #39857
3641 2008-08-12 Christian Dywan <christian@imendio.com>
3643 * src/hildon-picker-dialog.c
3644 * src/hildon-touch-selector.c: Fix warnings about unused and
3645 uninitialized variables.
3647 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3649 * examples/Makefile.am
3650 * examples/hildon-check-button-example.c: Example of the hildon
3653 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3655 * src/hildon-window.h
3656 * src/hildon-window.c (hildon_window_class_init)
3657 (hildon_window_unset_program): Don't make
3658 hildon_window_unset_program a virtual function anymore.
3660 * src/hildon-stackable-window.c: Update documentation
3662 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3665 * doc/hildon-docs.sgml
3666 * doc/visual_index.xml
3667 * src/hildon-defines.c
3669 * src/hildon-helper.c
3670 * src/hildon-range-editor.c: Lots of documentation fixes.
3672 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3674 * examples/hildon-picker-button-multicolumn-example.c
3675 (create_touch_selector): Fix compilation warning.
3677 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3679 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3680 (hildon_pannable_area_button_release_cb)
3681 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3683 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3685 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3688 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3690 * src/hildon-bread-crumb-trail.h
3691 * src/hildon-date-editor.c
3692 * src/hildon-date-selector.c
3693 * src/hildon-pannable-area.c
3694 * src/hildon-picker-dialog.c
3695 * src/hildon-time-selector.c
3696 * src/hildon-touch-selector-entry.c
3697 * src/hildon-touch-selector.c
3698 * src/hildon-touch-selector.h: Misc documentation fixes
3700 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3702 * examples/hildon-date-editor-example.c (main): Updated date
3705 * examples/hildon-note-example.c (on_confirmation_clicked):
3706 Updated confirmation note example.
3708 * src/hildon-date-editor.c
3709 * src/hildon-note.c: Updated sample programs in documentation.
3712 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3714 * src/hildon-date-button.h:
3715 * src/hildon-picker-button.h:
3716 * src/hildon-time-button.c:
3717 * src/hildon-time-button.h:
3719 Some declarations changes to allow gtk-doc to document the widgets
3722 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3724 * src/hildon-date-button.c: Document the widget.
3725 * src/hildon-time-button.c: Document the widget.
3727 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3729 * src/hildon-picker-button.c: Document the widget.
3730 * src/hildon-touch-selector-entry.c: Document the widget.
3732 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3734 * doc/hildon-docs.sgml
3737 * src/hildon-check-button.h
3738 * src/hildon-check-button.c: New functions to create the Hildon
3742 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3744 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3746 * src/hildon-button.h
3747 * src/hildon-button.c
3748 (hildon_button_add_title_size_group)
3749 (hildon_button_add_value_size_group)
3750 (hildon_button_add_image_size_group)
3751 (hildon_button_add_size_groups): New functions to set size groups
3752 for the button labels and image.
3753 (hildon_button_new_full): Removed
3755 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3757 * src/hildon-time-selector.c
3758 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3759 in order to avoid a crash if gconf is not available
3761 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3763 * src/hildon-button.c (hildon_button_set_arrangement)
3764 (hildon_button_construct_child): Don't construct the button child
3765 before setting the arrangement.
3767 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3769 * src/hildon-program-private.h
3770 * src/hildon-program.c
3771 * src/hildon-program.h
3772 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3773 (hildon_program_peek_window_stack)
3774 (hildon_program_pop_window_stack)
3775 (hildon_program_go_to_root_window): HildonProgram now has a
3776 separate list for stackable windows. Functions are provided to
3777 manage that list with a stack-like API.
3779 * src/hildon-stackable-window.c: Stackable window management is
3780 now much simpler with the new HildonProgram API. Windows no
3781 longer need to be manually added to the program, they're
3782 automatically pushed to the top of the stack when shown.
3784 * examples/hildon-stackable-window-example.c: Updated example to
3785 reflect the API changes.
3787 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-touch-selector.c: Comment out unimplemented
3790 hildon_touch_selector_insert_column() to avoid a compile warning.
3792 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3794 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3795 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3796 (hildon_touch_selector_set_column_selection_mode),
3797 (_hildon_touch_selector_set_model),
3798 (hildon_touch_selector_set_model):
3800 Complete review of HildonTouchSelector documentation.
3802 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3804 * doc/hildon-docs.sgml
3808 * src/hildon-gtk.c: Convenience functions for standard Gtk
3809 widgets, used to easily perform frequent operations.
3811 * src/hildon-button-helpers.h
3812 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3814 * src/hildon-helper.h
3815 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3816 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3818 * src/hildon-button.h
3819 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3821 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3823 * src/hildon-button.c (hildon_button_init)
3824 (hildon_button_set_arrangement, hildon_button_construct_child):
3825 Pack the image and the labels inside the same GtkAlignment so
3826 gtk_button_set_alignment() can be used
3828 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3830 * src/hildon-button.h
3831 * src/hildon-button.c
3832 (hildon_button_init, hildon_button_set_image)
3833 (hildon_button_set_image_position)
3834 (hildon_button_construct_child): New functions to add an image to
3837 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3839 * src/hildon-date-button.c
3840 * src/hildon-picker-button.c
3841 * src/hildon-time-button.c
3842 * src/hildon-button.c:
3843 (hildon_button_class_init): "size-flags" renamed to "size"
3844 (hildon_button_set_title): Hide the title label if set to NULL.
3846 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3848 HildonButtonFlags split into HildonButtonArrangement (to set the
3849 button layout) and HildonSizeType (which can be used for any
3852 * src/hildon-button.h
3853 * src/hildon-button.c
3854 (hildon_button_class_init)
3855 (hildon_button_set_arrangement)
3856 (hildon_button_set_property): New "size-flags"
3857 property. "arrangement-flags" renamed to "arrangement".
3858 (hildon_button_new, hildon_button_new_with_text)
3859 (hildon_button_new_full): Constructors updated to reflect type changes.
3861 * src/hildon-helper.h
3862 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3863 to set the size of a widget.
3867 * src/hildon-button-helpers.c
3868 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3870 * src/hildon-date-button.c
3871 * src/hildon-date-button.h
3872 * src/hildon-picker-button.c
3873 * src/hildon-picker-button.h
3874 * src/hildon-time-button.c
3875 * src/hildon-time-button.h: Updated widgets to reflect
3876 HildonButton API changes.
3878 * examples/hildon-button-example.c
3879 * examples/hildon-date-button-example.c
3880 * examples/hildon-picker-button-example.c
3881 * examples/hildon-picker-button-multicolumn-example.c
3882 * examples/hildon-time-button-example.c
3883 * examples/hildon-touch-selector-entry-example.c
3884 * examples/hildon-touch-selector-example.c: Updated examples to
3885 reflect HildonButton API changes.
3887 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3889 * doc/hildon-docs.sgml:
3891 * examples/Makefile.am:
3892 * examples/hildon-touch-selector-entry-example.c:
3894 * src/hildon-touch-selector-entry.c:
3895 * src/hildon-touch-selector-entry.h:
3898 Moved HildonTouchSelectorEntry from sandbox. Added its
3899 documentation and examples.
3901 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-touch-selector.h:
3904 * examples/hildon-picker-button-multicolumn-example.c:
3905 (hildon_touch_selector_append_text_column): Add a gboolean
3906 parameter to determine if text must be centered in the column.
3908 * src/hildon-date-selector.c: (hildon_date_selector_init):
3909 * src/hildon-time-selector.c: (hildon_time_selector_init):
3910 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3911 (create_touch_selector): Update widgets and example to reflect
3914 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3916 * src/hildon-touch-selector.c:
3917 (hildon_touch_selector_set_active_iter): Set also the cursor in
3920 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3922 * doc/hildon-docs.sgml
3925 * src/hildon-toggle-button.c
3926 * src/hildon-toggle-button.h
3927 * src/hildon.h: Removed HildonToggleButton widget, a derived
3928 class is not necessary for this.
3930 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3932 * src/hildon-pannable-area.c,
3933 (hildon_pannable_area_realize),
3934 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3937 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3939 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3940 "done" button the default widget for the dialog.
3942 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3944 * src/hildon-touch-selector.c:
3945 (hildon_touch_selector_class_init),
3946 (hildon_touch_selector_get_property),
3947 (_hildon_touch_selector_set_model),
3948 (_hildon_touch_selector_has_multiple_selection),
3949 (hildon_touch_selector_has_multiple_selection):
3950 Add a "has-multiple-selection" property with a virtual
3951 has_multiple_selection() method to allow derived classes to
3952 override the default value for it. See the method and property
3953 documentation for details.
3955 * src/hildon-touch-selector.h: Add the new API.
3957 * src/hildon-picker-dialog.c: (requires_done_button): Call
3958 hildon_touch_selector_has_multiple_selection() instead of
3959 determining the need for a button itself.
3961 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3963 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3964 (_hildon_touch_selector_set_model),
3965 (hildon_touch_selector_set_model): Move working code to
3966 _hildon_touch_selector_set_mode(). Call the class method instead.
3968 * src/hildon-touch-selector.h: Add (*set_model) to
3969 HildonTouchSelectorClass.
3971 Make hildon_touch_selector_set_model() a virtual method, so that
3972 derived classes can extend it and do fancy stuff with the model.
3974 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3976 * configure.ac: Set back the tarname in AC_INIT to hildon.
3978 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3982 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3983 instead of libesd (NB#86876). Volume handling is still an open issue.
3985 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3988 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3990 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3991 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3992 derived class to ease placement of an entry widget in
3993 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3994 end, where the selector columns are packed now.
3996 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3998 * src/hildon-picker-button.c: Removed the simple _text() API.
3999 * src/hildon-picker-button.h: Likewise.
4001 * src/hildon-touch-selector.h:
4002 * src/hildon-touch-selector.c:
4003 (hildon_touch_selector_new_text),
4004 (hildon_touch_selector_append_text),
4005 (hildon_touch_selector_prepend_text),
4006 (hildon_touch_selector_insert_text):
4008 Moved the simple _text() API from HildonPickerButton to
4009 HildonTouchPicker, to provide better escalability and not to tie
4010 that API to HildonPickerButton.
4012 * examples/hildon-picker-button-example.c: (main): Example updated.
4014 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4016 * src/hildon-button.c: Updated documentation.
4018 * examples/hildon-button-example.c: Add the posibility to create
4019 the buttons using horizontal layout for title and value.
4021 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4023 * src/hildon-app-menu-private.h
4024 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4025 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4026 GtkSizeGroup for the filters, use the 'homogeneous' property of
4029 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4031 * examples/hildon-button-example.c: Updated example.
4033 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4035 * doc/hildon-docs.sgml:
4038 Update documentation.
4040 * examples/Makefile.am: Update renamed examples.
4042 * examples/hildon-picker-button-multicolumn-example.c:
4043 (create_touch_selector), (main): Update after the rename.
4045 * examples/hildon-touch-picker-example.c: Removed.
4046 * examples/hildon-touch-selector-example.c: (value_changed),
4047 (create_selector), (get_visible_content), (main): Renamed from
4048 hildon-touch-picker-example.c
4050 * src/Makefile.am: Updated renamed files.
4052 * src/hildon-date-button.c: (hildon_date_button_init),
4053 (hildon_date_button_get_date), (hildon_date_button_set_date):
4054 * src/hildon-date-selector.c: (hildon_date_selector_init),
4055 (_custom_print_func), (_update_day_model),
4056 (_manage_selector_change_cb),
4057 (hildon_date_selector_select_current_date),
4058 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4059 * src/hildon-date-selector.h:
4060 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4061 (hildon_picker_button_set_property),
4062 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4063 (hildon_picker_button_init), (hildon_picker_button_new_text),
4064 (hildon_picker_button_append_text),
4065 (hildon_picker_button_prepend_text),
4066 (hildon_picker_button_insert_text),
4067 (hildon_picker_button_set_selector),
4068 (hildon_picker_button_get_selector):
4069 * src/hildon-picker-button.h:
4070 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4071 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4072 (_update_title_on_selector_changed_cb), (requires_done_button),
4073 (_hildon_picker_dialog_set_selector),
4074 (hildon_picker_dialog_set_selector),
4075 (hildon_picker_dialog_get_selector):
4076 * src/hildon-picker-dialog.h:
4077 * src/hildon-time-button.c: (hildon_time_button_init),
4078 (hildon_time_button_get_time), (hildon_time_button_set_time):
4079 * src/hildon-time-selector.c: (hildon_time_selector_init),
4080 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4081 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4082 * src/hildon-time-selector.h:
4085 Massive code updates after the rename.
4087 * src/hildon-touch-picker.c: Removed.
4088 * src/hildon-touch-picker.h: Removed.
4090 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4091 (hildon_touch_selector_init), (hildon_touch_selector_map),
4092 (hildon_touch_selector_remove), (_default_print_func),
4093 (_selection_changed_cb), (_create_new_column),
4094 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4095 (hildon_touch_selector_append_text_column),
4096 (hildon_touch_selector_remove_column),
4097 (hildon_touch_selector_set_column_attributes),
4098 (hildon_touch_selector_insert_column),
4099 (hildon_touch_selector_get_num_columns),
4100 (hildon_touch_selector_get_column_selection_mode),
4101 (hildon_touch_selector_set_column_selection_mode),
4102 (hildon_touch_selector_set_print_func),
4103 (hildon_touch_selector_get_print_func),
4104 (hildon_touch_selector_get_active_iter),
4105 (hildon_touch_selector_set_active_iter),
4106 (hildon_touch_selector_get_selected_rows),
4107 (hildon_touch_selector_get_model),
4108 (hildon_touch_selector_set_model),
4109 (hildon_touch_selector_get_current_text),
4110 (_hildon_touch_selector_center_on_selected_items):
4111 * src/hildon-touch-selector.h: Renamed from
4112 hildon-touch-picker.[ch]
4114 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4115 references, code examples, and related documentation.
4117 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4119 * doc/hildon-docs.sgml
4122 * src/hildon-toggle-button.c
4123 * src/hildon-toggle-button.h
4124 * src/hildon.h: New HildonToggleButton widget.
4126 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4128 * src/hildon-button.c: Add API documentation.
4129 (hildon_button_set_size_groups): Check input parameters
4131 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4133 * src/hildon-pannable-area.c
4134 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4135 effect after reaching the movement thredshold. This way we start
4136 using the distance after passing the thredshold.
4138 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/hildon-button.c: (hildon_button_set_property): Use the
4141 appropriate g_value_get_flags() method.
4143 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4145 * doc/hildon-docs.sgml:
4148 Add the touch pickers, picker dialogs, and picker button widgets
4149 to the documentation.
4151 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4153 * src/hildon-button.c: (hildon_button_set_property),
4154 (hildon_button_class_init): Make "arrangement-flags" a proper
4155 G_TYPE_FLAGS derived property.
4157 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4159 * examples/Makefile.am: Add below examples.
4160 * examples/hildon-date-button-example.c:
4161 * examples/hildon-picker-button-example.c:
4162 * examples/hildon-picker-button-multicolumn-example.c:
4163 * examples/hildon-time-button-example.c:
4164 * examples/hildon-touch-picker-example.c:
4166 Add examples for the recently added touch pickers,
4167 picker dialogs, and picker button widgets.
4169 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4171 * src/hildon-button.c: Add some API documentation
4173 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4175 * src/hildon-button.h
4176 * src/hildon-button.c
4178 (hildon_button_new_with_text): New constructor to create a button
4179 with no text at all.
4180 (hildon_button_init, hildon_button_set_arrangement)
4181 (hildon_button_set_title, hildon_button_set_value)
4182 (hildon_button_set_text)
4183 (hildon_button_construct_child): Hide the value when it's not used
4184 so the rest of the text is properly aligned.
4185 Allow creating buttons with arbitrary widgets inside (not just
4186 title/value labels).
4188 * examples/hildon-button-example.c (vertical_buttons_window)
4189 (horizontal_buttons_window): Update example to use new API.
4191 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4193 * src/Makefile.am: Added HildonTimeButton.
4194 * src/hildon-time-button.c: Added missing LGPL header.
4195 * src/hildon-time-button.h: Added missing LGPL header.
4196 * src/hildon.h: Add hildon-time-button.h
4198 Copied HildonTimeButton from sandbox to trunk. Future work on this
4199 widget must take place in trunk.
4201 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4203 * src/Makefile.am: Added HildonDateButton.
4204 * src/hildon-date-button.c: Update includes.
4205 * src/hildon.h: Add hildon-date-button.h
4207 Copied HildonDateButton from sandbox to trunk. Future work on this
4208 widget must take place in trunk.
4210 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4212 * src/Makefile.am: Added HildonPickerButton.
4213 * src/hildon-picker-button.h: Update includes.
4214 * src/hildon.h: Add hildon-picker-button.h
4216 Copied HildonPickerButton from sandbox to trunk. Future work on
4217 this widget must take place in trunk.
4219 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/Makefile.am: Added HildonPickerDialog.
4222 * src/hildon-picker-dialog.c: Update includes.
4223 * src/hildon.h: Add hildon-picker-dialog.h
4225 Copied HildonPickerDialog from sandbox to trunk. Future work
4226 on this widget must take place in trunk.
4228 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/Makefile.am: Added HildonTimeSelector.
4231 * src/hildon.h: Add hildon-time-selector.h
4233 Copied HildonTimeSelector widget from sandbox to trunk. Future
4234 work on this widget must happen in trunk.
4236 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4238 * src/Makefile.am: Added HildonDateSelector.
4239 * src/hildon.h: Add hildon-date-selector.h
4241 Copied HildonDateSelector widget from sandbox to trunk. Future
4242 work on this widget must happen in trunk.
4244 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4246 * src/Makefile.am: Added HildonTouchPicker.
4247 * src/hildon-touch-picker.c: Update includes.
4248 * src/hildon.h: Add hildon-touch-picker.h
4250 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4251 on this widget must happen in trunk.
4253 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4255 * src/hildon-pannable-area.c:
4256 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4258 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4260 * examples/hildon-app-menu-example.c (main): Let the window
4263 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4265 * src/hildon-pannable-area.c
4266 (hildon_pannable_area_class_init): Set the min value of the
4267 overshoot properties to zero, which points out that not
4268 overshooting allowed.
4270 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4272 Modified the procedure to get the widget at a point inside the
4273 pannable area when using the movement type signals. Now the user
4274 has to call a function to get the child, that way we just
4275 calculate the child in case the user really want to use it and not
4278 * src/hildon-marshalers.list: Modified the marshallers, now we do
4279 not have the widget as a parameter.
4281 * src/hildon-pannable-area.c
4282 (hildon_pannable_area_motion_notify_cb),
4283 (hildon_pannable_area_class_init),
4284 (hildon_pannable_get_child_widget_at): Removed the widget
4285 parameter from the signal callback. We have also refactored the
4286 emission of the signals.
4288 * src/hildon-pannable-area.h: Added a new method to the API to
4289 calculate a widget at a point inside the pannable area,
4290 hildon_pannable_get_child_widget_at.
4292 * examples/hildon-pannable-area-example-4.c
4293 (horizontal_movement): Modified the example to use the new API,
4294 added condition to control which widget is under the event. This
4295 way we can avoid scrolling laterally over other widgets.
4297 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4299 * src/hildon-pannable-area.c
4300 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4301 modes, we stop getting the pointer events due to returning the
4302 callback without properly calling the get pointer again. Fixed
4303 also an error using the hscroll and vscroll.
4305 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4307 * src/hildon-app-menu-private.h
4308 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4309 (hildon_app_menu_button_release, hildon_app_menu_init)
4310 (hildon_app_menu_class_init): Don't hide the menu on button
4311 release if the user didn't press outside first.
4313 * src/hildon-window.h
4314 * src/hildon-window.c (hildon_window_toggle_menu)
4315 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4316 hildon_window_toggle_menu a virtual function for the stackable
4317 window to override it.
4319 * src/hildon-stackable-window.h
4320 * src/hildon-stackable-window-private.h
4321 * src/hildon-stackable-window.c
4322 (hildon_stackable_window_realize)
4323 (hildon_stackable_window_finalize)
4324 (hildon_stackable_window_class_init)
4325 (hildon_stackable_window_init)
4326 (hildon_stackable_window_set_main_menu): New function to set the
4327 app menu of a HildonStackableWindow.
4329 * examples/hildon-app-menu-example.c: Remove the button to show
4330 the app menu, now it'll be shown when clicking on the title bar
4333 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4335 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4336 set the widget name if the arrangement flags do not specify
4339 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4341 * src/hildon-button.c: (hildon_button_set_property),
4342 (hildon_button_class_init), (hildon_button_new_full),
4343 (hildon_button_set_arrangement): Added "arrangement-flags"
4346 Make the HildonButtonFlags a construction-only property, to allow
4347 subclasses to set them properly.
4349 2008-07-21 Tim Janik <timj@imendio.com>
4351 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4352 insertion position after backspace, so additional digits are appended,
4355 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4357 * src/hildon-pannable-area.c,
4358 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4359 TODO list, it was complete and removed the g_debug and g_print
4362 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4364 Added the movement modes to the hildon-pannable-area, with this
4365 modes the developers can control in which directions the widget
4366 can scroll. They can also connect to signals in order to do
4367 something when that happens, allowing applications scroll. There
4368 is an example uploaded showing how to use it.
4370 * examples/Makefile.am:
4371 * examples/hildon-pannable-area-example-4.c: Added this example of
4372 an application using the modes.
4374 * src/hildon-marshalers.list: Added a new marshaller for the new
4377 * src/hildon-pannable-area.h: Added new enumerations and flags in
4378 order to control the movement modes and the new signals to warn
4379 about the movements in the area.
4381 * src/hildon-pannable-area.c:
4382 (hildon_pannable_axis_scroll),
4383 (hildon_pannable_area_scroll),
4384 (hildon_pannable_area_motion_notify_cb),
4385 (hildon_pannable_area_get_property),
4386 (hildon_pannable_area_set_property),
4387 (hildon_pannable_area_map),
4388 (hildon_pannable_area_class_init),
4389 (hildon_pannable_area_init),
4390 (hildon_pannable_area_jump_to): Added the modes to control the
4391 movement in the widget. We have added properties to control it,
4392 signals to warn about the movements and refactored some code.
4394 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4396 Changes required in order to allow vfast_factor set to zero to
4399 * src/hildon-pannable-area.c:
4400 (hildon_pannable_area_button_press_cb): Changed the condition, it
4401 is required for not allowing click when vfast_factor is zero.
4402 (hildon_pannable_area_timeout): Initialized velocity variables
4403 when we stop moving, it was less than 1 but not zero and we need
4404 to check zero in some situations.
4405 (hildon_pannable_area_class_init): Changed the default value of
4406 the speed factor, now the button_press is just sent in case the
4407 speed is 2 per cent of the max speed.
4408 (hildon_pannable_area_init): Initialization with 0.
4410 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4412 * src/hildon-pannable-area.c,
4413 (hildon_pannable_area_get_topmost): replaced
4414 gdk_window_get_children with gdk_window_peek_children, this way we
4415 do not have to free the list because it is not a copy.
4417 (hildon_pannable_axis_scroll),
4418 (hildon_pannable_area_scroll),
4419 (hildon_pannable_area_timeout),
4420 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4421 two parameters that were only used inside the
4422 hildon_pannable_area_scroll function.
4424 * examples/hildon-pannable-area-example.c,
4425 (get_sawtooth_label): Fixed small memory leak.
4427 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4429 More checks for the case where the overshoot is bigger than the
4432 * src/hildon-pannable-area.c:
4433 (hildon_pannable_draw_vscroll),
4434 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4435 to draw the slider of the scrollbar under the other scrollbar.
4436 (hildon_pannable_area_expose_event): added new checks to control
4437 the drawing of the overshooting area rectangle, in case it is too
4438 big for the area of the widget.
4439 (hildon_pannable_area_size_allocate): add more checks to avoid
4440 setting a position to the child widget outside the area.
4442 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4444 * src/hildon-pannable-area.c
4445 (hildon_pannable_area_size_allocate): Added conditions to control
4446 when overshooting is bigger than the allocated space for the
4447 children, this avoids negative allocations.
4449 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4451 * doc/hildon-docs.sgml
4453 * examples/Makefile.am
4454 * examples/hildon-button-example.c
4456 * src/hildon-button.c
4457 * src/hildon-button.h
4458 * src/hildon.h: Initial version of the new HildonButton widget,
4461 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4463 * src/hildon-pannable-area.c:
4464 (hildon_pannable_area_button_press_cb),
4465 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4466 (hildon_pannable_area_motion_notify_cb),
4467 (hildon_pannable_area_button_release_cb),
4468 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4469 (hildon_pannable_area_jump_to_child):
4471 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4473 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4475 * examples/Makefile.am
4476 * examples/hildon-pannable-area-touch-grid-example.c
4477 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4478 the Hildon Touch List and Hildon Touch Grid using the
4479 HildonPannableArea widget.
4481 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4483 * src/hildon-pannable-area.c,
4484 (hildon_pannable_area_button_press_cb),
4485 (hildon_pannable_area_refresh),
4486 (hildon_pannable_area_scroll),
4487 (hildon_pannable_area_motion_notify_cb),
4488 (hildon_pannable_area_button_release_cb),
4489 (hildon_pannable_area_expose_event),
4490 (hildon_pannable_area_add),
4491 (hildon_pannable_area_remove),
4492 (hildon_pannable_area_realize),
4493 (hildon_pannable_area_size_allocate),
4494 (hildon_pannable_area_class_init),
4495 (hildon_pannable_area_init),
4496 (hildon_pannable_area_scroll_to_child),
4497 (hildon_pannable_area_jump_to_child): Fixed the problem of
4498 removing the child from the GtkBin, we have rearranged the widget
4499 hierarchy, now there is no GtkAlignment which was not doing
4500 anything interesting but breaking some of the assumptions of
4501 GtkContainer. Now developers if they want to add a GtkAlignment
4502 they could, but it is not inside the area.
4504 We had to review the whole allocation/expose process, now it is
4505 improved and we save at least three signals which would be saving
4506 some time when rendering the widget. The allocation of the
4507 scrollbars is now made in the allocate method as usual.
4509 We have also added some conditions in order to control when there
4510 is no child of the pannable area. Maybe we will need more work
4513 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4515 * src/hildon-pannable-area.c,
4516 (hildon_pannable_area_dispose): Released the fade-out timeout when
4517 disposing the widget.
4519 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4521 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4522 zero, we are going to use that property in order to deactivate the
4524 (hildon_pannable_axis_scroll),
4525 (hildon_pannable_area_size_allocate): Added conditions to control
4526 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4527 call, now it is called in all situations and we can remove calls
4528 in the allocate method.
4529 (hildon_pannable_area_map): Control the situation when
4530 overshoot_max is zero, we do not need the timeout.
4531 (hildon_pannable_area_class_init): Added documentation in order to
4532 point out that setting zero to overshoot_max means deactivate
4535 NOTE: removed trailing whitespaces from my previous comments of
4538 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4540 * src/hildon-pannable-area.c
4541 (hildon_pannable_area_get_property),
4542 (hildon_pannable_area_set_property),
4543 (hildon_pannable_area_map),
4544 (hildon_pannable_area_class_init),
4545 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4546 to cause the widget give a hint about its panning abilities upon
4549 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4551 * src/hildon-pannable-area.c: Several documentation improvements.
4553 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4555 * src/hildon-program.c
4556 * src/hildon-stackable-window.c: Update documentation.
4558 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4560 * src/hildon-stackable-window.c (get_previous_window_if_last):
4561 Renamed get_last_window()
4562 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4563 (hildon_stackable_window_unset_program):
4565 (get_previous_window_if_last):
4566 Detect if the window hasn't been added to a HildonProgram.
4568 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4570 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4572 * src/hildon-pannable-area.c
4573 (hildon_pannable_area_button_press_cb),
4574 (hildon_pannable_axis_scroll),
4575 (hildon_pannable_area_scroll),
4576 (hildon_pannable_area_timeout),
4577 (hildon_pannable_calculate_vel_factor),
4578 (hildon_pannable_area_get_property),
4579 (hildon_pannable_area_set_property),
4580 (hildon_pannable_area_class_init),
4581 (hildon_pannable_area_init),
4582 (hildon_pannable_area_scroll_to),
4583 (hildon_pannable_area_jump_to),
4584 (hildon_pannable_area_scroll_to_child),
4585 (hildon_pannable_area_jump_to_child):
4586 * src/hildon-pannable-area.h: Added the new API functions:
4587 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4588 hildon_pannable_area_scroll_to_child,
4589 hildon_pannable_area_jump_to_child
4592 * examples/Makefile.am
4593 * examples/hildon-pannable-area-example-2.c
4594 * examples/hildon-pannable-area-example-3.c: Added these two new
4595 examples in order to test and show how the new APIs work.
4597 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4599 * examples/hildon-stackable-window-example.c (new_window):
4600 * src/Makefile.am (noinst_HEADERS):
4601 * src/hildon-program.c (hildon_program_go_to_root_window):
4602 * src/hildon-program.h:
4603 * src/hildon-stackable-window-private.h:
4604 * src/hildon-stackable-window.c:
4605 * src/hildon-stackable-window.h:
4606 Create hildon-stackable-window-private.h
4607 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4609 * examples/hildon-app-menu-example.c (create_menu):
4610 * examples/hildon-hvolumebar-insensitive-example.c (main):
4611 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4612 * examples/hildon-toolbar-seekbar-example.c (main):
4613 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4614 * src/hildon-banner.c (hildon_banner_set_property):
4615 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4616 Fix compilation warnings
4618 * src/hildon-window.c:
4621 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4623 * src/hildon-stackable-window.c
4624 (hildon_stackable_window_unset_program):
4625 Calculate correctly whether to show the previous window if the
4626 last one is removed from the stack.
4627 (hildon_stackable_window_go_to_root_window):
4628 Send delete events starting from the topmost window.
4629 Stop if one of the windows is not destroyed.
4631 (hildon_stackable_window_delete_event)
4632 (hildon_stackable_window_class_init):
4633 Ignore the delete event if the window is not the topmost one.
4635 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4637 * src/hildon-pannable-area.c
4638 (hildon_pannable_area_expose_event): Fixed a problem when
4639 selecting the background color of the scrollbars.
4641 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4643 * examples/hildon-stackable-window-example.c
4644 * src/hildon-stackable-window.c
4645 * src/hildon-stackable-window.h
4646 hildon_stackable_window_go_home() renamed to
4647 hildon_stackable_window_go_to_root_window()
4648 Send delete events to windows rather than closing them with
4649 gtk_widget_destroy()
4651 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4653 * src/hildon-pannable-area.c
4654 (hildon_pannable_area_button_release_cb): Fix overshooting in
4657 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4659 * src/hildon-pannable-area.c
4660 (hildon_pannable_area_init): Initially show the scroll indicators.
4661 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4663 Add initial effect showing the widget is pannable.
4665 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-pannable-area.c
4668 (hildon_pannable_area_class_init)
4669 (hildon_pannable_area_set_property)
4670 (hildon_pannable_area_get_property)
4671 (hildon_pannable_area_button_press_cb):
4672 New 'velocity_fast_factor' property to decide which velocity is
4675 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4677 * src/hildon-pannable-area.c
4678 (hildon_pannable_draw_hscroll)
4679 (hildon_pannable_draw_vscroll):
4680 Use float variables to calculate the size of the scrollbars to
4681 avoid error propagation and resizing during scrolling.
4683 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4685 * src/hildon-pannable-area.c
4686 (hildon_pannable_draw_vscroll)
4687 (hildon_pannable_draw_hscroll):
4688 Define a minimum size for the scroll bars
4690 * src/hildon-stackable-window.c
4691 (hildon_stackable_window_go_home): Fix compilation warning
4692 (get_last_window): Minor optimizations
4693 (hildon_stackable_window_class_init): Fix initialization of
4696 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4698 * src/hildon-stackable-window.c: Fixed typos in doc
4700 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4702 * src/hildon-pannable-area.c
4703 (hildon_pannable_area_scroll):
4704 Calculate here whether we need to scroll instead of using the booleans
4705 that tell us whether to /draw/ the scrolling bars.
4707 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4709 * src/hildon-app-menu.h
4711 * src/hildon-app-menu.c
4712 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4713 multiple filter groups related code and API. Now we support only
4715 * examples/hildon-app-menu-example.c:
4717 Update to reflect API changes.
4719 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4721 * src/hildon-stackable-window.c
4722 (hildon_stackable_window_class_init):
4723 Add hildon_stackable_window_realize.
4724 (hildon_stackable_window_realize):
4725 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4726 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4727 to apply theming and behavior specific to HildonStackableWindow
4730 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4732 * src/hildon-note.c (hildon_note_button_release):
4733 Close information notes also when tapping on them
4735 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4737 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4738 ELASTICITY, refactor and review, fix some issues with drawing
4741 * src/hildon-pannable-area.c:
4742 (hildon_pannable_area_button_press_cb): removed the conditions to
4743 avoid clicks when overshooting. It is not required
4745 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4746 define. Refatored and reviewed the code, now we do not need to
4747 manage velocity in motion_notify.
4749 (hildon_pannable_area_motion_notify_cb): We have moved the code
4750 that controls the area_scroll to the axis_scroll function and get
4751 rid of duplicated code.
4753 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4755 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4757 (hildon_pannable_draw_vscroll),
4758 (hildon_pannable_draw_hscroll): Fixed the problems with the
4759 scrollbar drawing, now we do not use two surfaces, it is easier
4760 and saves resources.
4762 (hildon_pannable_area_get_property): Style modification.
4764 (hildon_pannable_area_class_init): Changed some default values.
4766 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4768 * src/hildon-stackable-window.c: Fix some typos in the
4771 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4773 * src/hildon-dialog.c:
4774 Change indentation style
4777 (hildon_note_button_release):
4778 Use root coordinates to check if the release event happened
4781 * src/hildon-app-menu.c
4782 (hildon_app_menu_button_release):
4783 Remove unnecessary check
4785 * examples/hildon-app-menu-example.c
4787 Add cast to fix warning
4789 * src/hildon-app-menu.c
4790 (hildon_app_menu_class_init):
4791 New inner-border style property.
4792 Set all default spacings to 16
4793 (hildon_app_menu_init):
4794 Use vertical-spacing to set the space between filter buttons and
4795 regular menu buttons.
4796 Set the default container border using the inner-border value.
4798 * examples/hildon-app-menu-example.c
4800 Don't set the menu border explicitly, now we have the inner-border
4801 style property for that.
4803 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4805 * src/hildon-app-menu.c (hildon_app_menu_init):
4806 Make the window modal
4808 * src/hildon-note.c (hildon_note_map)
4809 * src/hildon-app-menu.c (hildon_app_menu_map):
4810 Destroy the grab window if we're unable to grab the pointer
4812 * src/hildon-app-menu-private.h
4813 * src/hildon-app-menu.c
4814 (hildon_app_menu_init, hildon_app_menu_finalize)
4815 (hildon_app_menu_map, hildon_app_menu_unmap)
4816 (hildon_app_menu_button_release)
4817 (grab_transfer_window_get):
4818 Bring back the grab window
4819 (hildon_app_menu_realize):
4820 Decorate the window, set WM hint for Matchbox
4822 * src/hildon-note.c (hildon_note_realize):
4823 * src/hildon-banner.c (hildon_banner_realize):
4824 Add WM hints for Matchbox
4826 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4828 * src/hildon-app-menu-private.h
4829 * src/hildon-app-menu.c
4830 (hildon_app_menu_init, hildon_app_menu_finalize)
4831 (hildon_app_menu_map, hildon_app_menu_unmap)
4832 (hildon_app_menu_button_release):
4833 Remove the grab window, it's not needed anymore
4835 * src/hildon-program.c
4836 Fixed typo in documentation
4838 * src/hildon-app-menu.h
4839 * src/hildon-app-menu.c
4840 * examples/hildon-app-menu-example.c
4841 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4843 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4846 Added new transfer_window and close_if_pressed_outside private
4848 (hildon_note_rebuild):
4849 Don't add a cancel button to the information note. It will be
4850 closed when tapping outside
4851 Remove the comment about the OK button in the documentation
4852 (hildon_note_realize):
4853 Set the notification type hint
4854 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4855 Grab/ungrab pointer and keyboard if the note has to be closed when
4857 (hildon_note_button_release):
4858 Close the note when tapping outside (if applicable)
4860 * src/hildon-app-menu.c
4861 Grab/ungrab pointer and keyboard on map/unmap
4862 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4863 Close the menu on button release, not button press
4865 * src/hildon-banner.c
4866 (hildon_banner_set_property)
4867 (hildon_banner_check_position):
4868 Make the banner use the full width of the screen
4869 (hildon_banner_show_information)
4870 (hildon_banner_show_information_with_markup):
4871 Don't display an icon by default
4873 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4875 Added fading scrollbars and adapted all the overshooting code to
4876 horizontal scrolling. We have also fixed bugs with overshooting
4877 and current fading implementation.
4879 * src/hildon-pannable-area.c
4880 (hildon_pannable_area_scroll_indicator_fade): Time out function
4881 used to change the transparency of the scrollbars.
4883 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4884 control and fixed a problem with fading, we now remove the fade
4885 timeout before adding a new one.
4887 (hildon_pannable_axis_scroll):
4888 (hildon_pannable_area_scroll):
4889 (hildon_pannable_area_timeout): Added this functions so we can use
4890 the scroll code both for vertical and horizontal.
4892 (hildon_pannable_area_motion_notify_cb):
4893 (hildon_pannable_area_button_release_cb): Added the horizontal
4894 scrolling control, fixed a problem with the overshooting timeout.
4896 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4897 painting of the scrolls.
4899 (hildon_pannable_draw_vscroll):
4900 (hildon_pannable_draw_hscroll):
4901 (hildon_pannable_area_expose_event):
4902 Draw both scrollbars and rectangles in the overshooting area.
4904 (hildon_pannable_area_get_property):
4905 (hildon_pannable_area_set_property):
4906 Modified the overshoot property to overshoot_max
4908 (hildon_pannable_area_map):
4909 Replaced the comments symbols.
4911 (hildon_pannable_area_size_allocate):
4912 (hildon_pannable_area_class_init):
4913 (hildon_pannable_area_init): Added horizontal scroll, fading
4914 effect properties, fixed a problem when overshooting in the bottom
4917 * examples/hildon-pannable-area-example.c:
4918 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4919 looks better in the example.
4921 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-window.c
4924 * src/hildon-window.h
4925 (hildon_window_class_init)
4926 (hildon_window_unset_program)
4927 (hildon_window_unset_program_real):
4928 Make unset_program a virtual function
4930 * src/hildon-stackable-window.c
4931 * src/hildon-stackable-window.h
4932 Added hildon_stackable_window_go_home()
4934 * examples/Makefile.am
4935 * examples/hildon-stackable-window-example.c
4936 HildonStackableWindow example
4938 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4940 * hildon-pannable-area.c: Added the overshoot property and removed
4941 the OVERSHOOT define. Fixed an indent style error.
4942 (hildon_pannable_area_motion_notify_cb):
4943 (hildon_pannable_area_get_property):
4944 (hildon_pannable_area_set_property): Add overshoot property.
4946 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4949 (hildon_pannable_area_class_init): Installed the new property.
4951 * hildon-pannable-area-example.c: Added a sawtooth function, this
4952 way it is easier to check the movement in the pannable.
4953 (get_sawtooth_label): Added this function.
4954 (main): Now we get the labels from the new get_sawtooth_label
4957 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4959 * src/hildon-app-menu.h
4960 * src/hildon-app-menu.c
4961 Renamed API variables for consistency
4963 (hildon_app_menu_popup): Use also the default window size to
4964 decide where to place the menu
4966 (hildon_app_menu_init, hildon_app_menu_class_init): New
4967 external-border style property
4969 2008-05-26 Michael Natterer <mitch@imendio.com>
4971 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4972 widget_class->tap_and_hold_setup signal slot doesn't exist any
4973 longer, stop overriding it.
4975 (hildon_time_editor_init): g_signal_connect() to the
4976 tap-and-hold-setup signal instead.
4978 (hildon_time_editor_entry_keypress): add cast to fix warning.
4980 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4982 * doc/hildon-docs.sgml
4984 * examples/Makefile.am
4985 * examples/hildon-app-menu-example.c
4987 * src/hildon-app-menu-private.h
4988 * src/hildon-app-menu.c
4989 * src/hildon-app-menu.h
4991 New HildonAppMenu widget
4993 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4995 Rearranged the inheritance of the pannable area, now it inherits
4996 from GtkBin. This will allow us to control the event_window and
4997 the allocation process of the widget, required for some effects.
4999 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5000 GtkBin structures. * src/hildon-pannable-area.c: Added the
5001 event_window variable.
5002 (hildon_pannable_area_button_press_cb):
5003 (hildon_pannable_area_button_release_cb):
5004 (hildon_pannable_area_motion_notify_cb):
5005 Changed the signature of the method, now we override the event
5006 callback instead of connecting to the signal.
5008 (hildon_pannable_area_realize):
5009 (hildon_pannable_area_unrealize):
5010 (hildon_pannable_area_map):
5011 (hildon_pannable_area_unmap):
5012 (hildon_pannable_area_size_allocate):
5013 Added functions to control the widget construction. We add a
5014 INPUT_ONLY window and we put it over the widgets inside the
5015 container, this event_window handles the events.
5017 (hildon_pannable_area_class_init):
5018 Replaced the signal connections with overrides of the event
5021 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5023 Bouncing effect added when touching the borders, you can change
5024 the elasticity of the border changing the ELASTICITY define.
5026 * src/hildon-pannable-area.c: Added ELASTICITY define.
5027 (hildon_pannable_area_timeout): Added inverse velocity when
5028 touching the border of the child widget, that causes a bounce.
5030 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5032 Improved performance, we now do not go to the X server in order to
5033 get the list of window children. Apparently the effect is the
5034 same, we have to be careful and check if this breaks something in
5037 * src/hildon-pannable-area.c:
5038 (get_ordered_children): Removed this function.
5039 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5040 the children windows function with gdk_window_get_children.
5042 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5044 * src/hildon-pannable-area.c:
5045 (hildon_pannable_area_dispose): Fixed a crash when closing the
5046 window and kinetics is activated.
5048 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5050 * src/hildon-pannable-area.h
5051 * src/hildon-pannable-area.c
5052 Changed indentation style to meet the one used in Hildon
5054 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5056 Reviewed the interaction of the AUTO mode, now we use the time
5057 attribute of the events and calculate the velocity in the motion,
5058 doing a gimp like calculation. The velocity is calculated in each
5059 motion event using the last velocity and the current one, the
5060 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5062 * src/hildon-pannable-area.c: Replaced the time based algorithm
5064 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5065 timeout for the AUTO mode when we are still moving the cursor. We
5066 added also the velocity calculation in this function.
5067 (hildon_pannable_area_button_release_cb): launch the timeout in
5068 case we are in AUTO mode. There are still some constants here that
5069 come from the old implementation that should be reviewed and
5072 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5074 * doc/hildon-docs.sgml
5077 * src/hildon-stackable-window.c
5078 * src/hildon-stackable-window.h
5080 New HildonStackableWindow widget
5082 * examples/hildon-dialog-example.c
5083 * examples/hildon-pannable-area-example.c
5086 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5088 * src/hildon-dialog.c
5089 (hildon_dialog_new_with_buttons): New constructor.
5091 * examples/hildon-dialog-example.c
5092 (main): Update the example to use the new
5093 hildon_dialog_new_with_buttons().
5095 * examples/hildon-pannable-area-example.c
5096 (main): Update example.
5098 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5100 * doc/hildon-docs.sgml
5102 Added HildonPannableArea to the documentation.
5104 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5106 * doc/visual_index.xml
5107 Fix reference to HildonLoginDialog in documentation
5109 * doc/hildon-docs.sgml
5111 * examples/Makefile.am
5112 * examples/hildon-dialog-example.c
5114 * src/hildon-dialog.c
5115 * src/hildon-dialog.h
5117 New HildonDialog widget.
5119 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5121 * src/hildon-pannable-area.c
5122 Merge latest changes (r4318, r4342) from libmokoui trunk
5124 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5126 * examples/Makefile.am
5127 * examples/hildon-pannable-area-example.c
5129 * src/hildon-pannable-area.c
5130 * src/hildon-pannable-area.h
5132 New HildonPannableArea widget.
5134 2008-04-15 18:05:19 <timj@imendio.com>
5136 * src/hildon-banner.c: revert the recent change, that introduced
5137 gtk_window_present() calls. this reopens:
5138 Bug 78481 - [freetest] information banners are hidden under browser menu
5139 But resolves another variant of:
5140 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5142 2008-04-15 13:21:13 <timj@imendio.com>
5144 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5145 recreated its layout, spotted by Kris. this fixes all remaining
5146 artefacts and stability issues with the banner code. in particular:
5147 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5149 2008-04-14 16:52:59 <timj@imendio.com>
5151 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5152 operating on unrealized widgets, fixes:
5153 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5155 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5157 2008-04-09 Kristian Rietveld <kris@imendio.com>
5159 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5160 makes banner disappear.
5161 Fixes: NB#79182: info banner flickering with certain message lengts.
5163 * src/hildon-banner.c (hildon_banner_constructor),
5164 (hildon_banner_init), (hildon_banner_set_text),
5165 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5166 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5167 FALSE, reset size requests of label and banner,
5168 (force_to_wrap_truncated): when the text is too wide, always enforce
5169 the maximum possible width instead of recalculating it from the
5170 layout; enforce the maximum banner height of 3 lines,
5171 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5172 nicer wrapping and no truncated chars if space gets tight.
5174 * src/hildon-banner-private.h: add has_been_wrapped and
5175 has_been_truncated fields.
5177 2008-04-07 Sven Herzberg <sven@imendio.com>
5179 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5180 local values in hildon_date_editor_size_allocate
5182 * src/hildon-date-editor.c: moved the real allocation code into the
5185 2008-04-07 Sven Herzberg <sven@imendio.com>
5187 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5188 local values in hildon_date_editor_size_allocate
5190 * src/hildon-date-editor.c: merged the two if() branches together
5192 2008-04-07 Sven Herzberg <sven@imendio.com>
5194 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5195 local values in hildon_date_editor_size_allocate
5197 * src/hildon-date-editor.c: changed the arguments of the if()
5200 2008-04-07 Sven Herzberg <sven@imendio.com>
5202 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5203 local values in hildon_date_editor_size_allocate
5205 * src/hildon-date-editor.c: split the calculation of the allocation
5206 from the real allocation
5208 2008-03-27 Michael Natterer <mitch@imendio.com>
5210 Fixes: NB#81696: The passcode is not overwritten even after
5213 * src/hildon-code-dialog.c
5214 (hildon_code_dialog_button_clicked)
5215 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5216 because that doesn't overwrite selected text. Instead, emit the
5217 "commit" signal on the entry's im_context so the entry's normal
5218 insert logic is triggered. Set the cursor to the end of the entry
5219 after each insert operation so that we *only* insert in the middle
5220 of the text if something was selected.
5222 2008-03-27 Michael Natterer <mitch@imendio.com>
5224 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5225 selector cannot be opened
5227 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5228 when the popup color selector is created. Please connect to this
5229 signal in order to set the dialog's help ID.
5231 2008-03-25 Sven Herzberg <sven@imendio.com>
5233 Fixes: MB#1212: Hide info banners (infoprints) on click
5235 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5236 extracted the close event simulation into an extra function
5237 (hildon_banner_button_press_event): simulate a close event and destroy
5238 the widget if the event wasn't handled
5239 (hildon_banner_class_init): added the button_press_event handler
5240 (hildon_banner_init): added button-press events to the widget
5242 2008-03-25 Sven Herzberg <sven@imendio.com>
5244 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5245 Patch from: Mohammad Anwari <mdamt@maemo.org>
5247 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5248 instead of the right in RTL mode
5249 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5250 breadcrumb button list in RTL mode
5251 * src/hildon-caption.c: mirror the appearance of the caption widget in
5253 * src/hildon-date-editor.c: mirror appearance of the date editor in
5255 * src/hildon-time-editor.c: mirror appearance of the time editor in
5257 * src/hildon-window.c: fix the position of the popup in RTL mode
5259 2008-03-25 Sven Herzberg <sven@imendio.com>
5261 Amendment to the fix of NB#22072. Fix compilation.
5263 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5265 2008-03-19 Sven Herzberg <sven@imendio.com>
5267 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5270 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5271 timeout id properly when the timeout will disappear this leaves no
5272 artifacts around in the destroy(); there will only be the timeout
5273 created by hildon_banner_ensure_timeout() and adding a new timeout
5274 will also work if the timeout gets removed because the timeout_handler
5277 2008-03-19 Michael Natterer <mitch@imendio.com>
5279 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5281 * src/hildon-volumebar.c
5282 * src/hildon-vvolumebar.c
5283 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5284 the widget becomes focussable at all.
5286 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5287 set the focus to wither the mute button or the volumebar.
5289 Remove own "can-focus" property and instead listen to
5290 notify::can-focus in order to update the widget's state.
5292 Implement GtkWidget::focus() and make sure we can also *leave* the
5293 widget, not only enter it, depending on volumebar orientation and
5294 requested focus direction.
5296 Clean up set_mute() to cooperate nicely with all the above.
5298 2008-03-04 Michael Natterer <mitch@imendio.com>
5300 Fixes: NB#78481: information banners are hidden under browser menu
5302 * src/hildon-banner.c: call gtk_window_present() on the banners so
5303 they are risen if they are already visible.
5305 2008-03-03 Sven Herzberg <sven@imendio.com>
5307 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5309 * examples/hildon-window-menu-example.c: (main): extended the window
5310 menu example to serve as a testcase for automatically added
5311 accelerator groups, too
5312 * src/hildon-window.c: (hildon_window_add_accel_group),
5313 (hildon_window_set_menu): added patch by Tommi Komulainen
5315 2008-03-03 Sven Herzberg <sven@imendio.com>
5317 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5319 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5320 knowledge about the border allocators used within GTK+
5322 2008-02-26 Sven Herzberg <sven@imendio.com>
5324 Fixes: MB#2981: Build with asserts broken
5326 * src/hildon-date-editor.c,
5327 * src/hildon-number-editor.c,
5328 * src/hildon-time-editor.c,
5329 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5330 the proper GType instance check
5332 2008-02-25 Sven Herzberg <sven@imendio.com>
5334 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5336 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5337 * examples/hildon-window-menu-example.c: (main): explicitly show
5339 * src/hildon-window.c:
5340 (hildon_window_set_main_menu): moved most of the code from set_menu()
5341 to this place; skipped the call to gtk_widget_show_all(); also didn't
5342 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5343 (hildon_window_set_menu): removed most of the code, just keep the
5344 questionable gtk_widget_show_all()
5345 * src/hildon-window.h: added the new function and deprecate the old
5348 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5354 * debian/changelog: Updating.
5356 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5359 * pkgconfig/Makefile.am:
5360 * pkgconfig/hildon.pc.in:
5363 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5364 use newly created API_MAJOR_VERSION.
5366 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5372 * debian/changelog: Updating.
5374 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5376 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5378 Add outer_border style property, we use it but don't define it (!).
5382 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5384 * examples/hildon-bread-crumb-trail-example.c (main):
5388 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5390 Fix logic for the bread crumb trail node removal.
5394 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5400 * debian/changelog: Updating.
5402 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5404 Patch by Alejandro to get/set passwords dialogs accesibility.
5406 * hildon-1/src/hildon-get-password-dialog.c:
5407 * hildon-1/src/hildon-set-password-dialog.c:
5408 Set atk_set_name to the passwd entries in order to allow
5409 accessibility by name on this entries.
5411 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5416 * debian/control: Updating gtk dep.
5418 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5420 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5421 USE_MAEMO_GTK is enabled.
5423 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5425 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5426 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5428 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5434 * debian/changelog: Updating.
5436 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5438 * examples/Makefile.am:
5439 * examples/hildon-logical-color-example.c:
5440 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5441 applied + adding a test case. Fixes: NB#71660.
5443 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5445 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5446 to be visible, fixes warning on map for windows without toolbars.
5448 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5450 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5451 2.11.0, add a check for that besides the MAEMO_GTK check.
5453 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5459 * debian/changelog: Updating.
5461 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5463 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5464 visibility. Fixes: NB#70842 and MB#615.
5466 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5468 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5469 set the separator as no-show-all so it doesn't unintentionally appear when
5470 someone does a show_all.
5472 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5474 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5475 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5476 toplevel item. Fixes: NB#62031
5478 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5480 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5481 fix the name of the function in the docs.
5483 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5489 * debian/changelog: Updating.
5491 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5493 * examples/hildon-banner-long-example.c: Adding a test-case for long
5496 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5498 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5500 * src/hildon-color-chooser-dialog.c:
5501 * src/hildon-color-chooser.c:
5502 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5503 memory leaks in font selector and color selector. Fixes: NB#70499 and
5506 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5508 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5510 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5512 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5513 little bit bigger. Fixes: #NB63694.
5515 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5521 * debian/changelog: Updating.
5523 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5526 * doc/hildon-docs.sgml:
5527 * doc/images/bread-crumb-trail.png:
5528 * doc/images/calendar-popup.png:
5529 * doc/images/caption.png:
5530 * doc/images/code-dialog.png:
5531 * doc/images/color-button.png:
5532 * doc/images/color-chooser-dialog.png:
5533 * doc/images/color-chooser.png:
5534 * doc/images/controlbar.png:
5535 * doc/images/date-editor.png:
5536 * doc/images/font-selection-dialog.png:
5537 * doc/images/get-password-dialog.png:
5538 * doc/images/hvolumebar.png:
5539 * doc/images/login-dialog.png:
5540 * doc/images/note.png:
5541 * doc/images/number-editor.png:
5542 * doc/images/range-editor.png:
5543 * doc/images/seekbar.png:
5544 * doc/images/set-password-dialog.png:
5545 * doc/images/sort-dialog.png:
5546 * doc/images/time-editor.png:
5547 * doc/images/time-picker.png:
5548 * doc/images/vvolumebar.png:
5549 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5550 Adding the bread-crumb-trial and helpers to the documentation.
5552 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5554 * examples/hildon-find-toolbar-example.c:
5555 * src/hildon-find-toolbar.c:
5556 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5557 actually continue firing the other handlers if connected. Adding a new
5559 hildon_find_toolbar_get_last_index that gets the index of the most
5560 recently added (last) item. Fixes: NB#52301.
5562 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5564 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5565 behaviour. Fixes: NB#68610.
5567 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5569 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5572 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5574 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5575 when realizing the banner. Should make the infonbanner effect a bit more
5578 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5580 * src/hildon-volumebar.c:
5581 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5582 hildon_volumebar_set_range_insensitive_message and
5583 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5585 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5587 * src/hildon-window.c: Fixing the border freeing on destroy.
5589 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5591 * src/hildon-code-dialog-private.h:
5592 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5593 kw keyboard support in HildonCodeDialog.
5595 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5601 * debian/changelog: Updating.
5603 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5605 * src/hildon-date-editor.c:
5606 * src/hildon-number-editor.c:
5607 * src/hildon-private.c:
5608 * src/hildon-private.h:
5609 * src/hildon-time-editor.c:
5610 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5611 handling in subclassed composite widgets. Fixes: NB#66628.
5613 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5615 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5616 from destroy_ callback as it introduces problems in async dbus signal
5617 handlers. Fixes NB#66673.
5619 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5621 * examples/hildon-hvolumebar-example.c:
5622 * src/hildon-volumebar.c: Improving the focus handling in the
5623 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5624 set_property accessor so that "mute" property can be actually set. I'm
5625 scared that nobody noticed it's totally broken.
5627 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5629 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5632 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5634 * src/hildon-calendar.c:
5635 * src/hildon-number-editor.c:
5636 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5637 matches the spec of 6 chars per second. Fixes: NB#60489.
5639 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5641 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5642 gtk_style_lookup_color sometime returns FALSE even though color was
5643 found and values were filled properly. Weird. Removing the warning for the
5646 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5648 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5649 expand vertically. Adding some extra space to the find toolbar buttons to
5650 make them thumbable. Fixes NB#66060.
5652 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5654 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5655 popup with "Ok" and "Cancel". Fixes NB#59299.
5657 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5659 * src/hildon-calendar.c: Process all window updates before executing next
5660 timeout. Fixes: NB#54146.
5662 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5668 * debian/changelog: Updating.
5670 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5672 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5673 the client event and ignore it, since we use the delete event to close
5676 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5678 * src/hildon-helper.c: Remove the bogus warning about color not being
5679 found. Fixes NB#58352.
5681 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5683 * examples/Makefile.am:
5684 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5685 HildonSeekbar widget inside a toolbar.
5687 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5689 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5690 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5691 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5692 don't want to be closed by non-temporary windows on map.
5694 Also use G_DEFINE_TYPE instead of manually typed code.
5696 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5703 * debian/rules: Updating.
5705 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5707 * examples/Makefile.am:
5708 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5709 bug NB#61128. Strangely it works.
5711 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5713 * src/hildon-date-editor.c: When the date editor entry has been changed
5714 but the numbers of characters < max, turn off the skip validation flag.
5715 Prevents a situation when we enter first a valid year and later re-write
5716 it with an invalid one. Fixes NB#60154.
5718 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5720 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5721 code dialog. Fixes NB#64355.
5723 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5725 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5726 switching the page. Fixes NB#49374.
5728 * examples/Makefile.am:
5729 * examples/hildon-wizard-dialog-example.c: Adding an example for
5730 HildonWizardDialog that shows how to handle manual sensitivity setting on
5733 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5737 * src/hildon-version.h.in:
5738 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5740 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5742 * src/hildon-volumebar.c: Updating the docs.
5744 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * debian/changelog: Updating.
5752 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5754 * src/hildon-find-toolbar.c:
5755 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5756 selected item: hildon_find_toolbar_set_active,
5757 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5758 hildon_find_toolbar_get_active_iter . They correspond to respective
5759 GtkComboBox functions.
5761 * examples/Makefile.am:
5762 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5765 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5767 * examples/Makefile.am:
5768 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5771 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5772 when font size > 32 and we pack a focusable widget inside. Actually using
5773 the default response would work too, but since we don't show default
5774 response state in any way (no theming) it would not be visible to the
5775 user. Fixes NB#63430.
5777 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5779 * src/hildon-date-editor.c: Adding the missing variable setter in the
5780 set_property handler. Fixes NB#54182.
5782 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5784 * src/hildon-window.h: Changing the long key press time from 1500ms to
5785 800ms as requested in NB#63700. I have a bad feeling about this, let's
5786 see... Fixes NB#63700.
5788 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5790 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5791 hildon_time_picker_map, hildon_time_picker_realize,
5792 hildon_time_picker_style_set): Split the contents of map to more
5793 appropriate functions; set window decorations on realize and update
5794 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5796 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5801 * debian/changelog: Updating.
5803 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5805 * src/Makefile.am: fixed installation of the header files
5807 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5813 * debian/changelog: Updating.
5815 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5817 * configure.ac: Removing some remaining of --enable-xan.
5819 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5821 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5822 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5824 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5825 2.10.12-osso6 because the move-focus signal needs to be available in
5828 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5830 * examples/Makefile.am:
5831 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5832 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5833 fine. Prolly NB#61128 is fixed now.
5835 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5837 * src/hildon-volumebar.c:
5838 * src/hildon-volumebar.h: Adding the
5839 hildon_volumebar_set_range_insensitive_message and
5840 hildon_volumebar_set_range_insensitive_messagef functions to set
5841 insensitive message on the slider of the volumebar. Fixes NB#61129.
5843 * examples/Makefile.am:
5844 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5845 test the new insensitive messsage functionality on HildonVolumebar.
5847 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5849 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5852 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5854 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5855 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5856 button on after clearing the trail.
5858 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5860 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5862 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5864 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5865 by splitting the installed headers in generated and non-generated groups. Use
5866 only the non-generated headers to create the hildon-enum-types.h file.
5868 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5870 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5872 * src/hildon-window.c: Hide the window before performing the destroy.
5873 Should make the app closing a little tiny bit more snappy.
5875 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5877 * src/hildon-seekbar.c: add gtkrange.h header
5878 * src/hildon-caption.c: remove unused variable
5880 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5882 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5885 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5891 * debian/changelog: Updating.
5893 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5895 * src/hildon-window.c (hildon_window_window_state_event,
5896 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5897 escape timeout on focus-out-event rather than notify::is-topmost; the
5898 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5900 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5902 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5903 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5905 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5907 * src/hildon-window: actually, you need to use the macro always, there's
5908 no private pointer in the instance structure. We should have cleaned this up
5909 when we had the chance...
5911 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5913 * src/hildon-window.c: do not get the private date from HildonWindow before
5914 it passes the g_return_if_fail check. Once it's passed the test, there's no
5915 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5916 if you are only going to access the data once. Whitespace cleanups.
5918 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5920 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5921 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5923 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5929 * debian/changelog: Updating.
5931 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5933 * src/hildon-window.c: When destroying the window, remove (if exists) the
5934 escape timeout handler. Fixes #NB59276.
5936 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5938 * src/hildon-banner.c: When realizing the widget, set the window
5939 transiency. Setting the transiency in the gobject constructor is not
5940 good, as the widget is not realized at that point. Fixes: #NB56624.
5942 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5944 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5945 Add padding for future expansions.
5947 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5949 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5950 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5951 will fake an activation on the previous to the last item of the trail, so
5952 the effect can be overrided by the developer as usual.
5953 Also change the callback for the back button to do the same thing, so its
5954 effect can be overrided too. Fixes: NB#58982
5956 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5958 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5959 HildonCaption. Fixes NB#52379.
5961 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5963 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5964 the internal state of the trail after the user has had the chance of executing
5965 his handler for the signal. Specifically, it may happen that the activated button
5966 is removed and the user still lets the default handler run. This would segfault
5969 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5971 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5972 scrollbar to the preview dialog. Fixes NB#54147.
5974 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5976 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5977 max/min year properties can be altered, so the client can modify it
5978 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5980 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5982 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5983 hildonlike by default. Fixing a problem with disappearing arrows when
5984 scrolling through months and years. Fixes NB#54127.
5986 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5988 * examples/hildon-date-editor-example.c: Adding error callback to the date
5991 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5997 * configure.ac: Updating.
5999 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6001 * configure.ac: Adding a special '--enable-xan' configure option that
6002 turns off the -Werror compilation setting. Usefull for development.
6004 * src/hildon-calendar.c:
6005 * src/hildon-number-editor.c:
6006 * src/hildon-time-picker.c: Adding the 5* multiplier to
6009 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6011 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6012 instead of g_object_ref + gtk_object_sink.
6014 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6020 * debian/changelog: Updating.
6022 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6024 * src/hildon-color-chooser-dialog.c:
6025 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6026 straight from Tommi labs.
6028 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6030 * examples/hildon-finger-example.c: Correcting the header file path.
6032 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6033 the changed signal. Fixes a small memory leak.
6035 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6039 * src/hildon-banner.c: Importing several usefull fixes from the
6040 ubuntu-mobile branch.
6042 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6044 * examples/Makefile.am:
6045 * examples/hildon-finger-example.c: Adding a finger-checking code
6048 * src/hildon-font-selection-dialog.c: Do not allocate the color
6049 structure using the g_new. Fixes NB#54061.
6051 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6053 * src/hildon-helper.c: Correcting tabs in file.
6055 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6057 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6058 control the visibility of the children.
6060 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6062 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6068 * debian/changelog: Updating.
6070 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6072 * src/hildon-bread-crumb-trail.c:
6073 (hildon_bread_crumb_trail_size_allocate):
6075 Make the back button always a square.
6077 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6079 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6080 from the .c file as it's a private file.
6082 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6084 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6085 uses slightly bigger height.
6087 * src/hildon-font-selection-dialog.c: Adding some checks before
6088 freeing memory in the font selection dialog.
6090 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6092 * src/hildon-font-selection-dialog.c: Adding a small check when
6095 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6096 buttons sensitivity on page switching.
6098 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6100 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6101 internal details of adding a bread crumb to the trail.
6103 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6109 * debian/changelog: Updating.
6111 * src/hildon-bread-crumb-trail.h:
6112 * src/hildon-bread-crumb.h: Changing the API guard to
6113 HILDON_ENABLE_UNSTABLE_API.
6115 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6123 * src/hildon-helper.h: Updating.
6125 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6133 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6137 * src/hildon-helper.h: Small fix to make the package actually compile.
6139 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6141 * src/hildon-bread-crumb-trail.h:
6142 * src/hildon-bread-crumb.h:
6144 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6145 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6147 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6149 * examples/hildon-bread-crumb-trail-example.c:
6151 * src/hildon-bread-crumb-trail.c:
6152 * src/hildon-bread-crumb-trail.h:
6153 * src/hildon-bread-crumb.c:
6154 * src/hildon-bread-crumb.h:
6155 * src/hildon-marshalers.list:
6156 * src/hildon-bread-crumb-widget.c:
6157 * src/hildon-bread-crumb-widget.h:
6159 Slight change in the widget design. The bread crumb trail API is
6160 unchanged, but HildonBreadCrumb is now an interface. A *private*
6161 implementation, hildon-bread-crumb-widget, is provided and used
6162 internally by the trail for the push_text/push_icon functions.
6164 The generic push API is still available, so anyone can implement
6165 and use its own bread crumb widget.
6167 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6169 * debian/rules: Fixing the shlibs.
6171 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6173 * src/hildon-banner.c: Fixing a problem with timed banners having
6174 their parrent destroyed before they are.
6176 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6178 * src/hildon-bread-crumb.c:
6179 * src/hildon-bread-crumb.h:
6181 Make the get_natural_size function a vfunc.
6183 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6185 * src/hildon-bread-crumb.c:
6186 * src/hildon-bread-crumb-trail.c:
6190 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6197 * debian/changelog: Updating for release.
6199 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6201 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6202 don't leak the pango layout.
6204 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6207 * examples/hildon-bread-crumb-trail-example.c:
6211 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6213 * debian/changelog: Removing the bug-fixed entries that were actually
6214 resolved as WONTFIX.
6216 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6219 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6221 * src/hildon-bread-crumb-trail.c:
6222 * src/hildon-bread-crumb-trail.h:
6223 * src/hildon-bread-crumb.c:
6224 * src/hildon-bread-crumb.h:
6228 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6230 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6231 until it's passed the type check.
6233 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6235 * examples/hildon-bread-crumb-trail-example.c
6239 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6241 * examples/Makefile.am
6242 * examples/hildon-bread-crumb-trail-example.c
6244 * src/hildon-bread-crumb-trail.c
6245 * src/hildon-bread-crumb-trail.h
6246 * src/hildon-bread-crumb.c
6247 * src/hildon-bread-crumb.h
6249 New HildonBreadCrumbTrail widget.
6251 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6253 * src/hildon-range-editor.c (hildon_range_editor_init),
6254 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6255 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6256 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6257 hildon_time_editor_class_init, hildon_time_editor_init),
6258 src/hildon-get-password-dialog.c (invalid_input,
6259 hildon_get_password_set_property, hildon_get_password_get_property,
6260 create_contents, hildon_get_password_dialog_set_max_characters),
6261 src/hildon-set-password-dialog.c (create_contents),
6262 src/hildon-date-editor.c (hildon_date_editor_init),
6263 src/hildon-login-dialog.c (hildon_login_dialog_init),
6264 src/hildon-number-editor.c (hildon_number_editor_init),
6265 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6266 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6267 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6268 configure option and adding the respective checks in the code.
6269 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6270 hildon_calendar_drag_data_received): fixed some build warnings.
6272 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6274 * debian/changelog: A 1.0.0 release notes.