1 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
4 * src/hildon-remote-texture.c
5 * src/hildon-remote-texture.h
6 * src/hildon-remote-texture-private.h
8 Added remote texture widget (for Clutter shared memory textures)
10 * examples/hildon-remote-texture-example.c
11 * examples/Makefile.am
12 Added example file for remote texture usage
14 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
16 * configure.ac: post release version bump.
17 * debian/changelog: version bump.
19 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
24 * configure.ac: Bump version.
25 * debian/changelog: Updates.
27 2009-02-06 Alberto Garcia <agarcia@igalia.com>
29 * src/hildon-date-selector.c (hildon_date_selector_init)
30 (hildon_date_selector_constructor): Don't connect to the "changed"
31 signal until the selector is completely constructed.
33 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
35 * src/hildon-touch-selector.c: (_create_new_column),
36 (hildon_touch_selector_append_column),
37 (hildon_touch_selector_set_column_selection_mode),
38 (hildon_touch_selector_set_active),
39 (hildon_touch_selector_select_iter):
40 Emit the HildonTouchSelector::changed signal every time selection
41 is changed in any of the methods above. This behavior was already
42 documented but not fully functional.
44 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
45 selection is programmatically changed)
47 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
49 * doc/hildon-sections.txt: Remove obsolete icon
50 sizes from here as well.
52 2009-02-05 Alberto Garcia <agarcia@igalia.com>
54 * examples/hildon-stackable-window-example.c (add_window): Remove
57 2009-02-05 Alberto Garcia <agarcia@igalia.com>
59 * src/hildon-app-menu.c
60 (hildon_app_menu_show): Check whether the parent window of a menu
61 is topmost before popping it up.
63 Fixes: NB#100468 (Application menu window is launched even when a
64 new secondary-window/dialog is pending to be shown/realized.)
66 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
68 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
71 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
73 Patch by Mox Soini (ext-mox.soini@nokia.com)
75 * src/hildon-banner.c: (hildon_banner_show_animation):
76 use stylus size instead of obsolete note size.
77 * src/hildon-defines.h: Update icon sizes.
79 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
81 * src/hildon-touch-selector-entry.c:
82 (hildon_touch_selector_entry_init): Disable unsupported
84 (hildon_touch_selector_entry_get_text_column): Emit a warning
85 if an unsupported input modes is used and explicitile state
86 these modes in the documentation.
88 Fixes: NB#99802 (Hildon touch selector entry not working properly
89 for some of the input modes)
91 2009-02-05 Alejandro G. Castro <alex@igalia.com>
93 * src/hildon-pannable-area.c,
94 (hildon_pannable_area_init): Added the changed signal handlers of
97 Fixes: NB#100320 (HildonPannableArea does not listen to
98 GtkAdjustment "change" signals)
100 2009-02-04 Alberto Garcia <agarcia@igalia.com>
102 * doc/hildon-sections.txt
103 * src/hildon-window-private.h
104 * src/hildon-window.h
105 * src/hildon-window.c (hildon_window_init)
106 (hildon_window_realize, hildon_window_unrealize)
107 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
108 (hildon_window_size_request, hildon_window_size_allocate)
109 (hildon_window_forall, hildon_window_show_all)
110 (hildon_window_destroy, +paint_edit_toolbar)
111 (+hildon_window_set_edit_toolbar):
112 New hildon_window_set_edit_toolbar() method, to add a
113 HildonEditToolbar to a window without having to pack it manually.
115 Reorganize hildon_window_size_allocate()
117 * src/hildon-edit-toolbar.c: Update documentation.
119 * examples/hildon-edit-toolbar-example.c (edit_window): Update
120 example to use the new API.
122 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
124 2009-02-04 Alberto Garcia <agarcia@igalia.com>
126 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
127 Remove from stack before calling parent's hide.
129 2009-02-04 Alberto Garcia <agarcia@igalia.com>
131 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
132 window is removed from the middle of the stack, update the
133 transiency of the previous one.
135 Fixes: NB#100487 (HildonStackableWindow transiency becomes
138 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
140 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
141 block/unblock the signal handler if it's not actually being used.
142 Fixes some critical warnings.
144 2009-02-02 Alberto Garcia <agarcia@igalia.com>
146 Based on a patch by Iván Gómez (igomez@igalia.com)
148 * src/hildon-banner.c
152 * src/hildon-pannable-area.c
153 * src/hildon-picker-dialog.c
154 * src/hildon-wizard-dialog.h
155 * src/hildon-wizard-dialog.c: Documentation updates.
157 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
158 gtk_dialog_add_button() instead of hildon_dialog_add_button().
160 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
162 * configure.ac: post release version bump.
163 * debian/changelog: version bump.
165 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
170 * configure.ac: Bump version.
171 * debian/changelog: Updates.
173 2009-01-29 Alberto Garcia <agarcia@igalia.com>
175 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
176 a stock icon nor change the relief of the back arrow.
178 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
181 2009-01-29 Alberto Garcia <agarcia@igalia.com>
183 * src/hildon-button.c (hildon_button_set_alignment): Use
184 priv->alignment if the button has no child yet.
186 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
188 * src/hildon-button.c: (hildon_button_init): Set the
189 button style during initialization to give it the proper
192 Fixes: NB#99713 (HildonButton value label color is wrong)
194 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
196 * src/hildon-touch-selector.c: Document
197 hildon_touch_selector_center_on_selected()
199 2009-01-28 Alberto Garcia <agarcia@igalia.com>
201 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
202 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
203 all menu items, but not the menu itself.
204 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
205 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
206 items after adding them to the menu so keyboard accelerators work.
207 (hildon_app_menu_show): Don't show the menu if it contains items
208 but none of them are visible.
210 * examples/hildon-app-menu-example.c (create_menu): Use
211 gtk_widget_show_all() to show all menu items.
213 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
215 * src/hildon-picker-dialog.c:
216 (-_update_title_on_selector_changed_cb),
217 (-_dialog_update_title): Removed.
218 (_select_on_selector_changed_cb), (_on_dialog_response),
219 (on_selector_columns_changed): Do not update the dialog title.
220 (setup_interaction_mode): Do not connect to
221 HildonTouchSelector::changed signal if there's a "done" button, as
222 the dialog title doesn't need to be updated.
224 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
227 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
229 Patch by Kristian Rietveld (kris@imendio.com)
231 * src/hildon-touch-selector.c: (_create_new_column): Use new
232 GtkTreeView::hildon-row-tapped signal to react to user interactions
233 instead of ::changed.
235 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
236 with some dynamic tree model)
238 2009-01-27 Alberto Garcia <agarcia@igalia.com>
240 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
241 (+screen_size_changed, +label_size_request)
242 (hildon_note_class_init): Make the Hildon information note have a
243 minimum height, and make its text hvae a maximum width.
245 Fixes: NB#98614 (Hildon information note (background) should have
246 minimum height and maximum text width)
248 2009-01-26 Alberto Garcia <agarcia@igalia.com>
250 * src/hildon-banner.h
251 * src/hildon-banner.c (hildon_banner_show_information)
252 (hildon_banner_show_informationf)
253 (hildon_banner_show_information_with_markup): Update documentation
254 to reflect that the icon_name parameter is not used anymore.
255 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
256 Remove all code from these functions and mark them as deprecated.
257 (hildon_banner_show_progress): Mark as deprecated.
259 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
261 2009-01-26 Alejandro G. Castro <alex@igalia.com>
263 * src/hildon-pannable-area.c,
264 (hildon_pannable_area_class_init),
266 (hildon_pannable_draw_vscroll),
267 (hildon_pannable_draw_hscroll),
268 (hildon_pannable_area_expose_event): Added a new way to render the
269 scrollbars of the pannable area avoiding using cairo at all. This
270 way we improve the performance of the pannable area rendering. The
271 cairo rendering procedure is still in the code, we can control
272 which one to use changing the value of the define
273 USE_CAIRO_SCROLLBARS.
275 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
277 * configure.ac: post release version bump.
278 * debian/changelog: version bump.
280 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: Bump version.
286 * debian/changelog: Updates.
288 2009-01-23 Alberto Garcia <agarcia@igalia.com>
290 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
291 banners instead of destroying them when they receive a button
294 2009-01-23 Alejandro G. Castro <alex@igalia.com>
296 Reverted commit 34028, it was causing regressions, probably the
297 topmost condition is not correct, we have to check it in more
298 detail. We have reponed the bug: NB#97458 (Pannable area prevents
299 propagation of button press events)
301 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
303 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
304 that the selection is not empty before attempting to retrieve the
305 current ampm selection.
307 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
309 * src/hildon-picker-button.c:
310 (hildon_picker_button_on_dialog_response): Directly update the
311 button contents when required instead of calling _selection_changed.
313 2009-01-23 Alberto Garcia <agarcia@igalia.com>
315 * src/hildon-program.c (hildon_program_update_top_most): Update
316 'is-topmost' property also when wm_hints is not set.
318 Fixes: NB#98383 (is-topmost signal is not emitted when task
319 switcher is clicked.)
321 2009-01-23 Alejandro G. Castro <alex@igalia.com>
323 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
327 * src/hildon-animation-actor.c,
328 * src/hildon-animation-actor.h: Added the animation actor class,
329 this widget represents an animation actor for WM-assisted
330 animation effects in the Hildon framework.
332 2009-01-23 Alberto Garcia <agarcia@igalia.com>
334 * src/hildon-window-stack-private.h
335 * src/hildon-window-stack.c
336 * src/hildon-stackable-window.c (hildon_stackable_window_show):
337 Avoid calling gtk_widget_show() again indirectly from
338 hildon_stackable_window_show()
340 2009-01-23 Alberto Garcia <agarcia@igalia.com>
342 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
345 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
347 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
348 (hildon_time_selector_init): Move the construction of the hours and
349 ampm columns to the constructor to preserve the order the columns
352 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
354 * src/hildon-picker-dialog.c:
355 (hildon_picker_dialog_class_init): Connect a realize method.
356 (+hildon_picker_dialog_realize): Setup the interaction mode here
358 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
359 yet, do it during the realize instead.
360 (_on_dialog_response):
361 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
362 if the widget is not realized, to avoid the dialog response before it
365 Avoid premature responses in the HildonPickerDialog that can cause it
366 to be hidden before it's even shown.
368 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
370 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
371 (on_selector_columns_changed), (requires_done_button),
372 (+prepare_action_area), (setup_interaction_mode),
373 (_hildon_picker_dialog_set_selector):
375 Split the interaction mode setup into preparation of the
376 action area (prepare_action_area()) and the connection of
377 the signals in setup_interaction_mode() and update the code to
380 2009-01-22 Alejandro G. Castro <alex@igalia.com>
382 * src/hildon-pannable-area.c,
383 (hildon_pannable_area_class_init): Reduced the amount of scrolls
384 per second to 15, we will check if this is ok regarding
387 2009-01-22 Alejandro G. Castro <alex@igalia.com>
389 * src/hildon-pannable-area.c,
390 (hildon_pannable_axis_scroll): Avoid resize if we already have
391 reached overshoot_max.
393 2009-01-22 Alejandro G. Castro <alex@igalia.com>
395 * src/hildon-pannable-area.c,
396 (hildon_pannable_area_init),
397 (hildon_pannable_area_realize),
398 (hildon_pannable_area_size_allocate),
399 (hildon_pannable_area_map),
400 (hildon_pannable_area_unmap),
401 (hildon_pannable_draw_vscroll),
402 (hildon_pannable_draw_hscroll),
403 (hildon_pannable_area_expose_event),
404 (hildon_pannable_area_refresh): Added a new GdkWindow to the
405 pannable are to avoid the expose events go to the window and
406 redraw the window. We save this way that part of the stack and the
407 paint_boxes. We had to change the positions of the elements when
410 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
412 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
413 * src/hildon-color-chooser-dialog.c:
414 (hildon_color_chooser_dialog_init):
415 * src/hildon-font-selection-dialog.c:
416 (hildon_font_selection_dialog_init),
417 (hildon_font_selection_dialog_show_preview):
418 * src/hildon-get-password-dialog.c:
419 * src/hildon-login-dialog.c:
420 * src/hildon-set-password-dialog.c:
421 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
422 * src/hildon-time-picker.c: (hildon_time_picker_init):
424 Remove obsolete logical string IDs and update to the appropriate ones.
426 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
428 2009-01-21 Alberto Garcia <agarcia@igalia.com>
430 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
431 that happens if the window hasn't been realized yet.
433 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
434 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
436 2009-01-20 Alberto Garcia <agarcia@igalia.com>
438 * src/hildon-app-menu.c (hildon_app_menu_class_init)
439 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
442 Fixes: NB#98537 (Device hangs in account settings dialog)
444 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
446 * configure.ac: post release version bump.
447 * debian/changelog: version bump
449 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
454 * configure.ac: Bump version.
455 * debian/changelog: Updates.
457 2009-01-20 Alejandro G. Castro <alex@igalia.com>
459 Added a new function to the HildonTimeButton widget that allows to
460 change the step of the minutes in the selector associated with the
461 button: hildon_time_button_new_step
463 * src/hildon-time-button.c,
464 (hildon_time_button_init),
465 (hildon_time_button_new),
466 (hildon_time_button_new_step):
467 * src/hildon-time-button.h: Added the new function and refactored
469 * examples/hildon-time-button-example.c,
470 (main): We have replaced the function without parameters with the
471 function with the steps set to 5
473 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
475 2009-01-20 Alejandro G. Castro <alex@igalia.com>
477 * src/hildon-time-selector.c,
478 (hildon_time_selector_class_init),
479 (hildon_time_selector_constructor),
480 (hildon_time_selector_get_property),
481 (hildon_time_selector_set_property),
482 (_create_minutes_model),
483 (hildon_time_selector_new_step),
484 (hildon_time_selector_set_time),
485 * src/hildon-time-selector.h: Added a new property to the
486 HildonTimeSelector (minutes-step), we use that property to control
487 the steps between the minutes in the list of the selector. We have
488 added a new function to the API to create a widget changing the
489 step: hildon_time_selector_new_step.
491 2009-01-20 Alejandro G. Castro <alex@igalia.com>
493 * src/hildon-time-selector.c,
494 (hildon_time_selector_class_init),
495 (hildon_time_selector_constructor),
496 (hildon_time_selector_init): Overrided the construct function when
497 creating the time selector object. We have moved the minutes model
498 handling code from the init to the new construction function:
499 hildon_time_selector_constructor.
501 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
503 * examples/hildon-date-button-example.c: (main): Use the new
504 hildon_date_button_new_with_year_range() method in the example.
505 * src/hildon-date-button.c:
506 (+hildon_date_button_new_with_year_range): New public method
507 to conveniently create a HildonDateButton with a custom year range
508 in its HildonDateSelector.
509 * src/hildon-date-button.h: Add the new public method definition.
511 Fixes: NB#97908 (Not possible to change the year range in
512 HildonDateSelector/HildonDateButton)
514 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
516 * src/hildon-date-selector.c:
517 (+hildon_date_selector_set_property),
518 (+hildon_date_selector_get_property),
519 (hildon_date_selector_class_init): Install new properties "min-year"
520 and "max-year" to define boundaries for the year column.
521 (_create_year_model): Use the boundary properties to populate the model.
522 (+hildon_date_selector_new_with_year_range): New public method to
523 create a HildonDateSelector with a user defined year range.
524 (hildon_date_selector_select_current_date): Use the new boundaries to
525 calculate the iterator of current year.
526 * src/hildon-date-selector.h: Add the new public method definition.
528 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
530 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
531 Install a constructor method.
532 (+hildon_date_selector_construct_ui): construct the widget.
533 (+hildon_date_selector_constructor): new constructor.
534 (+hildon_date_selector_init): move out widget construction code to
537 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
539 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
540 that there's actually a month or year selected before obtaining them.
541 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
542 of the HildonTouchSelector::changed signal, as it was emitted on every
543 single item selection.
545 Fix some warnings and possible crashers due to the selection restoring.
547 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
549 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
550 the signal handlers only after creating the dialog instead of on every
553 2009-01-19 Alberto Garcia <agarcia@igalia.com>
555 * src/hildon-button.c (hildon_button_init)
556 * src/hildon-check-button.c (hildon_check_button_init)
557 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
558 focus when clicked by default.
560 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
562 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
565 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
567 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
568 Alejandro G. Castro (alex@igalia.com)
570 * src/hildon-picker-dialog.c:
571 (hildon_picker_dialog_class_init): install new "center-on-show"
573 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
574 (hildon_picker_dialog_set_property): add setter code for the new
576 (hildon_picker_dialog_get_property): add getter code for the new
578 (hildon_picker_dialog_show): Ensure visibility of selected items in the
579 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
582 Fixes: NB#92849 (Selected item is not always visible when
583 HildonTouchSelector is shown)
585 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
587 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
588 Alejandro G. Castro (alex@igalia.com)
590 * src/hildon-touch-selector.c:
591 (_create_new_column): Do not connect to the "realize" signal of the
593 (hildon_touch_selector_append_column): center on the selected items
594 when a new column is appended.
595 (hildon_touch_selector_select_iter): Factor out the code to select a
596 column to hildon_touch_selector_scroll_to().
597 (+search_nearest_element): Method to retrieve the nearest selected
598 element to the visible area of the pannable area in a column.
599 (+on_realize_cb): scroll to the initially selected item.
600 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
601 the pannable area is realized, otherwise delay this until it is.
602 (+_hildon_touch_selector_center_on_selected_items): Centers on the
603 selected items of a given column.
604 (+hildon_touch_selector_center_on_selected): Public method to center
605 all columns on the nearest selected item.
606 * src/hildon-touch-selector.h: Add definition for
607 hildon_touch_selector_center_on_selected().
609 Implement public API to ensure visibility of all selected items in
610 a HildonTouchSelector.
612 2009-01-16 Alejandro G. Castro <alex@igalia.com>
614 Fixed a problem in the fading when calling the scroll_to API, and
615 improve scrollbar fading handling.
617 * src/hildon-pannable-area.c,
618 (hildon_pannable_area_grab_notify): avoid the timeout when the
620 (hildon_pannable_area_button_press_cb),
621 (hildon_pannable_area_motion_notify_cb): Code style changes.
622 (hildon_pannable_area_button_release_cb): Review the conditions
623 when releasing the mouse button to avoid unrequired fading
625 (hildon_pannable_area_scroll_to): Do not calculate and set the
626 velocity if the scroll is not required.
628 2009-01-15 Alberto Garcia <agarcia@igalia.com>
630 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
631 Don't check whether the new selector is NULL: it cannot be.
632 Hold a reference to the selector while doing the replacement.
634 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
636 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
637 unnecessary size_request in a removed widget.
639 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
641 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
642 an unnecessary reference tracking that was leaking.
644 2009-01-15 Alejandro G. Castro <alex@igalia.com>
646 Added delayed motion notify event handling, this way we can
647 discard redrawing if more than 25 events arrive per second.
649 * src/hildon-pannable-area.c,
650 (hildon_pannable_area_init): Initialized the new private atributes
651 controlling this timeout
652 (hildon_pannable_area_dispose): Remove the timeout that controls
653 the motion notify events.
654 (hildon_pannable_area_scroll): Added a condition to control the
655 use of the acceleration.
656 (hildon_pannable_area_motion_event_scroll_timeout),
657 (hildon_pannable_area_motion_event_scroll): Added this two
658 functions, they handle the motion notify events inside the
660 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
661 to the scroll method with the new function.
662 (hildon_pannable_area_button_release_cb): We have to remove the
663 timeout handler and move to the last position if the last motion
664 events were not handled.
666 Fixes: NB#97028 (Pannable area updates on every motion event)
668 2009-01-15 Alejandro G. Castro <alex@igalia.com>
670 * src/hildon-pannable-area.c,
671 (hildon_pannable_area_get_topmost): Added a new parameter to
672 filter the the windows that do not include those events. Added
673 also a condition when finding the window to filter windows that do
674 not ask for those events.
675 (hildon_pannable_area_button_press_cb),
676 (hildon_pannable_area_button_release_cb),
677 (hildon_pannable_get_child_widget_at): Reviewed the call the the
678 topmost function, we have added the new parameter.
680 Fixes: NB#97458 (Pannable area prevents propagation of button
683 2009-01-15 Alejandro G. Castro <alex@igalia.com>
685 * src/hildon-pannable-area.c,
686 (hildon_pannable_area_initial_effect): Added controls before
687 launching the timeout and the idle functions.
688 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
689 of the method, in some situations it can return with TRUE and 0 in
691 (hildon_pannable_area_button_press_cb): We do not need to set
692 DELAY for fading out here.
694 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
696 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
698 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
699 post-cleaning if the selection is not NULL.
701 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
703 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
704 all items before restoring the selection.
706 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
708 * src/hildon-touch-selector.c:
709 (+hildon_touch_selector_unselect_all):
710 * src/hildon-touch-selector.h: New API to unselect all items in a
711 column of the touch selector.
713 2009-01-14 Alejandro G. Castro <alex@igalia.com>
715 * src/hildon-pannable-area.c,
716 (hildon_pannable_area_redraw): Added a call to the refresh
717 function inside the redraw because apparently in some cases the
718 change in the adjustment does not imply a size allocate.
720 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
721 despite the view not being scrollable)
723 2009-01-14 Alberto Garcia <agarcia@igalia.com>
725 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
726 leak. Check for NULL before attempting to set the window title.
728 2009-01-14 Alberto Garcia <agarcia@igalia.com>
730 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
731 whether to show or not the 'Done' button each time the dialog is
732 shown, as it depends on the HildonTouchSelector selection mode.
734 Fixes: NB#96226 (In multiple selection mode Done button is shown
735 sometimes in listpicker)
737 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
739 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
740 for the number of columns in the HildonTouchSelector more than once.
742 2009-01-14 Alberto Garcia <agarcia@igalia.com>
744 * src/hildon-touch-selector.c: Minor documentation fixes.
746 * src/hildon-picker-dialog.c (+_dialog_update_title)
747 (_select_on_selector_changed_cb)
748 (_update_title_on_selector_changed_cb)
749 (on_selector_columns_changed): Update dialog title when there's no
750 'Done' button and also when the number of columns in the selector
754 * src/hildon-picker-button.c (hildon_picker_button_finalize)
755 (+_selection_changed, hildon_picker_button_on_dialog_response)
756 (hildon_picker_button_selector_selection_changed)
757 (+hildon_picker_button_selector_columns_changed)
758 (hildon_picker_button_set_selector): Update button value and emit
759 'value-changed' when the number of columns in the selector
763 Fixes: NB#96225 (Dialog titles are not shown according to the
764 values selected in the list picker)
766 2009-01-13 Alberto Garcia <agarcia@igalia.com>
768 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
769 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
770 New "arrow-width" and "arrow-height" style properties to set the
771 size of the arrow button.
772 Set name of arrow button ("hildon-edit-toolbar-arrow").
774 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
777 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
779 * src/hildon-picker-button.c:
780 (hildon_picker_button_selector_selection_changed): Use
781 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
782 the dialog is present.
784 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
785 the selection is accepted in the dialog)
787 2009-01-13 Alberto Garcia <agarcia@igalia.com>
789 * src/hildon-color-chooser.h
790 * src/hildon-color-chooser-dialog.h:
791 Added G_BEGIN_DECLS and G_END_DECLS
793 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
795 (_clean_current_selection): plug a leak in the list.
797 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
799 * src/hildon-picker-dialog.c:
800 (+free_path_list): Method to free a GList of GtkTreePaths.
801 (_clean_current_selection), (_save_current_selection),
802 (_restore_current_selection): Save the current selection in
803 as a list of lists, to support multiple selection properly.
805 2009-01-12 Alberto Garcia <agarcia@igalia.com>
807 patch by Claudio Saavedra (csaavedra@igalia.com)
809 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
810 Store the press position.
811 (+hildon_text_view_button_release_event): If the release position is
812 close enough to the press position, move the cursor here. Otherwise,
814 (hildon_text_view_class_init): Override GtkTextView press, release, and
815 motion event handlers, disabling this way text selection through
816 pointer interaction, and allowing the container widget to handle the
819 Fixes: NB#95828 (HildonTextView functionality)
821 2009-01-12 Alberto Garcia <agarcia@igalia.com>
823 Based on a patch by Iván Gómez (igomez@igalia.com)
825 * src/hildon-button.[ch]
826 * src/hildon-calendar.c
827 * src/hildon-check-button.c
828 * src/hildon-date-editor.c
829 * src/hildon-date-selector.c
830 * src/hildon-picker-button.c
831 * src/hildon-time-editor.c
832 * src/hildon-time-selector.c
833 * src/hildon-touch-selector.[ch]:
834 Documentation updates
836 2009-01-12 Alejandro G. Castro <alex@igalia.com>
838 * src/hildon-pannable-area.c,
839 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
840 threshold, it was required due to X events handling.
842 2009-01-12 Alejandro G. Castro <alex@igalia.com>
844 * src/hildon-pannable-area.c,
845 (hildon_pannable_area_grab_notify),
846 (hildon_pannable_area_initial_effect),
847 (hildon_pannable_area_button_press_cb),
848 (hildon_pannable_area_button_release_cb),
849 (hildon_pannable_area_scroll_cb),
850 (hildon_pannable_area_scroll_to): Review the timeout management of
851 the scrollbar, the frecuency was incorrectly set.
853 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
855 * src/hildon-picker-button.c:
856 (+hildon_picker_button_on_dialog_response),
857 (hildon_picker_button_clicked): Present the dialog instead of
858 running it with gtk_dialog_run().
860 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
863 2009-01-07 Alberto Garcia <agarcia@igalia.com>
865 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
866 (hildon_app_menu_finalize): When a window is hidden it doesn't
867 emit notify::is-topmost, so make sure than the menu also
868 disappears in that case.
869 (parent_window_topmost_notify): Renamed from parent_window_hidden
871 Fixes: NB#94460 (stackable window's menu is not closed when its
874 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
876 * src/hildon-touch-selector-entry.c:
877 (+hildon_touch_selector_entry_set_input_mode),
878 (+hildon_touch_selector_entry_get_input_mode):
879 * src/hildon-touch-selector-entry.h: New methods to access the input
880 mode in the selector's entry.
882 Fixes: NB#93410 (API required for setting IM mode in
883 HildonTouchSelectorEntry)
885 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
887 * configure.ac: post release version bump.
888 * debian/changelog: version bump
890 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
895 * configure.ac: Bump version.
896 * debian/changelog: Updates.
898 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
900 * src/hildon-touch-selector.c:
901 (_hildon_touch_selector_has_multiple_selection): No need
902 to initialize the variables here.
904 2008-12-17 Alberto Garcia <agarcia@igalia.com>
906 * src/hildon-note-private.h
907 * src/hildon-note.c (event_box_press_event, hildon_note_init)
908 (hildon_note_finalize, hildon_note_rebuild): Close information
909 notes when they receive a button press.
911 Fixes: NB#89890 (Information notes does not get disappeared after
914 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
916 * src/hildon-wizard-dialog.c: (create_title): Remove translation
917 mark from the wizard title, as it's not really necessary. Also,
918 do not display the page title if not set.
920 2008-12-17 Alberto Garcia <agarcia@igalia.com>
922 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
923 (parent_window_hidden): Use the window's "is-topmost" property to
924 detect when to hide the menu.
926 2008-12-16 Alberto Garcia <agarcia@igalia.com>
928 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
929 (hildon_app_menu_finalize): If the parent window of the menu is
930 hidden, hide the menu too.
932 Fixes: NB#94460 (stackable window's menu is not closed when its
935 2008-12-16 Alberto Garcia <agarcia@igalia.com>
938 * debian/libhildon1-examples.install
940 * examples/Makefile.am:
941 Use dh_install to install all examples.
942 Use DEB_SRCDIR instead of defining SOURCE_DIR
944 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
946 * configure.ac: post release version bump.
947 * debian/changelog: version bump
949 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
954 * configure.ac: bump version
955 * debian/changelog: updates
956 * debian/control: bump gtk+ dependency
958 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
960 patch by Christian Dywan (christian@imendio.com)
962 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
963 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
965 2008-12-15 Alberto Garcia <agarcia@igalia.com>
967 * src/hildon-check-button.c (hildon_check_button_init)
968 (hildon_check_button_class_init, hildon_check_button_style_set)
969 (hildon_check_button_apply_style):
970 New "checkbox-size" style property.
972 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
973 larger / configurable size)
975 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
977 * configure.ac: post release version bump.
978 * debian/changelog: version bump
980 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
985 * configure.ac: bump version
986 * debian/changelog: updates
988 2008-12-12 Alberto Garcia <agarcia@igalia.com>
990 * doc/hildon-sections.txt
991 * src/hildon-pannable-area.c
992 * src/hildon-program.c
993 * src/hildon-time-editor.c
994 * src/hildon-touch-selector-entry.c:
996 More documentation updates.
998 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1000 * doc/hildon-sections.txt
1001 * src/hildon-caption.c
1002 * src/hildon-code-dialog.c
1003 * src/hildon-color-button.c
1004 * src/hildon-controlbar.c
1005 * src/hildon-date-editor.c
1006 * src/hildon-date-selector.c
1007 * src/hildon-edit-toolbar.c
1008 * src/hildon-find-toolbar.c
1009 * src/hildon-font-selection-dialog.c
1011 * src/hildon-program.c
1012 * src/hildon-range-editor.c
1013 * src/hildon-seekbar.c
1014 * src/hildon-time-editor.c
1015 * src/hildon-time-selector.c
1016 * src/hildon-volumebar-range.c
1017 * src/hildon-volumebar.c
1018 * src/hildon-vvolumebar.c
1019 * src/hildon-weekday-picker.c
1020 * src/hildon-window.c
1021 * src/hildon-wizard-dialog.c:
1023 Lots of documentation fixes.
1025 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1027 Patch contributed by Iván Gómez (igomez@igalia.com)
1029 * src/hildon-check-button.c:
1030 * src/hildon-date-button.c:
1031 * src/hildon-date-selector.c:
1032 * src/hildon-dialog.c:
1033 * src/hildon-edit-toolbar.c:
1034 * src/hildon-entry.c:
1035 * src/hildon-picker-button.c:
1036 * src/hildon-program.c:
1037 * src/hildon-text-view.c:
1038 * src/hildon-time-button.c:
1039 * src/hildon-touch-selector-entry.c:
1040 * src/hildon-window-stack.c:
1042 Add more "since" tags to the new API.
1044 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1046 * doc/hildon-sections.txt: Add below method.
1047 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1048 version for the hildonized scale.
1049 * src/hildon-gtk.h: Add the definition.
1051 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1053 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1055 * doc/hildon-sections.txt: Add missing entries for new methods.
1057 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1059 Added API to pannable are in order to get its adjustments. We
1060 added two properties to manage the values we had in the private
1063 * src/hildon-pannable-area.c:
1064 (hildon_pannable_area_class_init): Added hadjustment and
1065 vadjustment properties in order to expose horizontal and vertical
1067 (hildon_pannable_area_get_property),
1068 (hildon_pannable_area_set_property): Added code to handle the new
1070 (hildon_pannable_area_get_hadjustment),
1071 (hildon_pannable_area_get_vadjustment): API functions to get the
1073 * src/hildon-pannable-area.h:
1074 (hildon_pannable_area_get_hadjustment),
1075 (hildon_pannable_area_get_vadjustment): API functions to get the
1078 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1080 Fixed some leaks, after valgrinding.
1082 * src/hildon-touch-selector.c:
1083 (_default_print_func): Fixed a leak.
1084 (hildon_touch_selector_append_column): Fixed a leak.
1085 * src/hildon-date-button.c:
1086 (hildon_date_button_init): Fixed a leak.
1087 * src/hildon-date-selector.c
1088 (hildon_date_selector_finalize): Fixed a leak.
1090 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1092 Based on a patch by Christian Dywan (christian@imendio.com)
1094 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1096 * src/hildon-gtk.h: Add definition.
1098 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1100 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1102 * src/hildon-picker-button.c: (hildon_picker_button_init),
1103 (hildon_picker_button_new): Set the HildonButton::style property
1104 in the init method, to propagate the value to the derived classes.
1106 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1108 * src/hildon-button.c: (hildon_button_class_init): Do not make
1109 the "style" property a construct property.
1111 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1113 * src/hildon-wizard-dialog.h
1114 * src/hildon-wizard-dialog.c
1115 (hildon_wizard_dialog_set_forward_page_func)
1116 * src/hildon-pannable-area.h
1117 * src/hildon-pannable-area.c
1118 (hildon_pannable_area_set_size_request_policy):
1119 Documentation fixes.
1121 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1123 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1125 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1127 * doc/hildon-sections.txt: Added sections file.
1129 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1132 * src/*.[ch]: Updates.
1134 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1136 * examples/hildon-progress-indicator-example.c: new file
1137 * examples/Makefile.am: include the new example program
1139 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1141 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1143 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1145 * configure.ac: post release version bump
1146 * debian/changelog: version bump
1148 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1153 * configure.ac: bump version
1154 * debian/changelog: updates
1155 * debian/control: bump gtk+ dependency
1157 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1159 * src/hildon-dialog.c: Mark as deprecated.
1160 * src/hildon-dialog.h: Mark as deprecated.
1161 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1162 from HildonDialog and still work, even if
1163 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1164 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1166 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1167 maemo changes) instead)
1169 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1171 * src/hildon-pannable_area.h:
1172 * src/hildon-pannable_area.c:
1173 (hildon_pannable_area_class_init),
1174 (hildon_pannable_area_set_property),
1175 (hildon_pannable_area_get_property),
1176 (hildon_pannable_area_size_request),
1177 (hildon_pannable_area_get_size_request_policy),
1178 (hildon_pannable_area_set_size_request_policy): Added new API
1179 allowing applications to control the request policy. Now they can
1180 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1181 children allocation (HILDON_MOVEMENT_CHILDREN).
1183 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1187 (hildon_gtk_tree_view_set_ui_mode)
1188 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1189 mode of treeviews and iconviews.
1191 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1193 * src/hildon-touch-selector-entry.c:
1194 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1195 of a GtkEntry to get proper theming.
1197 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1198 widget, not GtkEntry)
1200 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1202 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1203 no HildonWizardDialogPageFunc.
1205 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1207 Patch contributed by Iván Gómez (igomez@igalia.com)
1209 * src/hildon-app-menu.c:
1210 * src/hildon-button.c:
1211 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1212 * src/hildon-stackable-window.c:
1213 * src/hildon-time-selector.c:
1214 * src/hildon-touch-selector.c:
1215 * src/hildon-window.c:
1217 Add more "since" tags to the new API in hildon 2.2.
1219 2008-12-05 Tim Janik <timj@imendio.com>
1221 Patch contributed by Christian Dywan (christian@imendio.com)
1223 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1224 HildonSizeType, which are supplied by Gtk+ now.
1226 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1228 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1229 (with maemo changes) instead)
1231 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1233 Patch contributed by Iván Gómez (igomez@igalia.com)
1235 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1238 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1240 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1241 (some_page_func), (main): Update the example to use a
1242 HildonWizardDialogPageFunc function.
1244 * src/hildon-wizard-dialog-private.h: Add private data for
1245 the HildonWizardDialogPageFunc function usage.
1247 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1248 (destroy), (hildon_wizard_dialog_init), (response),
1249 (hildon_wizard_dialog_set_forward_page_func):
1250 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1251 that applications can use to stop a HildonWizardDialog to jump to
1254 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1257 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1259 * src/hildon-program.h
1260 * src/hildon-program-private.h
1261 * src/hildon-program.c (hildon_program_init)
1262 (hildon_program_set_common_app_menu)
1263 (hildon_program_get_common_app_menu):
1264 New API for setting a common HildonAppMenu for all
1265 HildonStackableWindows registered with the HildonProgram.
1267 * src/hildon-stackable-window.c
1268 (hildon_stackable_window_toggle_menu):
1269 Use the common HildonAppMenu if a window doesn't have a specific
1272 * src/hildon-app-menu-private.h
1273 * src/hildon-app-menu.c
1274 (hildon_app_menu_get_parent_window):
1275 Function to obtain the window a HildonAppMenu is attached to.
1276 (hildon_app_menu_set_parent_window):
1277 Hide the menu if the parent window is set to NULL.
1279 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1282 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1283 search widget to popup.
1285 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1287 * configure.ac: post release version bump
1288 * debian/changelog: version bump
1290 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1295 * configure.ac: bump version
1296 * debian/changelog: updates
1298 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1300 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1302 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1303 (hildon_window_stack_window_realized)
1304 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1305 Set the leader GdkWindow when a window is stacked and realized,
1306 unset it when it's unstacked.
1307 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1309 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1311 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-stackable-window.h
1314 * src/hildon-window-stack.h:
1315 Protect definition of HildonWindowStack using the preprocessor.
1317 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1319 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1320 Fix warning if all menu items are hidden.
1322 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1324 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1326 * src/hildon-controlbar.c:
1327 * src/hildon-hvolumebar.c:
1328 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1329 Multiple scale size defines updates.
1331 Fixes: NB#94322 (Scale Updates)
1333 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1335 * examples/hildon-app-menu-example.c (create_menu)
1336 Show items after adding them to the menu, as in the future the
1337 menu will no longer call gtk_widget_show() on the added items.
1339 * src/hildon-app-menu.c:
1340 Update example as explained above.
1342 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1344 * src/hildon-app-menu.c
1345 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1346 Make sure that all menu items have finger height.
1348 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1350 * src/hildon-picker-dialog.c:
1351 (_on_dialog_response), (_save_current_selection),
1352 (_restore_current_selection), (_clean_current_selection),
1353 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1354 Defined new functions in order to save the current internal selector
1355 selection previous open the dialog, in case that the use cancel the
1356 interaction, so the widget restores the previous selection.
1358 Fixes: NB#92032 (In calendar application, date values in 'new event'
1361 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1363 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1365 * src/hildon-button.c: Add a reference to the button examples in
1366 hildon-button-example.c
1368 * examples/hildon-button-example.c: Added examples of the most
1369 common button layouts.
1371 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1373 * src/hildon-app-menu.c (hildon_app_menu_show)
1374 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1376 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1378 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1380 * src/hildon-picker-dialog.c:
1381 (hildon_picker_dialog_init): Initialize the signal id for
1382 HildonTouchSelector::columns-changed.
1383 (+on_selector_columns_changed): Set up the interaction mode everytime a
1384 column is added or removed from the HildonTouchSelector.
1385 (_hildon_picker_dialog_set_selector): Connect to
1386 HildonTouchSelector::columns-changed and keep track of it.
1388 Make sure to update the interaction mode of the dialog everytime a
1389 column is added or removed in the HildonTouchSelector.
1391 Fixes: NB#93228 (Done button is not shown always in listpicker)
1393 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1395 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1396 a new ::columns-changed signal.
1397 (hildon_touch_selector_append_column): Emit ::columns-changed.
1398 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1400 Add a ::columns-changed signal, emitted when the number of columns in a
1401 HildonTouchSelector changes.
1403 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1406 (_hildon_picker_dialog_set_selector): Factor out the code
1407 to set up the dialog interaction mode.
1409 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1411 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1412 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1413 to signal_changed_id.
1415 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1417 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1420 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1422 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1423 Updated the logical ids related to ampm format, as now it is required to
1424 show it correctly localized even on languages with no default
1425 abbreviations for am or pm
1426 (_check_am_pm_format): check correctly the 24h format gconf property
1428 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1430 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1432 * src/hildon-button.c: Documentation updates.
1434 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1437 * src/hildon-caption.c: (hildon_caption_class_init):
1438 * src/hildon-color-button.c: (hildon_color_button_class_init):
1439 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1440 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1441 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1442 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1444 Remove deprecated GTK+ marshalers and replace them with the ones
1445 provided by GLib, for those available, add a marshaler for
1446 BOOLEAN:VOID, which is not available in GLib, and use it.
1448 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1450 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1451 the text from the previous column if there is no
1452 HildonTouchSelectorColumn::text-property set.
1454 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1456 * src/hildon-button.h
1457 * src/hildon-button.c (hildon_button_set_property)
1458 (hildon_button_get_property, hildon_button_class_init)
1459 (hildon_button_set_style, hildon_button_get_style):
1460 New "style" property to change the visual appearance of the
1463 * src/hildon-picker-button.c (hildon_picker_button_new):
1464 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1466 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1467 HildonButton look like PickerButton)
1469 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1472 column while building the default string.
1474 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1476 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1477 scroll indicator by default.
1479 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1481 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1483 * src/hildon-main.c: Fix the documentation for hildon_init()
1485 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1487 * doc/hildon-docs.sgml
1491 * src/hildon-window-stack-private.h
1492 * src/hildon-window-stack.h
1493 * src/hildon-window-stack.c:
1494 New HildonWindowStack object, that adds support for multiple
1495 stacks of windows per process.
1497 * src/hildon-stackable-window-private.h
1498 * src/hildon-stackable-window.h
1499 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1500 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1501 (hildon_stackable_window_show, hildon_stackable_window_hide)
1502 (hildon_stackable_window_class_init)
1503 (hildon_stackable_window_init):
1504 Use HildonWindowStack for stack management.
1506 * src/hildon-program.c (hildon_program_pop_window_stack)
1507 (hildon_program_peek_window_stack)
1508 (hildon_program_go_to_root_window):
1509 Add a fallback implementation to the deprecated functions using
1512 * examples/hildon-stackable-window-example.c:
1513 Use the new HildonWindowStack API.
1515 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1517 * src/hildon-stackable-window-private.h
1518 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1519 (hildon_stackable_window_hide, hildon_stackable_window_init):
1520 Remove all window stack management.
1522 * src/hildon-program-private.h
1523 * src/hildon-program.h
1524 * src/hildon-program.c (hildon_program_init)
1525 (hildon_program_pop_window_stack)
1526 (hildon_program_peek_window_stack)
1527 (hildon_program_go_to_root_window):
1528 Remove all window stack management and mark functions as
1531 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1533 * src/hildon-app-menu.c (hildon_app_menu_realize):
1534 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1536 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1538 * configure.ac: post release version bump
1539 * debian/changelog: version bump
1541 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1546 * configure.ac: bump version
1547 * debian/changelog: updates
1549 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1551 Based on initial code by Christian Dywan (christian@imendio.com)
1553 * doc/hildon-docs.sgml: Add section for hildon-main.
1554 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1555 * src/Makefile.am: Add new hildon-main.[ch]
1556 * src/hildon-defines.h: Update the icon sizes.
1557 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1558 new library initialization files and register icon sizes.
1559 * src/hildon-main.h: New declarations.
1560 * src/hildon.h: Include hildon-main.h
1562 Add new initialization functions to the library. These methods
1563 will register the hildon specific icon sizes and can be used in the
1564 future for other hildon specific bits.
1566 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1568 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1570 * src/hildon-window.c: (hildon_window_realize),
1571 (hildon_window_notify), (-hildon_window_update_title): Do not set
1572 the application name in the window title.
1574 Fixes: NB#89754 (Applications shouldn't display their names in the
1577 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1579 * src/hildon-note-private.h:
1580 * src/hildon-note.c: (hildon_note_set_property),
1581 (hildon_note_get_property), (hildon_note_class_init),
1582 (hildon_note_init), (hildon_note_finalize),
1583 (hildon_note_new_confirmation_with_icon_name),
1584 (hildon_note_new_information_with_icon_name):
1586 No need to mark as deprecated the actual code. Revert
1587 to avoid missing symbols in widgets using deprecated API.
1589 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1591 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1593 * src/hildon-volumebar.h
1594 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1595 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1597 * src/hildon-helper.h
1598 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1599 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1601 * examples/Makefile.am:
1602 Deprecate hildon-insensitive-example
1604 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1606 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1608 * examples/hildon-pannable-area-buttons-scroll-example.c:
1609 Make all buttons finger height
1611 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1613 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1615 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1616 update the day model only if it is really required, and to avoid the
1617 full-reconstruction aproach. Now it only add or remove the required days.
1619 The purpose of this is avoid superfluous HildonTouchSelector::changed
1622 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1623 with strange parameters)
1625 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1627 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1629 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1630 the WINDOW_TYPE property.
1632 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1634 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1637 Fix dependency to allow parallel compilation with make -jX
1639 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1641 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1642 color frame and some minor tweaks to make it more consistent with
1645 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1646 highlighted but not visible)
1648 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1650 * examples/Makefile.am: Fixed typo in the Makefile.am.
1652 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1654 Reviewed the use of MAEMO_GTK define, now we add the define in the
1655 compilation line, and we also add it to the pc file.
1657 * configure.ac: Added MAEMO_GTK define to the compilation command
1658 and removed it from the config.h.
1660 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1661 do not have to take care about this define if the library was
1665 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1667 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1669 * examples/Makefile.am,
1670 * examples/hildon-pannable-area-buttons-scroll-example.c,
1671 * examples/hildon-pannable-area-gesture-signals-example.c,
1672 * examples/hildon-pannable-area-scroll-jump-example.c,
1673 * examples/hildon-pannable-area-tree-view-example.c:
1674 Renamed the pannable area examples, now they have more meaningful
1677 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1679 * src/hildon-touch-selector.c:
1680 (hildon_touch_selector_set_column_selection_mode): Used of
1681 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1682 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1683 to avoid re-seting the same selection mode.
1685 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1686 breaks HildonPickerDialog)
1688 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1690 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1691 conditional in the Makefile.am
1693 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1695 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1696 Remove unused methods.
1698 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-button.c (hildon_button_init):
1701 Make button images center-aligned by default
1703 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1706 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1707 activated, we have to think about how to deal with both defines
1708 MAEMO_GTK and MAEMO_CHANGES.
1710 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1712 * examples/hildon-app-menu-example.c (create_menu): Make all
1713 buttons finger size.
1715 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1717 Fixed the compilation without maemo gtk adding ifdefs with
1718 MAEMO_GTK define to the code, we have to check this version more
1721 * examples/Makefile.am: Added control to avoid some examples that
1722 just make sense with maemo gtk.
1725 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1726 hildon modes with the define.
1728 * examples/hildon-edit-toolbar-example.c,
1729 (create_icon_view): Create the icon view without hildon-gtk
1730 helpers if we are not using maemo gtk.
1732 * src/hildon-touch-selector.c,
1733 (_create_new_column): Create the treeview without hildon-gtk
1734 helpers if we are not using maemo gtk.
1736 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1738 * src/hildon-pnnable-area.c,
1739 (hildon_pannable_area_dispose),
1740 (hildon_pannable_area_button_press_cb),
1741 (hildon_pannable_area_child_mapped),
1742 (hildon_pannable_area_add),
1743 (hildon_pannable_area_remove): Added code to control the position
1744 of the event_window when adding and removing children from the
1745 pannable. We have to raise the event window when the child is
1748 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1749 selection mode using custom widget inside pannable)
1751 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1753 * configure.ac: post release version bump
1754 * debian/changelog: version bump
1756 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1761 * configure.ac: bump version
1762 * debian/changelog: updates
1764 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1766 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1767 search mode, in order to avoid lose the focus on the treeview when
1768 a hw key (like enter) is pressed.
1770 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1771 in HildonDateSelector dialog)
1773 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1775 * debian/rules: Added --enable-maintainer-mode
1776 * Makefile.am: Added ACLOCAL_AMFLAGS
1778 This allows to properly regenerate the Makefiles if you modify the
1779 configure.ac or any Makefile.am.
1781 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1783 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1784 properties, not needed at all.
1786 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1790 * src/hildon-note.c: (hildon_note_set_property),
1791 (hildon_note_get_property), (hildon_note_class_init),
1792 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1793 (hildon_note_new_confirmation_add_buttons): Remove icons.
1794 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1795 (hildon_note_new_information_with_icon_name): Deprecate.
1796 (hildon_note_new_confirmation): Act directly, without calling
1797 the deprecated constructor.
1798 (hildon_note_new_information): Act directly, without calling
1799 the deprecated constructor.
1800 * src/hildon-note.h: Mark deprecate methods as such.
1801 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1802 not run tests on the deprecated methods if built with deprecation
1805 Fixes: NB#91688 (Never show icons in information notes/confirmation
1808 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1810 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1811 (hildon_app_menu_key_press): Remove leftover usage of the
1812 private structure in HildonAppMenu struct.
1813 * src/hildon-app-menu.h: Remove leftover private structure
1814 from the HildonAppMenu struct.
1816 Fixes a crasher when using the HildonAppMenu.
1818 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1820 * src/hildon-picker-dialog.c: Use appropriate logical id
1821 for the default "Done" text.
1823 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1825 * configure.ac: post release version bump
1826 * debian/changelog: version bump
1828 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1830 Modified the way to scroll to the current selection just when the touch
1831 selector is shown on the screen, avoiding a g_idle. Added too a property
1832 to configure this behaviour. See hildon_pannable_area_jump_to_child
1833 documentation for more information.
1835 * src/hildon-touch-selector.c
1836 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1837 Added 'initial-scroll' property
1838 (hildon_touch_selector_set_property): Added
1839 (hildon_touch_selector_map): Removed as not required anymore
1840 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1841 only a concrete column, instead of iterate along all the columns
1843 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1848 * configure.ac: bump version
1849 * debian/changelog: updates
1851 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1853 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1854 compilation time warnings.
1856 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1858 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1859 the default value for HildonPannableArea::mov-mode to
1860 HILDON_PANNABLE_AREA_MODE_VERT.
1862 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1864 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1866 Reverting following commit:
1868 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1870 * src/hildon-app-menu-private.h
1871 * src/hildon-app-menu.[ch]
1872 * src/hildon-button.[ch]
1873 * src/hildon-check-button.[ch]
1874 * src/hildon-entry.[ch]
1875 * src/hildon-pannable-area.[ch]
1876 * src/hildon-text-view.[ch]:
1877 Added private field to the object's structure.
1879 because it causes an ABI breakage. We will need to introduce these
1880 changes later at some point. See NB#91636 for an extensive
1881 explanation and status.
1883 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1885 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1887 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1888 remove special cases that are no longer necessary.
1890 Fixes: NB#91016 (Change toolbar sizes, simplification)
1892 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1894 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1895 is shown in the cancel note.
1897 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1899 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1900 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1901 (hildon_seekbar_init): Remove steppers, remove expose event.
1902 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1904 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1906 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1908 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1909 label font to "SmallSystemFont" for vertically arranged buttons.
1911 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1914 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1916 * src/hildon-check-button.c
1917 (hildon_check_button_set_active, hildon_check_button_clicked):
1918 Don't access private parts directly, use getters instead.
1920 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1922 * src/hildon-check-button.c (hildon_check_button_new):
1923 Align the contents of the check button to the left.
1925 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1927 * src/hildon-pannable-area.c,
1928 (hildon_pannable_area_scroll_to),
1929 (hildon_pannable_area_jump_to),
1930 (hildon_pannable_area_scroll_to_child),
1931 (hildon_pannable_area_jump_to_child): Replace the mapped
1932 precondition of these functions with the realized, it is the
1933 correct state of the widget in this case. Changed the
1934 documentation according to this modification.
1936 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1938 Added a new EXTRA_CFLAGS option to add the deprecated define to
1939 the compilation command. This way we can avoid using the define in
1940 the documentation compilation.
1942 * configure.ac: Defined EXTRA_CFLAGS.
1944 * examples/Makefile.am:
1946 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1948 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1950 * src/hildon-picker-dialog.c:
1951 Defined a utility macro with the desired touch selector height
1952 Removed currently unused separator, and title_label variables from
1954 (hildon_picker_dialog_init): Removed code related to the creation
1955 of unused private variables title_label and separator.
1956 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1957 to ensure correct visualization of the touch selector inside the dialog.
1958 * src/hildon-touch-selector.c
1959 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1960 ensure a concrete height of the widget.
1962 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1965 * tests/Makefile.am:
1967 Remove spurious whitespaces.
1969 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1971 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1972 compilation warning after the cancel button removal.
1974 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1976 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1978 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1979 Makefile.am, that way we can choose not to compile some examples
1980 and tests of the deprecated widgets.
1982 * examples/Makefile.am: Divided the sources in deprecated and
1985 * src/Makefile.am: Added undef statement of the deprecated
1986 symbol to the enums file generation process.
1988 * src/hildon-color-chooser-dialog.c
1989 * src/hildon-color-chooser-dialog.h
1990 * src/hildon-color-button.c
1991 * src/hildon-color-button.h
1992 * src/hildon-color-chooser.c
1993 * src/hildon-color-chooser.h
1994 * src/hildon-controlbar.c
1995 * src/hildon-controlbar.h
1996 * src/hildon-date-editor.c
1997 * src/hildon-date-editor.h
1998 * src/hildon-hvolumebar.c
1999 * src/hildon-hvolumebar.h
2000 * src/hildon-private.c
2001 * src/hildon-private.h
2002 * src/hildon-range-editor.c
2003 * src/hildon-range-editor.h
2004 * src/hildon-seekbar.c
2005 * src/hildon-seekbar.h
2006 * src/hildon-time-editor.c
2007 * src/hildon-time-editor.h
2008 * src/hildon-time-picker.c
2009 * src/hildon-time-picker.h
2010 * src/hildon-volumebar.c
2011 * src/hildon-volumebar.h
2012 * src/hildon-vvolumebar.c
2013 * src/hildon-vvolumebar.h
2014 * src/hildon-bread-crumb-trail.h
2015 * src/hildon-bread-crumb-trail.c
2016 * src/hildon-calendar-popup.c
2017 * src/hildon-calendar-popup.h
2018 * src/hildon-weekday-picker.c:
2019 * src/hildon-weekday-picker.h:
2020 * src/hildon-bread-crumb-widget.c:
2021 * src/hildon-bread-crumb-widget.h:
2022 * src/hildon-bread-crumb.c:
2023 * src/hildon-bread-crumb.h:
2024 * src/hildon-calendar.c:
2025 * src/hildon-calendar.h:
2026 * src/hildon-caption.c:
2027 * src/hildon-code-dialog.c:
2028 * src/hildon-code-dialog.h:
2029 * src/hildon-font-selection-dialog.c:
2030 * src/hildon-font-selection-dialog.h:
2031 * src/hildon-get-password-dialog.c:
2032 * src/hildon-get-password-dialog.h:
2033 * src/hildon-login-dialog.c:
2034 * src/hildon-login-dialog.h:
2035 * src/hildon-number-editor.c:
2036 * src/hildon-number-editor.h:
2037 * src/hildon-set-password-dialog.c:
2038 * src/hildon-set-password-dialog.h:
2039 * src/hildon-sort-dialog.c:
2040 * src/hildon-sort-dialog.h: This is the list of deprecated
2043 * src/hildon-touch-selector.c:
2044 * src/hildon-window.c: Added undef statement to avoid compilation
2047 * tests/Makefile.am: Divided the sources in deprecated and
2050 * tests/check_test.c,
2051 (configure_tests): Marked the deprecated code that was adding
2052 suites with deprecated tests.
2054 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2056 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-touch-selector.c: (_default_print_func): Do not
2059 duplicate a string returned by gtk_tree_model_get(), it is already
2062 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2065 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2067 * src/hildon-pannable-area.c
2068 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2069 method, it had problems when adding a widget with viewport the
2070 second time. Now checks if it already has a viewport and uses it.
2072 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2075 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2077 * src/hildon-pannable-area.c,
2078 (hildon_pannable_area_scroll_to),
2079 (hildon_pannable_area_jump_to),
2080 (hildon_pannable_area_scroll_to_child),
2081 (hildon_pannable_area_jump_to_child): Added a precondition to the
2082 scroll and jump to functions: the widget must be mapped before we
2083 can safely call these functions. We have also added documentation
2084 to the functions to explain how to use them in this situation.
2087 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2089 Reviewed the threading handling of the pannable widget, we have
2090 used the gdk_threads_add_timeout function instead of the usual
2091 glib handlers. This avoids some problems with the threads.
2093 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2094 (hildon_pannable_area_initial_effect),
2095 (hildon_pannable_area_scroll_indicator_fade),
2096 (hildon_pannable_area_button_press_cb),
2097 (hildon_pannable_area_timeout),
2098 (hildon_pannable_area_motion_notify_cb),
2099 (hildon_pannable_area_button_release_cb),
2100 (hildon_pannable_area_scroll_cb),
2101 (hildon_pannable_area_scroll_to): Removed the
2102 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2103 gdk_threads_add_timeout.
2105 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2107 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2112 * configure.ac: bump version
2113 * debian/changelog: updates
2115 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2117 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2118 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2119 * src/hildon-color-chooser-dialog.c:
2120 (hildon_color_chooser_dialog_init):
2121 * src/hildon-font-selection-dialog.c:
2122 (hildon_font_selection_dialog_init):
2123 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2125 Remove all cancel/close-like dialogs, as these are not going to be
2128 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2130 * src/hildon-note.c: (hildon_note_rebuild),
2131 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2134 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2136 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2138 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2139 sure all buttons are shown, even the Cancel/Close-like ones.
2141 Fixes: NB#90861 (Custom Confirmation dialogs should be
2142 protected from cancel button removal)
2144 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2146 * debian/control: Change libhildon1-examples dependency from libhildon1
2148 * debian/libhildon1-examples.install
2150 * Makefile.am: Modified the final install directory for the examples on
2151 package libhildon1-examples
2152 * Makefile.static: Update clean target in order to remove all the binary
2155 Changes suggested by Claudio after review new libhildon1-examples package
2157 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2159 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2160 * src/hildon-touch-selector.c: Ditto.
2162 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2164 * debian/control: Added new package libhildon1-examples, in order to pack
2165 the current hildon examples as documentation
2166 * debian/rules: Not to compress .c files, modify some includes on the
2167 examples (as normally are compiled locally, but when installed it will
2168 require to include the installed libhildon1 library), and rename
2170 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2171 install all the example files on the new example package
2172 * examples/Makefile.static: Added static makefile that can be used to
2173 compile the examples, once installed the new example package
2174 * examples: Most of the examples were modified in order to grant that
2175 all use only '#include "hildon.h"', in order to be easy to prepare
2176 it on the example package
2178 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2181 * debian/libhildon1-dev.install
2182 * debian/libhildon1-doc.install:
2183 Move all gtk-doc files to a separate libhildon1-doc package.
2185 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2187 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2189 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2191 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2193 * debian/rules: Fixed a error in order to avoid unnecessary calls
2194 to autogen.sh on package building
2196 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2198 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2200 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2202 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2205 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2207 * src/hildon-picker-button.c
2208 (hildon_picker_button_finalize):
2209 Free priv->done_button_text
2211 * src/hildon-time-button.c
2212 (hildon_time_button_set_time)
2213 * src/hildon-picker-button.c
2214 (hildon_picker_button_clicked)
2215 (hildon_picker_button_selector_selection_changed)
2216 (hildon_picker_button_set_selector)
2217 * src/hildon-date-button.c
2218 (hildon_date_button_set_date):
2219 Free strings returned by hildon_touch_selector_get_current_text()
2221 * src/hildon-button.c (hildon_button_construct_child):
2222 Fix leaks in priv->image and priv->label_box
2224 Fixes: NB#90535 (Memory leak in picker button)
2226 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2228 * src/hildon-button.c: (hildon_button_get_property): Do not access
2229 private elements directly, use getters instead.
2231 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2233 * src/hildon-app-menu-private.h
2234 * src/hildon-app-menu.c
2235 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2236 Store the menu's parent window.
2238 * src/hildon-stackable-window.c
2239 (hildon_stackable_window_toggle_menu)
2240 (hildon_stackable_window_finalize):
2241 Set the menu's parent window when the menu is shown, unset it when
2244 * src/hildon-app-menu.c
2245 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2246 (hildon_app_menu_class_init):
2247 Send unhandled keyboard accelerators to the parent window.
2249 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-stackable-window.c
2252 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2254 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2256 * configure.ac: post release version bump
2258 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2261 * configure.ac: Bump version
2262 * debian/changelog: Updates
2263 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2266 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2268 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2271 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2272 GtkMenu with Hildon style.
2274 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-picker-button.c:
2277 (hildon_picker_button_set_done_button_text): Set the dialog's
2278 done button text here as well.
2280 Fixes: NB#90232 (Picker button does not set the label on done button
2281 for the second time)
2283 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2285 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2288 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2290 * src/hildon-app-menu.c (hildon_app_menu_insert)
2291 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2292 the HildonAppMenu to be activatable using keyboard accelerators
2293 when the menu is not being shown.
2295 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2297 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2299 * src/hildon-stackable-window.c
2300 (hildon_stackable_window_show):
2301 Don't hide old windows automatically when new windows are shown:
2302 this is now a task for the window manager.
2303 (hildon_stackable_window_class_init)
2304 (hildon_stackable_window_hide):
2305 Remove windows from the stack everytime they're hidden.
2306 (hildon_stackable_window_realize):
2307 Don't change the _NET_WM_WINDOW_TYPE property. Use
2308 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2309 it as a stackable window.
2311 * src/hildon-program.c
2312 (hildon_program_pop_window_stack):
2313 Just hide the window to remove it from the stack.
2314 (hildon_program_go_to_root_window):
2315 Don't call gtk_widget_show(), this is now a task for the window
2318 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2320 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2322 * src/hildon-button.c
2323 (hildon_button_construct_child):
2324 Don't pack anything in the button until text or image are
2325 set. This allows adding a custom child after creating the button
2326 with hildon_button_new().
2327 (hildon_button_finalize, hildon_button_class_init)
2328 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2329 alignment and the label box even when they're not packed in the
2332 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2334 * src/hildon-touch-selector.h:
2335 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2336 currently the type definition was using GTK_TYPE_VBOX
2337 * src/hildon-touch-selector.c:
2338 Added some implementation notes in order to clarify that any other widget
2339 added without the column related API will not be included on the
2340 selection logic, and how the widget is freed, as some people ask about
2342 (hildon_touch_selector_remove): Reimplemented in order to free properly
2343 the column related data when you remove the private hbox.
2344 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2345 to get a proper HildonTouchSelectorColumn documentation
2347 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-touch-selector-entry.c:
2350 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2351 text in the GtkEntry and there is no item selected. Fixes a
2354 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2356 * src/hildon-app-menu-private.h
2357 * src/hildon-app-menu.[ch]
2358 * src/hildon-button.[ch]
2359 * src/hildon-check-button.[ch]
2360 * src/hildon-entry.[ch]
2361 * src/hildon-pannable-area.[ch]
2362 * src/hildon-text-view.[ch]:
2363 Added private field to the object's structure.
2365 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2367 * configure.ac: post-release version bump
2369 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2373 * configure.ac: pre-release version bump
2375 * debian/changelog: updates.
2377 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2379 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2380 Disconnect the handler for HildonTouchSelector::changed.
2382 (hildon_picker_button_selector_selection_changed): Update the button
2383 value if the selection change was not triggered by the
2386 (hildon_picker_button_set_selector): connect to
2387 HildonTouchSelector::changed.
2389 Fixes: NB#89650 (Picker button is not updated, when selection in
2390 selector has changed)
2392 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2394 * src/hildon-picker-dialog.c
2395 (hildon_picker_dialog_realize): Removed as not required
2396 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2397 * src/hildon-picker-button.c
2398 (_current_selector_empty): New function, checks if the selector is empty
2399 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2400 if the current selector is empty, in order to avoid to show the dialog
2401 close the dialog in this case (and shows a g_warning).
2403 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2405 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2407 * src/hildon-pannable-area.c,
2408 (hildon_pannable_area_scroll): Added clause to stop movement when
2409 the child of pannable is smaller than one page.
2410 (hildon_pannable_area_scroll_to): Added conditions to avoid
2411 starting the scrolling movement if the child is smaller than one
2412 page, the complete child is in the screen, we do not have to move.
2414 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2416 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2418 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2419 this is managed automatically by the widget when the size of the
2422 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2424 * src/hildon-picker-button.c
2425 (hildon_picker_button_set_done_button_text): Make a copy of the
2426 text, and free the previous value.
2428 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2430 * src/hildon-touch-selector-entry.c:
2431 (hildon_touch_selector_entry_print_func): Return the selected row's
2432 text if the entry is empty.
2434 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2437 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2441 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2444 * src/hildon-check-button.h
2445 * src/hildon-check-button.c
2446 * examples/hildon-check-button-example.c:
2447 HildonCheckButton is now a new widget. 'toggled' signal added.
2449 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-program-private.h
2452 * src/hildon-program.c (hildon_program_init)
2453 (hildon_program_finalize): Removed unused variables group_leader
2454 and name from HildonProgramPrivate.
2456 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2458 * src/hildon-check-button.c (hildon_check_button_set_active)
2459 (hildon_check_button_get_active, hildon_check_button_new): Use
2460 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2462 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2464 * src/hildon-touch-selector.h
2465 (hildon_touch_selector_set_column_attributes): added deprecation
2466 guard HILDON_DISABLE_DEPRECATED
2467 * src/hildon-time-selector.c
2468 (hildon_time_selector_set_time)
2469 (hildon_time_selector_get_time): Fixed a typo on documentation
2470 * src/hildon-touch-selector.c: update HildonTouchSelector and
2471 HildonTouchSelectorColumn documentation
2472 * src/hildon-touch-selector-entry.c: update "text-column" property
2474 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2475 to be added to the general documentation.
2477 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2479 * examples/hildon-pannable-area-example-4.c,
2481 * examples/hildon-pannable-area-example.c,
2482 (main): Modified the code in order to use the container add, with
2483 viewport treeviews could have problems if they are really big.
2485 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2487 * src/hildon-weekday-picker.c,
2488 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2489 the agreement regarding deprecation in the library.
2491 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2493 * examples/hildon-picker-button-multicolumn-example.c:
2494 (main): Use custom "done" button text.
2496 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2497 (hildon_picker_button_set_property),
2498 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2499 (hildon_picker_button_init),
2500 (+hildon_picker_button_get_done_button_text),
2501 (+hildon_picker_button_set_done_button_text): New methods to customize
2502 the "done" button label in the launched HildonPickerDialog. Also,
2505 * src/hildon-picker-button.h: add the public API.
2507 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2509 * src/hildon-date-selector.h:
2510 * src/hildon-picker-dialog.h:
2511 * src/hildon-time-selector.h:
2512 * src/hildon-touch-selector-column.h:
2513 * src/hildon-touch-selector.h:
2515 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2516 declarations. Fixes gtk-doc warnings.
2518 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2520 * src/hildon-picker-dialog.h
2521 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2522 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2524 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2525 long text is set as label for done button)
2527 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2529 * src/hildon-dialog.c (hildon_dialog_add_button):
2530 Set fixed width to all buttons in the HildonDialog.
2532 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2534 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2536 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2537 Set widget name using class name plus "-finger" or "-thumb".
2539 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2541 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2542 'clicked' when the state of the button is manually changed.
2544 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2546 * src/hildon-app-menu.c (hildon_app_menu_realize)
2547 (hildon_app_menu_unrealize, hildon_app_menu_init)
2548 (hildon_app_menu_class_init, item_visibility_changed):
2549 Change the menu layout when the size of the screen changes.
2550 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2551 Show warning only when changing the number of colums using the
2554 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2556 * debian/compat: Set to 5
2557 * debian/control: Update dependencies.
2558 * debian/libhildon1-dbg.install: Remove.
2559 * debian/libhildon1-dev.install: Update according to cdbs paths.
2560 * debian/libhildon1.install: Update according to cdbs paths.
2561 * debian/rules: Switch to cdbs.
2563 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2565 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2566 'item' variable renamed to 'filter'
2568 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2570 * src/hildon-app-menu.c (hildon_app_menu_insert)
2571 (hildon_app_menu_add_filter, remove_item_from_list)
2572 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2573 Don't leak hidden items when the menu is destroyed.
2575 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2577 * src/hildon-app-menu.c (hildon_app_menu_insert)
2578 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2579 (hildon_app_menu_set_columns, item_visibility_changed)
2580 (filter_visibility_changed, hildon_app_menu_repack_filters)
2581 (hildon_app_menu_repack_items):
2582 Repack items and filters separately.
2584 Don't repack all items, change only the ones that are needed to
2587 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2589 * src/Makefile.am: added hildon-touch-selector-column.h
2591 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2593 * src/hildon-touch-selector.c: added the property "text-column" to the
2594 class HildonTouchSelectorColumn, and related get/set functions
2595 (_default_printf_func): updated to use "text-column" property
2596 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2597 "text-column" in his documentation, as this is now included on
2598 HildonTouchSelectorColumn. The get/set_property can still be used,
2599 working as a wrapper to the concrete column "text-column" property
2600 (_text_column_modified): callback added in order to handle the signal
2601 "notify::text-column" of the concrete HildonTouchSelectorColumn
2602 (hildon_touch_selector_entry_get_text_column)
2603 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2604 modified in order to use the HildonTouchSelectorColumn "text-column"
2606 * src/hildon-time-selector.c:
2607 * src/hildon-date-selector.c:
2608 * examples/hildon-touch-selector-example.c
2609 * examples/hildon-touch-selector-multi-cells-example.c
2610 * examples/hildon-picker-button-multicolumn-example.c
2611 Set the right value to "text-column" property on the creation of a new
2612 column using hildon_touch_selector_append_column()
2614 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2616 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2618 * src/hildon-app-menu.c
2619 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2620 updating the layout of the menu, don't create all widgets again,
2621 just repack the items in their new places.
2623 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2625 * src/hildon-time-selector.c
2626 (hildon_time_selector_get_time)
2627 (hildon_time_selector_set_time)
2628 Added documentation of these public methods
2630 * src/hildon-date-button.h
2631 * src/hildon-touch-selector-column.h
2632 * src/hildon-time-button.h
2633 * src/hildon-picker-dialog.h
2634 * src/hildon-time-selector.h
2635 * src/hildon-picker-button.h
2636 * src/hildon-touch-selector.h
2637 * src/hildon-time-picker.h
2638 * src/hildon-date-selector.h
2639 * src/hildon-touch-selector-entry.h
2640 Modified in order to use hildon-widgets code style
2642 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2644 Added deprecated support to the compilation process using
2645 HILDON_DISABLE_DEPRECATED
2647 * configure.ac: Added the --disable-deprecated to the configure
2650 * src/hildon-weekday-picker.c:
2651 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2652 to use the deprecated support. We will update the other deprecated
2653 widgets status in a new patch.
2655 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2657 * configure.ac: Fixed typo with fatal warnings support, the
2658 variable name was not correct
2660 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2662 * src/hildon-app-menu.c
2663 * src/hildon-program.c: Update documentation.
2665 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2667 * configure.ac: Post-release version bump.
2669 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2674 * configure.ac: Pre-release version bump.
2675 * debian/changelog: Updates.
2677 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2679 * NEWS: Update news for previous releases.
2681 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2683 * examples/hildon-touch-selector-multi-cells-example.c:
2684 (create_selector): Update the example to use
2685 hildon_touch_selector_append_column() with a NULL renderer and set
2686 the renderers later.
2687 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2688 passed a NULL renderer. This is documented behavior now.
2690 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2691 This must be used if the developer wants full control on the layout of
2692 the renderers to be added to the column.
2694 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2696 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2698 * src/hildon-touch-selector.c: Documentation fixes.
2700 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2702 * src/hildon-wizard-dialog-private.h: Remove image and box.
2703 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2704 (hildon_wizard_dialog_set_property), (response): Completely remove
2705 image/icon support, and the containers required for the layout.
2707 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2709 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2711 * src/hildon-app-menu.c: Updated documentation.
2713 * src/hildon-stackable-window.c
2714 (hildon_stackable_window_set_main_menu): Unref the old menu after
2715 ref'ing the new one.
2717 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2719 * src/hildon-stackable-window.c
2720 (hildon_stackable_window_set_main_menu): Unref the previous menu
2721 instead of destroying it.
2723 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2724 floating reference and set has_user_ref_count to FALSE to make
2725 HildonAppMenu act like a normal ref-counted widget and not a
2728 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2731 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2733 * src/hildon-touch-selector-column.h: new file
2734 * src/hildon-touch-selector.h
2735 * src/hildon-touch-selector.c
2736 Implemented GtkCellLayout interface, in order to allow to configure
2737 the cell layout on each individual selector column
2738 (hildon_touch_selector_set_column_attributes): marked as deprecated
2739 * examples/hildon-touch-selector-multi-cells-example.c
2740 Example of how to use the GtkCellLayout interface on the selector
2742 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2744 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2746 * src/hildon-app-menu.h
2747 * src/hildon-app-menu.c
2748 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2749 (hildon_app_menu_append, hildon_app_menu_prepend):
2750 New methods to prepend, insert and move items in the menu.
2752 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2754 * src/hildon-wizard-dialog.c:
2756 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2758 (create_title): Update logical IDs and related code.
2759 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2761 * src/hildon-wizard-dialog.h: Note that
2762 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2763 point, as it is not used anymore.
2765 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2767 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2769 * src/hildon-note.c:
2770 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2771 shown. Do not display an icon in confirmation notes nor information
2773 (hildon_note_set_button_text): Update logical ID for cancel button.
2775 Fixes: NB#88850 (Update HildonNote button strings + signals)
2777 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2779 * src/hildon-stackable-window.c
2780 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2782 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2784 * src/hildon-app-menu-private.h
2785 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2786 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2787 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2788 temporary property 'columns' to change the number of columns.
2790 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2792 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2794 * examples/hildon-note-example.c: (on_information_clicked),
2795 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2796 debugging information.
2797 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2799 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2800 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2801 in order to close: this will be handled by the WM from now on.
2803 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2805 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-app-menu-private.h
2808 * src/hildon-app-menu.c
2809 (hildon_app_menu_append, hildon_app_menu_add_filter)
2810 (button_visibility_changed, hildon_app_menu_apply_style)
2811 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2812 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2813 layout everytime a button (item or filter) is shown or hidden.
2815 * src/hildon-stackable-window.c
2816 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2819 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2821 * src/hildon-touch-selector.c:
2822 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2823 that the treeview inside the touch selector is in fremantle hildon mode
2824 * examples/hildon-date-button-example.c
2825 * examples/hildon-picker-button-multicolumn-example.c
2826 * examples/hildon-touch-selector-entry-example.c
2827 * examples/hildon-touch-selector-example.c
2828 * examples/hildon-time-button-example.c
2829 * examples/hildon-picker-button-example.c:
2830 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2832 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2834 * examples/hildon-text-view-example.c: (main): Remove the
2835 gtkrc bits, now handled by the theme.
2837 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2842 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2844 * po/Makefile.am: Install properly the mo files.
2845 * po/en_GB.po: Update translation, to ease testing purposes.
2847 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2849 * examples/hildon-picker-button-example.c: (main): Select an item
2850 in the selector before setting it to the button.
2852 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2854 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2855 Update button's value if the selector has an item active.
2857 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2858 'value' with the selector)
2860 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2862 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2863 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2864 (hildon_picker_button_class_init): Plug the finalize method.
2865 (hildon_picker_button_set_selector): If there's a previously set
2866 selector, unref'it before setting a new one.
2868 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2869 HildonTouchSelector)
2871 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2873 * src/hildon-touch-selector-entry.c:
2874 (hildon_touch_selector_entry_changed): Check if there is no text
2875 selected before setting the entry text.
2878 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-touch-selector.h
2881 * src/hildon-touch-selector.c
2882 (hildon_touch_selector_get_active)
2883 (hildon_touch_selector_set_active): New methods to set/get the
2884 index of the selected item.
2886 * src/hildon-picker-button.h
2887 * src/hildon-picker-button.c
2888 (hildon_picker_button_get_active)
2889 (hildon_picker_button_set_active): New methods to set/get the
2890 index of the selected item.
2892 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2894 * configure.ac: post-release version bump.
2896 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2900 * configure.ac: Pre-release version bump.
2901 * debian/changelog: Updates.
2902 * debian/control: Add myself as maintainer and depend on l10n
2905 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2907 * src/hildon-window.c
2908 (hildon_window_set_main_menu)
2909 * src/hildon-stackable-window.c
2910 (hildon_stackable_window_set_main_menu):
2911 Updated documentation.
2913 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2915 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2916 Don't free selector->priv manually.
2919 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2922 (hildon_gtk_window_set_progress_indicator):
2923 * src/hildon-gtk.h: Added the new API
2924 hildon_gtk_window_set_progress_indicator, it changes the state of
2925 the window progress hint.
2927 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2929 * src/hildon-button.c
2930 * src/hildon-stackable-window.c: Minor documentation updates.
2932 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2934 * src/hildon-stackable-window.c: Updated documentation.
2936 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2938 * src/hildon-defines.h: Update margins definitions
2939 to the Fremantle sizes.
2942 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2944 * src/hildon-touch-selector.c,
2945 (_hildon_touch_selector_set_model): Cleaning the code after
2946 review, removed g_print and #if 0 from the code.
2948 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2950 * src/hildon-edit-toolbar.c: Update documentation.
2952 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2954 * src/hildon-check-button.h
2955 * src/hildon-check-button.c
2956 (hildon_check_button_set_label, hildon_check_button_get_label)
2957 * examples/hildon-check-button-example.c
2958 (button_clicked_cb):
2959 Removed deprecated methods.
2961 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2963 * src/hildon-text-view.c:
2964 Add sample code to the documentation.
2966 * src/hildon-entry.h
2967 * src/hildon-text-view.h:
2968 Minor cosmetic changes.
2970 * src/hildon-entry.c:
2971 Add sample code to the documentation.
2972 (hildon_entry_init, hildon_entry_refresh_contents):
2973 Don't allow NULL values in the placeholder.
2975 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2977 * doc/hildon-docs.sgml
2979 * examples/Makefile.am
2980 * examples/hildon-text-view-example.c
2982 * src/hildon-text-view.c
2983 * src/hildon-text-view.h
2985 New HildonTextView widget, with example.
2987 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2989 * po/POTFILES.in: Add missing files with translatable strings.
2990 Partially fixes NB#88287.
2992 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2994 * examples/hildon-pannable-area-example-2.c: (main): No need to
2995 set the cellrenderer height inside hildon touch lists, the theme does
2998 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3000 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3001 they are integrated in the theme.
3003 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3005 * examples/hildon-entry-example.c: Update the example adding
3006 widgets to modify the text and the placeholder of the HildonEntry.
3008 * src/hildon-entry.c: Show the placeholder everytime the widget
3009 is empty and loses the focus.
3011 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3013 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3015 * src/hildon-pannable-area.c,
3016 (hildon_pannable_area_size_request): Fixed bug in height
3017 requisition, avoid increasing size and add border twice.
3019 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3021 * configure.ac: postrelease version bump.
3023 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3027 * configure.ac: Prerelease version bump.
3028 * debian/changelog: update.
3029 * debian/rules: make -dbg package contain useful debugging symbols.
3031 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3033 * src/hildon-dialog.h
3034 * src/hildon-dialog.c
3035 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3036 New methods to add buttons with finger size.
3037 (hildon_dialog_new_with_buttons):
3038 Create buttons with finger size.
3040 * examples/hildon-dialog-example.c (main): Use HildonDialog
3041 methods to add buttons.
3043 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3045 * src/hildon-entry.c: Updated HildonButton documentation.
3047 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3049 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3050 button value label with (FALSE, FALSE) to prevent NB#88126 from
3053 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3055 * examples/hildon-pannable-area-example.c,
3056 (main): Removed examples panning a vbox inside a pannable
3057 area. Check bug NB#87965
3059 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3061 Patch contributed by Kris Rietveld (kris@imendio.com)
3063 * src/hildon-pannable-area.c,
3064 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3065 get_size and get_position, this saves an X server roundtrip.
3067 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3069 * doc/hildon-docs.sgml
3071 * examples/Makefile.am
3072 * examples/hildon-entry-example.c
3074 * src/hildon-entry.c
3075 * src/hildon-entry.h
3077 New HildonEntry widget, with example.
3079 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3081 * src/hildon-button.c (hildon_button_construct_child): Pack the
3082 image with expand == fill == FALSE. This is a workaround for a bug
3085 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3087 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3088 labels for the text column, to make it more look more dynamic.
3090 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3092 * src/hildon-time-selector.c
3093 Define gettext auxiliar macro N_
3094 (_create_minutes_model)
3095 (_create_hours_model)
3096 (_create_ampm_model): use of strftime in order to fill the model
3097 * src/hildon-date-selector.c
3098 (hildon_date_selector_finalize):
3099 (_locales_init): remove the logic related to get the name of the months
3100 using nl_langinfo, as it is not required anymore
3102 (_create_year_model)
3103 (_create_month_model)
3104 (_update_day_model): use of strftime in order to fill the model properly
3107 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3109 * src/hildon-button.h
3110 * src/hildon-button.c (hildon_button_get_image): New method to
3113 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3115 * src/hildon-touch-selector.c:
3116 (hildon_touch_selector_remove_column): Remove from the correct parent
3117 and also remove the list element and free it.
3120 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3122 * src/hildon-time-selector.c
3123 (_create_hours_model): change the range on 12h ampm format in order to use
3124 a 12-11 range instead of previous 01-12 range
3125 (hildon_time_selector_set_time): change the way to select the current time
3126 on 12h ampm format, due the change on the range
3127 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3130 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3132 * src/hildon-touch-selector.c
3133 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3134 in order to allow use this function on multiple row selection mode if
3135 the column is different that the first one
3138 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3140 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3141 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3143 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3145 * src/hildon-date-selector.h: clean some comments, now on the .c
3146 * src/hildon-date-selector.c
3147 (hildon_date_selector_select_month): first implementation
3148 (hildon_date_selector_select_day): added documentation, reimplemented
3149 using hildon_date_selector_select_current_date to avoid repeat code
3152 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3154 Reviewed interaction logic based on device experiences, refactored
3157 * src/hildon-pannable-area.c,
3158 (hildon_pannable_area_class_init): Updated default vmax speed.
3159 (hildon_pannable_area_calculate_velocity): Added this function, it
3160 avoids duplicate valocity calculation. Adjusted calculation to
3161 avoid problems with zero dist events.
3163 (hildon_pannable_area_motion_notify_cb): Now we use the
3164 calculate_velocity function.
3166 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3168 * src/hildon-date-selector.c
3169 (hildon_date_selector_select_current_date): fix the day range check
3170 as it failed using the last day of the current month
3173 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3175 * src/hildon-touch-selector.c
3176 (hildon_touch_selector_get_num_columns): added a parameter validation
3179 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3181 * examples/Makefile.am
3182 * examples/hildon-edit-toolbar-example.c: Example of the
3183 HildonEditToolbar widget.
3185 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3187 * configure.ac: postrelease version bump.
3189 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3193 * configure.ac: prerelease version bump.
3194 * debian/changelog: update.
3196 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3198 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3199 renderer to display stock icons in the touch list. Also, set the sizes
3200 to the recommended in the style guide.
3202 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3203 * src/hildon-touch-selector.h
3204 (hildon_touch_selector_set_active_iter): renamed, now is
3205 hildon_touch_selector_select_iter
3206 (hildon_touch_selector_get_active_iter): renamed, now is
3207 hildon_touch_selector_get_selected
3208 (hildon_touch_selector_unselect_iter): added
3209 * src/hildon-touch-selector.c
3210 Update after API modification (methods renamed)
3211 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3212 order to avoid problems selecting multiple elements on the column
3213 (hildon_touch_selector_unselect_iter): added the implementation
3214 * src/hildon-time-selector.c
3215 * src/hildon-date-selector.c
3216 * src/hildon-touch-selector-entry.c
3217 Update methods calls after hildon-touch-selector.h API modification (methods
3220 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-stackable-window.c
3223 (hildon_stackable_window_finalize): Call the parent class's finalize.
3225 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3227 * examples/hildon-touch-selector-example.c: (create_selector): Use
3228 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3231 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3233 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3234 set a cell background color, to respect theming.
3236 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3238 * doc/hildon-docs.sgml
3241 * src/hildon-edit-toolbar.c
3242 * src/hildon-edit-toolbar.h
3243 * src/hildon.h: New HildonEditToolbar widget.
3245 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3247 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3250 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3251 * src/hildon-touch-selector.c
3252 (_create_new_column): use g_object_set instead of two g_object_set_property
3254 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3255 * src/hildon-touch-selector.c
3256 (_create_new_column): use of hildon_gtk_tree_view_new to create
3257 the treeview, instead of use directly g_object_new
3258 (_create_new_column): update the property name "vindicator-mode" for the
3259 new one "vscrollbar-policy"
3260 * examples/hildon-date-button-example.c
3261 * examples/hildon-picker-button-multicolumn-example.c
3262 * examples/hildon-touch-selector-entry-example.c
3263 * examples/hildon-touch-selector-example.c
3264 * examples/hildon-time-button-example.c
3265 * examples/hildon-picker-button-example.c
3266 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3267 to all the treeviews inside a pannable area.
3269 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3271 * src/hildon-button.h
3272 * src/hildon-button.c (hildon_button_init)
3273 (hildon_button_set_arrangement, hildon_button_set_alignment)
3274 (hildon_button_set_title_alignment)
3275 (hildon_button_set_value_alignment)
3276 (hildon_button_set_image_alignment)
3277 (hildon_button_construct_child): New methods to set the alignment
3278 of the individual components of the button (title, value,
3279 image). Also, new method to alter the xscale and yscale properties
3280 of the GtkAlignment inside the button, so more complex layouts can
3283 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3285 * src/hildon-button.c (hildon_button_style_set)
3286 (hildon_button_class_init, hildon_button_set_arrangement)
3287 (hildon_button_construct_child): Apply style properties
3288 correctly. Use the 'image-spacing' style property too.
3290 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3292 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3293 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3296 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3298 * src/hildon-pannable-area.c,
3299 (hildon_pannable_area_size_request): Fixed problem with
3300 pannable-area size_request.
3302 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3304 Added management for the grab-focus to a child widget, like a
3305 range, we need to fade out the scrollbar when releasing.
3307 * src/hildon-pannable-area.c,
3308 (hildon_pannable_area_init): Connected the grab-focus signal to
3310 (hildon_pannable_area_grab_notify): Added this function in order
3311 to manage the situation when the grab-focus ends. We have to
3312 fade-out the scrollbar.
3314 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3316 * src/hildon-app-menu.c: Minor documentation update.
3318 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3320 * src/hildon-app-menu.c
3321 * examples/hildon-app-menu-example.c (create_menu): Update
3322 examples and documentation to explain how to connect callbacks.
3324 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3326 * examples/hildon-button-example.c
3327 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3328 hildon_stackable_window_new instead of gtk_window_new
3330 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3332 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3333 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3334 (hildon_pannable_area_set_property),
3335 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3336 (hildon_pannable_area_unrealize),
3337 (hildon_pannable_area_size_request),
3338 (hildon_pannable_area_size_allocate),
3339 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3340 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3341 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3342 (hildon_pannable_area_initial_effect),
3343 (hildon_pannable_area_redraw),
3344 (hildon_pannable_area_scroll_indicator_fade),
3345 (hildon_pannable_area_expose_event),
3346 (hildon_pannable_area_get_topmost), (synth_crossing),
3347 (hildon_pannable_area_button_press_cb),
3348 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3349 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3350 (hildon_pannable_area_motion_notify_cb),
3351 (hildon_pannable_area_button_release_cb),
3352 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3353 (hildon_pannable_area_remove),
3354 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3355 chage the code layout to a more GtkWidget like. Review the use of
3358 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3360 * examples/hildon-pannable-area-example-4.c,
3361 (main): Modified the name of the hindicator_mode to
3364 * src/hildon-pannable-area.c,
3365 (hildon_pannable_area_class_init),
3366 (hildon_pannable_area_motion_notify_cb),
3367 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3368 we have reduced the amount of signals and managed reviewed its
3369 rationale. Changed the default decelerate value.
3371 (hildon_pannable_area_add),
3372 (hildon_pannable_area_redraw): Refactored functions.
3374 (hildon_pannable_area_init),
3375 (hildon_pannable_area_get_property),
3376 (hildon_pannable_area_set_property):
3377 (hildon_pannable_draw_vscroll),
3378 (hildon_pannable_draw_hscroll),
3379 (hildon_pannable_area_initial_effect),
3380 (hildon_pannable_area_expose_event),
3381 (hildon_pannable_area_scroll),
3382 (hildon_pannable_area_button_press_cb),
3383 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3384 and vindicator_mode with hscrollbar_policy and
3385 vscrollbar_policy. Replaced hscroll and vscroll with
3386 hscroll_visible and vscroll_visible.
3388 (hildon_pannable_area_refresh): Refactor the function, remove
3389 variables and check the calls to this function, added resize
3390 conditions in case the children change their layout.
3392 (hildon_pannable_area_size_request): Added more detailed
3393 size_request calculation.
3396 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3398 * src/hildon-color-chooser.c
3399 (init_borders): use the correct gtk_border_free instead of g_free, to
3400 avoid a crash when this widget is used (ie: the three color selection
3403 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3405 * src/hildon-check-button.c,
3406 (hildon_check_button_set_active): Fixed problem when setting the
3407 active value, the widget was not redrawn.
3409 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3411 * src/hildon-pannable-area.c,
3412 (hildon_pannable_area_refresh),
3413 (hildon_pannable_area_scroll),
3414 (hildon_pannable_area_motion_notify_cb): Small code style change.
3416 (hildon_pannable_area_class_init): Default initial_hint set to
3417 FALSE, it is not in the specs.
3419 (hildon_pannable_area_initial_effect),
3420 (hildon_pannable_area_expose_event),
3421 (hildon_pannable_area_map),
3422 (hildon_pannable_area_init): Moved the launching point of the
3423 initial effect, it was in map but the sizes where not correct in
3424 that method so we do not know if we have the reproduce it. Now it
3425 is placed in the expose_event method and uses a variable to
3426 reproduce it just once.
3428 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3430 * src/hildon-pannable-area.c,
3431 (hildon_pannable_draw_vscroll),
3432 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3433 position allowed for the scrollbars.
3435 (hildon_pannable_area_size_allocate): Small style change.
3437 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3439 * src/hildon-pannable-area.c,
3440 (hildon_pannable_area_scroll_indicator_fade),
3441 (hildon_pannable_area_button_press_cb),
3442 (hildon_pannable_area_button_release_cb),
3443 (hildon_pannable_area_scroll_cb),
3444 (hildon_pannable_area_expose_event),
3445 (hildon_pannable_area_init): Added the define parameter
3446 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3447 and refactor the fade variable.
3449 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3451 * src/hildon-pannable-area.c,
3452 (hildon_pannable_area_redraw),
3453 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3454 lines, we were reimplemeting the redraw code.
3456 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3458 * src/hildon-pannable-area.c,
3459 (hildon_pannable_area_scroll_cb),
3460 (hildon_pannable_area_realize),
3461 (hildon_pannable_area_class_init): Added scroll_event management
3462 for pannable area, now we can scroll the usual desktop method.
3464 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3465 initialization of the parameters should depend on idle_id.
3467 (hildon_pannable_area_init),
3468 (hildon_pannable_area_map): Small code style modifications
3470 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3472 * src/hildon-pannable-area.c
3473 (hildon_pannable_area_button_press_cb),
3474 (hildon_pannable_area_motion_notify_cb),
3475 (hildon_pannable_area_button_release_cb),
3476 (hildon_pannable_area_size_allocate),
3477 (hildon_pannable_area_scroll_to): Improved the timeouts
3478 management, we avoid creating them each time.
3480 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3482 * src/hildon-pannable-area.c:
3483 (hildon_pannable_area_refresh),
3484 (hildon_pannable_area_motion_notify_cb),
3485 (hildon_pannable_area_class_init):
3486 * src/hildon-pannable-area.h:
3487 * src/hildon-touch-selector.c
3488 (_create_new_column):
3489 * examples/hildon-pannable-area-example-4.c:
3490 (horizontal_movement),
3491 (vertical_movement),
3493 Replaced the names of enums in the HildonPannableArea:
3494 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3495 HILDON_MOVEMENT_MODE_*
3496 - HILDON_PANNABLE_AREA_MOV_* ->
3498 - Removed HildonPannableAreaIndicatorMode, now we
3501 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3503 * examples/hildon-pannable-area-touch-grid-example.c
3504 * examples/hildon-pannable-area-touch-list-example.c: Fix
3505 compilation warnings.
3507 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3509 * src/hildon-gtk.c (hildon_gtk_button_new)
3510 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3511 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3512 images overriding the value of the "gtk-button-images" setting.
3514 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3516 * src/hildon-check-button.c (hildon_check_button_new):
3517 Instead of using a custom container, display the label and the
3518 checkbox using the standard GtkButton API.
3520 * examples/hildon-check-button-example.c (main): Don't use
3521 hildon_check_button_set_label() anymore
3523 * src/hildon-check-button.h
3524 * src/hildon-check-button.c
3525 (hildon_check_button_set_label, hildon_check_button_get_label):
3526 Set as deprecated, now we're using gtk_button_{get,set}_label()
3528 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3530 * src/hildon-pannable-area.c,
3531 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3532 GtkTreeview first line we detected it after the inclusion of the
3533 GtkWindowImpl in gtk+. We now check if the window is visible, not
3534 just if the pointer is over the window.
3535 (hildon_pannable_axis_scroll),
3536 (hildon_pannable_area_expose_event): Small style changes.
3538 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3540 * src/hildon-button.c: Update documentation.
3542 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3544 * examples/hildon-button-example.c: Add a switch to show images in
3547 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3549 * doc/hildon-docs.sgml: Some docs reorganization.
3551 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3553 * examples/hildon-pannable-area-touch-list-example.c
3555 * examples/hildon-pannable-area-touch-grid-example.c
3556 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3557 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3558 Fix memory leak when setting the tree model.
3560 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3564 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3566 * doc/hildon.types: Remove duplicated hildon_window_get_type
3567 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3568 documentation comment.
3570 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3572 * doc/Makefile.am: Complete list of private headers.
3574 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3576 * doc/hildon-docs.sgml
3577 * src/hildon-app-menu.c
3578 * src/hildon-bread-crumb.c
3579 * src/hildon-button.c
3581 * src/hildon-program.c
3582 * src/hildon-stackable-window.c
3583 * src/hildon-window.c: Lots of documentation updates.
3585 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3587 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3589 * configure.ac: Require Gtk+ 2.12.9 at least
3591 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3593 * src/hildon-pannable-area.c
3594 (hildon_pannable_area_scroll_indicator_fade),
3595 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3596 to protect the return of this timeout callbacks, avoiding deadlocks.
3598 2008-08-12 Christian Dywan <christian@imendio.com>
3601 * src/hildon-*.h: Ensure a consistent include order,
3602 include <gtk/gtk.h> instead of particular files and
3603 only include the topmost header in the gtk stack. See NB #39857
3605 2008-08-12 Christian Dywan <christian@imendio.com>
3607 * src/hildon-picker-dialog.c
3608 * src/hildon-touch-selector.c: Fix warnings about unused and
3609 uninitialized variables.
3611 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3613 * examples/Makefile.am
3614 * examples/hildon-check-button-example.c: Example of the hildon
3617 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3619 * src/hildon-window.h
3620 * src/hildon-window.c (hildon_window_class_init)
3621 (hildon_window_unset_program): Don't make
3622 hildon_window_unset_program a virtual function anymore.
3624 * src/hildon-stackable-window.c: Update documentation
3626 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3629 * doc/hildon-docs.sgml
3630 * doc/visual_index.xml
3631 * src/hildon-defines.c
3633 * src/hildon-helper.c
3634 * src/hildon-range-editor.c: Lots of documentation fixes.
3636 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3638 * examples/hildon-picker-button-multicolumn-example.c
3639 (create_touch_selector): Fix compilation warning.
3641 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3643 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3644 (hildon_pannable_area_button_release_cb)
3645 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3647 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3652 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3654 * src/hildon-bread-crumb-trail.h
3655 * src/hildon-date-editor.c
3656 * src/hildon-date-selector.c
3657 * src/hildon-pannable-area.c
3658 * src/hildon-picker-dialog.c
3659 * src/hildon-time-selector.c
3660 * src/hildon-touch-selector-entry.c
3661 * src/hildon-touch-selector.c
3662 * src/hildon-touch-selector.h: Misc documentation fixes
3664 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3666 * examples/hildon-date-editor-example.c (main): Updated date
3669 * examples/hildon-note-example.c (on_confirmation_clicked):
3670 Updated confirmation note example.
3672 * src/hildon-date-editor.c
3673 * src/hildon-note.c: Updated sample programs in documentation.
3676 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3678 * src/hildon-date-button.h:
3679 * src/hildon-picker-button.h:
3680 * src/hildon-time-button.c:
3681 * src/hildon-time-button.h:
3683 Some declarations changes to allow gtk-doc to document the widgets
3686 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3688 * src/hildon-date-button.c: Document the widget.
3689 * src/hildon-time-button.c: Document the widget.
3691 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3693 * src/hildon-picker-button.c: Document the widget.
3694 * src/hildon-touch-selector-entry.c: Document the widget.
3696 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3698 * doc/hildon-docs.sgml
3701 * src/hildon-check-button.h
3702 * src/hildon-check-button.c: New functions to create the Hildon
3706 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3708 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3710 * src/hildon-button.h
3711 * src/hildon-button.c
3712 (hildon_button_add_title_size_group)
3713 (hildon_button_add_value_size_group)
3714 (hildon_button_add_image_size_group)
3715 (hildon_button_add_size_groups): New functions to set size groups
3716 for the button labels and image.
3717 (hildon_button_new_full): Removed
3719 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3721 * src/hildon-time-selector.c
3722 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3723 in order to avoid a crash if gconf is not available
3725 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3727 * src/hildon-button.c (hildon_button_set_arrangement)
3728 (hildon_button_construct_child): Don't construct the button child
3729 before setting the arrangement.
3731 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3733 * src/hildon-program-private.h
3734 * src/hildon-program.c
3735 * src/hildon-program.h
3736 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3737 (hildon_program_peek_window_stack)
3738 (hildon_program_pop_window_stack)
3739 (hildon_program_go_to_root_window): HildonProgram now has a
3740 separate list for stackable windows. Functions are provided to
3741 manage that list with a stack-like API.
3743 * src/hildon-stackable-window.c: Stackable window management is
3744 now much simpler with the new HildonProgram API. Windows no
3745 longer need to be manually added to the program, they're
3746 automatically pushed to the top of the stack when shown.
3748 * examples/hildon-stackable-window-example.c: Updated example to
3749 reflect the API changes.
3751 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3753 * src/hildon-touch-selector.c: Comment out unimplemented
3754 hildon_touch_selector_insert_column() to avoid a compile warning.
3756 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3758 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3759 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3760 (hildon_touch_selector_set_column_selection_mode),
3761 (_hildon_touch_selector_set_model),
3762 (hildon_touch_selector_set_model):
3764 Complete review of HildonTouchSelector documentation.
3766 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3768 * doc/hildon-docs.sgml
3772 * src/hildon-gtk.c: Convenience functions for standard Gtk
3773 widgets, used to easily perform frequent operations.
3775 * src/hildon-button-helpers.h
3776 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3778 * src/hildon-helper.h
3779 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3780 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3782 * src/hildon-button.h
3783 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3785 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3787 * src/hildon-button.c (hildon_button_init)
3788 (hildon_button_set_arrangement, hildon_button_construct_child):
3789 Pack the image and the labels inside the same GtkAlignment so
3790 gtk_button_set_alignment() can be used
3792 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3794 * src/hildon-button.h
3795 * src/hildon-button.c
3796 (hildon_button_init, hildon_button_set_image)
3797 (hildon_button_set_image_position)
3798 (hildon_button_construct_child): New functions to add an image to
3801 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3803 * src/hildon-date-button.c
3804 * src/hildon-picker-button.c
3805 * src/hildon-time-button.c
3806 * src/hildon-button.c:
3807 (hildon_button_class_init): "size-flags" renamed to "size"
3808 (hildon_button_set_title): Hide the title label if set to NULL.
3810 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3812 HildonButtonFlags split into HildonButtonArrangement (to set the
3813 button layout) and HildonSizeType (which can be used for any
3816 * src/hildon-button.h
3817 * src/hildon-button.c
3818 (hildon_button_class_init)
3819 (hildon_button_set_arrangement)
3820 (hildon_button_set_property): New "size-flags"
3821 property. "arrangement-flags" renamed to "arrangement".
3822 (hildon_button_new, hildon_button_new_with_text)
3823 (hildon_button_new_full): Constructors updated to reflect type changes.
3825 * src/hildon-helper.h
3826 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3827 to set the size of a widget.
3831 * src/hildon-button-helpers.c
3832 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3834 * src/hildon-date-button.c
3835 * src/hildon-date-button.h
3836 * src/hildon-picker-button.c
3837 * src/hildon-picker-button.h
3838 * src/hildon-time-button.c
3839 * src/hildon-time-button.h: Updated widgets to reflect
3840 HildonButton API changes.
3842 * examples/hildon-button-example.c
3843 * examples/hildon-date-button-example.c
3844 * examples/hildon-picker-button-example.c
3845 * examples/hildon-picker-button-multicolumn-example.c
3846 * examples/hildon-time-button-example.c
3847 * examples/hildon-touch-selector-entry-example.c
3848 * examples/hildon-touch-selector-example.c: Updated examples to
3849 reflect HildonButton API changes.
3851 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3853 * doc/hildon-docs.sgml:
3855 * examples/Makefile.am:
3856 * examples/hildon-touch-selector-entry-example.c:
3858 * src/hildon-touch-selector-entry.c:
3859 * src/hildon-touch-selector-entry.h:
3862 Moved HildonTouchSelectorEntry from sandbox. Added its
3863 documentation and examples.
3865 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3867 * src/hildon-touch-selector.h:
3868 * examples/hildon-picker-button-multicolumn-example.c:
3869 (hildon_touch_selector_append_text_column): Add a gboolean
3870 parameter to determine if text must be centered in the column.
3872 * src/hildon-date-selector.c: (hildon_date_selector_init):
3873 * src/hildon-time-selector.c: (hildon_time_selector_init):
3874 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3875 (create_touch_selector): Update widgets and example to reflect
3878 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3880 * src/hildon-touch-selector.c:
3881 (hildon_touch_selector_set_active_iter): Set also the cursor in
3884 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3886 * doc/hildon-docs.sgml
3889 * src/hildon-toggle-button.c
3890 * src/hildon-toggle-button.h
3891 * src/hildon.h: Removed HildonToggleButton widget, a derived
3892 class is not necessary for this.
3894 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3896 * src/hildon-pannable-area.c,
3897 (hildon_pannable_area_realize),
3898 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3901 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3903 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3904 "done" button the default widget for the dialog.
3906 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3908 * src/hildon-touch-selector.c:
3909 (hildon_touch_selector_class_init),
3910 (hildon_touch_selector_get_property),
3911 (_hildon_touch_selector_set_model),
3912 (_hildon_touch_selector_has_multiple_selection),
3913 (hildon_touch_selector_has_multiple_selection):
3914 Add a "has-multiple-selection" property with a virtual
3915 has_multiple_selection() method to allow derived classes to
3916 override the default value for it. See the method and property
3917 documentation for details.
3919 * src/hildon-touch-selector.h: Add the new API.
3921 * src/hildon-picker-dialog.c: (requires_done_button): Call
3922 hildon_touch_selector_has_multiple_selection() instead of
3923 determining the need for a button itself.
3925 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3927 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3928 (_hildon_touch_selector_set_model),
3929 (hildon_touch_selector_set_model): Move working code to
3930 _hildon_touch_selector_set_mode(). Call the class method instead.
3932 * src/hildon-touch-selector.h: Add (*set_model) to
3933 HildonTouchSelectorClass.
3935 Make hildon_touch_selector_set_model() a virtual method, so that
3936 derived classes can extend it and do fancy stuff with the model.
3938 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3940 * configure.ac: Set back the tarname in AC_INIT to hildon.
3942 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3946 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3947 instead of libesd (NB#86876). Volume handling is still an open issue.
3949 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3952 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3954 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3955 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3956 derived class to ease placement of an entry widget in
3957 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3958 end, where the selector columns are packed now.
3960 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3962 * src/hildon-picker-button.c: Removed the simple _text() API.
3963 * src/hildon-picker-button.h: Likewise.
3965 * src/hildon-touch-selector.h:
3966 * src/hildon-touch-selector.c:
3967 (hildon_touch_selector_new_text),
3968 (hildon_touch_selector_append_text),
3969 (hildon_touch_selector_prepend_text),
3970 (hildon_touch_selector_insert_text):
3972 Moved the simple _text() API from HildonPickerButton to
3973 HildonTouchPicker, to provide better escalability and not to tie
3974 that API to HildonPickerButton.
3976 * examples/hildon-picker-button-example.c: (main): Example updated.
3978 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3980 * src/hildon-button.c: Updated documentation.
3982 * examples/hildon-button-example.c: Add the posibility to create
3983 the buttons using horizontal layout for title and value.
3985 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3987 * src/hildon-app-menu-private.h
3988 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3989 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3990 GtkSizeGroup for the filters, use the 'homogeneous' property of
3993 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3995 * examples/hildon-button-example.c: Updated example.
3997 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3999 * doc/hildon-docs.sgml:
4002 Update documentation.
4004 * examples/Makefile.am: Update renamed examples.
4006 * examples/hildon-picker-button-multicolumn-example.c:
4007 (create_touch_selector), (main): Update after the rename.
4009 * examples/hildon-touch-picker-example.c: Removed.
4010 * examples/hildon-touch-selector-example.c: (value_changed),
4011 (create_selector), (get_visible_content), (main): Renamed from
4012 hildon-touch-picker-example.c
4014 * src/Makefile.am: Updated renamed files.
4016 * src/hildon-date-button.c: (hildon_date_button_init),
4017 (hildon_date_button_get_date), (hildon_date_button_set_date):
4018 * src/hildon-date-selector.c: (hildon_date_selector_init),
4019 (_custom_print_func), (_update_day_model),
4020 (_manage_selector_change_cb),
4021 (hildon_date_selector_select_current_date),
4022 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4023 * src/hildon-date-selector.h:
4024 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4025 (hildon_picker_button_set_property),
4026 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4027 (hildon_picker_button_init), (hildon_picker_button_new_text),
4028 (hildon_picker_button_append_text),
4029 (hildon_picker_button_prepend_text),
4030 (hildon_picker_button_insert_text),
4031 (hildon_picker_button_set_selector),
4032 (hildon_picker_button_get_selector):
4033 * src/hildon-picker-button.h:
4034 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4035 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4036 (_update_title_on_selector_changed_cb), (requires_done_button),
4037 (_hildon_picker_dialog_set_selector),
4038 (hildon_picker_dialog_set_selector),
4039 (hildon_picker_dialog_get_selector):
4040 * src/hildon-picker-dialog.h:
4041 * src/hildon-time-button.c: (hildon_time_button_init),
4042 (hildon_time_button_get_time), (hildon_time_button_set_time):
4043 * src/hildon-time-selector.c: (hildon_time_selector_init),
4044 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4045 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4046 * src/hildon-time-selector.h:
4049 Massive code updates after the rename.
4051 * src/hildon-touch-picker.c: Removed.
4052 * src/hildon-touch-picker.h: Removed.
4054 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4055 (hildon_touch_selector_init), (hildon_touch_selector_map),
4056 (hildon_touch_selector_remove), (_default_print_func),
4057 (_selection_changed_cb), (_create_new_column),
4058 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4059 (hildon_touch_selector_append_text_column),
4060 (hildon_touch_selector_remove_column),
4061 (hildon_touch_selector_set_column_attributes),
4062 (hildon_touch_selector_insert_column),
4063 (hildon_touch_selector_get_num_columns),
4064 (hildon_touch_selector_get_column_selection_mode),
4065 (hildon_touch_selector_set_column_selection_mode),
4066 (hildon_touch_selector_set_print_func),
4067 (hildon_touch_selector_get_print_func),
4068 (hildon_touch_selector_get_active_iter),
4069 (hildon_touch_selector_set_active_iter),
4070 (hildon_touch_selector_get_selected_rows),
4071 (hildon_touch_selector_get_model),
4072 (hildon_touch_selector_set_model),
4073 (hildon_touch_selector_get_current_text),
4074 (_hildon_touch_selector_center_on_selected_items):
4075 * src/hildon-touch-selector.h: Renamed from
4076 hildon-touch-picker.[ch]
4078 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4079 references, code examples, and related documentation.
4081 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4083 * doc/hildon-docs.sgml
4086 * src/hildon-toggle-button.c
4087 * src/hildon-toggle-button.h
4088 * src/hildon.h: New HildonToggleButton widget.
4090 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4092 * src/hildon-button.c: Add API documentation.
4093 (hildon_button_set_size_groups): Check input parameters
4095 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4097 * src/hildon-pannable-area.c
4098 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4099 effect after reaching the movement thredshold. This way we start
4100 using the distance after passing the thredshold.
4102 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4104 * src/hildon-button.c: (hildon_button_set_property): Use the
4105 appropriate g_value_get_flags() method.
4107 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4109 * doc/hildon-docs.sgml:
4112 Add the touch pickers, picker dialogs, and picker button widgets
4113 to the documentation.
4115 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4117 * src/hildon-button.c: (hildon_button_set_property),
4118 (hildon_button_class_init): Make "arrangement-flags" a proper
4119 G_TYPE_FLAGS derived property.
4121 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4123 * examples/Makefile.am: Add below examples.
4124 * examples/hildon-date-button-example.c:
4125 * examples/hildon-picker-button-example.c:
4126 * examples/hildon-picker-button-multicolumn-example.c:
4127 * examples/hildon-time-button-example.c:
4128 * examples/hildon-touch-picker-example.c:
4130 Add examples for the recently added touch pickers,
4131 picker dialogs, and picker button widgets.
4133 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4135 * src/hildon-button.c: Add some API documentation
4137 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4139 * src/hildon-button.h
4140 * src/hildon-button.c
4142 (hildon_button_new_with_text): New constructor to create a button
4143 with no text at all.
4144 (hildon_button_init, hildon_button_set_arrangement)
4145 (hildon_button_set_title, hildon_button_set_value)
4146 (hildon_button_set_text)
4147 (hildon_button_construct_child): Hide the value when it's not used
4148 so the rest of the text is properly aligned.
4149 Allow creating buttons with arbitrary widgets inside (not just
4150 title/value labels).
4152 * examples/hildon-button-example.c (vertical_buttons_window)
4153 (horizontal_buttons_window): Update example to use new API.
4155 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4157 * src/Makefile.am: Added HildonTimeButton.
4158 * src/hildon-time-button.c: Added missing LGPL header.
4159 * src/hildon-time-button.h: Added missing LGPL header.
4160 * src/hildon.h: Add hildon-time-button.h
4162 Copied HildonTimeButton from sandbox to trunk. Future work on this
4163 widget must take place in trunk.
4165 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4167 * src/Makefile.am: Added HildonDateButton.
4168 * src/hildon-date-button.c: Update includes.
4169 * src/hildon.h: Add hildon-date-button.h
4171 Copied HildonDateButton from sandbox to trunk. Future work on this
4172 widget must take place in trunk.
4174 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4176 * src/Makefile.am: Added HildonPickerButton.
4177 * src/hildon-picker-button.h: Update includes.
4178 * src/hildon.h: Add hildon-picker-button.h
4180 Copied HildonPickerButton from sandbox to trunk. Future work on
4181 this widget must take place in trunk.
4183 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4185 * src/Makefile.am: Added HildonPickerDialog.
4186 * src/hildon-picker-dialog.c: Update includes.
4187 * src/hildon.h: Add hildon-picker-dialog.h
4189 Copied HildonPickerDialog from sandbox to trunk. Future work
4190 on this widget must take place in trunk.
4192 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4194 * src/Makefile.am: Added HildonTimeSelector.
4195 * src/hildon.h: Add hildon-time-selector.h
4197 Copied HildonTimeSelector widget from sandbox to trunk. Future
4198 work on this widget must happen in trunk.
4200 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4202 * src/Makefile.am: Added HildonDateSelector.
4203 * src/hildon.h: Add hildon-date-selector.h
4205 Copied HildonDateSelector widget from sandbox to trunk. Future
4206 work on this widget must happen in trunk.
4208 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4210 * src/Makefile.am: Added HildonTouchPicker.
4211 * src/hildon-touch-picker.c: Update includes.
4212 * src/hildon.h: Add hildon-touch-picker.h
4214 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4215 on this widget must happen in trunk.
4217 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4219 * src/hildon-pannable-area.c:
4220 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4222 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4224 * examples/hildon-app-menu-example.c (main): Let the window
4227 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4229 * src/hildon-pannable-area.c
4230 (hildon_pannable_area_class_init): Set the min value of the
4231 overshoot properties to zero, which points out that not
4232 overshooting allowed.
4234 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4236 Modified the procedure to get the widget at a point inside the
4237 pannable area when using the movement type signals. Now the user
4238 has to call a function to get the child, that way we just
4239 calculate the child in case the user really want to use it and not
4242 * src/hildon-marshalers.list: Modified the marshallers, now we do
4243 not have the widget as a parameter.
4245 * src/hildon-pannable-area.c
4246 (hildon_pannable_area_motion_notify_cb),
4247 (hildon_pannable_area_class_init),
4248 (hildon_pannable_get_child_widget_at): Removed the widget
4249 parameter from the signal callback. We have also refactored the
4250 emission of the signals.
4252 * src/hildon-pannable-area.h: Added a new method to the API to
4253 calculate a widget at a point inside the pannable area,
4254 hildon_pannable_get_child_widget_at.
4256 * examples/hildon-pannable-area-example-4.c
4257 (horizontal_movement): Modified the example to use the new API,
4258 added condition to control which widget is under the event. This
4259 way we can avoid scrolling laterally over other widgets.
4261 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4263 * src/hildon-pannable-area.c
4264 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4265 modes, we stop getting the pointer events due to returning the
4266 callback without properly calling the get pointer again. Fixed
4267 also an error using the hscroll and vscroll.
4269 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4271 * src/hildon-app-menu-private.h
4272 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4273 (hildon_app_menu_button_release, hildon_app_menu_init)
4274 (hildon_app_menu_class_init): Don't hide the menu on button
4275 release if the user didn't press outside first.
4277 * src/hildon-window.h
4278 * src/hildon-window.c (hildon_window_toggle_menu)
4279 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4280 hildon_window_toggle_menu a virtual function for the stackable
4281 window to override it.
4283 * src/hildon-stackable-window.h
4284 * src/hildon-stackable-window-private.h
4285 * src/hildon-stackable-window.c
4286 (hildon_stackable_window_realize)
4287 (hildon_stackable_window_finalize)
4288 (hildon_stackable_window_class_init)
4289 (hildon_stackable_window_init)
4290 (hildon_stackable_window_set_main_menu): New function to set the
4291 app menu of a HildonStackableWindow.
4293 * examples/hildon-app-menu-example.c: Remove the button to show
4294 the app menu, now it'll be shown when clicking on the title bar
4297 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4299 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4300 set the widget name if the arrangement flags do not specify
4303 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4305 * src/hildon-button.c: (hildon_button_set_property),
4306 (hildon_button_class_init), (hildon_button_new_full),
4307 (hildon_button_set_arrangement): Added "arrangement-flags"
4310 Make the HildonButtonFlags a construction-only property, to allow
4311 subclasses to set them properly.
4313 2008-07-21 Tim Janik <timj@imendio.com>
4315 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4316 insertion position after backspace, so additional digits are appended,
4319 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4321 * src/hildon-pannable-area.c,
4322 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4323 TODO list, it was complete and removed the g_debug and g_print
4326 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4328 Added the movement modes to the hildon-pannable-area, with this
4329 modes the developers can control in which directions the widget
4330 can scroll. They can also connect to signals in order to do
4331 something when that happens, allowing applications scroll. There
4332 is an example uploaded showing how to use it.
4334 * examples/Makefile.am:
4335 * examples/hildon-pannable-area-example-4.c: Added this example of
4336 an application using the modes.
4338 * src/hildon-marshalers.list: Added a new marshaller for the new
4341 * src/hildon-pannable-area.h: Added new enumerations and flags in
4342 order to control the movement modes and the new signals to warn
4343 about the movements in the area.
4345 * src/hildon-pannable-area.c:
4346 (hildon_pannable_axis_scroll),
4347 (hildon_pannable_area_scroll),
4348 (hildon_pannable_area_motion_notify_cb),
4349 (hildon_pannable_area_get_property),
4350 (hildon_pannable_area_set_property),
4351 (hildon_pannable_area_map),
4352 (hildon_pannable_area_class_init),
4353 (hildon_pannable_area_init),
4354 (hildon_pannable_area_jump_to): Added the modes to control the
4355 movement in the widget. We have added properties to control it,
4356 signals to warn about the movements and refactored some code.
4358 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4360 Changes required in order to allow vfast_factor set to zero to
4363 * src/hildon-pannable-area.c:
4364 (hildon_pannable_area_button_press_cb): Changed the condition, it
4365 is required for not allowing click when vfast_factor is zero.
4366 (hildon_pannable_area_timeout): Initialized velocity variables
4367 when we stop moving, it was less than 1 but not zero and we need
4368 to check zero in some situations.
4369 (hildon_pannable_area_class_init): Changed the default value of
4370 the speed factor, now the button_press is just sent in case the
4371 speed is 2 per cent of the max speed.
4372 (hildon_pannable_area_init): Initialization with 0.
4374 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4376 * src/hildon-pannable-area.c,
4377 (hildon_pannable_area_get_topmost): replaced
4378 gdk_window_get_children with gdk_window_peek_children, this way we
4379 do not have to free the list because it is not a copy.
4381 (hildon_pannable_axis_scroll),
4382 (hildon_pannable_area_scroll),
4383 (hildon_pannable_area_timeout),
4384 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4385 two parameters that were only used inside the
4386 hildon_pannable_area_scroll function.
4388 * examples/hildon-pannable-area-example.c,
4389 (get_sawtooth_label): Fixed small memory leak.
4391 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4393 More checks for the case where the overshoot is bigger than the
4396 * src/hildon-pannable-area.c:
4397 (hildon_pannable_draw_vscroll),
4398 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4399 to draw the slider of the scrollbar under the other scrollbar.
4400 (hildon_pannable_area_expose_event): added new checks to control
4401 the drawing of the overshooting area rectangle, in case it is too
4402 big for the area of the widget.
4403 (hildon_pannable_area_size_allocate): add more checks to avoid
4404 setting a position to the child widget outside the area.
4406 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4408 * src/hildon-pannable-area.c
4409 (hildon_pannable_area_size_allocate): Added conditions to control
4410 when overshooting is bigger than the allocated space for the
4411 children, this avoids negative allocations.
4413 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4415 * doc/hildon-docs.sgml
4417 * examples/Makefile.am
4418 * examples/hildon-button-example.c
4420 * src/hildon-button.c
4421 * src/hildon-button.h
4422 * src/hildon.h: Initial version of the new HildonButton widget,
4425 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4427 * src/hildon-pannable-area.c:
4428 (hildon_pannable_area_button_press_cb),
4429 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4430 (hildon_pannable_area_motion_notify_cb),
4431 (hildon_pannable_area_button_release_cb),
4432 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4433 (hildon_pannable_area_jump_to_child):
4435 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4437 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4439 * examples/Makefile.am
4440 * examples/hildon-pannable-area-touch-grid-example.c
4441 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4442 the Hildon Touch List and Hildon Touch Grid using the
4443 HildonPannableArea widget.
4445 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4447 * src/hildon-pannable-area.c,
4448 (hildon_pannable_area_button_press_cb),
4449 (hildon_pannable_area_refresh),
4450 (hildon_pannable_area_scroll),
4451 (hildon_pannable_area_motion_notify_cb),
4452 (hildon_pannable_area_button_release_cb),
4453 (hildon_pannable_area_expose_event),
4454 (hildon_pannable_area_add),
4455 (hildon_pannable_area_remove),
4456 (hildon_pannable_area_realize),
4457 (hildon_pannable_area_size_allocate),
4458 (hildon_pannable_area_class_init),
4459 (hildon_pannable_area_init),
4460 (hildon_pannable_area_scroll_to_child),
4461 (hildon_pannable_area_jump_to_child): Fixed the problem of
4462 removing the child from the GtkBin, we have rearranged the widget
4463 hierarchy, now there is no GtkAlignment which was not doing
4464 anything interesting but breaking some of the assumptions of
4465 GtkContainer. Now developers if they want to add a GtkAlignment
4466 they could, but it is not inside the area.
4468 We had to review the whole allocation/expose process, now it is
4469 improved and we save at least three signals which would be saving
4470 some time when rendering the widget. The allocation of the
4471 scrollbars is now made in the allocate method as usual.
4473 We have also added some conditions in order to control when there
4474 is no child of the pannable area. Maybe we will need more work
4477 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4479 * src/hildon-pannable-area.c,
4480 (hildon_pannable_area_dispose): Released the fade-out timeout when
4481 disposing the widget.
4483 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4485 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4486 zero, we are going to use that property in order to deactivate the
4488 (hildon_pannable_axis_scroll),
4489 (hildon_pannable_area_size_allocate): Added conditions to control
4490 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4491 call, now it is called in all situations and we can remove calls
4492 in the allocate method.
4493 (hildon_pannable_area_map): Control the situation when
4494 overshoot_max is zero, we do not need the timeout.
4495 (hildon_pannable_area_class_init): Added documentation in order to
4496 point out that setting zero to overshoot_max means deactivate
4499 NOTE: removed trailing whitespaces from my previous comments of
4502 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4504 * src/hildon-pannable-area.c
4505 (hildon_pannable_area_get_property),
4506 (hildon_pannable_area_set_property),
4507 (hildon_pannable_area_map),
4508 (hildon_pannable_area_class_init),
4509 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4510 to cause the widget give a hint about its panning abilities upon
4513 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4515 * src/hildon-pannable-area.c: Several documentation improvements.
4517 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4519 * src/hildon-program.c
4520 * src/hildon-stackable-window.c: Update documentation.
4522 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4524 * src/hildon-stackable-window.c (get_previous_window_if_last):
4525 Renamed get_last_window()
4526 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4527 (hildon_stackable_window_unset_program):
4529 (get_previous_window_if_last):
4530 Detect if the window hasn't been added to a HildonProgram.
4532 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4534 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4536 * src/hildon-pannable-area.c
4537 (hildon_pannable_area_button_press_cb),
4538 (hildon_pannable_axis_scroll),
4539 (hildon_pannable_area_scroll),
4540 (hildon_pannable_area_timeout),
4541 (hildon_pannable_calculate_vel_factor),
4542 (hildon_pannable_area_get_property),
4543 (hildon_pannable_area_set_property),
4544 (hildon_pannable_area_class_init),
4545 (hildon_pannable_area_init),
4546 (hildon_pannable_area_scroll_to),
4547 (hildon_pannable_area_jump_to),
4548 (hildon_pannable_area_scroll_to_child),
4549 (hildon_pannable_area_jump_to_child):
4550 * src/hildon-pannable-area.h: Added the new API functions:
4551 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4552 hildon_pannable_area_scroll_to_child,
4553 hildon_pannable_area_jump_to_child
4556 * examples/Makefile.am
4557 * examples/hildon-pannable-area-example-2.c
4558 * examples/hildon-pannable-area-example-3.c: Added these two new
4559 examples in order to test and show how the new APIs work.
4561 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4563 * examples/hildon-stackable-window-example.c (new_window):
4564 * src/Makefile.am (noinst_HEADERS):
4565 * src/hildon-program.c (hildon_program_go_to_root_window):
4566 * src/hildon-program.h:
4567 * src/hildon-stackable-window-private.h:
4568 * src/hildon-stackable-window.c:
4569 * src/hildon-stackable-window.h:
4570 Create hildon-stackable-window-private.h
4571 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4573 * examples/hildon-app-menu-example.c (create_menu):
4574 * examples/hildon-hvolumebar-insensitive-example.c (main):
4575 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4576 * examples/hildon-toolbar-seekbar-example.c (main):
4577 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4578 * src/hildon-banner.c (hildon_banner_set_property):
4579 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4580 Fix compilation warnings
4582 * src/hildon-window.c:
4585 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4587 * src/hildon-stackable-window.c
4588 (hildon_stackable_window_unset_program):
4589 Calculate correctly whether to show the previous window if the
4590 last one is removed from the stack.
4591 (hildon_stackable_window_go_to_root_window):
4592 Send delete events starting from the topmost window.
4593 Stop if one of the windows is not destroyed.
4595 (hildon_stackable_window_delete_event)
4596 (hildon_stackable_window_class_init):
4597 Ignore the delete event if the window is not the topmost one.
4599 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4601 * src/hildon-pannable-area.c
4602 (hildon_pannable_area_expose_event): Fixed a problem when
4603 selecting the background color of the scrollbars.
4605 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4607 * examples/hildon-stackable-window-example.c
4608 * src/hildon-stackable-window.c
4609 * src/hildon-stackable-window.h
4610 hildon_stackable_window_go_home() renamed to
4611 hildon_stackable_window_go_to_root_window()
4612 Send delete events to windows rather than closing them with
4613 gtk_widget_destroy()
4615 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4617 * src/hildon-pannable-area.c
4618 (hildon_pannable_area_button_release_cb): Fix overshooting in
4621 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-pannable-area.c
4624 (hildon_pannable_area_init): Initially show the scroll indicators.
4625 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4627 Add initial effect showing the widget is pannable.
4629 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4631 * src/hildon-pannable-area.c
4632 (hildon_pannable_area_class_init)
4633 (hildon_pannable_area_set_property)
4634 (hildon_pannable_area_get_property)
4635 (hildon_pannable_area_button_press_cb):
4636 New 'velocity_fast_factor' property to decide which velocity is
4639 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4641 * src/hildon-pannable-area.c
4642 (hildon_pannable_draw_hscroll)
4643 (hildon_pannable_draw_vscroll):
4644 Use float variables to calculate the size of the scrollbars to
4645 avoid error propagation and resizing during scrolling.
4647 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-pannable-area.c
4650 (hildon_pannable_draw_vscroll)
4651 (hildon_pannable_draw_hscroll):
4652 Define a minimum size for the scroll bars
4654 * src/hildon-stackable-window.c
4655 (hildon_stackable_window_go_home): Fix compilation warning
4656 (get_last_window): Minor optimizations
4657 (hildon_stackable_window_class_init): Fix initialization of
4660 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4662 * src/hildon-stackable-window.c: Fixed typos in doc
4664 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4666 * src/hildon-pannable-area.c
4667 (hildon_pannable_area_scroll):
4668 Calculate here whether we need to scroll instead of using the booleans
4669 that tell us whether to /draw/ the scrolling bars.
4671 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4673 * src/hildon-app-menu.h
4675 * src/hildon-app-menu.c
4676 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4677 multiple filter groups related code and API. Now we support only
4679 * examples/hildon-app-menu-example.c:
4681 Update to reflect API changes.
4683 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4685 * src/hildon-stackable-window.c
4686 (hildon_stackable_window_class_init):
4687 Add hildon_stackable_window_realize.
4688 (hildon_stackable_window_realize):
4689 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4690 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4691 to apply theming and behavior specific to HildonStackableWindow
4694 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4696 * src/hildon-note.c (hildon_note_button_release):
4697 Close information notes also when tapping on them
4699 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4701 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4702 ELASTICITY, refactor and review, fix some issues with drawing
4705 * src/hildon-pannable-area.c:
4706 (hildon_pannable_area_button_press_cb): removed the conditions to
4707 avoid clicks when overshooting. It is not required
4709 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4710 define. Refatored and reviewed the code, now we do not need to
4711 manage velocity in motion_notify.
4713 (hildon_pannable_area_motion_notify_cb): We have moved the code
4714 that controls the area_scroll to the axis_scroll function and get
4715 rid of duplicated code.
4717 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4719 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4721 (hildon_pannable_draw_vscroll),
4722 (hildon_pannable_draw_hscroll): Fixed the problems with the
4723 scrollbar drawing, now we do not use two surfaces, it is easier
4724 and saves resources.
4726 (hildon_pannable_area_get_property): Style modification.
4728 (hildon_pannable_area_class_init): Changed some default values.
4730 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4732 * src/hildon-stackable-window.c: Fix some typos in the
4735 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4737 * src/hildon-dialog.c:
4738 Change indentation style
4741 (hildon_note_button_release):
4742 Use root coordinates to check if the release event happened
4745 * src/hildon-app-menu.c
4746 (hildon_app_menu_button_release):
4747 Remove unnecessary check
4749 * examples/hildon-app-menu-example.c
4751 Add cast to fix warning
4753 * src/hildon-app-menu.c
4754 (hildon_app_menu_class_init):
4755 New inner-border style property.
4756 Set all default spacings to 16
4757 (hildon_app_menu_init):
4758 Use vertical-spacing to set the space between filter buttons and
4759 regular menu buttons.
4760 Set the default container border using the inner-border value.
4762 * examples/hildon-app-menu-example.c
4764 Don't set the menu border explicitly, now we have the inner-border
4765 style property for that.
4767 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-app-menu.c (hildon_app_menu_init):
4770 Make the window modal
4772 * src/hildon-note.c (hildon_note_map)
4773 * src/hildon-app-menu.c (hildon_app_menu_map):
4774 Destroy the grab window if we're unable to grab the pointer
4776 * src/hildon-app-menu-private.h
4777 * src/hildon-app-menu.c
4778 (hildon_app_menu_init, hildon_app_menu_finalize)
4779 (hildon_app_menu_map, hildon_app_menu_unmap)
4780 (hildon_app_menu_button_release)
4781 (grab_transfer_window_get):
4782 Bring back the grab window
4783 (hildon_app_menu_realize):
4784 Decorate the window, set WM hint for Matchbox
4786 * src/hildon-note.c (hildon_note_realize):
4787 * src/hildon-banner.c (hildon_banner_realize):
4788 Add WM hints for Matchbox
4790 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4792 * src/hildon-app-menu-private.h
4793 * src/hildon-app-menu.c
4794 (hildon_app_menu_init, hildon_app_menu_finalize)
4795 (hildon_app_menu_map, hildon_app_menu_unmap)
4796 (hildon_app_menu_button_release):
4797 Remove the grab window, it's not needed anymore
4799 * src/hildon-program.c
4800 Fixed typo in documentation
4802 * src/hildon-app-menu.h
4803 * src/hildon-app-menu.c
4804 * examples/hildon-app-menu-example.c
4805 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4807 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4810 Added new transfer_window and close_if_pressed_outside private
4812 (hildon_note_rebuild):
4813 Don't add a cancel button to the information note. It will be
4814 closed when tapping outside
4815 Remove the comment about the OK button in the documentation
4816 (hildon_note_realize):
4817 Set the notification type hint
4818 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4819 Grab/ungrab pointer and keyboard if the note has to be closed when
4821 (hildon_note_button_release):
4822 Close the note when tapping outside (if applicable)
4824 * src/hildon-app-menu.c
4825 Grab/ungrab pointer and keyboard on map/unmap
4826 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4827 Close the menu on button release, not button press
4829 * src/hildon-banner.c
4830 (hildon_banner_set_property)
4831 (hildon_banner_check_position):
4832 Make the banner use the full width of the screen
4833 (hildon_banner_show_information)
4834 (hildon_banner_show_information_with_markup):
4835 Don't display an icon by default
4837 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4839 Added fading scrollbars and adapted all the overshooting code to
4840 horizontal scrolling. We have also fixed bugs with overshooting
4841 and current fading implementation.
4843 * src/hildon-pannable-area.c
4844 (hildon_pannable_area_scroll_indicator_fade): Time out function
4845 used to change the transparency of the scrollbars.
4847 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4848 control and fixed a problem with fading, we now remove the fade
4849 timeout before adding a new one.
4851 (hildon_pannable_axis_scroll):
4852 (hildon_pannable_area_scroll):
4853 (hildon_pannable_area_timeout): Added this functions so we can use
4854 the scroll code both for vertical and horizontal.
4856 (hildon_pannable_area_motion_notify_cb):
4857 (hildon_pannable_area_button_release_cb): Added the horizontal
4858 scrolling control, fixed a problem with the overshooting timeout.
4860 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4861 painting of the scrolls.
4863 (hildon_pannable_draw_vscroll):
4864 (hildon_pannable_draw_hscroll):
4865 (hildon_pannable_area_expose_event):
4866 Draw both scrollbars and rectangles in the overshooting area.
4868 (hildon_pannable_area_get_property):
4869 (hildon_pannable_area_set_property):
4870 Modified the overshoot property to overshoot_max
4872 (hildon_pannable_area_map):
4873 Replaced the comments symbols.
4875 (hildon_pannable_area_size_allocate):
4876 (hildon_pannable_area_class_init):
4877 (hildon_pannable_area_init): Added horizontal scroll, fading
4878 effect properties, fixed a problem when overshooting in the bottom
4881 * examples/hildon-pannable-area-example.c:
4882 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4883 looks better in the example.
4885 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4887 * src/hildon-window.c
4888 * src/hildon-window.h
4889 (hildon_window_class_init)
4890 (hildon_window_unset_program)
4891 (hildon_window_unset_program_real):
4892 Make unset_program a virtual function
4894 * src/hildon-stackable-window.c
4895 * src/hildon-stackable-window.h
4896 Added hildon_stackable_window_go_home()
4898 * examples/Makefile.am
4899 * examples/hildon-stackable-window-example.c
4900 HildonStackableWindow example
4902 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4904 * hildon-pannable-area.c: Added the overshoot property and removed
4905 the OVERSHOOT define. Fixed an indent style error.
4906 (hildon_pannable_area_motion_notify_cb):
4907 (hildon_pannable_area_get_property):
4908 (hildon_pannable_area_set_property): Add overshoot property.
4910 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4913 (hildon_pannable_area_class_init): Installed the new property.
4915 * hildon-pannable-area-example.c: Added a sawtooth function, this
4916 way it is easier to check the movement in the pannable.
4917 (get_sawtooth_label): Added this function.
4918 (main): Now we get the labels from the new get_sawtooth_label
4921 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4923 * src/hildon-app-menu.h
4924 * src/hildon-app-menu.c
4925 Renamed API variables for consistency
4927 (hildon_app_menu_popup): Use also the default window size to
4928 decide where to place the menu
4930 (hildon_app_menu_init, hildon_app_menu_class_init): New
4931 external-border style property
4933 2008-05-26 Michael Natterer <mitch@imendio.com>
4935 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4936 widget_class->tap_and_hold_setup signal slot doesn't exist any
4937 longer, stop overriding it.
4939 (hildon_time_editor_init): g_signal_connect() to the
4940 tap-and-hold-setup signal instead.
4942 (hildon_time_editor_entry_keypress): add cast to fix warning.
4944 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4946 * doc/hildon-docs.sgml
4948 * examples/Makefile.am
4949 * examples/hildon-app-menu-example.c
4951 * src/hildon-app-menu-private.h
4952 * src/hildon-app-menu.c
4953 * src/hildon-app-menu.h
4955 New HildonAppMenu widget
4957 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4959 Rearranged the inheritance of the pannable area, now it inherits
4960 from GtkBin. This will allow us to control the event_window and
4961 the allocation process of the widget, required for some effects.
4963 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4964 GtkBin structures. * src/hildon-pannable-area.c: Added the
4965 event_window variable.
4966 (hildon_pannable_area_button_press_cb):
4967 (hildon_pannable_area_button_release_cb):
4968 (hildon_pannable_area_motion_notify_cb):
4969 Changed the signature of the method, now we override the event
4970 callback instead of connecting to the signal.
4972 (hildon_pannable_area_realize):
4973 (hildon_pannable_area_unrealize):
4974 (hildon_pannable_area_map):
4975 (hildon_pannable_area_unmap):
4976 (hildon_pannable_area_size_allocate):
4977 Added functions to control the widget construction. We add a
4978 INPUT_ONLY window and we put it over the widgets inside the
4979 container, this event_window handles the events.
4981 (hildon_pannable_area_class_init):
4982 Replaced the signal connections with overrides of the event
4985 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4987 Bouncing effect added when touching the borders, you can change
4988 the elasticity of the border changing the ELASTICITY define.
4990 * src/hildon-pannable-area.c: Added ELASTICITY define.
4991 (hildon_pannable_area_timeout): Added inverse velocity when
4992 touching the border of the child widget, that causes a bounce.
4994 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4996 Improved performance, we now do not go to the X server in order to
4997 get the list of window children. Apparently the effect is the
4998 same, we have to be careful and check if this breaks something in
5001 * src/hildon-pannable-area.c:
5002 (get_ordered_children): Removed this function.
5003 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5004 the children windows function with gdk_window_get_children.
5006 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5008 * src/hildon-pannable-area.c:
5009 (hildon_pannable_area_dispose): Fixed a crash when closing the
5010 window and kinetics is activated.
5012 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5014 * src/hildon-pannable-area.h
5015 * src/hildon-pannable-area.c
5016 Changed indentation style to meet the one used in Hildon
5018 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5020 Reviewed the interaction of the AUTO mode, now we use the time
5021 attribute of the events and calculate the velocity in the motion,
5022 doing a gimp like calculation. The velocity is calculated in each
5023 motion event using the last velocity and the current one, the
5024 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5026 * src/hildon-pannable-area.c: Replaced the time based algorithm
5028 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5029 timeout for the AUTO mode when we are still moving the cursor. We
5030 added also the velocity calculation in this function.
5031 (hildon_pannable_area_button_release_cb): launch the timeout in
5032 case we are in AUTO mode. There are still some constants here that
5033 come from the old implementation that should be reviewed and
5036 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5038 * doc/hildon-docs.sgml
5041 * src/hildon-stackable-window.c
5042 * src/hildon-stackable-window.h
5044 New HildonStackableWindow widget
5046 * examples/hildon-dialog-example.c
5047 * examples/hildon-pannable-area-example.c
5050 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5052 * src/hildon-dialog.c
5053 (hildon_dialog_new_with_buttons): New constructor.
5055 * examples/hildon-dialog-example.c
5056 (main): Update the example to use the new
5057 hildon_dialog_new_with_buttons().
5059 * examples/hildon-pannable-area-example.c
5060 (main): Update example.
5062 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5064 * doc/hildon-docs.sgml
5066 Added HildonPannableArea to the documentation.
5068 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5070 * doc/visual_index.xml
5071 Fix reference to HildonLoginDialog in documentation
5073 * doc/hildon-docs.sgml
5075 * examples/Makefile.am
5076 * examples/hildon-dialog-example.c
5078 * src/hildon-dialog.c
5079 * src/hildon-dialog.h
5081 New HildonDialog widget.
5083 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5085 * src/hildon-pannable-area.c
5086 Merge latest changes (r4318, r4342) from libmokoui trunk
5088 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5090 * examples/Makefile.am
5091 * examples/hildon-pannable-area-example.c
5093 * src/hildon-pannable-area.c
5094 * src/hildon-pannable-area.h
5096 New HildonPannableArea widget.
5098 2008-04-15 18:05:19 <timj@imendio.com>
5100 * src/hildon-banner.c: revert the recent change, that introduced
5101 gtk_window_present() calls. this reopens:
5102 Bug 78481 - [freetest] information banners are hidden under browser menu
5103 But resolves another variant of:
5104 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5106 2008-04-15 13:21:13 <timj@imendio.com>
5108 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5109 recreated its layout, spotted by Kris. this fixes all remaining
5110 artefacts and stability issues with the banner code. in particular:
5111 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5113 2008-04-14 16:52:59 <timj@imendio.com>
5115 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5116 operating on unrealized widgets, fixes:
5117 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5119 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5121 2008-04-09 Kristian Rietveld <kris@imendio.com>
5123 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5124 makes banner disappear.
5125 Fixes: NB#79182: info banner flickering with certain message lengts.
5127 * src/hildon-banner.c (hildon_banner_constructor),
5128 (hildon_banner_init), (hildon_banner_set_text),
5129 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5130 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5131 FALSE, reset size requests of label and banner,
5132 (force_to_wrap_truncated): when the text is too wide, always enforce
5133 the maximum possible width instead of recalculating it from the
5134 layout; enforce the maximum banner height of 3 lines,
5135 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5136 nicer wrapping and no truncated chars if space gets tight.
5138 * src/hildon-banner-private.h: add has_been_wrapped and
5139 has_been_truncated fields.
5141 2008-04-07 Sven Herzberg <sven@imendio.com>
5143 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5144 local values in hildon_date_editor_size_allocate
5146 * src/hildon-date-editor.c: moved the real allocation code into the
5149 2008-04-07 Sven Herzberg <sven@imendio.com>
5151 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5152 local values in hildon_date_editor_size_allocate
5154 * src/hildon-date-editor.c: merged the two if() branches together
5156 2008-04-07 Sven Herzberg <sven@imendio.com>
5158 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5159 local values in hildon_date_editor_size_allocate
5161 * src/hildon-date-editor.c: changed the arguments of the if()
5164 2008-04-07 Sven Herzberg <sven@imendio.com>
5166 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5167 local values in hildon_date_editor_size_allocate
5169 * src/hildon-date-editor.c: split the calculation of the allocation
5170 from the real allocation
5172 2008-03-27 Michael Natterer <mitch@imendio.com>
5174 Fixes: NB#81696: The passcode is not overwritten even after
5177 * src/hildon-code-dialog.c
5178 (hildon_code_dialog_button_clicked)
5179 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5180 because that doesn't overwrite selected text. Instead, emit the
5181 "commit" signal on the entry's im_context so the entry's normal
5182 insert logic is triggered. Set the cursor to the end of the entry
5183 after each insert operation so that we *only* insert in the middle
5184 of the text if something was selected.
5186 2008-03-27 Michael Natterer <mitch@imendio.com>
5188 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5189 selector cannot be opened
5191 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5192 when the popup color selector is created. Please connect to this
5193 signal in order to set the dialog's help ID.
5195 2008-03-25 Sven Herzberg <sven@imendio.com>
5197 Fixes: MB#1212: Hide info banners (infoprints) on click
5199 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5200 extracted the close event simulation into an extra function
5201 (hildon_banner_button_press_event): simulate a close event and destroy
5202 the widget if the event wasn't handled
5203 (hildon_banner_class_init): added the button_press_event handler
5204 (hildon_banner_init): added button-press events to the widget
5206 2008-03-25 Sven Herzberg <sven@imendio.com>
5208 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5209 Patch from: Mohammad Anwari <mdamt@maemo.org>
5211 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5212 instead of the right in RTL mode
5213 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5214 breadcrumb button list in RTL mode
5215 * src/hildon-caption.c: mirror the appearance of the caption widget in
5217 * src/hildon-date-editor.c: mirror appearance of the date editor in
5219 * src/hildon-time-editor.c: mirror appearance of the time editor in
5221 * src/hildon-window.c: fix the position of the popup in RTL mode
5223 2008-03-25 Sven Herzberg <sven@imendio.com>
5225 Amendment to the fix of NB#22072. Fix compilation.
5227 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5229 2008-03-19 Sven Herzberg <sven@imendio.com>
5231 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5234 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5235 timeout id properly when the timeout will disappear this leaves no
5236 artifacts around in the destroy(); there will only be the timeout
5237 created by hildon_banner_ensure_timeout() and adding a new timeout
5238 will also work if the timeout gets removed because the timeout_handler
5241 2008-03-19 Michael Natterer <mitch@imendio.com>
5243 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5245 * src/hildon-volumebar.c
5246 * src/hildon-vvolumebar.c
5247 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5248 the widget becomes focussable at all.
5250 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5251 set the focus to wither the mute button or the volumebar.
5253 Remove own "can-focus" property and instead listen to
5254 notify::can-focus in order to update the widget's state.
5256 Implement GtkWidget::focus() and make sure we can also *leave* the
5257 widget, not only enter it, depending on volumebar orientation and
5258 requested focus direction.
5260 Clean up set_mute() to cooperate nicely with all the above.
5262 2008-03-04 Michael Natterer <mitch@imendio.com>
5264 Fixes: NB#78481: information banners are hidden under browser menu
5266 * src/hildon-banner.c: call gtk_window_present() on the banners so
5267 they are risen if they are already visible.
5269 2008-03-03 Sven Herzberg <sven@imendio.com>
5271 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5273 * examples/hildon-window-menu-example.c: (main): extended the window
5274 menu example to serve as a testcase for automatically added
5275 accelerator groups, too
5276 * src/hildon-window.c: (hildon_window_add_accel_group),
5277 (hildon_window_set_menu): added patch by Tommi Komulainen
5279 2008-03-03 Sven Herzberg <sven@imendio.com>
5281 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5283 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5284 knowledge about the border allocators used within GTK+
5286 2008-02-26 Sven Herzberg <sven@imendio.com>
5288 Fixes: MB#2981: Build with asserts broken
5290 * src/hildon-date-editor.c,
5291 * src/hildon-number-editor.c,
5292 * src/hildon-time-editor.c,
5293 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5294 the proper GType instance check
5296 2008-02-25 Sven Herzberg <sven@imendio.com>
5298 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5300 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5301 * examples/hildon-window-menu-example.c: (main): explicitly show
5303 * src/hildon-window.c:
5304 (hildon_window_set_main_menu): moved most of the code from set_menu()
5305 to this place; skipped the call to gtk_widget_show_all(); also didn't
5306 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5307 (hildon_window_set_menu): removed most of the code, just keep the
5308 questionable gtk_widget_show_all()
5309 * src/hildon-window.h: added the new function and deprecate the old
5312 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5318 * debian/changelog: Updating.
5320 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5323 * pkgconfig/Makefile.am:
5324 * pkgconfig/hildon.pc.in:
5327 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5328 use newly created API_MAJOR_VERSION.
5330 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5336 * debian/changelog: Updating.
5338 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5340 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5342 Add outer_border style property, we use it but don't define it (!).
5346 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5348 * examples/hildon-bread-crumb-trail-example.c (main):
5352 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5354 Fix logic for the bread crumb trail node removal.
5358 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5364 * debian/changelog: Updating.
5366 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5368 Patch by Alejandro to get/set passwords dialogs accesibility.
5370 * hildon-1/src/hildon-get-password-dialog.c:
5371 * hildon-1/src/hildon-set-password-dialog.c:
5372 Set atk_set_name to the passwd entries in order to allow
5373 accessibility by name on this entries.
5375 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5380 * debian/control: Updating gtk dep.
5382 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5384 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5385 USE_MAEMO_GTK is enabled.
5387 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5389 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5390 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5392 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5398 * debian/changelog: Updating.
5400 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5402 * examples/Makefile.am:
5403 * examples/hildon-logical-color-example.c:
5404 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5405 applied + adding a test case. Fixes: NB#71660.
5407 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5409 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5410 to be visible, fixes warning on map for windows without toolbars.
5412 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5414 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5415 2.11.0, add a check for that besides the MAEMO_GTK check.
5417 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5423 * debian/changelog: Updating.
5425 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5427 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5428 visibility. Fixes: NB#70842 and MB#615.
5430 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5432 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5433 set the separator as no-show-all so it doesn't unintentionally appear when
5434 someone does a show_all.
5436 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5438 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5439 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5440 toplevel item. Fixes: NB#62031
5442 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5444 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5445 fix the name of the function in the docs.
5447 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5453 * debian/changelog: Updating.
5455 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5457 * examples/hildon-banner-long-example.c: Adding a test-case for long
5460 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5462 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5464 * src/hildon-color-chooser-dialog.c:
5465 * src/hildon-color-chooser.c:
5466 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5467 memory leaks in font selector and color selector. Fixes: NB#70499 and
5470 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5472 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5474 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5476 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5477 little bit bigger. Fixes: #NB63694.
5479 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5485 * debian/changelog: Updating.
5487 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5490 * doc/hildon-docs.sgml:
5491 * doc/images/bread-crumb-trail.png:
5492 * doc/images/calendar-popup.png:
5493 * doc/images/caption.png:
5494 * doc/images/code-dialog.png:
5495 * doc/images/color-button.png:
5496 * doc/images/color-chooser-dialog.png:
5497 * doc/images/color-chooser.png:
5498 * doc/images/controlbar.png:
5499 * doc/images/date-editor.png:
5500 * doc/images/font-selection-dialog.png:
5501 * doc/images/get-password-dialog.png:
5502 * doc/images/hvolumebar.png:
5503 * doc/images/login-dialog.png:
5504 * doc/images/note.png:
5505 * doc/images/number-editor.png:
5506 * doc/images/range-editor.png:
5507 * doc/images/seekbar.png:
5508 * doc/images/set-password-dialog.png:
5509 * doc/images/sort-dialog.png:
5510 * doc/images/time-editor.png:
5511 * doc/images/time-picker.png:
5512 * doc/images/vvolumebar.png:
5513 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5514 Adding the bread-crumb-trial and helpers to the documentation.
5516 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5518 * examples/hildon-find-toolbar-example.c:
5519 * src/hildon-find-toolbar.c:
5520 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5521 actually continue firing the other handlers if connected. Adding a new
5523 hildon_find_toolbar_get_last_index that gets the index of the most
5524 recently added (last) item. Fixes: NB#52301.
5526 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5528 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5529 behaviour. Fixes: NB#68610.
5531 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5533 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5536 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5538 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5539 when realizing the banner. Should make the infonbanner effect a bit more
5542 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5544 * src/hildon-volumebar.c:
5545 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5546 hildon_volumebar_set_range_insensitive_message and
5547 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5549 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5551 * src/hildon-window.c: Fixing the border freeing on destroy.
5553 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5555 * src/hildon-code-dialog-private.h:
5556 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5557 kw keyboard support in HildonCodeDialog.
5559 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5565 * debian/changelog: Updating.
5567 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5569 * src/hildon-date-editor.c:
5570 * src/hildon-number-editor.c:
5571 * src/hildon-private.c:
5572 * src/hildon-private.h:
5573 * src/hildon-time-editor.c:
5574 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5575 handling in subclassed composite widgets. Fixes: NB#66628.
5577 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5579 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5580 from destroy_ callback as it introduces problems in async dbus signal
5581 handlers. Fixes NB#66673.
5583 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5585 * examples/hildon-hvolumebar-example.c:
5586 * src/hildon-volumebar.c: Improving the focus handling in the
5587 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5588 set_property accessor so that "mute" property can be actually set. I'm
5589 scared that nobody noticed it's totally broken.
5591 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5593 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5596 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5598 * src/hildon-calendar.c:
5599 * src/hildon-number-editor.c:
5600 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5601 matches the spec of 6 chars per second. Fixes: NB#60489.
5603 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5605 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5606 gtk_style_lookup_color sometime returns FALSE even though color was
5607 found and values were filled properly. Weird. Removing the warning for the
5610 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5612 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5613 expand vertically. Adding some extra space to the find toolbar buttons to
5614 make them thumbable. Fixes NB#66060.
5616 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5618 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5619 popup with "Ok" and "Cancel". Fixes NB#59299.
5621 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5623 * src/hildon-calendar.c: Process all window updates before executing next
5624 timeout. Fixes: NB#54146.
5626 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5632 * debian/changelog: Updating.
5634 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5636 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5637 the client event and ignore it, since we use the delete event to close
5640 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5642 * src/hildon-helper.c: Remove the bogus warning about color not being
5643 found. Fixes NB#58352.
5645 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5647 * examples/Makefile.am:
5648 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5649 HildonSeekbar widget inside a toolbar.
5651 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5653 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5654 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5655 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5656 don't want to be closed by non-temporary windows on map.
5658 Also use G_DEFINE_TYPE instead of manually typed code.
5660 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5667 * debian/rules: Updating.
5669 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5671 * examples/Makefile.am:
5672 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5673 bug NB#61128. Strangely it works.
5675 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5677 * src/hildon-date-editor.c: When the date editor entry has been changed
5678 but the numbers of characters < max, turn off the skip validation flag.
5679 Prevents a situation when we enter first a valid year and later re-write
5680 it with an invalid one. Fixes NB#60154.
5682 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5684 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5685 code dialog. Fixes NB#64355.
5687 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5689 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5690 switching the page. Fixes NB#49374.
5692 * examples/Makefile.am:
5693 * examples/hildon-wizard-dialog-example.c: Adding an example for
5694 HildonWizardDialog that shows how to handle manual sensitivity setting on
5697 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5701 * src/hildon-version.h.in:
5702 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5704 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5706 * src/hildon-volumebar.c: Updating the docs.
5708 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5714 * debian/changelog: Updating.
5716 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5718 * src/hildon-find-toolbar.c:
5719 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5720 selected item: hildon_find_toolbar_set_active,
5721 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5722 hildon_find_toolbar_get_active_iter . They correspond to respective
5723 GtkComboBox functions.
5725 * examples/Makefile.am:
5726 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5729 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5731 * examples/Makefile.am:
5732 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5735 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5736 when font size > 32 and we pack a focusable widget inside. Actually using
5737 the default response would work too, but since we don't show default
5738 response state in any way (no theming) it would not be visible to the
5739 user. Fixes NB#63430.
5741 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5743 * src/hildon-date-editor.c: Adding the missing variable setter in the
5744 set_property handler. Fixes NB#54182.
5746 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5748 * src/hildon-window.h: Changing the long key press time from 1500ms to
5749 800ms as requested in NB#63700. I have a bad feeling about this, let's
5750 see... Fixes NB#63700.
5752 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5754 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5755 hildon_time_picker_map, hildon_time_picker_realize,
5756 hildon_time_picker_style_set): Split the contents of map to more
5757 appropriate functions; set window decorations on realize and update
5758 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5760 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5765 * debian/changelog: Updating.
5767 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5769 * src/Makefile.am: fixed installation of the header files
5771 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5777 * debian/changelog: Updating.
5779 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5781 * configure.ac: Removing some remaining of --enable-xan.
5783 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5785 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5786 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5788 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5789 2.10.12-osso6 because the move-focus signal needs to be available in
5792 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5794 * examples/Makefile.am:
5795 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5796 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5797 fine. Prolly NB#61128 is fixed now.
5799 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5801 * src/hildon-volumebar.c:
5802 * src/hildon-volumebar.h: Adding the
5803 hildon_volumebar_set_range_insensitive_message and
5804 hildon_volumebar_set_range_insensitive_messagef functions to set
5805 insensitive message on the slider of the volumebar. Fixes NB#61129.
5807 * examples/Makefile.am:
5808 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5809 test the new insensitive messsage functionality on HildonVolumebar.
5811 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5813 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5816 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5818 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5819 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5820 button on after clearing the trail.
5822 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5824 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5826 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5828 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5829 by splitting the installed headers in generated and non-generated groups. Use
5830 only the non-generated headers to create the hildon-enum-types.h file.
5832 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5834 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5836 * src/hildon-window.c: Hide the window before performing the destroy.
5837 Should make the app closing a little tiny bit more snappy.
5839 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5841 * src/hildon-seekbar.c: add gtkrange.h header
5842 * src/hildon-caption.c: remove unused variable
5844 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5846 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5849 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5855 * debian/changelog: Updating.
5857 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5859 * src/hildon-window.c (hildon_window_window_state_event,
5860 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5861 escape timeout on focus-out-event rather than notify::is-topmost; the
5862 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5864 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5866 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5867 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5869 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5871 * src/hildon-window: actually, you need to use the macro always, there's
5872 no private pointer in the instance structure. We should have cleaned this up
5873 when we had the chance...
5875 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5877 * src/hildon-window.c: do not get the private date from HildonWindow before
5878 it passes the g_return_if_fail check. Once it's passed the test, there's no
5879 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5880 if you are only going to access the data once. Whitespace cleanups.
5882 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5884 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5885 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5887 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5893 * debian/changelog: Updating.
5895 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5897 * src/hildon-window.c: When destroying the window, remove (if exists) the
5898 escape timeout handler. Fixes #NB59276.
5900 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5902 * src/hildon-banner.c: When realizing the widget, set the window
5903 transiency. Setting the transiency in the gobject constructor is not
5904 good, as the widget is not realized at that point. Fixes: #NB56624.
5906 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5908 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5909 Add padding for future expansions.
5911 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5913 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5914 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5915 will fake an activation on the previous to the last item of the trail, so
5916 the effect can be overrided by the developer as usual.
5917 Also change the callback for the back button to do the same thing, so its
5918 effect can be overrided too. Fixes: NB#58982
5920 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5922 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5923 HildonCaption. Fixes NB#52379.
5925 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5927 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5928 the internal state of the trail after the user has had the chance of executing
5929 his handler for the signal. Specifically, it may happen that the activated button
5930 is removed and the user still lets the default handler run. This would segfault
5933 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5935 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5936 scrollbar to the preview dialog. Fixes NB#54147.
5938 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5940 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5941 max/min year properties can be altered, so the client can modify it
5942 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5944 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5946 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5947 hildonlike by default. Fixing a problem with disappearing arrows when
5948 scrolling through months and years. Fixes NB#54127.
5950 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5952 * examples/hildon-date-editor-example.c: Adding error callback to the date
5955 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5961 * configure.ac: Updating.
5963 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5965 * configure.ac: Adding a special '--enable-xan' configure option that
5966 turns off the -Werror compilation setting. Usefull for development.
5968 * src/hildon-calendar.c:
5969 * src/hildon-number-editor.c:
5970 * src/hildon-time-picker.c: Adding the 5* multiplier to
5973 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5975 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5976 instead of g_object_ref + gtk_object_sink.
5978 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5984 * debian/changelog: Updating.
5986 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5988 * src/hildon-color-chooser-dialog.c:
5989 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5990 straight from Tommi labs.
5992 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * examples/hildon-finger-example.c: Correcting the header file path.
5996 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5997 the changed signal. Fixes a small memory leak.
5999 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6003 * src/hildon-banner.c: Importing several usefull fixes from the
6004 ubuntu-mobile branch.
6006 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6008 * examples/Makefile.am:
6009 * examples/hildon-finger-example.c: Adding a finger-checking code
6012 * src/hildon-font-selection-dialog.c: Do not allocate the color
6013 structure using the g_new. Fixes NB#54061.
6015 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6017 * src/hildon-helper.c: Correcting tabs in file.
6019 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6021 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6022 control the visibility of the children.
6024 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6026 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6032 * debian/changelog: Updating.
6034 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6036 * src/hildon-bread-crumb-trail.c:
6037 (hildon_bread_crumb_trail_size_allocate):
6039 Make the back button always a square.
6041 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6043 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6044 from the .c file as it's a private file.
6046 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6048 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6049 uses slightly bigger height.
6051 * src/hildon-font-selection-dialog.c: Adding some checks before
6052 freeing memory in the font selection dialog.
6054 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6056 * src/hildon-font-selection-dialog.c: Adding a small check when
6059 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6060 buttons sensitivity on page switching.
6062 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6064 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6065 internal details of adding a bread crumb to the trail.
6067 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6073 * debian/changelog: Updating.
6075 * src/hildon-bread-crumb-trail.h:
6076 * src/hildon-bread-crumb.h: Changing the API guard to
6077 HILDON_ENABLE_UNSTABLE_API.
6079 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6087 * src/hildon-helper.h: Updating.
6089 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6097 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6101 * src/hildon-helper.h: Small fix to make the package actually compile.
6103 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6105 * src/hildon-bread-crumb-trail.h:
6106 * src/hildon-bread-crumb.h:
6108 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6109 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6111 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6113 * examples/hildon-bread-crumb-trail-example.c:
6115 * src/hildon-bread-crumb-trail.c:
6116 * src/hildon-bread-crumb-trail.h:
6117 * src/hildon-bread-crumb.c:
6118 * src/hildon-bread-crumb.h:
6119 * src/hildon-marshalers.list:
6120 * src/hildon-bread-crumb-widget.c:
6121 * src/hildon-bread-crumb-widget.h:
6123 Slight change in the widget design. The bread crumb trail API is
6124 unchanged, but HildonBreadCrumb is now an interface. A *private*
6125 implementation, hildon-bread-crumb-widget, is provided and used
6126 internally by the trail for the push_text/push_icon functions.
6128 The generic push API is still available, so anyone can implement
6129 and use its own bread crumb widget.
6131 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6133 * debian/rules: Fixing the shlibs.
6135 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6137 * src/hildon-banner.c: Fixing a problem with timed banners having
6138 their parrent destroyed before they are.
6140 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6142 * src/hildon-bread-crumb.c:
6143 * src/hildon-bread-crumb.h:
6145 Make the get_natural_size function a vfunc.
6147 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6149 * src/hildon-bread-crumb.c:
6150 * src/hildon-bread-crumb-trail.c:
6154 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6161 * debian/changelog: Updating for release.
6163 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6165 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6166 don't leak the pango layout.
6168 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6171 * examples/hildon-bread-crumb-trail-example.c:
6175 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6177 * debian/changelog: Removing the bug-fixed entries that were actually
6178 resolved as WONTFIX.
6180 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6183 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6185 * src/hildon-bread-crumb-trail.c:
6186 * src/hildon-bread-crumb-trail.h:
6187 * src/hildon-bread-crumb.c:
6188 * src/hildon-bread-crumb.h:
6192 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6194 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6195 until it's passed the type check.
6197 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6199 * examples/hildon-bread-crumb-trail-example.c
6203 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6205 * examples/Makefile.am
6206 * examples/hildon-bread-crumb-trail-example.c
6208 * src/hildon-bread-crumb-trail.c
6209 * src/hildon-bread-crumb-trail.h
6210 * src/hildon-bread-crumb.c
6211 * src/hildon-bread-crumb.h
6213 New HildonBreadCrumbTrail widget.
6215 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6217 * src/hildon-range-editor.c (hildon_range_editor_init),
6218 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6219 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6220 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6221 hildon_time_editor_class_init, hildon_time_editor_init),
6222 src/hildon-get-password-dialog.c (invalid_input,
6223 hildon_get_password_set_property, hildon_get_password_get_property,
6224 create_contents, hildon_get_password_dialog_set_max_characters),
6225 src/hildon-set-password-dialog.c (create_contents),
6226 src/hildon-date-editor.c (hildon_date_editor_init),
6227 src/hildon-login-dialog.c (hildon_login_dialog_init),
6228 src/hildon-number-editor.c (hildon_number_editor_init),
6229 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6230 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6231 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6232 configure option and adding the respective checks in the code.
6233 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6234 hildon_calendar_drag_data_received): fixed some build warnings.
6236 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6238 * debian/changelog: A 1.0.0 release notes.