1 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-bread-crumb-trail.c
4 (hildon_bread_crumb_trail_size_allocate):
5 * src/hildon-calendar.c (hildon_calendar_set_background):
6 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
7 * src/hildon-range-editor.c (hildon_range_editor_get_range):
8 * src/hildon-seekbar.c (hildon_seekbar_init):
9 * src/hildon-time-editor.c (hildon_time_editor_get_time):
10 * src/hildon-time-selector.c (hildon_time_selector_finalize):
11 * src/hildon-touch-selector-entry.c
12 (hildon_touch_selector_get_text_from_model):
13 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
14 * src/hildon-window.c (hildon_window_finalize):
16 Remove many unused variables.
18 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
20 * src/hildon-seekbar.c: (hildon_seekbar_init),
21 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
23 Remove unnecessary g_assert() calls.
25 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
27 * src/hildon-caption.c: (hildon_caption_expose),
28 (hildon_caption_set_property), (hildon_caption_init),
29 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
30 (hildon_caption_size_request), (hildon_caption_size_allocate),
31 (hildon_caption_forall), (hildon_caption_set_separator),
32 (hildon_caption_activate), (hildon_caption_set_child_expand),
33 (hildon_caption_set_label_text),
34 (hildon_caption_get_label_alignment):
36 Remove unnecessary g_assert() calls.
38 2009-02-12 Alberto Garcia <agarcia@igalia.com>
41 (hildon_banner_map, hildon_banner_init): Make banner temporary
42 before mapping it to avoid closing other temporary windows, but
43 make it non-temporary afterwards to avoid being closed by other
44 non-temporary windows.
45 (-hildon_banner_client_event, hildon_banner_init):
46 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
48 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
51 2009-02-11 Alberto Garcia <agarcia@igalia.com>
53 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
56 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
58 * src/hildon-remote-texture.c
59 * src/hildon-remote-texture.h
60 * src/hildon-remote-texture-private.h
61 * examples/hildon-remote-texture-example.c:
62 Updates/fixes to remote-texture and its example.
64 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
66 Patch by Mox Soini (ext-mox.soini@nokia.com)
68 * src/hildon-code-dialog.c: Update logical id.
69 * src/hildon-set-password-dialog.c: Update logical id.
71 Fixes: NB#100646 (Logical strings is shown for ok in set
72 password,Password needed dialogs)
74 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
77 * src/hildon-remote-texture.c
78 * src/hildon-remote-texture.h
79 * src/hildon-remote-texture-private.h
81 Added remote texture widget (for Clutter shared memory textures)
83 * examples/hildon-remote-texture-example.c
84 * examples/Makefile.am
85 Added example file for remote texture usage
87 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
89 * configure.ac: post release version bump.
90 * debian/changelog: version bump.
92 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
97 * configure.ac: Bump version.
98 * debian/changelog: Updates.
100 2009-02-06 Alberto Garcia <agarcia@igalia.com>
102 * src/hildon-date-selector.c (hildon_date_selector_init)
103 (hildon_date_selector_constructor): Don't connect to the "changed"
104 signal until the selector is completely constructed.
106 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
108 * src/hildon-touch-selector.c: (_create_new_column),
109 (hildon_touch_selector_append_column),
110 (hildon_touch_selector_set_column_selection_mode),
111 (hildon_touch_selector_set_active),
112 (hildon_touch_selector_select_iter):
113 Emit the HildonTouchSelector::changed signal every time selection
114 is changed in any of the methods above. This behavior was already
115 documented but not fully functional.
117 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
118 selection is programmatically changed)
120 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
122 * doc/hildon-sections.txt: Remove obsolete icon
123 sizes from here as well.
125 2009-02-05 Alberto Garcia <agarcia@igalia.com>
127 * examples/hildon-stackable-window-example.c (add_window): Remove
130 2009-02-05 Alberto Garcia <agarcia@igalia.com>
132 * src/hildon-app-menu.c
133 (hildon_app_menu_show): Check whether the parent window of a menu
134 is topmost before popping it up.
136 Fixes: NB#100468 (Application menu window is launched even when a
137 new secondary-window/dialog is pending to be shown/realized.)
139 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
141 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
144 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
146 Patch by Mox Soini (ext-mox.soini@nokia.com)
148 * src/hildon-banner.c: (hildon_banner_show_animation):
149 use stylus size instead of obsolete note size.
150 * src/hildon-defines.h: Update icon sizes.
152 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
154 * src/hildon-touch-selector-entry.c:
155 (hildon_touch_selector_entry_init): Disable unsupported
157 (hildon_touch_selector_entry_get_text_column): Emit a warning
158 if an unsupported input modes is used and explicitile state
159 these modes in the documentation.
161 Fixes: NB#99802 (Hildon touch selector entry not working properly
162 for some of the input modes)
164 2009-02-05 Alejandro G. Castro <alex@igalia.com>
166 * src/hildon-pannable-area.c,
167 (hildon_pannable_area_init): Added the changed signal handlers of
170 Fixes: NB#100320 (HildonPannableArea does not listen to
171 GtkAdjustment "change" signals)
173 2009-02-04 Alberto Garcia <agarcia@igalia.com>
175 * doc/hildon-sections.txt
176 * src/hildon-window-private.h
177 * src/hildon-window.h
178 * src/hildon-window.c (hildon_window_init)
179 (hildon_window_realize, hildon_window_unrealize)
180 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
181 (hildon_window_size_request, hildon_window_size_allocate)
182 (hildon_window_forall, hildon_window_show_all)
183 (hildon_window_destroy, +paint_edit_toolbar)
184 (+hildon_window_set_edit_toolbar):
185 New hildon_window_set_edit_toolbar() method, to add a
186 HildonEditToolbar to a window without having to pack it manually.
188 Reorganize hildon_window_size_allocate()
190 * src/hildon-edit-toolbar.c: Update documentation.
192 * examples/hildon-edit-toolbar-example.c (edit_window): Update
193 example to use the new API.
195 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
197 2009-02-04 Alberto Garcia <agarcia@igalia.com>
199 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
200 Remove from stack before calling parent's hide.
202 2009-02-04 Alberto Garcia <agarcia@igalia.com>
204 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
205 window is removed from the middle of the stack, update the
206 transiency of the previous one.
208 Fixes: NB#100487 (HildonStackableWindow transiency becomes
211 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
213 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
214 block/unblock the signal handler if it's not actually being used.
215 Fixes some critical warnings.
217 2009-02-02 Alberto Garcia <agarcia@igalia.com>
219 Based on a patch by Iván Gómez (igomez@igalia.com)
221 * src/hildon-banner.c
225 * src/hildon-pannable-area.c
226 * src/hildon-picker-dialog.c
227 * src/hildon-wizard-dialog.h
228 * src/hildon-wizard-dialog.c: Documentation updates.
230 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
231 gtk_dialog_add_button() instead of hildon_dialog_add_button().
233 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
235 * configure.ac: post release version bump.
236 * debian/changelog: version bump.
238 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
243 * configure.ac: Bump version.
244 * debian/changelog: Updates.
246 2009-01-29 Alberto Garcia <agarcia@igalia.com>
248 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
249 a stock icon nor change the relief of the back arrow.
251 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
254 2009-01-29 Alberto Garcia <agarcia@igalia.com>
256 * src/hildon-button.c (hildon_button_set_alignment): Use
257 priv->alignment if the button has no child yet.
259 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
261 * src/hildon-button.c: (hildon_button_init): Set the
262 button style during initialization to give it the proper
265 Fixes: NB#99713 (HildonButton value label color is wrong)
267 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
269 * src/hildon-touch-selector.c: Document
270 hildon_touch_selector_center_on_selected()
272 2009-01-28 Alberto Garcia <agarcia@igalia.com>
274 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
275 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
276 all menu items, but not the menu itself.
277 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
278 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
279 items after adding them to the menu so keyboard accelerators work.
280 (hildon_app_menu_show): Don't show the menu if it contains items
281 but none of them are visible.
283 * examples/hildon-app-menu-example.c (create_menu): Use
284 gtk_widget_show_all() to show all menu items.
286 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
288 * src/hildon-picker-dialog.c:
289 (-_update_title_on_selector_changed_cb),
290 (-_dialog_update_title): Removed.
291 (_select_on_selector_changed_cb), (_on_dialog_response),
292 (on_selector_columns_changed): Do not update the dialog title.
293 (setup_interaction_mode): Do not connect to
294 HildonTouchSelector::changed signal if there's a "done" button, as
295 the dialog title doesn't need to be updated.
297 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
300 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
302 Patch by Kristian Rietveld (kris@imendio.com)
304 * src/hildon-touch-selector.c: (_create_new_column): Use new
305 GtkTreeView::hildon-row-tapped signal to react to user interactions
306 instead of ::changed.
308 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
309 with some dynamic tree model)
311 2009-01-27 Alberto Garcia <agarcia@igalia.com>
313 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
314 (+screen_size_changed, +label_size_request)
315 (hildon_note_class_init): Make the Hildon information note have a
316 minimum height, and make its text hvae a maximum width.
318 Fixes: NB#98614 (Hildon information note (background) should have
319 minimum height and maximum text width)
321 2009-01-26 Alberto Garcia <agarcia@igalia.com>
323 * src/hildon-banner.h
324 * src/hildon-banner.c (hildon_banner_show_information)
325 (hildon_banner_show_informationf)
326 (hildon_banner_show_information_with_markup): Update documentation
327 to reflect that the icon_name parameter is not used anymore.
328 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
329 Remove all code from these functions and mark them as deprecated.
330 (hildon_banner_show_progress): Mark as deprecated.
332 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
334 2009-01-26 Alejandro G. Castro <alex@igalia.com>
336 * src/hildon-pannable-area.c,
337 (hildon_pannable_area_class_init),
339 (hildon_pannable_draw_vscroll),
340 (hildon_pannable_draw_hscroll),
341 (hildon_pannable_area_expose_event): Added a new way to render the
342 scrollbars of the pannable area avoiding using cairo at all. This
343 way we improve the performance of the pannable area rendering. The
344 cairo rendering procedure is still in the code, we can control
345 which one to use changing the value of the define
346 USE_CAIRO_SCROLLBARS.
348 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
350 * configure.ac: post release version bump.
351 * debian/changelog: version bump.
353 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
358 * configure.ac: Bump version.
359 * debian/changelog: Updates.
361 2009-01-23 Alberto Garcia <agarcia@igalia.com>
363 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
364 banners instead of destroying them when they receive a button
367 2009-01-23 Alejandro G. Castro <alex@igalia.com>
369 Reverted commit 34028, it was causing regressions, probably the
370 topmost condition is not correct, we have to check it in more
371 detail. We have reponed the bug: NB#97458 (Pannable area prevents
372 propagation of button press events)
374 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
376 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
377 that the selection is not empty before attempting to retrieve the
378 current ampm selection.
380 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
382 * src/hildon-picker-button.c:
383 (hildon_picker_button_on_dialog_response): Directly update the
384 button contents when required instead of calling _selection_changed.
386 2009-01-23 Alberto Garcia <agarcia@igalia.com>
388 * src/hildon-program.c (hildon_program_update_top_most): Update
389 'is-topmost' property also when wm_hints is not set.
391 Fixes: NB#98383 (is-topmost signal is not emitted when task
392 switcher is clicked.)
394 2009-01-23 Alejandro G. Castro <alex@igalia.com>
396 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
400 * src/hildon-animation-actor.c,
401 * src/hildon-animation-actor.h: Added the animation actor class,
402 this widget represents an animation actor for WM-assisted
403 animation effects in the Hildon framework.
405 2009-01-23 Alberto Garcia <agarcia@igalia.com>
407 * src/hildon-window-stack-private.h
408 * src/hildon-window-stack.c
409 * src/hildon-stackable-window.c (hildon_stackable_window_show):
410 Avoid calling gtk_widget_show() again indirectly from
411 hildon_stackable_window_show()
413 2009-01-23 Alberto Garcia <agarcia@igalia.com>
415 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
418 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
420 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
421 (hildon_time_selector_init): Move the construction of the hours and
422 ampm columns to the constructor to preserve the order the columns
425 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
427 * src/hildon-picker-dialog.c:
428 (hildon_picker_dialog_class_init): Connect a realize method.
429 (+hildon_picker_dialog_realize): Setup the interaction mode here
431 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
432 yet, do it during the realize instead.
433 (_on_dialog_response):
434 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
435 if the widget is not realized, to avoid the dialog response before it
438 Avoid premature responses in the HildonPickerDialog that can cause it
439 to be hidden before it's even shown.
441 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
443 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
444 (on_selector_columns_changed), (requires_done_button),
445 (+prepare_action_area), (setup_interaction_mode),
446 (_hildon_picker_dialog_set_selector):
448 Split the interaction mode setup into preparation of the
449 action area (prepare_action_area()) and the connection of
450 the signals in setup_interaction_mode() and update the code to
453 2009-01-22 Alejandro G. Castro <alex@igalia.com>
455 * src/hildon-pannable-area.c,
456 (hildon_pannable_area_class_init): Reduced the amount of scrolls
457 per second to 15, we will check if this is ok regarding
460 2009-01-22 Alejandro G. Castro <alex@igalia.com>
462 * src/hildon-pannable-area.c,
463 (hildon_pannable_axis_scroll): Avoid resize if we already have
464 reached overshoot_max.
466 2009-01-22 Alejandro G. Castro <alex@igalia.com>
468 * src/hildon-pannable-area.c,
469 (hildon_pannable_area_init),
470 (hildon_pannable_area_realize),
471 (hildon_pannable_area_size_allocate),
472 (hildon_pannable_area_map),
473 (hildon_pannable_area_unmap),
474 (hildon_pannable_draw_vscroll),
475 (hildon_pannable_draw_hscroll),
476 (hildon_pannable_area_expose_event),
477 (hildon_pannable_area_refresh): Added a new GdkWindow to the
478 pannable are to avoid the expose events go to the window and
479 redraw the window. We save this way that part of the stack and the
480 paint_boxes. We had to change the positions of the elements when
483 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
485 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
486 * src/hildon-color-chooser-dialog.c:
487 (hildon_color_chooser_dialog_init):
488 * src/hildon-font-selection-dialog.c:
489 (hildon_font_selection_dialog_init),
490 (hildon_font_selection_dialog_show_preview):
491 * src/hildon-get-password-dialog.c:
492 * src/hildon-login-dialog.c:
493 * src/hildon-set-password-dialog.c:
494 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
495 * src/hildon-time-picker.c: (hildon_time_picker_init):
497 Remove obsolete logical string IDs and update to the appropriate ones.
499 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
501 2009-01-21 Alberto Garcia <agarcia@igalia.com>
503 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
504 that happens if the window hasn't been realized yet.
506 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
507 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
509 2009-01-20 Alberto Garcia <agarcia@igalia.com>
511 * src/hildon-app-menu.c (hildon_app_menu_class_init)
512 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
515 Fixes: NB#98537 (Device hangs in account settings dialog)
517 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
519 * configure.ac: post release version bump.
520 * debian/changelog: version bump
522 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
527 * configure.ac: Bump version.
528 * debian/changelog: Updates.
530 2009-01-20 Alejandro G. Castro <alex@igalia.com>
532 Added a new function to the HildonTimeButton widget that allows to
533 change the step of the minutes in the selector associated with the
534 button: hildon_time_button_new_step
536 * src/hildon-time-button.c,
537 (hildon_time_button_init),
538 (hildon_time_button_new),
539 (hildon_time_button_new_step):
540 * src/hildon-time-button.h: Added the new function and refactored
542 * examples/hildon-time-button-example.c,
543 (main): We have replaced the function without parameters with the
544 function with the steps set to 5
546 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
548 2009-01-20 Alejandro G. Castro <alex@igalia.com>
550 * src/hildon-time-selector.c,
551 (hildon_time_selector_class_init),
552 (hildon_time_selector_constructor),
553 (hildon_time_selector_get_property),
554 (hildon_time_selector_set_property),
555 (_create_minutes_model),
556 (hildon_time_selector_new_step),
557 (hildon_time_selector_set_time),
558 * src/hildon-time-selector.h: Added a new property to the
559 HildonTimeSelector (minutes-step), we use that property to control
560 the steps between the minutes in the list of the selector. We have
561 added a new function to the API to create a widget changing the
562 step: hildon_time_selector_new_step.
564 2009-01-20 Alejandro G. Castro <alex@igalia.com>
566 * src/hildon-time-selector.c,
567 (hildon_time_selector_class_init),
568 (hildon_time_selector_constructor),
569 (hildon_time_selector_init): Overrided the construct function when
570 creating the time selector object. We have moved the minutes model
571 handling code from the init to the new construction function:
572 hildon_time_selector_constructor.
574 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
576 * examples/hildon-date-button-example.c: (main): Use the new
577 hildon_date_button_new_with_year_range() method in the example.
578 * src/hildon-date-button.c:
579 (+hildon_date_button_new_with_year_range): New public method
580 to conveniently create a HildonDateButton with a custom year range
581 in its HildonDateSelector.
582 * src/hildon-date-button.h: Add the new public method definition.
584 Fixes: NB#97908 (Not possible to change the year range in
585 HildonDateSelector/HildonDateButton)
587 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
589 * src/hildon-date-selector.c:
590 (+hildon_date_selector_set_property),
591 (+hildon_date_selector_get_property),
592 (hildon_date_selector_class_init): Install new properties "min-year"
593 and "max-year" to define boundaries for the year column.
594 (_create_year_model): Use the boundary properties to populate the model.
595 (+hildon_date_selector_new_with_year_range): New public method to
596 create a HildonDateSelector with a user defined year range.
597 (hildon_date_selector_select_current_date): Use the new boundaries to
598 calculate the iterator of current year.
599 * src/hildon-date-selector.h: Add the new public method definition.
601 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
603 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
604 Install a constructor method.
605 (+hildon_date_selector_construct_ui): construct the widget.
606 (+hildon_date_selector_constructor): new constructor.
607 (+hildon_date_selector_init): move out widget construction code to
610 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
612 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
613 that there's actually a month or year selected before obtaining them.
614 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
615 of the HildonTouchSelector::changed signal, as it was emitted on every
616 single item selection.
618 Fix some warnings and possible crashers due to the selection restoring.
620 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
622 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
623 the signal handlers only after creating the dialog instead of on every
626 2009-01-19 Alberto Garcia <agarcia@igalia.com>
628 * src/hildon-button.c (hildon_button_init)
629 * src/hildon-check-button.c (hildon_check_button_init)
630 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
631 focus when clicked by default.
633 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
635 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
638 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
640 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
641 Alejandro G. Castro (alex@igalia.com)
643 * src/hildon-picker-dialog.c:
644 (hildon_picker_dialog_class_init): install new "center-on-show"
646 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
647 (hildon_picker_dialog_set_property): add setter code for the new
649 (hildon_picker_dialog_get_property): add getter code for the new
651 (hildon_picker_dialog_show): Ensure visibility of selected items in the
652 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
655 Fixes: NB#92849 (Selected item is not always visible when
656 HildonTouchSelector is shown)
658 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
660 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
661 Alejandro G. Castro (alex@igalia.com)
663 * src/hildon-touch-selector.c:
664 (_create_new_column): Do not connect to the "realize" signal of the
666 (hildon_touch_selector_append_column): center on the selected items
667 when a new column is appended.
668 (hildon_touch_selector_select_iter): Factor out the code to select a
669 column to hildon_touch_selector_scroll_to().
670 (+search_nearest_element): Method to retrieve the nearest selected
671 element to the visible area of the pannable area in a column.
672 (+on_realize_cb): scroll to the initially selected item.
673 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
674 the pannable area is realized, otherwise delay this until it is.
675 (+_hildon_touch_selector_center_on_selected_items): Centers on the
676 selected items of a given column.
677 (+hildon_touch_selector_center_on_selected): Public method to center
678 all columns on the nearest selected item.
679 * src/hildon-touch-selector.h: Add definition for
680 hildon_touch_selector_center_on_selected().
682 Implement public API to ensure visibility of all selected items in
683 a HildonTouchSelector.
685 2009-01-16 Alejandro G. Castro <alex@igalia.com>
687 Fixed a problem in the fading when calling the scroll_to API, and
688 improve scrollbar fading handling.
690 * src/hildon-pannable-area.c,
691 (hildon_pannable_area_grab_notify): avoid the timeout when the
693 (hildon_pannable_area_button_press_cb),
694 (hildon_pannable_area_motion_notify_cb): Code style changes.
695 (hildon_pannable_area_button_release_cb): Review the conditions
696 when releasing the mouse button to avoid unrequired fading
698 (hildon_pannable_area_scroll_to): Do not calculate and set the
699 velocity if the scroll is not required.
701 2009-01-15 Alberto Garcia <agarcia@igalia.com>
703 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
704 Don't check whether the new selector is NULL: it cannot be.
705 Hold a reference to the selector while doing the replacement.
707 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
710 unnecessary size_request in a removed widget.
712 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
714 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
715 an unnecessary reference tracking that was leaking.
717 2009-01-15 Alejandro G. Castro <alex@igalia.com>
719 Added delayed motion notify event handling, this way we can
720 discard redrawing if more than 25 events arrive per second.
722 * src/hildon-pannable-area.c,
723 (hildon_pannable_area_init): Initialized the new private atributes
724 controlling this timeout
725 (hildon_pannable_area_dispose): Remove the timeout that controls
726 the motion notify events.
727 (hildon_pannable_area_scroll): Added a condition to control the
728 use of the acceleration.
729 (hildon_pannable_area_motion_event_scroll_timeout),
730 (hildon_pannable_area_motion_event_scroll): Added this two
731 functions, they handle the motion notify events inside the
733 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
734 to the scroll method with the new function.
735 (hildon_pannable_area_button_release_cb): We have to remove the
736 timeout handler and move to the last position if the last motion
737 events were not handled.
739 Fixes: NB#97028 (Pannable area updates on every motion event)
741 2009-01-15 Alejandro G. Castro <alex@igalia.com>
743 * src/hildon-pannable-area.c,
744 (hildon_pannable_area_get_topmost): Added a new parameter to
745 filter the the windows that do not include those events. Added
746 also a condition when finding the window to filter windows that do
747 not ask for those events.
748 (hildon_pannable_area_button_press_cb),
749 (hildon_pannable_area_button_release_cb),
750 (hildon_pannable_get_child_widget_at): Reviewed the call the the
751 topmost function, we have added the new parameter.
753 Fixes: NB#97458 (Pannable area prevents propagation of button
756 2009-01-15 Alejandro G. Castro <alex@igalia.com>
758 * src/hildon-pannable-area.c,
759 (hildon_pannable_area_initial_effect): Added controls before
760 launching the timeout and the idle functions.
761 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
762 of the method, in some situations it can return with TRUE and 0 in
764 (hildon_pannable_area_button_press_cb): We do not need to set
765 DELAY for fading out here.
767 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
769 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
771 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
772 post-cleaning if the selection is not NULL.
774 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
776 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
777 all items before restoring the selection.
779 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
781 * src/hildon-touch-selector.c:
782 (+hildon_touch_selector_unselect_all):
783 * src/hildon-touch-selector.h: New API to unselect all items in a
784 column of the touch selector.
786 2009-01-14 Alejandro G. Castro <alex@igalia.com>
788 * src/hildon-pannable-area.c,
789 (hildon_pannable_area_redraw): Added a call to the refresh
790 function inside the redraw because apparently in some cases the
791 change in the adjustment does not imply a size allocate.
793 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
794 despite the view not being scrollable)
796 2009-01-14 Alberto Garcia <agarcia@igalia.com>
798 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
799 leak. Check for NULL before attempting to set the window title.
801 2009-01-14 Alberto Garcia <agarcia@igalia.com>
803 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
804 whether to show or not the 'Done' button each time the dialog is
805 shown, as it depends on the HildonTouchSelector selection mode.
807 Fixes: NB#96226 (In multiple selection mode Done button is shown
808 sometimes in listpicker)
810 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
812 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
813 for the number of columns in the HildonTouchSelector more than once.
815 2009-01-14 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-touch-selector.c: Minor documentation fixes.
819 * src/hildon-picker-dialog.c (+_dialog_update_title)
820 (_select_on_selector_changed_cb)
821 (_update_title_on_selector_changed_cb)
822 (on_selector_columns_changed): Update dialog title when there's no
823 'Done' button and also when the number of columns in the selector
827 * src/hildon-picker-button.c (hildon_picker_button_finalize)
828 (+_selection_changed, hildon_picker_button_on_dialog_response)
829 (hildon_picker_button_selector_selection_changed)
830 (+hildon_picker_button_selector_columns_changed)
831 (hildon_picker_button_set_selector): Update button value and emit
832 'value-changed' when the number of columns in the selector
836 Fixes: NB#96225 (Dialog titles are not shown according to the
837 values selected in the list picker)
839 2009-01-13 Alberto Garcia <agarcia@igalia.com>
841 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
842 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
843 New "arrow-width" and "arrow-height" style properties to set the
844 size of the arrow button.
845 Set name of arrow button ("hildon-edit-toolbar-arrow").
847 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
850 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
852 * src/hildon-picker-button.c:
853 (hildon_picker_button_selector_selection_changed): Use
854 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
855 the dialog is present.
857 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
858 the selection is accepted in the dialog)
860 2009-01-13 Alberto Garcia <agarcia@igalia.com>
862 * src/hildon-color-chooser.h
863 * src/hildon-color-chooser-dialog.h:
864 Added G_BEGIN_DECLS and G_END_DECLS
866 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
868 (_clean_current_selection): plug a leak in the list.
870 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
872 * src/hildon-picker-dialog.c:
873 (+free_path_list): Method to free a GList of GtkTreePaths.
874 (_clean_current_selection), (_save_current_selection),
875 (_restore_current_selection): Save the current selection in
876 as a list of lists, to support multiple selection properly.
878 2009-01-12 Alberto Garcia <agarcia@igalia.com>
880 patch by Claudio Saavedra (csaavedra@igalia.com)
882 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
883 Store the press position.
884 (+hildon_text_view_button_release_event): If the release position is
885 close enough to the press position, move the cursor here. Otherwise,
887 (hildon_text_view_class_init): Override GtkTextView press, release, and
888 motion event handlers, disabling this way text selection through
889 pointer interaction, and allowing the container widget to handle the
892 Fixes: NB#95828 (HildonTextView functionality)
894 2009-01-12 Alberto Garcia <agarcia@igalia.com>
896 Based on a patch by Iván Gómez (igomez@igalia.com)
898 * src/hildon-button.[ch]
899 * src/hildon-calendar.c
900 * src/hildon-check-button.c
901 * src/hildon-date-editor.c
902 * src/hildon-date-selector.c
903 * src/hildon-picker-button.c
904 * src/hildon-time-editor.c
905 * src/hildon-time-selector.c
906 * src/hildon-touch-selector.[ch]:
907 Documentation updates
909 2009-01-12 Alejandro G. Castro <alex@igalia.com>
911 * src/hildon-pannable-area.c,
912 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
913 threshold, it was required due to X events handling.
915 2009-01-12 Alejandro G. Castro <alex@igalia.com>
917 * src/hildon-pannable-area.c,
918 (hildon_pannable_area_grab_notify),
919 (hildon_pannable_area_initial_effect),
920 (hildon_pannable_area_button_press_cb),
921 (hildon_pannable_area_button_release_cb),
922 (hildon_pannable_area_scroll_cb),
923 (hildon_pannable_area_scroll_to): Review the timeout management of
924 the scrollbar, the frecuency was incorrectly set.
926 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
928 * src/hildon-picker-button.c:
929 (+hildon_picker_button_on_dialog_response),
930 (hildon_picker_button_clicked): Present the dialog instead of
931 running it with gtk_dialog_run().
933 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
936 2009-01-07 Alberto Garcia <agarcia@igalia.com>
938 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
939 (hildon_app_menu_finalize): When a window is hidden it doesn't
940 emit notify::is-topmost, so make sure than the menu also
941 disappears in that case.
942 (parent_window_topmost_notify): Renamed from parent_window_hidden
944 Fixes: NB#94460 (stackable window's menu is not closed when its
947 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
949 * src/hildon-touch-selector-entry.c:
950 (+hildon_touch_selector_entry_set_input_mode),
951 (+hildon_touch_selector_entry_get_input_mode):
952 * src/hildon-touch-selector-entry.h: New methods to access the input
953 mode in the selector's entry.
955 Fixes: NB#93410 (API required for setting IM mode in
956 HildonTouchSelectorEntry)
958 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
960 * configure.ac: post release version bump.
961 * debian/changelog: version bump
963 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
968 * configure.ac: Bump version.
969 * debian/changelog: Updates.
971 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
973 * src/hildon-touch-selector.c:
974 (_hildon_touch_selector_has_multiple_selection): No need
975 to initialize the variables here.
977 2008-12-17 Alberto Garcia <agarcia@igalia.com>
979 * src/hildon-note-private.h
980 * src/hildon-note.c (event_box_press_event, hildon_note_init)
981 (hildon_note_finalize, hildon_note_rebuild): Close information
982 notes when they receive a button press.
984 Fixes: NB#89890 (Information notes does not get disappeared after
987 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
989 * src/hildon-wizard-dialog.c: (create_title): Remove translation
990 mark from the wizard title, as it's not really necessary. Also,
991 do not display the page title if not set.
993 2008-12-17 Alberto Garcia <agarcia@igalia.com>
995 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
996 (parent_window_hidden): Use the window's "is-topmost" property to
997 detect when to hide the menu.
999 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1001 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1002 (hildon_app_menu_finalize): If the parent window of the menu is
1003 hidden, hide the menu too.
1005 Fixes: NB#94460 (stackable window's menu is not closed when its
1008 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1011 * debian/libhildon1-examples.install
1013 * examples/Makefile.am:
1014 Use dh_install to install all examples.
1015 Use DEB_SRCDIR instead of defining SOURCE_DIR
1017 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1019 * configure.ac: post release version bump.
1020 * debian/changelog: version bump
1022 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1027 * configure.ac: bump version
1028 * debian/changelog: updates
1029 * debian/control: bump gtk+ dependency
1031 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1033 patch by Christian Dywan (christian@imendio.com)
1035 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1036 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1038 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1040 * src/hildon-check-button.c (hildon_check_button_init)
1041 (hildon_check_button_class_init, hildon_check_button_style_set)
1042 (hildon_check_button_apply_style):
1043 New "checkbox-size" style property.
1045 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1046 larger / configurable size)
1048 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1050 * configure.ac: post release version bump.
1051 * debian/changelog: version bump
1053 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1058 * configure.ac: bump version
1059 * debian/changelog: updates
1061 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1063 * doc/hildon-sections.txt
1064 * src/hildon-pannable-area.c
1065 * src/hildon-program.c
1066 * src/hildon-time-editor.c
1067 * src/hildon-touch-selector-entry.c:
1069 More documentation updates.
1071 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1073 * doc/hildon-sections.txt
1074 * src/hildon-caption.c
1075 * src/hildon-code-dialog.c
1076 * src/hildon-color-button.c
1077 * src/hildon-controlbar.c
1078 * src/hildon-date-editor.c
1079 * src/hildon-date-selector.c
1080 * src/hildon-edit-toolbar.c
1081 * src/hildon-find-toolbar.c
1082 * src/hildon-font-selection-dialog.c
1084 * src/hildon-program.c
1085 * src/hildon-range-editor.c
1086 * src/hildon-seekbar.c
1087 * src/hildon-time-editor.c
1088 * src/hildon-time-selector.c
1089 * src/hildon-volumebar-range.c
1090 * src/hildon-volumebar.c
1091 * src/hildon-vvolumebar.c
1092 * src/hildon-weekday-picker.c
1093 * src/hildon-window.c
1094 * src/hildon-wizard-dialog.c:
1096 Lots of documentation fixes.
1098 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1100 Patch contributed by Iván Gómez (igomez@igalia.com)
1102 * src/hildon-check-button.c:
1103 * src/hildon-date-button.c:
1104 * src/hildon-date-selector.c:
1105 * src/hildon-dialog.c:
1106 * src/hildon-edit-toolbar.c:
1107 * src/hildon-entry.c:
1108 * src/hildon-picker-button.c:
1109 * src/hildon-program.c:
1110 * src/hildon-text-view.c:
1111 * src/hildon-time-button.c:
1112 * src/hildon-touch-selector-entry.c:
1113 * src/hildon-window-stack.c:
1115 Add more "since" tags to the new API.
1117 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1119 * doc/hildon-sections.txt: Add below method.
1120 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1121 version for the hildonized scale.
1122 * src/hildon-gtk.h: Add the definition.
1124 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1126 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1128 * doc/hildon-sections.txt: Add missing entries for new methods.
1130 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1132 Added API to pannable are in order to get its adjustments. We
1133 added two properties to manage the values we had in the private
1136 * src/hildon-pannable-area.c:
1137 (hildon_pannable_area_class_init): Added hadjustment and
1138 vadjustment properties in order to expose horizontal and vertical
1140 (hildon_pannable_area_get_property),
1141 (hildon_pannable_area_set_property): Added code to handle the new
1143 (hildon_pannable_area_get_hadjustment),
1144 (hildon_pannable_area_get_vadjustment): API functions to get the
1146 * src/hildon-pannable-area.h:
1147 (hildon_pannable_area_get_hadjustment),
1148 (hildon_pannable_area_get_vadjustment): API functions to get the
1151 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1153 Fixed some leaks, after valgrinding.
1155 * src/hildon-touch-selector.c:
1156 (_default_print_func): Fixed a leak.
1157 (hildon_touch_selector_append_column): Fixed a leak.
1158 * src/hildon-date-button.c:
1159 (hildon_date_button_init): Fixed a leak.
1160 * src/hildon-date-selector.c
1161 (hildon_date_selector_finalize): Fixed a leak.
1163 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1165 Based on a patch by Christian Dywan (christian@imendio.com)
1167 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1169 * src/hildon-gtk.h: Add definition.
1171 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1173 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1175 * src/hildon-picker-button.c: (hildon_picker_button_init),
1176 (hildon_picker_button_new): Set the HildonButton::style property
1177 in the init method, to propagate the value to the derived classes.
1179 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1181 * src/hildon-button.c: (hildon_button_class_init): Do not make
1182 the "style" property a construct property.
1184 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1186 * src/hildon-wizard-dialog.h
1187 * src/hildon-wizard-dialog.c
1188 (hildon_wizard_dialog_set_forward_page_func)
1189 * src/hildon-pannable-area.h
1190 * src/hildon-pannable-area.c
1191 (hildon_pannable_area_set_size_request_policy):
1192 Documentation fixes.
1194 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1196 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1198 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1200 * doc/hildon-sections.txt: Added sections file.
1202 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1205 * src/*.[ch]: Updates.
1207 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1209 * examples/hildon-progress-indicator-example.c: new file
1210 * examples/Makefile.am: include the new example program
1212 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1214 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1216 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1218 * configure.ac: post release version bump
1219 * debian/changelog: version bump
1221 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1226 * configure.ac: bump version
1227 * debian/changelog: updates
1228 * debian/control: bump gtk+ dependency
1230 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1232 * src/hildon-dialog.c: Mark as deprecated.
1233 * src/hildon-dialog.h: Mark as deprecated.
1234 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1235 from HildonDialog and still work, even if
1236 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1237 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1239 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1240 maemo changes) instead)
1242 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1244 * src/hildon-pannable_area.h:
1245 * src/hildon-pannable_area.c:
1246 (hildon_pannable_area_class_init),
1247 (hildon_pannable_area_set_property),
1248 (hildon_pannable_area_get_property),
1249 (hildon_pannable_area_size_request),
1250 (hildon_pannable_area_get_size_request_policy),
1251 (hildon_pannable_area_set_size_request_policy): Added new API
1252 allowing applications to control the request policy. Now they can
1253 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1254 children allocation (HILDON_MOVEMENT_CHILDREN).
1256 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1260 (hildon_gtk_tree_view_set_ui_mode)
1261 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1262 mode of treeviews and iconviews.
1264 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1266 * src/hildon-touch-selector-entry.c:
1267 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1268 of a GtkEntry to get proper theming.
1270 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1271 widget, not GtkEntry)
1273 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1275 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1276 no HildonWizardDialogPageFunc.
1278 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1280 Patch contributed by Iván Gómez (igomez@igalia.com)
1282 * src/hildon-app-menu.c:
1283 * src/hildon-button.c:
1284 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1285 * src/hildon-stackable-window.c:
1286 * src/hildon-time-selector.c:
1287 * src/hildon-touch-selector.c:
1288 * src/hildon-window.c:
1290 Add more "since" tags to the new API in hildon 2.2.
1292 2008-12-05 Tim Janik <timj@imendio.com>
1294 Patch contributed by Christian Dywan (christian@imendio.com)
1296 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1297 HildonSizeType, which are supplied by Gtk+ now.
1299 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1301 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1302 (with maemo changes) instead)
1304 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1306 Patch contributed by Iván Gómez (igomez@igalia.com)
1308 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1311 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1313 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1314 (some_page_func), (main): Update the example to use a
1315 HildonWizardDialogPageFunc function.
1317 * src/hildon-wizard-dialog-private.h: Add private data for
1318 the HildonWizardDialogPageFunc function usage.
1320 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1321 (destroy), (hildon_wizard_dialog_init), (response),
1322 (hildon_wizard_dialog_set_forward_page_func):
1323 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1324 that applications can use to stop a HildonWizardDialog to jump to
1327 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1330 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1332 * src/hildon-program.h
1333 * src/hildon-program-private.h
1334 * src/hildon-program.c (hildon_program_init)
1335 (hildon_program_set_common_app_menu)
1336 (hildon_program_get_common_app_menu):
1337 New API for setting a common HildonAppMenu for all
1338 HildonStackableWindows registered with the HildonProgram.
1340 * src/hildon-stackable-window.c
1341 (hildon_stackable_window_toggle_menu):
1342 Use the common HildonAppMenu if a window doesn't have a specific
1345 * src/hildon-app-menu-private.h
1346 * src/hildon-app-menu.c
1347 (hildon_app_menu_get_parent_window):
1348 Function to obtain the window a HildonAppMenu is attached to.
1349 (hildon_app_menu_set_parent_window):
1350 Hide the menu if the parent window is set to NULL.
1352 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1354 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1355 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1356 search widget to popup.
1358 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1360 * configure.ac: post release version bump
1361 * debian/changelog: version bump
1363 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1368 * configure.ac: bump version
1369 * debian/changelog: updates
1371 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1373 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1375 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1376 (hildon_window_stack_window_realized)
1377 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1378 Set the leader GdkWindow when a window is stacked and realized,
1379 unset it when it's unstacked.
1380 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1382 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1384 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-stackable-window.h
1387 * src/hildon-window-stack.h:
1388 Protect definition of HildonWindowStack using the preprocessor.
1390 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1392 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1393 Fix warning if all menu items are hidden.
1395 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1397 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1399 * src/hildon-controlbar.c:
1400 * src/hildon-hvolumebar.c:
1401 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1402 Multiple scale size defines updates.
1404 Fixes: NB#94322 (Scale Updates)
1406 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1408 * examples/hildon-app-menu-example.c (create_menu)
1409 Show items after adding them to the menu, as in the future the
1410 menu will no longer call gtk_widget_show() on the added items.
1412 * src/hildon-app-menu.c:
1413 Update example as explained above.
1415 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1417 * src/hildon-app-menu.c
1418 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1419 Make sure that all menu items have finger height.
1421 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1423 * src/hildon-picker-dialog.c:
1424 (_on_dialog_response), (_save_current_selection),
1425 (_restore_current_selection), (_clean_current_selection),
1426 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1427 Defined new functions in order to save the current internal selector
1428 selection previous open the dialog, in case that the use cancel the
1429 interaction, so the widget restores the previous selection.
1431 Fixes: NB#92032 (In calendar application, date values in 'new event'
1434 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1436 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1438 * src/hildon-button.c: Add a reference to the button examples in
1439 hildon-button-example.c
1441 * examples/hildon-button-example.c: Added examples of the most
1442 common button layouts.
1444 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1446 * src/hildon-app-menu.c (hildon_app_menu_show)
1447 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1449 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1451 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1453 * src/hildon-picker-dialog.c:
1454 (hildon_picker_dialog_init): Initialize the signal id for
1455 HildonTouchSelector::columns-changed.
1456 (+on_selector_columns_changed): Set up the interaction mode everytime a
1457 column is added or removed from the HildonTouchSelector.
1458 (_hildon_picker_dialog_set_selector): Connect to
1459 HildonTouchSelector::columns-changed and keep track of it.
1461 Make sure to update the interaction mode of the dialog everytime a
1462 column is added or removed in the HildonTouchSelector.
1464 Fixes: NB#93228 (Done button is not shown always in listpicker)
1466 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1468 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1469 a new ::columns-changed signal.
1470 (hildon_touch_selector_append_column): Emit ::columns-changed.
1471 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1473 Add a ::columns-changed signal, emitted when the number of columns in a
1474 HildonTouchSelector changes.
1476 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1478 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1479 (_hildon_picker_dialog_set_selector): Factor out the code
1480 to set up the dialog interaction mode.
1482 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1484 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1485 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1486 to signal_changed_id.
1488 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1490 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1493 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1495 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1496 Updated the logical ids related to ampm format, as now it is required to
1497 show it correctly localized even on languages with no default
1498 abbreviations for am or pm
1499 (_check_am_pm_format): check correctly the 24h format gconf property
1501 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1503 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1505 * src/hildon-button.c: Documentation updates.
1507 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1509 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1510 * src/hildon-caption.c: (hildon_caption_class_init):
1511 * src/hildon-color-button.c: (hildon_color_button_class_init):
1512 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1513 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1514 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1515 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1517 Remove deprecated GTK+ marshalers and replace them with the ones
1518 provided by GLib, for those available, add a marshaler for
1519 BOOLEAN:VOID, which is not available in GLib, and use it.
1521 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1524 the text from the previous column if there is no
1525 HildonTouchSelectorColumn::text-property set.
1527 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1529 * src/hildon-button.h
1530 * src/hildon-button.c (hildon_button_set_property)
1531 (hildon_button_get_property, hildon_button_class_init)
1532 (hildon_button_set_style, hildon_button_get_style):
1533 New "style" property to change the visual appearance of the
1536 * src/hildon-picker-button.c (hildon_picker_button_new):
1537 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1539 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1540 HildonButton look like PickerButton)
1542 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1544 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1545 column while building the default string.
1547 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1549 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1550 scroll indicator by default.
1552 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1554 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1556 * src/hildon-main.c: Fix the documentation for hildon_init()
1558 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1560 * doc/hildon-docs.sgml
1564 * src/hildon-window-stack-private.h
1565 * src/hildon-window-stack.h
1566 * src/hildon-window-stack.c:
1567 New HildonWindowStack object, that adds support for multiple
1568 stacks of windows per process.
1570 * src/hildon-stackable-window-private.h
1571 * src/hildon-stackable-window.h
1572 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1573 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1574 (hildon_stackable_window_show, hildon_stackable_window_hide)
1575 (hildon_stackable_window_class_init)
1576 (hildon_stackable_window_init):
1577 Use HildonWindowStack for stack management.
1579 * src/hildon-program.c (hildon_program_pop_window_stack)
1580 (hildon_program_peek_window_stack)
1581 (hildon_program_go_to_root_window):
1582 Add a fallback implementation to the deprecated functions using
1585 * examples/hildon-stackable-window-example.c:
1586 Use the new HildonWindowStack API.
1588 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1590 * src/hildon-stackable-window-private.h
1591 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1592 (hildon_stackable_window_hide, hildon_stackable_window_init):
1593 Remove all window stack management.
1595 * src/hildon-program-private.h
1596 * src/hildon-program.h
1597 * src/hildon-program.c (hildon_program_init)
1598 (hildon_program_pop_window_stack)
1599 (hildon_program_peek_window_stack)
1600 (hildon_program_go_to_root_window):
1601 Remove all window stack management and mark functions as
1604 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1606 * src/hildon-app-menu.c (hildon_app_menu_realize):
1607 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1609 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1611 * configure.ac: post release version bump
1612 * debian/changelog: version bump
1614 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1619 * configure.ac: bump version
1620 * debian/changelog: updates
1622 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1624 Based on initial code by Christian Dywan (christian@imendio.com)
1626 * doc/hildon-docs.sgml: Add section for hildon-main.
1627 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1628 * src/Makefile.am: Add new hildon-main.[ch]
1629 * src/hildon-defines.h: Update the icon sizes.
1630 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1631 new library initialization files and register icon sizes.
1632 * src/hildon-main.h: New declarations.
1633 * src/hildon.h: Include hildon-main.h
1635 Add new initialization functions to the library. These methods
1636 will register the hildon specific icon sizes and can be used in the
1637 future for other hildon specific bits.
1639 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1641 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1643 * src/hildon-window.c: (hildon_window_realize),
1644 (hildon_window_notify), (-hildon_window_update_title): Do not set
1645 the application name in the window title.
1647 Fixes: NB#89754 (Applications shouldn't display their names in the
1650 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1652 * src/hildon-note-private.h:
1653 * src/hildon-note.c: (hildon_note_set_property),
1654 (hildon_note_get_property), (hildon_note_class_init),
1655 (hildon_note_init), (hildon_note_finalize),
1656 (hildon_note_new_confirmation_with_icon_name),
1657 (hildon_note_new_information_with_icon_name):
1659 No need to mark as deprecated the actual code. Revert
1660 to avoid missing symbols in widgets using deprecated API.
1662 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1664 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1666 * src/hildon-volumebar.h
1667 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1668 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1670 * src/hildon-helper.h
1671 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1672 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1674 * examples/Makefile.am:
1675 Deprecate hildon-insensitive-example
1677 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1679 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1681 * examples/hildon-pannable-area-buttons-scroll-example.c:
1682 Make all buttons finger height
1684 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1686 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1688 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1689 update the day model only if it is really required, and to avoid the
1690 full-reconstruction aproach. Now it only add or remove the required days.
1692 The purpose of this is avoid superfluous HildonTouchSelector::changed
1695 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1696 with strange parameters)
1698 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1700 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1702 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1703 the WINDOW_TYPE property.
1705 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1707 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1710 Fix dependency to allow parallel compilation with make -jX
1712 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1714 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1715 color frame and some minor tweaks to make it more consistent with
1718 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1719 highlighted but not visible)
1721 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1723 * examples/Makefile.am: Fixed typo in the Makefile.am.
1725 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1727 Reviewed the use of MAEMO_GTK define, now we add the define in the
1728 compilation line, and we also add it to the pc file.
1730 * configure.ac: Added MAEMO_GTK define to the compilation command
1731 and removed it from the config.h.
1733 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1734 do not have to take care about this define if the library was
1738 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1740 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1742 * examples/Makefile.am,
1743 * examples/hildon-pannable-area-buttons-scroll-example.c,
1744 * examples/hildon-pannable-area-gesture-signals-example.c,
1745 * examples/hildon-pannable-area-scroll-jump-example.c,
1746 * examples/hildon-pannable-area-tree-view-example.c:
1747 Renamed the pannable area examples, now they have more meaningful
1750 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1752 * src/hildon-touch-selector.c:
1753 (hildon_touch_selector_set_column_selection_mode): Used of
1754 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1755 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1756 to avoid re-seting the same selection mode.
1758 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1759 breaks HildonPickerDialog)
1761 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1763 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1764 conditional in the Makefile.am
1766 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1768 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1769 Remove unused methods.
1771 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-button.c (hildon_button_init):
1774 Make button images center-aligned by default
1776 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1779 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1780 activated, we have to think about how to deal with both defines
1781 MAEMO_GTK and MAEMO_CHANGES.
1783 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1785 * examples/hildon-app-menu-example.c (create_menu): Make all
1786 buttons finger size.
1788 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1790 Fixed the compilation without maemo gtk adding ifdefs with
1791 MAEMO_GTK define to the code, we have to check this version more
1794 * examples/Makefile.am: Added control to avoid some examples that
1795 just make sense with maemo gtk.
1798 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1799 hildon modes with the define.
1801 * examples/hildon-edit-toolbar-example.c,
1802 (create_icon_view): Create the icon view without hildon-gtk
1803 helpers if we are not using maemo gtk.
1805 * src/hildon-touch-selector.c,
1806 (_create_new_column): Create the treeview without hildon-gtk
1807 helpers if we are not using maemo gtk.
1809 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1811 * src/hildon-pnnable-area.c,
1812 (hildon_pannable_area_dispose),
1813 (hildon_pannable_area_button_press_cb),
1814 (hildon_pannable_area_child_mapped),
1815 (hildon_pannable_area_add),
1816 (hildon_pannable_area_remove): Added code to control the position
1817 of the event_window when adding and removing children from the
1818 pannable. We have to raise the event window when the child is
1821 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1822 selection mode using custom widget inside pannable)
1824 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1826 * configure.ac: post release version bump
1827 * debian/changelog: version bump
1829 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1834 * configure.ac: bump version
1835 * debian/changelog: updates
1837 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1839 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1840 search mode, in order to avoid lose the focus on the treeview when
1841 a hw key (like enter) is pressed.
1843 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1844 in HildonDateSelector dialog)
1846 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1848 * debian/rules: Added --enable-maintainer-mode
1849 * Makefile.am: Added ACLOCAL_AMFLAGS
1851 This allows to properly regenerate the Makefiles if you modify the
1852 configure.ac or any Makefile.am.
1854 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1856 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1857 properties, not needed at all.
1859 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1861 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1863 * src/hildon-note.c: (hildon_note_set_property),
1864 (hildon_note_get_property), (hildon_note_class_init),
1865 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1866 (hildon_note_new_confirmation_add_buttons): Remove icons.
1867 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1868 (hildon_note_new_information_with_icon_name): Deprecate.
1869 (hildon_note_new_confirmation): Act directly, without calling
1870 the deprecated constructor.
1871 (hildon_note_new_information): Act directly, without calling
1872 the deprecated constructor.
1873 * src/hildon-note.h: Mark deprecate methods as such.
1874 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1875 not run tests on the deprecated methods if built with deprecation
1878 Fixes: NB#91688 (Never show icons in information notes/confirmation
1881 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1883 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1884 (hildon_app_menu_key_press): Remove leftover usage of the
1885 private structure in HildonAppMenu struct.
1886 * src/hildon-app-menu.h: Remove leftover private structure
1887 from the HildonAppMenu struct.
1889 Fixes a crasher when using the HildonAppMenu.
1891 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1893 * src/hildon-picker-dialog.c: Use appropriate logical id
1894 for the default "Done" text.
1896 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1898 * configure.ac: post release version bump
1899 * debian/changelog: version bump
1901 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1903 Modified the way to scroll to the current selection just when the touch
1904 selector is shown on the screen, avoiding a g_idle. Added too a property
1905 to configure this behaviour. See hildon_pannable_area_jump_to_child
1906 documentation for more information.
1908 * src/hildon-touch-selector.c
1909 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1910 Added 'initial-scroll' property
1911 (hildon_touch_selector_set_property): Added
1912 (hildon_touch_selector_map): Removed as not required anymore
1913 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1914 only a concrete column, instead of iterate along all the columns
1916 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1921 * configure.ac: bump version
1922 * debian/changelog: updates
1924 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1926 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1927 compilation time warnings.
1929 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1931 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1932 the default value for HildonPannableArea::mov-mode to
1933 HILDON_PANNABLE_AREA_MODE_VERT.
1935 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1937 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1939 Reverting following commit:
1941 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1943 * src/hildon-app-menu-private.h
1944 * src/hildon-app-menu.[ch]
1945 * src/hildon-button.[ch]
1946 * src/hildon-check-button.[ch]
1947 * src/hildon-entry.[ch]
1948 * src/hildon-pannable-area.[ch]
1949 * src/hildon-text-view.[ch]:
1950 Added private field to the object's structure.
1952 because it causes an ABI breakage. We will need to introduce these
1953 changes later at some point. See NB#91636 for an extensive
1954 explanation and status.
1956 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1958 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1960 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1961 remove special cases that are no longer necessary.
1963 Fixes: NB#91016 (Change toolbar sizes, simplification)
1965 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1967 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1968 is shown in the cancel note.
1970 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1972 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1973 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1974 (hildon_seekbar_init): Remove steppers, remove expose event.
1975 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1977 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1979 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1982 label font to "SmallSystemFont" for vertically arranged buttons.
1984 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1987 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1989 * src/hildon-check-button.c
1990 (hildon_check_button_set_active, hildon_check_button_clicked):
1991 Don't access private parts directly, use getters instead.
1993 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1995 * src/hildon-check-button.c (hildon_check_button_new):
1996 Align the contents of the check button to the left.
1998 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2000 * src/hildon-pannable-area.c,
2001 (hildon_pannable_area_scroll_to),
2002 (hildon_pannable_area_jump_to),
2003 (hildon_pannable_area_scroll_to_child),
2004 (hildon_pannable_area_jump_to_child): Replace the mapped
2005 precondition of these functions with the realized, it is the
2006 correct state of the widget in this case. Changed the
2007 documentation according to this modification.
2009 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2011 Added a new EXTRA_CFLAGS option to add the deprecated define to
2012 the compilation command. This way we can avoid using the define in
2013 the documentation compilation.
2015 * configure.ac: Defined EXTRA_CFLAGS.
2017 * examples/Makefile.am:
2019 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2021 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2023 * src/hildon-picker-dialog.c:
2024 Defined a utility macro with the desired touch selector height
2025 Removed currently unused separator, and title_label variables from
2027 (hildon_picker_dialog_init): Removed code related to the creation
2028 of unused private variables title_label and separator.
2029 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2030 to ensure correct visualization of the touch selector inside the dialog.
2031 * src/hildon-touch-selector.c
2032 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2033 ensure a concrete height of the widget.
2035 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2038 * tests/Makefile.am:
2040 Remove spurious whitespaces.
2042 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2044 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2045 compilation warning after the cancel button removal.
2047 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2049 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2051 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2052 Makefile.am, that way we can choose not to compile some examples
2053 and tests of the deprecated widgets.
2055 * examples/Makefile.am: Divided the sources in deprecated and
2058 * src/Makefile.am: Added undef statement of the deprecated
2059 symbol to the enums file generation process.
2061 * src/hildon-color-chooser-dialog.c
2062 * src/hildon-color-chooser-dialog.h
2063 * src/hildon-color-button.c
2064 * src/hildon-color-button.h
2065 * src/hildon-color-chooser.c
2066 * src/hildon-color-chooser.h
2067 * src/hildon-controlbar.c
2068 * src/hildon-controlbar.h
2069 * src/hildon-date-editor.c
2070 * src/hildon-date-editor.h
2071 * src/hildon-hvolumebar.c
2072 * src/hildon-hvolumebar.h
2073 * src/hildon-private.c
2074 * src/hildon-private.h
2075 * src/hildon-range-editor.c
2076 * src/hildon-range-editor.h
2077 * src/hildon-seekbar.c
2078 * src/hildon-seekbar.h
2079 * src/hildon-time-editor.c
2080 * src/hildon-time-editor.h
2081 * src/hildon-time-picker.c
2082 * src/hildon-time-picker.h
2083 * src/hildon-volumebar.c
2084 * src/hildon-volumebar.h
2085 * src/hildon-vvolumebar.c
2086 * src/hildon-vvolumebar.h
2087 * src/hildon-bread-crumb-trail.h
2088 * src/hildon-bread-crumb-trail.c
2089 * src/hildon-calendar-popup.c
2090 * src/hildon-calendar-popup.h
2091 * src/hildon-weekday-picker.c:
2092 * src/hildon-weekday-picker.h:
2093 * src/hildon-bread-crumb-widget.c:
2094 * src/hildon-bread-crumb-widget.h:
2095 * src/hildon-bread-crumb.c:
2096 * src/hildon-bread-crumb.h:
2097 * src/hildon-calendar.c:
2098 * src/hildon-calendar.h:
2099 * src/hildon-caption.c:
2100 * src/hildon-code-dialog.c:
2101 * src/hildon-code-dialog.h:
2102 * src/hildon-font-selection-dialog.c:
2103 * src/hildon-font-selection-dialog.h:
2104 * src/hildon-get-password-dialog.c:
2105 * src/hildon-get-password-dialog.h:
2106 * src/hildon-login-dialog.c:
2107 * src/hildon-login-dialog.h:
2108 * src/hildon-number-editor.c:
2109 * src/hildon-number-editor.h:
2110 * src/hildon-set-password-dialog.c:
2111 * src/hildon-set-password-dialog.h:
2112 * src/hildon-sort-dialog.c:
2113 * src/hildon-sort-dialog.h: This is the list of deprecated
2116 * src/hildon-touch-selector.c:
2117 * src/hildon-window.c: Added undef statement to avoid compilation
2120 * tests/Makefile.am: Divided the sources in deprecated and
2123 * tests/check_test.c,
2124 (configure_tests): Marked the deprecated code that was adding
2125 suites with deprecated tests.
2127 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2129 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2131 * src/hildon-touch-selector.c: (_default_print_func): Do not
2132 duplicate a string returned by gtk_tree_model_get(), it is already
2135 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2138 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2140 * src/hildon-pannable-area.c
2141 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2142 method, it had problems when adding a widget with viewport the
2143 second time. Now checks if it already has a viewport and uses it.
2145 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2148 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2150 * src/hildon-pannable-area.c,
2151 (hildon_pannable_area_scroll_to),
2152 (hildon_pannable_area_jump_to),
2153 (hildon_pannable_area_scroll_to_child),
2154 (hildon_pannable_area_jump_to_child): Added a precondition to the
2155 scroll and jump to functions: the widget must be mapped before we
2156 can safely call these functions. We have also added documentation
2157 to the functions to explain how to use them in this situation.
2160 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2162 Reviewed the threading handling of the pannable widget, we have
2163 used the gdk_threads_add_timeout function instead of the usual
2164 glib handlers. This avoids some problems with the threads.
2166 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2167 (hildon_pannable_area_initial_effect),
2168 (hildon_pannable_area_scroll_indicator_fade),
2169 (hildon_pannable_area_button_press_cb),
2170 (hildon_pannable_area_timeout),
2171 (hildon_pannable_area_motion_notify_cb),
2172 (hildon_pannable_area_button_release_cb),
2173 (hildon_pannable_area_scroll_cb),
2174 (hildon_pannable_area_scroll_to): Removed the
2175 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2176 gdk_threads_add_timeout.
2178 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2180 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2185 * configure.ac: bump version
2186 * debian/changelog: updates
2188 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2190 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2191 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2192 * src/hildon-color-chooser-dialog.c:
2193 (hildon_color_chooser_dialog_init):
2194 * src/hildon-font-selection-dialog.c:
2195 (hildon_font_selection_dialog_init):
2196 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2198 Remove all cancel/close-like dialogs, as these are not going to be
2201 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2203 * src/hildon-note.c: (hildon_note_rebuild),
2204 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2207 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2209 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2211 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2212 sure all buttons are shown, even the Cancel/Close-like ones.
2214 Fixes: NB#90861 (Custom Confirmation dialogs should be
2215 protected from cancel button removal)
2217 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2219 * debian/control: Change libhildon1-examples dependency from libhildon1
2221 * debian/libhildon1-examples.install
2223 * Makefile.am: Modified the final install directory for the examples on
2224 package libhildon1-examples
2225 * Makefile.static: Update clean target in order to remove all the binary
2228 Changes suggested by Claudio after review new libhildon1-examples package
2230 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2232 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2233 * src/hildon-touch-selector.c: Ditto.
2235 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2237 * debian/control: Added new package libhildon1-examples, in order to pack
2238 the current hildon examples as documentation
2239 * debian/rules: Not to compress .c files, modify some includes on the
2240 examples (as normally are compiled locally, but when installed it will
2241 require to include the installed libhildon1 library), and rename
2243 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2244 install all the example files on the new example package
2245 * examples/Makefile.static: Added static makefile that can be used to
2246 compile the examples, once installed the new example package
2247 * examples: Most of the examples were modified in order to grant that
2248 all use only '#include "hildon.h"', in order to be easy to prepare
2249 it on the example package
2251 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2254 * debian/libhildon1-dev.install
2255 * debian/libhildon1-doc.install:
2256 Move all gtk-doc files to a separate libhildon1-doc package.
2258 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2260 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2262 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2264 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2266 * debian/rules: Fixed a error in order to avoid unnecessary calls
2267 to autogen.sh on package building
2269 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2271 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2273 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2278 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2280 * src/hildon-picker-button.c
2281 (hildon_picker_button_finalize):
2282 Free priv->done_button_text
2284 * src/hildon-time-button.c
2285 (hildon_time_button_set_time)
2286 * src/hildon-picker-button.c
2287 (hildon_picker_button_clicked)
2288 (hildon_picker_button_selector_selection_changed)
2289 (hildon_picker_button_set_selector)
2290 * src/hildon-date-button.c
2291 (hildon_date_button_set_date):
2292 Free strings returned by hildon_touch_selector_get_current_text()
2294 * src/hildon-button.c (hildon_button_construct_child):
2295 Fix leaks in priv->image and priv->label_box
2297 Fixes: NB#90535 (Memory leak in picker button)
2299 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-button.c: (hildon_button_get_property): Do not access
2302 private elements directly, use getters instead.
2304 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2306 * src/hildon-app-menu-private.h
2307 * src/hildon-app-menu.c
2308 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2309 Store the menu's parent window.
2311 * src/hildon-stackable-window.c
2312 (hildon_stackable_window_toggle_menu)
2313 (hildon_stackable_window_finalize):
2314 Set the menu's parent window when the menu is shown, unset it when
2317 * src/hildon-app-menu.c
2318 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2319 (hildon_app_menu_class_init):
2320 Send unhandled keyboard accelerators to the parent window.
2322 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2324 * src/hildon-stackable-window.c
2325 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2327 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2329 * configure.ac: post release version bump
2331 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2334 * configure.ac: Bump version
2335 * debian/changelog: Updates
2336 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2339 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2341 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2344 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2345 GtkMenu with Hildon style.
2347 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2349 * src/hildon-picker-button.c:
2350 (hildon_picker_button_set_done_button_text): Set the dialog's
2351 done button text here as well.
2353 Fixes: NB#90232 (Picker button does not set the label on done button
2354 for the second time)
2356 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2358 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2361 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2363 * src/hildon-app-menu.c (hildon_app_menu_insert)
2364 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2365 the HildonAppMenu to be activatable using keyboard accelerators
2366 when the menu is not being shown.
2368 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2370 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2372 * src/hildon-stackable-window.c
2373 (hildon_stackable_window_show):
2374 Don't hide old windows automatically when new windows are shown:
2375 this is now a task for the window manager.
2376 (hildon_stackable_window_class_init)
2377 (hildon_stackable_window_hide):
2378 Remove windows from the stack everytime they're hidden.
2379 (hildon_stackable_window_realize):
2380 Don't change the _NET_WM_WINDOW_TYPE property. Use
2381 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2382 it as a stackable window.
2384 * src/hildon-program.c
2385 (hildon_program_pop_window_stack):
2386 Just hide the window to remove it from the stack.
2387 (hildon_program_go_to_root_window):
2388 Don't call gtk_widget_show(), this is now a task for the window
2391 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2393 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2395 * src/hildon-button.c
2396 (hildon_button_construct_child):
2397 Don't pack anything in the button until text or image are
2398 set. This allows adding a custom child after creating the button
2399 with hildon_button_new().
2400 (hildon_button_finalize, hildon_button_class_init)
2401 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2402 alignment and the label box even when they're not packed in the
2405 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2407 * src/hildon-touch-selector.h:
2408 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2409 currently the type definition was using GTK_TYPE_VBOX
2410 * src/hildon-touch-selector.c:
2411 Added some implementation notes in order to clarify that any other widget
2412 added without the column related API will not be included on the
2413 selection logic, and how the widget is freed, as some people ask about
2415 (hildon_touch_selector_remove): Reimplemented in order to free properly
2416 the column related data when you remove the private hbox.
2417 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2418 to get a proper HildonTouchSelectorColumn documentation
2420 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2422 * src/hildon-touch-selector-entry.c:
2423 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2424 text in the GtkEntry and there is no item selected. Fixes a
2427 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2429 * src/hildon-app-menu-private.h
2430 * src/hildon-app-menu.[ch]
2431 * src/hildon-button.[ch]
2432 * src/hildon-check-button.[ch]
2433 * src/hildon-entry.[ch]
2434 * src/hildon-pannable-area.[ch]
2435 * src/hildon-text-view.[ch]:
2436 Added private field to the object's structure.
2438 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2440 * configure.ac: post-release version bump
2442 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2446 * configure.ac: pre-release version bump
2448 * debian/changelog: updates.
2450 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2452 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2453 Disconnect the handler for HildonTouchSelector::changed.
2455 (hildon_picker_button_selector_selection_changed): Update the button
2456 value if the selection change was not triggered by the
2459 (hildon_picker_button_set_selector): connect to
2460 HildonTouchSelector::changed.
2462 Fixes: NB#89650 (Picker button is not updated, when selection in
2463 selector has changed)
2465 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2467 * src/hildon-picker-dialog.c
2468 (hildon_picker_dialog_realize): Removed as not required
2469 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2470 * src/hildon-picker-button.c
2471 (_current_selector_empty): New function, checks if the selector is empty
2472 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2473 if the current selector is empty, in order to avoid to show the dialog
2474 close the dialog in this case (and shows a g_warning).
2476 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2478 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2480 * src/hildon-pannable-area.c,
2481 (hildon_pannable_area_scroll): Added clause to stop movement when
2482 the child of pannable is smaller than one page.
2483 (hildon_pannable_area_scroll_to): Added conditions to avoid
2484 starting the scrolling movement if the child is smaller than one
2485 page, the complete child is in the screen, we do not have to move.
2487 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2489 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2491 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2492 this is managed automatically by the widget when the size of the
2495 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2497 * src/hildon-picker-button.c
2498 (hildon_picker_button_set_done_button_text): Make a copy of the
2499 text, and free the previous value.
2501 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2503 * src/hildon-touch-selector-entry.c:
2504 (hildon_touch_selector_entry_print_func): Return the selected row's
2505 text if the entry is empty.
2507 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2510 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2512 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2514 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2517 * src/hildon-check-button.h
2518 * src/hildon-check-button.c
2519 * examples/hildon-check-button-example.c:
2520 HildonCheckButton is now a new widget. 'toggled' signal added.
2522 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2524 * src/hildon-program-private.h
2525 * src/hildon-program.c (hildon_program_init)
2526 (hildon_program_finalize): Removed unused variables group_leader
2527 and name from HildonProgramPrivate.
2529 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-check-button.c (hildon_check_button_set_active)
2532 (hildon_check_button_get_active, hildon_check_button_new): Use
2533 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2535 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2537 * src/hildon-touch-selector.h
2538 (hildon_touch_selector_set_column_attributes): added deprecation
2539 guard HILDON_DISABLE_DEPRECATED
2540 * src/hildon-time-selector.c
2541 (hildon_time_selector_set_time)
2542 (hildon_time_selector_get_time): Fixed a typo on documentation
2543 * src/hildon-touch-selector.c: update HildonTouchSelector and
2544 HildonTouchSelectorColumn documentation
2545 * src/hildon-touch-selector-entry.c: update "text-column" property
2547 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2548 to be added to the general documentation.
2550 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2552 * examples/hildon-pannable-area-example-4.c,
2554 * examples/hildon-pannable-area-example.c,
2555 (main): Modified the code in order to use the container add, with
2556 viewport treeviews could have problems if they are really big.
2558 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2560 * src/hildon-weekday-picker.c,
2561 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2562 the agreement regarding deprecation in the library.
2564 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2566 * examples/hildon-picker-button-multicolumn-example.c:
2567 (main): Use custom "done" button text.
2569 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2570 (hildon_picker_button_set_property),
2571 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2572 (hildon_picker_button_init),
2573 (+hildon_picker_button_get_done_button_text),
2574 (+hildon_picker_button_set_done_button_text): New methods to customize
2575 the "done" button label in the launched HildonPickerDialog. Also,
2578 * src/hildon-picker-button.h: add the public API.
2580 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2582 * src/hildon-date-selector.h:
2583 * src/hildon-picker-dialog.h:
2584 * src/hildon-time-selector.h:
2585 * src/hildon-touch-selector-column.h:
2586 * src/hildon-touch-selector.h:
2588 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2589 declarations. Fixes gtk-doc warnings.
2591 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2593 * src/hildon-picker-dialog.h
2594 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2595 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2597 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2598 long text is set as label for done button)
2600 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2602 * src/hildon-dialog.c (hildon_dialog_add_button):
2603 Set fixed width to all buttons in the HildonDialog.
2605 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2607 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2609 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2610 Set widget name using class name plus "-finger" or "-thumb".
2612 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2615 'clicked' when the state of the button is manually changed.
2617 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2619 * src/hildon-app-menu.c (hildon_app_menu_realize)
2620 (hildon_app_menu_unrealize, hildon_app_menu_init)
2621 (hildon_app_menu_class_init, item_visibility_changed):
2622 Change the menu layout when the size of the screen changes.
2623 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2624 Show warning only when changing the number of colums using the
2627 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2629 * debian/compat: Set to 5
2630 * debian/control: Update dependencies.
2631 * debian/libhildon1-dbg.install: Remove.
2632 * debian/libhildon1-dev.install: Update according to cdbs paths.
2633 * debian/libhildon1.install: Update according to cdbs paths.
2634 * debian/rules: Switch to cdbs.
2636 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2638 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2639 'item' variable renamed to 'filter'
2641 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2643 * src/hildon-app-menu.c (hildon_app_menu_insert)
2644 (hildon_app_menu_add_filter, remove_item_from_list)
2645 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2646 Don't leak hidden items when the menu is destroyed.
2648 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2650 * src/hildon-app-menu.c (hildon_app_menu_insert)
2651 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2652 (hildon_app_menu_set_columns, item_visibility_changed)
2653 (filter_visibility_changed, hildon_app_menu_repack_filters)
2654 (hildon_app_menu_repack_items):
2655 Repack items and filters separately.
2657 Don't repack all items, change only the ones that are needed to
2660 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2662 * src/Makefile.am: added hildon-touch-selector-column.h
2664 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2666 * src/hildon-touch-selector.c: added the property "text-column" to the
2667 class HildonTouchSelectorColumn, and related get/set functions
2668 (_default_printf_func): updated to use "text-column" property
2669 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2670 "text-column" in his documentation, as this is now included on
2671 HildonTouchSelectorColumn. The get/set_property can still be used,
2672 working as a wrapper to the concrete column "text-column" property
2673 (_text_column_modified): callback added in order to handle the signal
2674 "notify::text-column" of the concrete HildonTouchSelectorColumn
2675 (hildon_touch_selector_entry_get_text_column)
2676 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2677 modified in order to use the HildonTouchSelectorColumn "text-column"
2679 * src/hildon-time-selector.c:
2680 * src/hildon-date-selector.c:
2681 * examples/hildon-touch-selector-example.c
2682 * examples/hildon-touch-selector-multi-cells-example.c
2683 * examples/hildon-picker-button-multicolumn-example.c
2684 Set the right value to "text-column" property on the creation of a new
2685 column using hildon_touch_selector_append_column()
2687 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2689 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2691 * src/hildon-app-menu.c
2692 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2693 updating the layout of the menu, don't create all widgets again,
2694 just repack the items in their new places.
2696 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2698 * src/hildon-time-selector.c
2699 (hildon_time_selector_get_time)
2700 (hildon_time_selector_set_time)
2701 Added documentation of these public methods
2703 * src/hildon-date-button.h
2704 * src/hildon-touch-selector-column.h
2705 * src/hildon-time-button.h
2706 * src/hildon-picker-dialog.h
2707 * src/hildon-time-selector.h
2708 * src/hildon-picker-button.h
2709 * src/hildon-touch-selector.h
2710 * src/hildon-time-picker.h
2711 * src/hildon-date-selector.h
2712 * src/hildon-touch-selector-entry.h
2713 Modified in order to use hildon-widgets code style
2715 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2717 Added deprecated support to the compilation process using
2718 HILDON_DISABLE_DEPRECATED
2720 * configure.ac: Added the --disable-deprecated to the configure
2723 * src/hildon-weekday-picker.c:
2724 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2725 to use the deprecated support. We will update the other deprecated
2726 widgets status in a new patch.
2728 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2730 * configure.ac: Fixed typo with fatal warnings support, the
2731 variable name was not correct
2733 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2735 * src/hildon-app-menu.c
2736 * src/hildon-program.c: Update documentation.
2738 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2740 * configure.ac: Post-release version bump.
2742 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2747 * configure.ac: Pre-release version bump.
2748 * debian/changelog: Updates.
2750 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2752 * NEWS: Update news for previous releases.
2754 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2756 * examples/hildon-touch-selector-multi-cells-example.c:
2757 (create_selector): Update the example to use
2758 hildon_touch_selector_append_column() with a NULL renderer and set
2759 the renderers later.
2760 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2761 passed a NULL renderer. This is documented behavior now.
2763 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2764 This must be used if the developer wants full control on the layout of
2765 the renderers to be added to the column.
2767 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2769 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2771 * src/hildon-touch-selector.c: Documentation fixes.
2773 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2775 * src/hildon-wizard-dialog-private.h: Remove image and box.
2776 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2777 (hildon_wizard_dialog_set_property), (response): Completely remove
2778 image/icon support, and the containers required for the layout.
2780 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2782 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2784 * src/hildon-app-menu.c: Updated documentation.
2786 * src/hildon-stackable-window.c
2787 (hildon_stackable_window_set_main_menu): Unref the old menu after
2788 ref'ing the new one.
2790 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2792 * src/hildon-stackable-window.c
2793 (hildon_stackable_window_set_main_menu): Unref the previous menu
2794 instead of destroying it.
2796 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2797 floating reference and set has_user_ref_count to FALSE to make
2798 HildonAppMenu act like a normal ref-counted widget and not a
2801 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2804 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2806 * src/hildon-touch-selector-column.h: new file
2807 * src/hildon-touch-selector.h
2808 * src/hildon-touch-selector.c
2809 Implemented GtkCellLayout interface, in order to allow to configure
2810 the cell layout on each individual selector column
2811 (hildon_touch_selector_set_column_attributes): marked as deprecated
2812 * examples/hildon-touch-selector-multi-cells-example.c
2813 Example of how to use the GtkCellLayout interface on the selector
2815 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2817 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2819 * src/hildon-app-menu.h
2820 * src/hildon-app-menu.c
2821 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2822 (hildon_app_menu_append, hildon_app_menu_prepend):
2823 New methods to prepend, insert and move items in the menu.
2825 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2827 * src/hildon-wizard-dialog.c:
2829 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2831 (create_title): Update logical IDs and related code.
2832 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2834 * src/hildon-wizard-dialog.h: Note that
2835 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2836 point, as it is not used anymore.
2838 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2840 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2842 * src/hildon-note.c:
2843 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2844 shown. Do not display an icon in confirmation notes nor information
2846 (hildon_note_set_button_text): Update logical ID for cancel button.
2848 Fixes: NB#88850 (Update HildonNote button strings + signals)
2850 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2852 * src/hildon-stackable-window.c
2853 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2855 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2857 * src/hildon-app-menu-private.h
2858 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2859 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2860 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2861 temporary property 'columns' to change the number of columns.
2863 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2865 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2867 * examples/hildon-note-example.c: (on_information_clicked),
2868 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2869 debugging information.
2870 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2872 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2873 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2874 in order to close: this will be handled by the WM from now on.
2876 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2878 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-app-menu-private.h
2881 * src/hildon-app-menu.c
2882 (hildon_app_menu_append, hildon_app_menu_add_filter)
2883 (button_visibility_changed, hildon_app_menu_apply_style)
2884 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2885 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2886 layout everytime a button (item or filter) is shown or hidden.
2888 * src/hildon-stackable-window.c
2889 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2892 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2894 * src/hildon-touch-selector.c:
2895 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2896 that the treeview inside the touch selector is in fremantle hildon mode
2897 * examples/hildon-date-button-example.c
2898 * examples/hildon-picker-button-multicolumn-example.c
2899 * examples/hildon-touch-selector-entry-example.c
2900 * examples/hildon-touch-selector-example.c
2901 * examples/hildon-time-button-example.c
2902 * examples/hildon-picker-button-example.c:
2903 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2905 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2907 * examples/hildon-text-view-example.c: (main): Remove the
2908 gtkrc bits, now handled by the theme.
2910 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2912 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2915 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2917 * po/Makefile.am: Install properly the mo files.
2918 * po/en_GB.po: Update translation, to ease testing purposes.
2920 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2922 * examples/hildon-picker-button-example.c: (main): Select an item
2923 in the selector before setting it to the button.
2925 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2927 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2928 Update button's value if the selector has an item active.
2930 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2931 'value' with the selector)
2933 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2935 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2936 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2937 (hildon_picker_button_class_init): Plug the finalize method.
2938 (hildon_picker_button_set_selector): If there's a previously set
2939 selector, unref'it before setting a new one.
2941 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2942 HildonTouchSelector)
2944 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2946 * src/hildon-touch-selector-entry.c:
2947 (hildon_touch_selector_entry_changed): Check if there is no text
2948 selected before setting the entry text.
2951 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2953 * src/hildon-touch-selector.h
2954 * src/hildon-touch-selector.c
2955 (hildon_touch_selector_get_active)
2956 (hildon_touch_selector_set_active): New methods to set/get the
2957 index of the selected item.
2959 * src/hildon-picker-button.h
2960 * src/hildon-picker-button.c
2961 (hildon_picker_button_get_active)
2962 (hildon_picker_button_set_active): New methods to set/get the
2963 index of the selected item.
2965 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2967 * configure.ac: post-release version bump.
2969 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2973 * configure.ac: Pre-release version bump.
2974 * debian/changelog: Updates.
2975 * debian/control: Add myself as maintainer and depend on l10n
2978 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2980 * src/hildon-window.c
2981 (hildon_window_set_main_menu)
2982 * src/hildon-stackable-window.c
2983 (hildon_stackable_window_set_main_menu):
2984 Updated documentation.
2986 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2989 Don't free selector->priv manually.
2992 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2995 (hildon_gtk_window_set_progress_indicator):
2996 * src/hildon-gtk.h: Added the new API
2997 hildon_gtk_window_set_progress_indicator, it changes the state of
2998 the window progress hint.
3000 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-button.c
3003 * src/hildon-stackable-window.c: Minor documentation updates.
3005 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3007 * src/hildon-stackable-window.c: Updated documentation.
3009 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3011 * src/hildon-defines.h: Update margins definitions
3012 to the Fremantle sizes.
3015 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3017 * src/hildon-touch-selector.c,
3018 (_hildon_touch_selector_set_model): Cleaning the code after
3019 review, removed g_print and #if 0 from the code.
3021 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3023 * src/hildon-edit-toolbar.c: Update documentation.
3025 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3027 * src/hildon-check-button.h
3028 * src/hildon-check-button.c
3029 (hildon_check_button_set_label, hildon_check_button_get_label)
3030 * examples/hildon-check-button-example.c
3031 (button_clicked_cb):
3032 Removed deprecated methods.
3034 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3036 * src/hildon-text-view.c:
3037 Add sample code to the documentation.
3039 * src/hildon-entry.h
3040 * src/hildon-text-view.h:
3041 Minor cosmetic changes.
3043 * src/hildon-entry.c:
3044 Add sample code to the documentation.
3045 (hildon_entry_init, hildon_entry_refresh_contents):
3046 Don't allow NULL values in the placeholder.
3048 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3050 * doc/hildon-docs.sgml
3052 * examples/Makefile.am
3053 * examples/hildon-text-view-example.c
3055 * src/hildon-text-view.c
3056 * src/hildon-text-view.h
3058 New HildonTextView widget, with example.
3060 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3062 * po/POTFILES.in: Add missing files with translatable strings.
3063 Partially fixes NB#88287.
3065 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3067 * examples/hildon-pannable-area-example-2.c: (main): No need to
3068 set the cellrenderer height inside hildon touch lists, the theme does
3071 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3073 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3074 they are integrated in the theme.
3076 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3078 * examples/hildon-entry-example.c: Update the example adding
3079 widgets to modify the text and the placeholder of the HildonEntry.
3081 * src/hildon-entry.c: Show the placeholder everytime the widget
3082 is empty and loses the focus.
3084 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3086 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3088 * src/hildon-pannable-area.c,
3089 (hildon_pannable_area_size_request): Fixed bug in height
3090 requisition, avoid increasing size and add border twice.
3092 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3094 * configure.ac: postrelease version bump.
3096 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3100 * configure.ac: Prerelease version bump.
3101 * debian/changelog: update.
3102 * debian/rules: make -dbg package contain useful debugging symbols.
3104 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3106 * src/hildon-dialog.h
3107 * src/hildon-dialog.c
3108 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3109 New methods to add buttons with finger size.
3110 (hildon_dialog_new_with_buttons):
3111 Create buttons with finger size.
3113 * examples/hildon-dialog-example.c (main): Use HildonDialog
3114 methods to add buttons.
3116 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3118 * src/hildon-entry.c: Updated HildonButton documentation.
3120 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3122 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3123 button value label with (FALSE, FALSE) to prevent NB#88126 from
3126 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3128 * examples/hildon-pannable-area-example.c,
3129 (main): Removed examples panning a vbox inside a pannable
3130 area. Check bug NB#87965
3132 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3134 Patch contributed by Kris Rietveld (kris@imendio.com)
3136 * src/hildon-pannable-area.c,
3137 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3138 get_size and get_position, this saves an X server roundtrip.
3140 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3142 * doc/hildon-docs.sgml
3144 * examples/Makefile.am
3145 * examples/hildon-entry-example.c
3147 * src/hildon-entry.c
3148 * src/hildon-entry.h
3150 New HildonEntry widget, with example.
3152 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3154 * src/hildon-button.c (hildon_button_construct_child): Pack the
3155 image with expand == fill == FALSE. This is a workaround for a bug
3158 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3160 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3161 labels for the text column, to make it more look more dynamic.
3163 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3165 * src/hildon-time-selector.c
3166 Define gettext auxiliar macro N_
3167 (_create_minutes_model)
3168 (_create_hours_model)
3169 (_create_ampm_model): use of strftime in order to fill the model
3170 * src/hildon-date-selector.c
3171 (hildon_date_selector_finalize):
3172 (_locales_init): remove the logic related to get the name of the months
3173 using nl_langinfo, as it is not required anymore
3175 (_create_year_model)
3176 (_create_month_model)
3177 (_update_day_model): use of strftime in order to fill the model properly
3180 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3182 * src/hildon-button.h
3183 * src/hildon-button.c (hildon_button_get_image): New method to
3186 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3188 * src/hildon-touch-selector.c:
3189 (hildon_touch_selector_remove_column): Remove from the correct parent
3190 and also remove the list element and free it.
3193 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3195 * src/hildon-time-selector.c
3196 (_create_hours_model): change the range on 12h ampm format in order to use
3197 a 12-11 range instead of previous 01-12 range
3198 (hildon_time_selector_set_time): change the way to select the current time
3199 on 12h ampm format, due the change on the range
3200 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3203 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3205 * src/hildon-touch-selector.c
3206 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3207 in order to allow use this function on multiple row selection mode if
3208 the column is different that the first one
3211 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3213 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3214 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3216 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3218 * src/hildon-date-selector.h: clean some comments, now on the .c
3219 * src/hildon-date-selector.c
3220 (hildon_date_selector_select_month): first implementation
3221 (hildon_date_selector_select_day): added documentation, reimplemented
3222 using hildon_date_selector_select_current_date to avoid repeat code
3225 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3227 Reviewed interaction logic based on device experiences, refactored
3230 * src/hildon-pannable-area.c,
3231 (hildon_pannable_area_class_init): Updated default vmax speed.
3232 (hildon_pannable_area_calculate_velocity): Added this function, it
3233 avoids duplicate valocity calculation. Adjusted calculation to
3234 avoid problems with zero dist events.
3236 (hildon_pannable_area_motion_notify_cb): Now we use the
3237 calculate_velocity function.
3239 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3241 * src/hildon-date-selector.c
3242 (hildon_date_selector_select_current_date): fix the day range check
3243 as it failed using the last day of the current month
3246 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3248 * src/hildon-touch-selector.c
3249 (hildon_touch_selector_get_num_columns): added a parameter validation
3252 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3254 * examples/Makefile.am
3255 * examples/hildon-edit-toolbar-example.c: Example of the
3256 HildonEditToolbar widget.
3258 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3260 * configure.ac: postrelease version bump.
3262 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3266 * configure.ac: prerelease version bump.
3267 * debian/changelog: update.
3269 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3271 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3272 renderer to display stock icons in the touch list. Also, set the sizes
3273 to the recommended in the style guide.
3275 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3276 * src/hildon-touch-selector.h
3277 (hildon_touch_selector_set_active_iter): renamed, now is
3278 hildon_touch_selector_select_iter
3279 (hildon_touch_selector_get_active_iter): renamed, now is
3280 hildon_touch_selector_get_selected
3281 (hildon_touch_selector_unselect_iter): added
3282 * src/hildon-touch-selector.c
3283 Update after API modification (methods renamed)
3284 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3285 order to avoid problems selecting multiple elements on the column
3286 (hildon_touch_selector_unselect_iter): added the implementation
3287 * src/hildon-time-selector.c
3288 * src/hildon-date-selector.c
3289 * src/hildon-touch-selector-entry.c
3290 Update methods calls after hildon-touch-selector.h API modification (methods
3293 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3295 * src/hildon-stackable-window.c
3296 (hildon_stackable_window_finalize): Call the parent class's finalize.
3298 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3300 * examples/hildon-touch-selector-example.c: (create_selector): Use
3301 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3304 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3306 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3307 set a cell background color, to respect theming.
3309 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3311 * doc/hildon-docs.sgml
3314 * src/hildon-edit-toolbar.c
3315 * src/hildon-edit-toolbar.h
3316 * src/hildon.h: New HildonEditToolbar widget.
3318 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3320 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3323 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3324 * src/hildon-touch-selector.c
3325 (_create_new_column): use g_object_set instead of two g_object_set_property
3327 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3328 * src/hildon-touch-selector.c
3329 (_create_new_column): use of hildon_gtk_tree_view_new to create
3330 the treeview, instead of use directly g_object_new
3331 (_create_new_column): update the property name "vindicator-mode" for the
3332 new one "vscrollbar-policy"
3333 * examples/hildon-date-button-example.c
3334 * examples/hildon-picker-button-multicolumn-example.c
3335 * examples/hildon-touch-selector-entry-example.c
3336 * examples/hildon-touch-selector-example.c
3337 * examples/hildon-time-button-example.c
3338 * examples/hildon-picker-button-example.c
3339 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3340 to all the treeviews inside a pannable area.
3342 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-button.h
3345 * src/hildon-button.c (hildon_button_init)
3346 (hildon_button_set_arrangement, hildon_button_set_alignment)
3347 (hildon_button_set_title_alignment)
3348 (hildon_button_set_value_alignment)
3349 (hildon_button_set_image_alignment)
3350 (hildon_button_construct_child): New methods to set the alignment
3351 of the individual components of the button (title, value,
3352 image). Also, new method to alter the xscale and yscale properties
3353 of the GtkAlignment inside the button, so more complex layouts can
3356 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-button.c (hildon_button_style_set)
3359 (hildon_button_class_init, hildon_button_set_arrangement)
3360 (hildon_button_construct_child): Apply style properties
3361 correctly. Use the 'image-spacing' style property too.
3363 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3365 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3366 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3369 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3371 * src/hildon-pannable-area.c,
3372 (hildon_pannable_area_size_request): Fixed problem with
3373 pannable-area size_request.
3375 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3377 Added management for the grab-focus to a child widget, like a
3378 range, we need to fade out the scrollbar when releasing.
3380 * src/hildon-pannable-area.c,
3381 (hildon_pannable_area_init): Connected the grab-focus signal to
3383 (hildon_pannable_area_grab_notify): Added this function in order
3384 to manage the situation when the grab-focus ends. We have to
3385 fade-out the scrollbar.
3387 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3389 * src/hildon-app-menu.c: Minor documentation update.
3391 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3393 * src/hildon-app-menu.c
3394 * examples/hildon-app-menu-example.c (create_menu): Update
3395 examples and documentation to explain how to connect callbacks.
3397 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3399 * examples/hildon-button-example.c
3400 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3401 hildon_stackable_window_new instead of gtk_window_new
3403 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3405 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3406 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3407 (hildon_pannable_area_set_property),
3408 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3409 (hildon_pannable_area_unrealize),
3410 (hildon_pannable_area_size_request),
3411 (hildon_pannable_area_size_allocate),
3412 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3413 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3414 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3415 (hildon_pannable_area_initial_effect),
3416 (hildon_pannable_area_redraw),
3417 (hildon_pannable_area_scroll_indicator_fade),
3418 (hildon_pannable_area_expose_event),
3419 (hildon_pannable_area_get_topmost), (synth_crossing),
3420 (hildon_pannable_area_button_press_cb),
3421 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3422 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3423 (hildon_pannable_area_motion_notify_cb),
3424 (hildon_pannable_area_button_release_cb),
3425 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3426 (hildon_pannable_area_remove),
3427 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3428 chage the code layout to a more GtkWidget like. Review the use of
3431 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3433 * examples/hildon-pannable-area-example-4.c,
3434 (main): Modified the name of the hindicator_mode to
3437 * src/hildon-pannable-area.c,
3438 (hildon_pannable_area_class_init),
3439 (hildon_pannable_area_motion_notify_cb),
3440 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3441 we have reduced the amount of signals and managed reviewed its
3442 rationale. Changed the default decelerate value.
3444 (hildon_pannable_area_add),
3445 (hildon_pannable_area_redraw): Refactored functions.
3447 (hildon_pannable_area_init),
3448 (hildon_pannable_area_get_property),
3449 (hildon_pannable_area_set_property):
3450 (hildon_pannable_draw_vscroll),
3451 (hildon_pannable_draw_hscroll),
3452 (hildon_pannable_area_initial_effect),
3453 (hildon_pannable_area_expose_event),
3454 (hildon_pannable_area_scroll),
3455 (hildon_pannable_area_button_press_cb),
3456 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3457 and vindicator_mode with hscrollbar_policy and
3458 vscrollbar_policy. Replaced hscroll and vscroll with
3459 hscroll_visible and vscroll_visible.
3461 (hildon_pannable_area_refresh): Refactor the function, remove
3462 variables and check the calls to this function, added resize
3463 conditions in case the children change their layout.
3465 (hildon_pannable_area_size_request): Added more detailed
3466 size_request calculation.
3469 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3471 * src/hildon-color-chooser.c
3472 (init_borders): use the correct gtk_border_free instead of g_free, to
3473 avoid a crash when this widget is used (ie: the three color selection
3476 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3478 * src/hildon-check-button.c,
3479 (hildon_check_button_set_active): Fixed problem when setting the
3480 active value, the widget was not redrawn.
3482 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3484 * src/hildon-pannable-area.c,
3485 (hildon_pannable_area_refresh),
3486 (hildon_pannable_area_scroll),
3487 (hildon_pannable_area_motion_notify_cb): Small code style change.
3489 (hildon_pannable_area_class_init): Default initial_hint set to
3490 FALSE, it is not in the specs.
3492 (hildon_pannable_area_initial_effect),
3493 (hildon_pannable_area_expose_event),
3494 (hildon_pannable_area_map),
3495 (hildon_pannable_area_init): Moved the launching point of the
3496 initial effect, it was in map but the sizes where not correct in
3497 that method so we do not know if we have the reproduce it. Now it
3498 is placed in the expose_event method and uses a variable to
3499 reproduce it just once.
3501 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3503 * src/hildon-pannable-area.c,
3504 (hildon_pannable_draw_vscroll),
3505 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3506 position allowed for the scrollbars.
3508 (hildon_pannable_area_size_allocate): Small style change.
3510 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3512 * src/hildon-pannable-area.c,
3513 (hildon_pannable_area_scroll_indicator_fade),
3514 (hildon_pannable_area_button_press_cb),
3515 (hildon_pannable_area_button_release_cb),
3516 (hildon_pannable_area_scroll_cb),
3517 (hildon_pannable_area_expose_event),
3518 (hildon_pannable_area_init): Added the define parameter
3519 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3520 and refactor the fade variable.
3522 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3524 * src/hildon-pannable-area.c,
3525 (hildon_pannable_area_redraw),
3526 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3527 lines, we were reimplemeting the redraw code.
3529 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3531 * src/hildon-pannable-area.c,
3532 (hildon_pannable_area_scroll_cb),
3533 (hildon_pannable_area_realize),
3534 (hildon_pannable_area_class_init): Added scroll_event management
3535 for pannable area, now we can scroll the usual desktop method.
3537 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3538 initialization of the parameters should depend on idle_id.
3540 (hildon_pannable_area_init),
3541 (hildon_pannable_area_map): Small code style modifications
3543 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3545 * src/hildon-pannable-area.c
3546 (hildon_pannable_area_button_press_cb),
3547 (hildon_pannable_area_motion_notify_cb),
3548 (hildon_pannable_area_button_release_cb),
3549 (hildon_pannable_area_size_allocate),
3550 (hildon_pannable_area_scroll_to): Improved the timeouts
3551 management, we avoid creating them each time.
3553 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3555 * src/hildon-pannable-area.c:
3556 (hildon_pannable_area_refresh),
3557 (hildon_pannable_area_motion_notify_cb),
3558 (hildon_pannable_area_class_init):
3559 * src/hildon-pannable-area.h:
3560 * src/hildon-touch-selector.c
3561 (_create_new_column):
3562 * examples/hildon-pannable-area-example-4.c:
3563 (horizontal_movement),
3564 (vertical_movement),
3566 Replaced the names of enums in the HildonPannableArea:
3567 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3568 HILDON_MOVEMENT_MODE_*
3569 - HILDON_PANNABLE_AREA_MOV_* ->
3571 - Removed HildonPannableAreaIndicatorMode, now we
3574 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3576 * examples/hildon-pannable-area-touch-grid-example.c
3577 * examples/hildon-pannable-area-touch-list-example.c: Fix
3578 compilation warnings.
3580 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3582 * src/hildon-gtk.c (hildon_gtk_button_new)
3583 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3584 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3585 images overriding the value of the "gtk-button-images" setting.
3587 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-check-button.c (hildon_check_button_new):
3590 Instead of using a custom container, display the label and the
3591 checkbox using the standard GtkButton API.
3593 * examples/hildon-check-button-example.c (main): Don't use
3594 hildon_check_button_set_label() anymore
3596 * src/hildon-check-button.h
3597 * src/hildon-check-button.c
3598 (hildon_check_button_set_label, hildon_check_button_get_label):
3599 Set as deprecated, now we're using gtk_button_{get,set}_label()
3601 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3603 * src/hildon-pannable-area.c,
3604 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3605 GtkTreeview first line we detected it after the inclusion of the
3606 GtkWindowImpl in gtk+. We now check if the window is visible, not
3607 just if the pointer is over the window.
3608 (hildon_pannable_axis_scroll),
3609 (hildon_pannable_area_expose_event): Small style changes.
3611 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3613 * src/hildon-button.c: Update documentation.
3615 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3617 * examples/hildon-button-example.c: Add a switch to show images in
3620 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3622 * doc/hildon-docs.sgml: Some docs reorganization.
3624 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3626 * examples/hildon-pannable-area-touch-list-example.c
3628 * examples/hildon-pannable-area-touch-grid-example.c
3629 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3630 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3631 Fix memory leak when setting the tree model.
3633 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3637 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3639 * doc/hildon.types: Remove duplicated hildon_window_get_type
3640 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3641 documentation comment.
3643 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3645 * doc/Makefile.am: Complete list of private headers.
3647 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3649 * doc/hildon-docs.sgml
3650 * src/hildon-app-menu.c
3651 * src/hildon-bread-crumb.c
3652 * src/hildon-button.c
3654 * src/hildon-program.c
3655 * src/hildon-stackable-window.c
3656 * src/hildon-window.c: Lots of documentation updates.
3658 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3660 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3662 * configure.ac: Require Gtk+ 2.12.9 at least
3664 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3666 * src/hildon-pannable-area.c
3667 (hildon_pannable_area_scroll_indicator_fade),
3668 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3669 to protect the return of this timeout callbacks, avoiding deadlocks.
3671 2008-08-12 Christian Dywan <christian@imendio.com>
3674 * src/hildon-*.h: Ensure a consistent include order,
3675 include <gtk/gtk.h> instead of particular files and
3676 only include the topmost header in the gtk stack. See NB #39857
3678 2008-08-12 Christian Dywan <christian@imendio.com>
3680 * src/hildon-picker-dialog.c
3681 * src/hildon-touch-selector.c: Fix warnings about unused and
3682 uninitialized variables.
3684 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3686 * examples/Makefile.am
3687 * examples/hildon-check-button-example.c: Example of the hildon
3690 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3692 * src/hildon-window.h
3693 * src/hildon-window.c (hildon_window_class_init)
3694 (hildon_window_unset_program): Don't make
3695 hildon_window_unset_program a virtual function anymore.
3697 * src/hildon-stackable-window.c: Update documentation
3699 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3702 * doc/hildon-docs.sgml
3703 * doc/visual_index.xml
3704 * src/hildon-defines.c
3706 * src/hildon-helper.c
3707 * src/hildon-range-editor.c: Lots of documentation fixes.
3709 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3711 * examples/hildon-picker-button-multicolumn-example.c
3712 (create_touch_selector): Fix compilation warning.
3714 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3717 (hildon_pannable_area_button_release_cb)
3718 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3720 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3722 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3725 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3727 * src/hildon-bread-crumb-trail.h
3728 * src/hildon-date-editor.c
3729 * src/hildon-date-selector.c
3730 * src/hildon-pannable-area.c
3731 * src/hildon-picker-dialog.c
3732 * src/hildon-time-selector.c
3733 * src/hildon-touch-selector-entry.c
3734 * src/hildon-touch-selector.c
3735 * src/hildon-touch-selector.h: Misc documentation fixes
3737 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3739 * examples/hildon-date-editor-example.c (main): Updated date
3742 * examples/hildon-note-example.c (on_confirmation_clicked):
3743 Updated confirmation note example.
3745 * src/hildon-date-editor.c
3746 * src/hildon-note.c: Updated sample programs in documentation.
3749 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3751 * src/hildon-date-button.h:
3752 * src/hildon-picker-button.h:
3753 * src/hildon-time-button.c:
3754 * src/hildon-time-button.h:
3756 Some declarations changes to allow gtk-doc to document the widgets
3759 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3761 * src/hildon-date-button.c: Document the widget.
3762 * src/hildon-time-button.c: Document the widget.
3764 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3766 * src/hildon-picker-button.c: Document the widget.
3767 * src/hildon-touch-selector-entry.c: Document the widget.
3769 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3771 * doc/hildon-docs.sgml
3774 * src/hildon-check-button.h
3775 * src/hildon-check-button.c: New functions to create the Hildon
3779 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3781 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3783 * src/hildon-button.h
3784 * src/hildon-button.c
3785 (hildon_button_add_title_size_group)
3786 (hildon_button_add_value_size_group)
3787 (hildon_button_add_image_size_group)
3788 (hildon_button_add_size_groups): New functions to set size groups
3789 for the button labels and image.
3790 (hildon_button_new_full): Removed
3792 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3794 * src/hildon-time-selector.c
3795 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3796 in order to avoid a crash if gconf is not available
3798 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3800 * src/hildon-button.c (hildon_button_set_arrangement)
3801 (hildon_button_construct_child): Don't construct the button child
3802 before setting the arrangement.
3804 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3806 * src/hildon-program-private.h
3807 * src/hildon-program.c
3808 * src/hildon-program.h
3809 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3810 (hildon_program_peek_window_stack)
3811 (hildon_program_pop_window_stack)
3812 (hildon_program_go_to_root_window): HildonProgram now has a
3813 separate list for stackable windows. Functions are provided to
3814 manage that list with a stack-like API.
3816 * src/hildon-stackable-window.c: Stackable window management is
3817 now much simpler with the new HildonProgram API. Windows no
3818 longer need to be manually added to the program, they're
3819 automatically pushed to the top of the stack when shown.
3821 * examples/hildon-stackable-window-example.c: Updated example to
3822 reflect the API changes.
3824 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3826 * src/hildon-touch-selector.c: Comment out unimplemented
3827 hildon_touch_selector_insert_column() to avoid a compile warning.
3829 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3831 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3832 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3833 (hildon_touch_selector_set_column_selection_mode),
3834 (_hildon_touch_selector_set_model),
3835 (hildon_touch_selector_set_model):
3837 Complete review of HildonTouchSelector documentation.
3839 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3841 * doc/hildon-docs.sgml
3845 * src/hildon-gtk.c: Convenience functions for standard Gtk
3846 widgets, used to easily perform frequent operations.
3848 * src/hildon-button-helpers.h
3849 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3851 * src/hildon-helper.h
3852 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3853 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3855 * src/hildon-button.h
3856 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3858 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3860 * src/hildon-button.c (hildon_button_init)
3861 (hildon_button_set_arrangement, hildon_button_construct_child):
3862 Pack the image and the labels inside the same GtkAlignment so
3863 gtk_button_set_alignment() can be used
3865 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3867 * src/hildon-button.h
3868 * src/hildon-button.c
3869 (hildon_button_init, hildon_button_set_image)
3870 (hildon_button_set_image_position)
3871 (hildon_button_construct_child): New functions to add an image to
3874 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3876 * src/hildon-date-button.c
3877 * src/hildon-picker-button.c
3878 * src/hildon-time-button.c
3879 * src/hildon-button.c:
3880 (hildon_button_class_init): "size-flags" renamed to "size"
3881 (hildon_button_set_title): Hide the title label if set to NULL.
3883 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3885 HildonButtonFlags split into HildonButtonArrangement (to set the
3886 button layout) and HildonSizeType (which can be used for any
3889 * src/hildon-button.h
3890 * src/hildon-button.c
3891 (hildon_button_class_init)
3892 (hildon_button_set_arrangement)
3893 (hildon_button_set_property): New "size-flags"
3894 property. "arrangement-flags" renamed to "arrangement".
3895 (hildon_button_new, hildon_button_new_with_text)
3896 (hildon_button_new_full): Constructors updated to reflect type changes.
3898 * src/hildon-helper.h
3899 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3900 to set the size of a widget.
3904 * src/hildon-button-helpers.c
3905 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3907 * src/hildon-date-button.c
3908 * src/hildon-date-button.h
3909 * src/hildon-picker-button.c
3910 * src/hildon-picker-button.h
3911 * src/hildon-time-button.c
3912 * src/hildon-time-button.h: Updated widgets to reflect
3913 HildonButton API changes.
3915 * examples/hildon-button-example.c
3916 * examples/hildon-date-button-example.c
3917 * examples/hildon-picker-button-example.c
3918 * examples/hildon-picker-button-multicolumn-example.c
3919 * examples/hildon-time-button-example.c
3920 * examples/hildon-touch-selector-entry-example.c
3921 * examples/hildon-touch-selector-example.c: Updated examples to
3922 reflect HildonButton API changes.
3924 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3926 * doc/hildon-docs.sgml:
3928 * examples/Makefile.am:
3929 * examples/hildon-touch-selector-entry-example.c:
3931 * src/hildon-touch-selector-entry.c:
3932 * src/hildon-touch-selector-entry.h:
3935 Moved HildonTouchSelectorEntry from sandbox. Added its
3936 documentation and examples.
3938 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3940 * src/hildon-touch-selector.h:
3941 * examples/hildon-picker-button-multicolumn-example.c:
3942 (hildon_touch_selector_append_text_column): Add a gboolean
3943 parameter to determine if text must be centered in the column.
3945 * src/hildon-date-selector.c: (hildon_date_selector_init):
3946 * src/hildon-time-selector.c: (hildon_time_selector_init):
3947 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3948 (create_touch_selector): Update widgets and example to reflect
3951 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3953 * src/hildon-touch-selector.c:
3954 (hildon_touch_selector_set_active_iter): Set also the cursor in
3957 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3959 * doc/hildon-docs.sgml
3962 * src/hildon-toggle-button.c
3963 * src/hildon-toggle-button.h
3964 * src/hildon.h: Removed HildonToggleButton widget, a derived
3965 class is not necessary for this.
3967 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3969 * src/hildon-pannable-area.c,
3970 (hildon_pannable_area_realize),
3971 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3974 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3976 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3977 "done" button the default widget for the dialog.
3979 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3981 * src/hildon-touch-selector.c:
3982 (hildon_touch_selector_class_init),
3983 (hildon_touch_selector_get_property),
3984 (_hildon_touch_selector_set_model),
3985 (_hildon_touch_selector_has_multiple_selection),
3986 (hildon_touch_selector_has_multiple_selection):
3987 Add a "has-multiple-selection" property with a virtual
3988 has_multiple_selection() method to allow derived classes to
3989 override the default value for it. See the method and property
3990 documentation for details.
3992 * src/hildon-touch-selector.h: Add the new API.
3994 * src/hildon-picker-dialog.c: (requires_done_button): Call
3995 hildon_touch_selector_has_multiple_selection() instead of
3996 determining the need for a button itself.
3998 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4000 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4001 (_hildon_touch_selector_set_model),
4002 (hildon_touch_selector_set_model): Move working code to
4003 _hildon_touch_selector_set_mode(). Call the class method instead.
4005 * src/hildon-touch-selector.h: Add (*set_model) to
4006 HildonTouchSelectorClass.
4008 Make hildon_touch_selector_set_model() a virtual method, so that
4009 derived classes can extend it and do fancy stuff with the model.
4011 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4013 * configure.ac: Set back the tarname in AC_INIT to hildon.
4015 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4019 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4020 instead of libesd (NB#86876). Volume handling is still an open issue.
4022 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4025 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4028 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4029 derived class to ease placement of an entry widget in
4030 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4031 end, where the selector columns are packed now.
4033 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4035 * src/hildon-picker-button.c: Removed the simple _text() API.
4036 * src/hildon-picker-button.h: Likewise.
4038 * src/hildon-touch-selector.h:
4039 * src/hildon-touch-selector.c:
4040 (hildon_touch_selector_new_text),
4041 (hildon_touch_selector_append_text),
4042 (hildon_touch_selector_prepend_text),
4043 (hildon_touch_selector_insert_text):
4045 Moved the simple _text() API from HildonPickerButton to
4046 HildonTouchPicker, to provide better escalability and not to tie
4047 that API to HildonPickerButton.
4049 * examples/hildon-picker-button-example.c: (main): Example updated.
4051 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4053 * src/hildon-button.c: Updated documentation.
4055 * examples/hildon-button-example.c: Add the posibility to create
4056 the buttons using horizontal layout for title and value.
4058 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4060 * src/hildon-app-menu-private.h
4061 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4062 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4063 GtkSizeGroup for the filters, use the 'homogeneous' property of
4066 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4068 * examples/hildon-button-example.c: Updated example.
4070 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4072 * doc/hildon-docs.sgml:
4075 Update documentation.
4077 * examples/Makefile.am: Update renamed examples.
4079 * examples/hildon-picker-button-multicolumn-example.c:
4080 (create_touch_selector), (main): Update after the rename.
4082 * examples/hildon-touch-picker-example.c: Removed.
4083 * examples/hildon-touch-selector-example.c: (value_changed),
4084 (create_selector), (get_visible_content), (main): Renamed from
4085 hildon-touch-picker-example.c
4087 * src/Makefile.am: Updated renamed files.
4089 * src/hildon-date-button.c: (hildon_date_button_init),
4090 (hildon_date_button_get_date), (hildon_date_button_set_date):
4091 * src/hildon-date-selector.c: (hildon_date_selector_init),
4092 (_custom_print_func), (_update_day_model),
4093 (_manage_selector_change_cb),
4094 (hildon_date_selector_select_current_date),
4095 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4096 * src/hildon-date-selector.h:
4097 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4098 (hildon_picker_button_set_property),
4099 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4100 (hildon_picker_button_init), (hildon_picker_button_new_text),
4101 (hildon_picker_button_append_text),
4102 (hildon_picker_button_prepend_text),
4103 (hildon_picker_button_insert_text),
4104 (hildon_picker_button_set_selector),
4105 (hildon_picker_button_get_selector):
4106 * src/hildon-picker-button.h:
4107 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4108 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4109 (_update_title_on_selector_changed_cb), (requires_done_button),
4110 (_hildon_picker_dialog_set_selector),
4111 (hildon_picker_dialog_set_selector),
4112 (hildon_picker_dialog_get_selector):
4113 * src/hildon-picker-dialog.h:
4114 * src/hildon-time-button.c: (hildon_time_button_init),
4115 (hildon_time_button_get_time), (hildon_time_button_set_time):
4116 * src/hildon-time-selector.c: (hildon_time_selector_init),
4117 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4118 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4119 * src/hildon-time-selector.h:
4122 Massive code updates after the rename.
4124 * src/hildon-touch-picker.c: Removed.
4125 * src/hildon-touch-picker.h: Removed.
4127 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4128 (hildon_touch_selector_init), (hildon_touch_selector_map),
4129 (hildon_touch_selector_remove), (_default_print_func),
4130 (_selection_changed_cb), (_create_new_column),
4131 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4132 (hildon_touch_selector_append_text_column),
4133 (hildon_touch_selector_remove_column),
4134 (hildon_touch_selector_set_column_attributes),
4135 (hildon_touch_selector_insert_column),
4136 (hildon_touch_selector_get_num_columns),
4137 (hildon_touch_selector_get_column_selection_mode),
4138 (hildon_touch_selector_set_column_selection_mode),
4139 (hildon_touch_selector_set_print_func),
4140 (hildon_touch_selector_get_print_func),
4141 (hildon_touch_selector_get_active_iter),
4142 (hildon_touch_selector_set_active_iter),
4143 (hildon_touch_selector_get_selected_rows),
4144 (hildon_touch_selector_get_model),
4145 (hildon_touch_selector_set_model),
4146 (hildon_touch_selector_get_current_text),
4147 (_hildon_touch_selector_center_on_selected_items):
4148 * src/hildon-touch-selector.h: Renamed from
4149 hildon-touch-picker.[ch]
4151 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4152 references, code examples, and related documentation.
4154 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4156 * doc/hildon-docs.sgml
4159 * src/hildon-toggle-button.c
4160 * src/hildon-toggle-button.h
4161 * src/hildon.h: New HildonToggleButton widget.
4163 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4165 * src/hildon-button.c: Add API documentation.
4166 (hildon_button_set_size_groups): Check input parameters
4168 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4170 * src/hildon-pannable-area.c
4171 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4172 effect after reaching the movement thredshold. This way we start
4173 using the distance after passing the thredshold.
4175 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-button.c: (hildon_button_set_property): Use the
4178 appropriate g_value_get_flags() method.
4180 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4182 * doc/hildon-docs.sgml:
4185 Add the touch pickers, picker dialogs, and picker button widgets
4186 to the documentation.
4188 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4190 * src/hildon-button.c: (hildon_button_set_property),
4191 (hildon_button_class_init): Make "arrangement-flags" a proper
4192 G_TYPE_FLAGS derived property.
4194 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4196 * examples/Makefile.am: Add below examples.
4197 * examples/hildon-date-button-example.c:
4198 * examples/hildon-picker-button-example.c:
4199 * examples/hildon-picker-button-multicolumn-example.c:
4200 * examples/hildon-time-button-example.c:
4201 * examples/hildon-touch-picker-example.c:
4203 Add examples for the recently added touch pickers,
4204 picker dialogs, and picker button widgets.
4206 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4208 * src/hildon-button.c: Add some API documentation
4210 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4212 * src/hildon-button.h
4213 * src/hildon-button.c
4215 (hildon_button_new_with_text): New constructor to create a button
4216 with no text at all.
4217 (hildon_button_init, hildon_button_set_arrangement)
4218 (hildon_button_set_title, hildon_button_set_value)
4219 (hildon_button_set_text)
4220 (hildon_button_construct_child): Hide the value when it's not used
4221 so the rest of the text is properly aligned.
4222 Allow creating buttons with arbitrary widgets inside (not just
4223 title/value labels).
4225 * examples/hildon-button-example.c (vertical_buttons_window)
4226 (horizontal_buttons_window): Update example to use new API.
4228 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4230 * src/Makefile.am: Added HildonTimeButton.
4231 * src/hildon-time-button.c: Added missing LGPL header.
4232 * src/hildon-time-button.h: Added missing LGPL header.
4233 * src/hildon.h: Add hildon-time-button.h
4235 Copied HildonTimeButton from sandbox to trunk. Future work on this
4236 widget must take place in trunk.
4238 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4240 * src/Makefile.am: Added HildonDateButton.
4241 * src/hildon-date-button.c: Update includes.
4242 * src/hildon.h: Add hildon-date-button.h
4244 Copied HildonDateButton from sandbox to trunk. Future work on this
4245 widget must take place in trunk.
4247 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4249 * src/Makefile.am: Added HildonPickerButton.
4250 * src/hildon-picker-button.h: Update includes.
4251 * src/hildon.h: Add hildon-picker-button.h
4253 Copied HildonPickerButton from sandbox to trunk. Future work on
4254 this widget must take place in trunk.
4256 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4258 * src/Makefile.am: Added HildonPickerDialog.
4259 * src/hildon-picker-dialog.c: Update includes.
4260 * src/hildon.h: Add hildon-picker-dialog.h
4262 Copied HildonPickerDialog from sandbox to trunk. Future work
4263 on this widget must take place in trunk.
4265 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4267 * src/Makefile.am: Added HildonTimeSelector.
4268 * src/hildon.h: Add hildon-time-selector.h
4270 Copied HildonTimeSelector widget from sandbox to trunk. Future
4271 work on this widget must happen in trunk.
4273 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4275 * src/Makefile.am: Added HildonDateSelector.
4276 * src/hildon.h: Add hildon-date-selector.h
4278 Copied HildonDateSelector widget from sandbox to trunk. Future
4279 work on this widget must happen in trunk.
4281 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4283 * src/Makefile.am: Added HildonTouchPicker.
4284 * src/hildon-touch-picker.c: Update includes.
4285 * src/hildon.h: Add hildon-touch-picker.h
4287 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4288 on this widget must happen in trunk.
4290 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4292 * src/hildon-pannable-area.c:
4293 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4295 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4297 * examples/hildon-app-menu-example.c (main): Let the window
4300 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4302 * src/hildon-pannable-area.c
4303 (hildon_pannable_area_class_init): Set the min value of the
4304 overshoot properties to zero, which points out that not
4305 overshooting allowed.
4307 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4309 Modified the procedure to get the widget at a point inside the
4310 pannable area when using the movement type signals. Now the user
4311 has to call a function to get the child, that way we just
4312 calculate the child in case the user really want to use it and not
4315 * src/hildon-marshalers.list: Modified the marshallers, now we do
4316 not have the widget as a parameter.
4318 * src/hildon-pannable-area.c
4319 (hildon_pannable_area_motion_notify_cb),
4320 (hildon_pannable_area_class_init),
4321 (hildon_pannable_get_child_widget_at): Removed the widget
4322 parameter from the signal callback. We have also refactored the
4323 emission of the signals.
4325 * src/hildon-pannable-area.h: Added a new method to the API to
4326 calculate a widget at a point inside the pannable area,
4327 hildon_pannable_get_child_widget_at.
4329 * examples/hildon-pannable-area-example-4.c
4330 (horizontal_movement): Modified the example to use the new API,
4331 added condition to control which widget is under the event. This
4332 way we can avoid scrolling laterally over other widgets.
4334 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4336 * src/hildon-pannable-area.c
4337 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4338 modes, we stop getting the pointer events due to returning the
4339 callback without properly calling the get pointer again. Fixed
4340 also an error using the hscroll and vscroll.
4342 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4344 * src/hildon-app-menu-private.h
4345 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4346 (hildon_app_menu_button_release, hildon_app_menu_init)
4347 (hildon_app_menu_class_init): Don't hide the menu on button
4348 release if the user didn't press outside first.
4350 * src/hildon-window.h
4351 * src/hildon-window.c (hildon_window_toggle_menu)
4352 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4353 hildon_window_toggle_menu a virtual function for the stackable
4354 window to override it.
4356 * src/hildon-stackable-window.h
4357 * src/hildon-stackable-window-private.h
4358 * src/hildon-stackable-window.c
4359 (hildon_stackable_window_realize)
4360 (hildon_stackable_window_finalize)
4361 (hildon_stackable_window_class_init)
4362 (hildon_stackable_window_init)
4363 (hildon_stackable_window_set_main_menu): New function to set the
4364 app menu of a HildonStackableWindow.
4366 * examples/hildon-app-menu-example.c: Remove the button to show
4367 the app menu, now it'll be shown when clicking on the title bar
4370 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4373 set the widget name if the arrangement flags do not specify
4376 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4378 * src/hildon-button.c: (hildon_button_set_property),
4379 (hildon_button_class_init), (hildon_button_new_full),
4380 (hildon_button_set_arrangement): Added "arrangement-flags"
4383 Make the HildonButtonFlags a construction-only property, to allow
4384 subclasses to set them properly.
4386 2008-07-21 Tim Janik <timj@imendio.com>
4388 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4389 insertion position after backspace, so additional digits are appended,
4392 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4394 * src/hildon-pannable-area.c,
4395 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4396 TODO list, it was complete and removed the g_debug and g_print
4399 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4401 Added the movement modes to the hildon-pannable-area, with this
4402 modes the developers can control in which directions the widget
4403 can scroll. They can also connect to signals in order to do
4404 something when that happens, allowing applications scroll. There
4405 is an example uploaded showing how to use it.
4407 * examples/Makefile.am:
4408 * examples/hildon-pannable-area-example-4.c: Added this example of
4409 an application using the modes.
4411 * src/hildon-marshalers.list: Added a new marshaller for the new
4414 * src/hildon-pannable-area.h: Added new enumerations and flags in
4415 order to control the movement modes and the new signals to warn
4416 about the movements in the area.
4418 * src/hildon-pannable-area.c:
4419 (hildon_pannable_axis_scroll),
4420 (hildon_pannable_area_scroll),
4421 (hildon_pannable_area_motion_notify_cb),
4422 (hildon_pannable_area_get_property),
4423 (hildon_pannable_area_set_property),
4424 (hildon_pannable_area_map),
4425 (hildon_pannable_area_class_init),
4426 (hildon_pannable_area_init),
4427 (hildon_pannable_area_jump_to): Added the modes to control the
4428 movement in the widget. We have added properties to control it,
4429 signals to warn about the movements and refactored some code.
4431 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4433 Changes required in order to allow vfast_factor set to zero to
4436 * src/hildon-pannable-area.c:
4437 (hildon_pannable_area_button_press_cb): Changed the condition, it
4438 is required for not allowing click when vfast_factor is zero.
4439 (hildon_pannable_area_timeout): Initialized velocity variables
4440 when we stop moving, it was less than 1 but not zero and we need
4441 to check zero in some situations.
4442 (hildon_pannable_area_class_init): Changed the default value of
4443 the speed factor, now the button_press is just sent in case the
4444 speed is 2 per cent of the max speed.
4445 (hildon_pannable_area_init): Initialization with 0.
4447 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4449 * src/hildon-pannable-area.c,
4450 (hildon_pannable_area_get_topmost): replaced
4451 gdk_window_get_children with gdk_window_peek_children, this way we
4452 do not have to free the list because it is not a copy.
4454 (hildon_pannable_axis_scroll),
4455 (hildon_pannable_area_scroll),
4456 (hildon_pannable_area_timeout),
4457 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4458 two parameters that were only used inside the
4459 hildon_pannable_area_scroll function.
4461 * examples/hildon-pannable-area-example.c,
4462 (get_sawtooth_label): Fixed small memory leak.
4464 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4466 More checks for the case where the overshoot is bigger than the
4469 * src/hildon-pannable-area.c:
4470 (hildon_pannable_draw_vscroll),
4471 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4472 to draw the slider of the scrollbar under the other scrollbar.
4473 (hildon_pannable_area_expose_event): added new checks to control
4474 the drawing of the overshooting area rectangle, in case it is too
4475 big for the area of the widget.
4476 (hildon_pannable_area_size_allocate): add more checks to avoid
4477 setting a position to the child widget outside the area.
4479 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4481 * src/hildon-pannable-area.c
4482 (hildon_pannable_area_size_allocate): Added conditions to control
4483 when overshooting is bigger than the allocated space for the
4484 children, this avoids negative allocations.
4486 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4488 * doc/hildon-docs.sgml
4490 * examples/Makefile.am
4491 * examples/hildon-button-example.c
4493 * src/hildon-button.c
4494 * src/hildon-button.h
4495 * src/hildon.h: Initial version of the new HildonButton widget,
4498 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4500 * src/hildon-pannable-area.c:
4501 (hildon_pannable_area_button_press_cb),
4502 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4503 (hildon_pannable_area_motion_notify_cb),
4504 (hildon_pannable_area_button_release_cb),
4505 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4506 (hildon_pannable_area_jump_to_child):
4508 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4510 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4512 * examples/Makefile.am
4513 * examples/hildon-pannable-area-touch-grid-example.c
4514 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4515 the Hildon Touch List and Hildon Touch Grid using the
4516 HildonPannableArea widget.
4518 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4520 * src/hildon-pannable-area.c,
4521 (hildon_pannable_area_button_press_cb),
4522 (hildon_pannable_area_refresh),
4523 (hildon_pannable_area_scroll),
4524 (hildon_pannable_area_motion_notify_cb),
4525 (hildon_pannable_area_button_release_cb),
4526 (hildon_pannable_area_expose_event),
4527 (hildon_pannable_area_add),
4528 (hildon_pannable_area_remove),
4529 (hildon_pannable_area_realize),
4530 (hildon_pannable_area_size_allocate),
4531 (hildon_pannable_area_class_init),
4532 (hildon_pannable_area_init),
4533 (hildon_pannable_area_scroll_to_child),
4534 (hildon_pannable_area_jump_to_child): Fixed the problem of
4535 removing the child from the GtkBin, we have rearranged the widget
4536 hierarchy, now there is no GtkAlignment which was not doing
4537 anything interesting but breaking some of the assumptions of
4538 GtkContainer. Now developers if they want to add a GtkAlignment
4539 they could, but it is not inside the area.
4541 We had to review the whole allocation/expose process, now it is
4542 improved and we save at least three signals which would be saving
4543 some time when rendering the widget. The allocation of the
4544 scrollbars is now made in the allocate method as usual.
4546 We have also added some conditions in order to control when there
4547 is no child of the pannable area. Maybe we will need more work
4550 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4552 * src/hildon-pannable-area.c,
4553 (hildon_pannable_area_dispose): Released the fade-out timeout when
4554 disposing the widget.
4556 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4558 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4559 zero, we are going to use that property in order to deactivate the
4561 (hildon_pannable_axis_scroll),
4562 (hildon_pannable_area_size_allocate): Added conditions to control
4563 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4564 call, now it is called in all situations and we can remove calls
4565 in the allocate method.
4566 (hildon_pannable_area_map): Control the situation when
4567 overshoot_max is zero, we do not need the timeout.
4568 (hildon_pannable_area_class_init): Added documentation in order to
4569 point out that setting zero to overshoot_max means deactivate
4572 NOTE: removed trailing whitespaces from my previous comments of
4575 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4577 * src/hildon-pannable-area.c
4578 (hildon_pannable_area_get_property),
4579 (hildon_pannable_area_set_property),
4580 (hildon_pannable_area_map),
4581 (hildon_pannable_area_class_init),
4582 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4583 to cause the widget give a hint about its panning abilities upon
4586 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/hildon-pannable-area.c: Several documentation improvements.
4590 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-program.c
4593 * src/hildon-stackable-window.c: Update documentation.
4595 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4597 * src/hildon-stackable-window.c (get_previous_window_if_last):
4598 Renamed get_last_window()
4599 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4600 (hildon_stackable_window_unset_program):
4602 (get_previous_window_if_last):
4603 Detect if the window hasn't been added to a HildonProgram.
4605 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4607 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4609 * src/hildon-pannable-area.c
4610 (hildon_pannable_area_button_press_cb),
4611 (hildon_pannable_axis_scroll),
4612 (hildon_pannable_area_scroll),
4613 (hildon_pannable_area_timeout),
4614 (hildon_pannable_calculate_vel_factor),
4615 (hildon_pannable_area_get_property),
4616 (hildon_pannable_area_set_property),
4617 (hildon_pannable_area_class_init),
4618 (hildon_pannable_area_init),
4619 (hildon_pannable_area_scroll_to),
4620 (hildon_pannable_area_jump_to),
4621 (hildon_pannable_area_scroll_to_child),
4622 (hildon_pannable_area_jump_to_child):
4623 * src/hildon-pannable-area.h: Added the new API functions:
4624 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4625 hildon_pannable_area_scroll_to_child,
4626 hildon_pannable_area_jump_to_child
4629 * examples/Makefile.am
4630 * examples/hildon-pannable-area-example-2.c
4631 * examples/hildon-pannable-area-example-3.c: Added these two new
4632 examples in order to test and show how the new APIs work.
4634 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4636 * examples/hildon-stackable-window-example.c (new_window):
4637 * src/Makefile.am (noinst_HEADERS):
4638 * src/hildon-program.c (hildon_program_go_to_root_window):
4639 * src/hildon-program.h:
4640 * src/hildon-stackable-window-private.h:
4641 * src/hildon-stackable-window.c:
4642 * src/hildon-stackable-window.h:
4643 Create hildon-stackable-window-private.h
4644 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4646 * examples/hildon-app-menu-example.c (create_menu):
4647 * examples/hildon-hvolumebar-insensitive-example.c (main):
4648 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4649 * examples/hildon-toolbar-seekbar-example.c (main):
4650 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4651 * src/hildon-banner.c (hildon_banner_set_property):
4652 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4653 Fix compilation warnings
4655 * src/hildon-window.c:
4658 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4660 * src/hildon-stackable-window.c
4661 (hildon_stackable_window_unset_program):
4662 Calculate correctly whether to show the previous window if the
4663 last one is removed from the stack.
4664 (hildon_stackable_window_go_to_root_window):
4665 Send delete events starting from the topmost window.
4666 Stop if one of the windows is not destroyed.
4668 (hildon_stackable_window_delete_event)
4669 (hildon_stackable_window_class_init):
4670 Ignore the delete event if the window is not the topmost one.
4672 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4674 * src/hildon-pannable-area.c
4675 (hildon_pannable_area_expose_event): Fixed a problem when
4676 selecting the background color of the scrollbars.
4678 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4680 * examples/hildon-stackable-window-example.c
4681 * src/hildon-stackable-window.c
4682 * src/hildon-stackable-window.h
4683 hildon_stackable_window_go_home() renamed to
4684 hildon_stackable_window_go_to_root_window()
4685 Send delete events to windows rather than closing them with
4686 gtk_widget_destroy()
4688 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4690 * src/hildon-pannable-area.c
4691 (hildon_pannable_area_button_release_cb): Fix overshooting in
4694 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/hildon-pannable-area.c
4697 (hildon_pannable_area_init): Initially show the scroll indicators.
4698 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4700 Add initial effect showing the widget is pannable.
4702 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-pannable-area.c
4705 (hildon_pannable_area_class_init)
4706 (hildon_pannable_area_set_property)
4707 (hildon_pannable_area_get_property)
4708 (hildon_pannable_area_button_press_cb):
4709 New 'velocity_fast_factor' property to decide which velocity is
4712 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4714 * src/hildon-pannable-area.c
4715 (hildon_pannable_draw_hscroll)
4716 (hildon_pannable_draw_vscroll):
4717 Use float variables to calculate the size of the scrollbars to
4718 avoid error propagation and resizing during scrolling.
4720 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-pannable-area.c
4723 (hildon_pannable_draw_vscroll)
4724 (hildon_pannable_draw_hscroll):
4725 Define a minimum size for the scroll bars
4727 * src/hildon-stackable-window.c
4728 (hildon_stackable_window_go_home): Fix compilation warning
4729 (get_last_window): Minor optimizations
4730 (hildon_stackable_window_class_init): Fix initialization of
4733 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4735 * src/hildon-stackable-window.c: Fixed typos in doc
4737 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4739 * src/hildon-pannable-area.c
4740 (hildon_pannable_area_scroll):
4741 Calculate here whether we need to scroll instead of using the booleans
4742 that tell us whether to /draw/ the scrolling bars.
4744 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4746 * src/hildon-app-menu.h
4748 * src/hildon-app-menu.c
4749 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4750 multiple filter groups related code and API. Now we support only
4752 * examples/hildon-app-menu-example.c:
4754 Update to reflect API changes.
4756 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4758 * src/hildon-stackable-window.c
4759 (hildon_stackable_window_class_init):
4760 Add hildon_stackable_window_realize.
4761 (hildon_stackable_window_realize):
4762 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4763 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4764 to apply theming and behavior specific to HildonStackableWindow
4767 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4769 * src/hildon-note.c (hildon_note_button_release):
4770 Close information notes also when tapping on them
4772 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4774 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4775 ELASTICITY, refactor and review, fix some issues with drawing
4778 * src/hildon-pannable-area.c:
4779 (hildon_pannable_area_button_press_cb): removed the conditions to
4780 avoid clicks when overshooting. It is not required
4782 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4783 define. Refatored and reviewed the code, now we do not need to
4784 manage velocity in motion_notify.
4786 (hildon_pannable_area_motion_notify_cb): We have moved the code
4787 that controls the area_scroll to the axis_scroll function and get
4788 rid of duplicated code.
4790 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4792 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4794 (hildon_pannable_draw_vscroll),
4795 (hildon_pannable_draw_hscroll): Fixed the problems with the
4796 scrollbar drawing, now we do not use two surfaces, it is easier
4797 and saves resources.
4799 (hildon_pannable_area_get_property): Style modification.
4801 (hildon_pannable_area_class_init): Changed some default values.
4803 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4805 * src/hildon-stackable-window.c: Fix some typos in the
4808 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4810 * src/hildon-dialog.c:
4811 Change indentation style
4814 (hildon_note_button_release):
4815 Use root coordinates to check if the release event happened
4818 * src/hildon-app-menu.c
4819 (hildon_app_menu_button_release):
4820 Remove unnecessary check
4822 * examples/hildon-app-menu-example.c
4824 Add cast to fix warning
4826 * src/hildon-app-menu.c
4827 (hildon_app_menu_class_init):
4828 New inner-border style property.
4829 Set all default spacings to 16
4830 (hildon_app_menu_init):
4831 Use vertical-spacing to set the space between filter buttons and
4832 regular menu buttons.
4833 Set the default container border using the inner-border value.
4835 * examples/hildon-app-menu-example.c
4837 Don't set the menu border explicitly, now we have the inner-border
4838 style property for that.
4840 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4842 * src/hildon-app-menu.c (hildon_app_menu_init):
4843 Make the window modal
4845 * src/hildon-note.c (hildon_note_map)
4846 * src/hildon-app-menu.c (hildon_app_menu_map):
4847 Destroy the grab window if we're unable to grab the pointer
4849 * src/hildon-app-menu-private.h
4850 * src/hildon-app-menu.c
4851 (hildon_app_menu_init, hildon_app_menu_finalize)
4852 (hildon_app_menu_map, hildon_app_menu_unmap)
4853 (hildon_app_menu_button_release)
4854 (grab_transfer_window_get):
4855 Bring back the grab window
4856 (hildon_app_menu_realize):
4857 Decorate the window, set WM hint for Matchbox
4859 * src/hildon-note.c (hildon_note_realize):
4860 * src/hildon-banner.c (hildon_banner_realize):
4861 Add WM hints for Matchbox
4863 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4865 * src/hildon-app-menu-private.h
4866 * src/hildon-app-menu.c
4867 (hildon_app_menu_init, hildon_app_menu_finalize)
4868 (hildon_app_menu_map, hildon_app_menu_unmap)
4869 (hildon_app_menu_button_release):
4870 Remove the grab window, it's not needed anymore
4872 * src/hildon-program.c
4873 Fixed typo in documentation
4875 * src/hildon-app-menu.h
4876 * src/hildon-app-menu.c
4877 * examples/hildon-app-menu-example.c
4878 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4880 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4883 Added new transfer_window and close_if_pressed_outside private
4885 (hildon_note_rebuild):
4886 Don't add a cancel button to the information note. It will be
4887 closed when tapping outside
4888 Remove the comment about the OK button in the documentation
4889 (hildon_note_realize):
4890 Set the notification type hint
4891 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4892 Grab/ungrab pointer and keyboard if the note has to be closed when
4894 (hildon_note_button_release):
4895 Close the note when tapping outside (if applicable)
4897 * src/hildon-app-menu.c
4898 Grab/ungrab pointer and keyboard on map/unmap
4899 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4900 Close the menu on button release, not button press
4902 * src/hildon-banner.c
4903 (hildon_banner_set_property)
4904 (hildon_banner_check_position):
4905 Make the banner use the full width of the screen
4906 (hildon_banner_show_information)
4907 (hildon_banner_show_information_with_markup):
4908 Don't display an icon by default
4910 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4912 Added fading scrollbars and adapted all the overshooting code to
4913 horizontal scrolling. We have also fixed bugs with overshooting
4914 and current fading implementation.
4916 * src/hildon-pannable-area.c
4917 (hildon_pannable_area_scroll_indicator_fade): Time out function
4918 used to change the transparency of the scrollbars.
4920 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4921 control and fixed a problem with fading, we now remove the fade
4922 timeout before adding a new one.
4924 (hildon_pannable_axis_scroll):
4925 (hildon_pannable_area_scroll):
4926 (hildon_pannable_area_timeout): Added this functions so we can use
4927 the scroll code both for vertical and horizontal.
4929 (hildon_pannable_area_motion_notify_cb):
4930 (hildon_pannable_area_button_release_cb): Added the horizontal
4931 scrolling control, fixed a problem with the overshooting timeout.
4933 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4934 painting of the scrolls.
4936 (hildon_pannable_draw_vscroll):
4937 (hildon_pannable_draw_hscroll):
4938 (hildon_pannable_area_expose_event):
4939 Draw both scrollbars and rectangles in the overshooting area.
4941 (hildon_pannable_area_get_property):
4942 (hildon_pannable_area_set_property):
4943 Modified the overshoot property to overshoot_max
4945 (hildon_pannable_area_map):
4946 Replaced the comments symbols.
4948 (hildon_pannable_area_size_allocate):
4949 (hildon_pannable_area_class_init):
4950 (hildon_pannable_area_init): Added horizontal scroll, fading
4951 effect properties, fixed a problem when overshooting in the bottom
4954 * examples/hildon-pannable-area-example.c:
4955 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4956 looks better in the example.
4958 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4960 * src/hildon-window.c
4961 * src/hildon-window.h
4962 (hildon_window_class_init)
4963 (hildon_window_unset_program)
4964 (hildon_window_unset_program_real):
4965 Make unset_program a virtual function
4967 * src/hildon-stackable-window.c
4968 * src/hildon-stackable-window.h
4969 Added hildon_stackable_window_go_home()
4971 * examples/Makefile.am
4972 * examples/hildon-stackable-window-example.c
4973 HildonStackableWindow example
4975 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4977 * hildon-pannable-area.c: Added the overshoot property and removed
4978 the OVERSHOOT define. Fixed an indent style error.
4979 (hildon_pannable_area_motion_notify_cb):
4980 (hildon_pannable_area_get_property):
4981 (hildon_pannable_area_set_property): Add overshoot property.
4983 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4986 (hildon_pannable_area_class_init): Installed the new property.
4988 * hildon-pannable-area-example.c: Added a sawtooth function, this
4989 way it is easier to check the movement in the pannable.
4990 (get_sawtooth_label): Added this function.
4991 (main): Now we get the labels from the new get_sawtooth_label
4994 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4996 * src/hildon-app-menu.h
4997 * src/hildon-app-menu.c
4998 Renamed API variables for consistency
5000 (hildon_app_menu_popup): Use also the default window size to
5001 decide where to place the menu
5003 (hildon_app_menu_init, hildon_app_menu_class_init): New
5004 external-border style property
5006 2008-05-26 Michael Natterer <mitch@imendio.com>
5008 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5009 widget_class->tap_and_hold_setup signal slot doesn't exist any
5010 longer, stop overriding it.
5012 (hildon_time_editor_init): g_signal_connect() to the
5013 tap-and-hold-setup signal instead.
5015 (hildon_time_editor_entry_keypress): add cast to fix warning.
5017 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5019 * doc/hildon-docs.sgml
5021 * examples/Makefile.am
5022 * examples/hildon-app-menu-example.c
5024 * src/hildon-app-menu-private.h
5025 * src/hildon-app-menu.c
5026 * src/hildon-app-menu.h
5028 New HildonAppMenu widget
5030 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5032 Rearranged the inheritance of the pannable area, now it inherits
5033 from GtkBin. This will allow us to control the event_window and
5034 the allocation process of the widget, required for some effects.
5036 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5037 GtkBin structures. * src/hildon-pannable-area.c: Added the
5038 event_window variable.
5039 (hildon_pannable_area_button_press_cb):
5040 (hildon_pannable_area_button_release_cb):
5041 (hildon_pannable_area_motion_notify_cb):
5042 Changed the signature of the method, now we override the event
5043 callback instead of connecting to the signal.
5045 (hildon_pannable_area_realize):
5046 (hildon_pannable_area_unrealize):
5047 (hildon_pannable_area_map):
5048 (hildon_pannable_area_unmap):
5049 (hildon_pannable_area_size_allocate):
5050 Added functions to control the widget construction. We add a
5051 INPUT_ONLY window and we put it over the widgets inside the
5052 container, this event_window handles the events.
5054 (hildon_pannable_area_class_init):
5055 Replaced the signal connections with overrides of the event
5058 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5060 Bouncing effect added when touching the borders, you can change
5061 the elasticity of the border changing the ELASTICITY define.
5063 * src/hildon-pannable-area.c: Added ELASTICITY define.
5064 (hildon_pannable_area_timeout): Added inverse velocity when
5065 touching the border of the child widget, that causes a bounce.
5067 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5069 Improved performance, we now do not go to the X server in order to
5070 get the list of window children. Apparently the effect is the
5071 same, we have to be careful and check if this breaks something in
5074 * src/hildon-pannable-area.c:
5075 (get_ordered_children): Removed this function.
5076 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5077 the children windows function with gdk_window_get_children.
5079 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5081 * src/hildon-pannable-area.c:
5082 (hildon_pannable_area_dispose): Fixed a crash when closing the
5083 window and kinetics is activated.
5085 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5087 * src/hildon-pannable-area.h
5088 * src/hildon-pannable-area.c
5089 Changed indentation style to meet the one used in Hildon
5091 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5093 Reviewed the interaction of the AUTO mode, now we use the time
5094 attribute of the events and calculate the velocity in the motion,
5095 doing a gimp like calculation. The velocity is calculated in each
5096 motion event using the last velocity and the current one, the
5097 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5099 * src/hildon-pannable-area.c: Replaced the time based algorithm
5101 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5102 timeout for the AUTO mode when we are still moving the cursor. We
5103 added also the velocity calculation in this function.
5104 (hildon_pannable_area_button_release_cb): launch the timeout in
5105 case we are in AUTO mode. There are still some constants here that
5106 come from the old implementation that should be reviewed and
5109 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5111 * doc/hildon-docs.sgml
5114 * src/hildon-stackable-window.c
5115 * src/hildon-stackable-window.h
5117 New HildonStackableWindow widget
5119 * examples/hildon-dialog-example.c
5120 * examples/hildon-pannable-area-example.c
5123 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5125 * src/hildon-dialog.c
5126 (hildon_dialog_new_with_buttons): New constructor.
5128 * examples/hildon-dialog-example.c
5129 (main): Update the example to use the new
5130 hildon_dialog_new_with_buttons().
5132 * examples/hildon-pannable-area-example.c
5133 (main): Update example.
5135 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5137 * doc/hildon-docs.sgml
5139 Added HildonPannableArea to the documentation.
5141 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5143 * doc/visual_index.xml
5144 Fix reference to HildonLoginDialog in documentation
5146 * doc/hildon-docs.sgml
5148 * examples/Makefile.am
5149 * examples/hildon-dialog-example.c
5151 * src/hildon-dialog.c
5152 * src/hildon-dialog.h
5154 New HildonDialog widget.
5156 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5158 * src/hildon-pannable-area.c
5159 Merge latest changes (r4318, r4342) from libmokoui trunk
5161 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5163 * examples/Makefile.am
5164 * examples/hildon-pannable-area-example.c
5166 * src/hildon-pannable-area.c
5167 * src/hildon-pannable-area.h
5169 New HildonPannableArea widget.
5171 2008-04-15 18:05:19 <timj@imendio.com>
5173 * src/hildon-banner.c: revert the recent change, that introduced
5174 gtk_window_present() calls. this reopens:
5175 Bug 78481 - [freetest] information banners are hidden under browser menu
5176 But resolves another variant of:
5177 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5179 2008-04-15 13:21:13 <timj@imendio.com>
5181 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5182 recreated its layout, spotted by Kris. this fixes all remaining
5183 artefacts and stability issues with the banner code. in particular:
5184 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5186 2008-04-14 16:52:59 <timj@imendio.com>
5188 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5189 operating on unrealized widgets, fixes:
5190 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5192 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5194 2008-04-09 Kristian Rietveld <kris@imendio.com>
5196 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5197 makes banner disappear.
5198 Fixes: NB#79182: info banner flickering with certain message lengts.
5200 * src/hildon-banner.c (hildon_banner_constructor),
5201 (hildon_banner_init), (hildon_banner_set_text),
5202 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5203 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5204 FALSE, reset size requests of label and banner,
5205 (force_to_wrap_truncated): when the text is too wide, always enforce
5206 the maximum possible width instead of recalculating it from the
5207 layout; enforce the maximum banner height of 3 lines,
5208 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5209 nicer wrapping and no truncated chars if space gets tight.
5211 * src/hildon-banner-private.h: add has_been_wrapped and
5212 has_been_truncated fields.
5214 2008-04-07 Sven Herzberg <sven@imendio.com>
5216 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5217 local values in hildon_date_editor_size_allocate
5219 * src/hildon-date-editor.c: moved the real allocation code into the
5222 2008-04-07 Sven Herzberg <sven@imendio.com>
5224 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5225 local values in hildon_date_editor_size_allocate
5227 * src/hildon-date-editor.c: merged the two if() branches together
5229 2008-04-07 Sven Herzberg <sven@imendio.com>
5231 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5232 local values in hildon_date_editor_size_allocate
5234 * src/hildon-date-editor.c: changed the arguments of the if()
5237 2008-04-07 Sven Herzberg <sven@imendio.com>
5239 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5240 local values in hildon_date_editor_size_allocate
5242 * src/hildon-date-editor.c: split the calculation of the allocation
5243 from the real allocation
5245 2008-03-27 Michael Natterer <mitch@imendio.com>
5247 Fixes: NB#81696: The passcode is not overwritten even after
5250 * src/hildon-code-dialog.c
5251 (hildon_code_dialog_button_clicked)
5252 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5253 because that doesn't overwrite selected text. Instead, emit the
5254 "commit" signal on the entry's im_context so the entry's normal
5255 insert logic is triggered. Set the cursor to the end of the entry
5256 after each insert operation so that we *only* insert in the middle
5257 of the text if something was selected.
5259 2008-03-27 Michael Natterer <mitch@imendio.com>
5261 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5262 selector cannot be opened
5264 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5265 when the popup color selector is created. Please connect to this
5266 signal in order to set the dialog's help ID.
5268 2008-03-25 Sven Herzberg <sven@imendio.com>
5270 Fixes: MB#1212: Hide info banners (infoprints) on click
5272 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5273 extracted the close event simulation into an extra function
5274 (hildon_banner_button_press_event): simulate a close event and destroy
5275 the widget if the event wasn't handled
5276 (hildon_banner_class_init): added the button_press_event handler
5277 (hildon_banner_init): added button-press events to the widget
5279 2008-03-25 Sven Herzberg <sven@imendio.com>
5281 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5282 Patch from: Mohammad Anwari <mdamt@maemo.org>
5284 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5285 instead of the right in RTL mode
5286 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5287 breadcrumb button list in RTL mode
5288 * src/hildon-caption.c: mirror the appearance of the caption widget in
5290 * src/hildon-date-editor.c: mirror appearance of the date editor in
5292 * src/hildon-time-editor.c: mirror appearance of the time editor in
5294 * src/hildon-window.c: fix the position of the popup in RTL mode
5296 2008-03-25 Sven Herzberg <sven@imendio.com>
5298 Amendment to the fix of NB#22072. Fix compilation.
5300 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5302 2008-03-19 Sven Herzberg <sven@imendio.com>
5304 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5307 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5308 timeout id properly when the timeout will disappear this leaves no
5309 artifacts around in the destroy(); there will only be the timeout
5310 created by hildon_banner_ensure_timeout() and adding a new timeout
5311 will also work if the timeout gets removed because the timeout_handler
5314 2008-03-19 Michael Natterer <mitch@imendio.com>
5316 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5318 * src/hildon-volumebar.c
5319 * src/hildon-vvolumebar.c
5320 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5321 the widget becomes focussable at all.
5323 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5324 set the focus to wither the mute button or the volumebar.
5326 Remove own "can-focus" property and instead listen to
5327 notify::can-focus in order to update the widget's state.
5329 Implement GtkWidget::focus() and make sure we can also *leave* the
5330 widget, not only enter it, depending on volumebar orientation and
5331 requested focus direction.
5333 Clean up set_mute() to cooperate nicely with all the above.
5335 2008-03-04 Michael Natterer <mitch@imendio.com>
5337 Fixes: NB#78481: information banners are hidden under browser menu
5339 * src/hildon-banner.c: call gtk_window_present() on the banners so
5340 they are risen if they are already visible.
5342 2008-03-03 Sven Herzberg <sven@imendio.com>
5344 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5346 * examples/hildon-window-menu-example.c: (main): extended the window
5347 menu example to serve as a testcase for automatically added
5348 accelerator groups, too
5349 * src/hildon-window.c: (hildon_window_add_accel_group),
5350 (hildon_window_set_menu): added patch by Tommi Komulainen
5352 2008-03-03 Sven Herzberg <sven@imendio.com>
5354 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5356 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5357 knowledge about the border allocators used within GTK+
5359 2008-02-26 Sven Herzberg <sven@imendio.com>
5361 Fixes: MB#2981: Build with asserts broken
5363 * src/hildon-date-editor.c,
5364 * src/hildon-number-editor.c,
5365 * src/hildon-time-editor.c,
5366 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5367 the proper GType instance check
5369 2008-02-25 Sven Herzberg <sven@imendio.com>
5371 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5373 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5374 * examples/hildon-window-menu-example.c: (main): explicitly show
5376 * src/hildon-window.c:
5377 (hildon_window_set_main_menu): moved most of the code from set_menu()
5378 to this place; skipped the call to gtk_widget_show_all(); also didn't
5379 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5380 (hildon_window_set_menu): removed most of the code, just keep the
5381 questionable gtk_widget_show_all()
5382 * src/hildon-window.h: added the new function and deprecate the old
5385 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5391 * debian/changelog: Updating.
5393 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5396 * pkgconfig/Makefile.am:
5397 * pkgconfig/hildon.pc.in:
5400 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5401 use newly created API_MAJOR_VERSION.
5403 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5409 * debian/changelog: Updating.
5411 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5413 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5415 Add outer_border style property, we use it but don't define it (!).
5419 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5421 * examples/hildon-bread-crumb-trail-example.c (main):
5425 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5427 Fix logic for the bread crumb trail node removal.
5431 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5437 * debian/changelog: Updating.
5439 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5441 Patch by Alejandro to get/set passwords dialogs accesibility.
5443 * hildon-1/src/hildon-get-password-dialog.c:
5444 * hildon-1/src/hildon-set-password-dialog.c:
5445 Set atk_set_name to the passwd entries in order to allow
5446 accessibility by name on this entries.
5448 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5453 * debian/control: Updating gtk dep.
5455 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5457 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5458 USE_MAEMO_GTK is enabled.
5460 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5462 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5463 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5465 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5471 * debian/changelog: Updating.
5473 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5475 * examples/Makefile.am:
5476 * examples/hildon-logical-color-example.c:
5477 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5478 applied + adding a test case. Fixes: NB#71660.
5480 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5482 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5483 to be visible, fixes warning on map for windows without toolbars.
5485 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5487 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5488 2.11.0, add a check for that besides the MAEMO_GTK check.
5490 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5496 * debian/changelog: Updating.
5498 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5500 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5501 visibility. Fixes: NB#70842 and MB#615.
5503 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5505 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5506 set the separator as no-show-all so it doesn't unintentionally appear when
5507 someone does a show_all.
5509 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5511 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5512 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5513 toplevel item. Fixes: NB#62031
5515 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5517 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5518 fix the name of the function in the docs.
5520 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5526 * debian/changelog: Updating.
5528 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5530 * examples/hildon-banner-long-example.c: Adding a test-case for long
5533 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5535 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5537 * src/hildon-color-chooser-dialog.c:
5538 * src/hildon-color-chooser.c:
5539 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5540 memory leaks in font selector and color selector. Fixes: NB#70499 and
5543 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5545 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5547 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5549 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5550 little bit bigger. Fixes: #NB63694.
5552 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5558 * debian/changelog: Updating.
5560 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5563 * doc/hildon-docs.sgml:
5564 * doc/images/bread-crumb-trail.png:
5565 * doc/images/calendar-popup.png:
5566 * doc/images/caption.png:
5567 * doc/images/code-dialog.png:
5568 * doc/images/color-button.png:
5569 * doc/images/color-chooser-dialog.png:
5570 * doc/images/color-chooser.png:
5571 * doc/images/controlbar.png:
5572 * doc/images/date-editor.png:
5573 * doc/images/font-selection-dialog.png:
5574 * doc/images/get-password-dialog.png:
5575 * doc/images/hvolumebar.png:
5576 * doc/images/login-dialog.png:
5577 * doc/images/note.png:
5578 * doc/images/number-editor.png:
5579 * doc/images/range-editor.png:
5580 * doc/images/seekbar.png:
5581 * doc/images/set-password-dialog.png:
5582 * doc/images/sort-dialog.png:
5583 * doc/images/time-editor.png:
5584 * doc/images/time-picker.png:
5585 * doc/images/vvolumebar.png:
5586 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5587 Adding the bread-crumb-trial and helpers to the documentation.
5589 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5591 * examples/hildon-find-toolbar-example.c:
5592 * src/hildon-find-toolbar.c:
5593 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5594 actually continue firing the other handlers if connected. Adding a new
5596 hildon_find_toolbar_get_last_index that gets the index of the most
5597 recently added (last) item. Fixes: NB#52301.
5599 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5601 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5602 behaviour. Fixes: NB#68610.
5604 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5606 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5609 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5611 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5612 when realizing the banner. Should make the infonbanner effect a bit more
5615 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5617 * src/hildon-volumebar.c:
5618 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5619 hildon_volumebar_set_range_insensitive_message and
5620 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5622 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5624 * src/hildon-window.c: Fixing the border freeing on destroy.
5626 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5628 * src/hildon-code-dialog-private.h:
5629 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5630 kw keyboard support in HildonCodeDialog.
5632 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5638 * debian/changelog: Updating.
5640 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5642 * src/hildon-date-editor.c:
5643 * src/hildon-number-editor.c:
5644 * src/hildon-private.c:
5645 * src/hildon-private.h:
5646 * src/hildon-time-editor.c:
5647 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5648 handling in subclassed composite widgets. Fixes: NB#66628.
5650 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5652 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5653 from destroy_ callback as it introduces problems in async dbus signal
5654 handlers. Fixes NB#66673.
5656 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5658 * examples/hildon-hvolumebar-example.c:
5659 * src/hildon-volumebar.c: Improving the focus handling in the
5660 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5661 set_property accessor so that "mute" property can be actually set. I'm
5662 scared that nobody noticed it's totally broken.
5664 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5666 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5669 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5671 * src/hildon-calendar.c:
5672 * src/hildon-number-editor.c:
5673 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5674 matches the spec of 6 chars per second. Fixes: NB#60489.
5676 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5678 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5679 gtk_style_lookup_color sometime returns FALSE even though color was
5680 found and values were filled properly. Weird. Removing the warning for the
5683 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5685 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5686 expand vertically. Adding some extra space to the find toolbar buttons to
5687 make them thumbable. Fixes NB#66060.
5689 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5691 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5692 popup with "Ok" and "Cancel". Fixes NB#59299.
5694 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5696 * src/hildon-calendar.c: Process all window updates before executing next
5697 timeout. Fixes: NB#54146.
5699 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5705 * debian/changelog: Updating.
5707 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5709 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5710 the client event and ignore it, since we use the delete event to close
5713 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5715 * src/hildon-helper.c: Remove the bogus warning about color not being
5716 found. Fixes NB#58352.
5718 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5720 * examples/Makefile.am:
5721 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5722 HildonSeekbar widget inside a toolbar.
5724 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5726 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5727 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5728 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5729 don't want to be closed by non-temporary windows on map.
5731 Also use G_DEFINE_TYPE instead of manually typed code.
5733 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5740 * debian/rules: Updating.
5742 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5744 * examples/Makefile.am:
5745 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5746 bug NB#61128. Strangely it works.
5748 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * src/hildon-date-editor.c: When the date editor entry has been changed
5751 but the numbers of characters < max, turn off the skip validation flag.
5752 Prevents a situation when we enter first a valid year and later re-write
5753 it with an invalid one. Fixes NB#60154.
5755 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5757 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5758 code dialog. Fixes NB#64355.
5760 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5762 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5763 switching the page. Fixes NB#49374.
5765 * examples/Makefile.am:
5766 * examples/hildon-wizard-dialog-example.c: Adding an example for
5767 HildonWizardDialog that shows how to handle manual sensitivity setting on
5770 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5774 * src/hildon-version.h.in:
5775 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5777 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5779 * src/hildon-volumebar.c: Updating the docs.
5781 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5787 * debian/changelog: Updating.
5789 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5791 * src/hildon-find-toolbar.c:
5792 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5793 selected item: hildon_find_toolbar_set_active,
5794 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5795 hildon_find_toolbar_get_active_iter . They correspond to respective
5796 GtkComboBox functions.
5798 * examples/Makefile.am:
5799 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5802 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5804 * examples/Makefile.am:
5805 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5808 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5809 when font size > 32 and we pack a focusable widget inside. Actually using
5810 the default response would work too, but since we don't show default
5811 response state in any way (no theming) it would not be visible to the
5812 user. Fixes NB#63430.
5814 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5816 * src/hildon-date-editor.c: Adding the missing variable setter in the
5817 set_property handler. Fixes NB#54182.
5819 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5821 * src/hildon-window.h: Changing the long key press time from 1500ms to
5822 800ms as requested in NB#63700. I have a bad feeling about this, let's
5823 see... Fixes NB#63700.
5825 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5827 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5828 hildon_time_picker_map, hildon_time_picker_realize,
5829 hildon_time_picker_style_set): Split the contents of map to more
5830 appropriate functions; set window decorations on realize and update
5831 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5833 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5838 * debian/changelog: Updating.
5840 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5842 * src/Makefile.am: fixed installation of the header files
5844 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5850 * debian/changelog: Updating.
5852 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5854 * configure.ac: Removing some remaining of --enable-xan.
5856 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5858 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5859 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5861 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5862 2.10.12-osso6 because the move-focus signal needs to be available in
5865 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * examples/Makefile.am:
5868 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5869 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5870 fine. Prolly NB#61128 is fixed now.
5872 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5874 * src/hildon-volumebar.c:
5875 * src/hildon-volumebar.h: Adding the
5876 hildon_volumebar_set_range_insensitive_message and
5877 hildon_volumebar_set_range_insensitive_messagef functions to set
5878 insensitive message on the slider of the volumebar. Fixes NB#61129.
5880 * examples/Makefile.am:
5881 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5882 test the new insensitive messsage functionality on HildonVolumebar.
5884 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5886 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5889 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5891 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5892 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5893 button on after clearing the trail.
5895 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5897 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5899 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5901 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5902 by splitting the installed headers in generated and non-generated groups. Use
5903 only the non-generated headers to create the hildon-enum-types.h file.
5905 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5907 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5909 * src/hildon-window.c: Hide the window before performing the destroy.
5910 Should make the app closing a little tiny bit more snappy.
5912 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5914 * src/hildon-seekbar.c: add gtkrange.h header
5915 * src/hildon-caption.c: remove unused variable
5917 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5919 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5922 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5928 * debian/changelog: Updating.
5930 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5932 * src/hildon-window.c (hildon_window_window_state_event,
5933 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5934 escape timeout on focus-out-event rather than notify::is-topmost; the
5935 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5937 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5939 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5940 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5942 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5944 * src/hildon-window: actually, you need to use the macro always, there's
5945 no private pointer in the instance structure. We should have cleaned this up
5946 when we had the chance...
5948 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5950 * src/hildon-window.c: do not get the private date from HildonWindow before
5951 it passes the g_return_if_fail check. Once it's passed the test, there's no
5952 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5953 if you are only going to access the data once. Whitespace cleanups.
5955 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5957 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5958 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5960 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5966 * debian/changelog: Updating.
5968 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * src/hildon-window.c: When destroying the window, remove (if exists) the
5971 escape timeout handler. Fixes #NB59276.
5973 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5975 * src/hildon-banner.c: When realizing the widget, set the window
5976 transiency. Setting the transiency in the gobject constructor is not
5977 good, as the widget is not realized at that point. Fixes: #NB56624.
5979 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5981 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5982 Add padding for future expansions.
5984 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5986 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5987 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5988 will fake an activation on the previous to the last item of the trail, so
5989 the effect can be overrided by the developer as usual.
5990 Also change the callback for the back button to do the same thing, so its
5991 effect can be overrided too. Fixes: NB#58982
5993 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5995 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5996 HildonCaption. Fixes NB#52379.
5998 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6000 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6001 the internal state of the trail after the user has had the chance of executing
6002 his handler for the signal. Specifically, it may happen that the activated button
6003 is removed and the user still lets the default handler run. This would segfault
6006 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6008 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6009 scrollbar to the preview dialog. Fixes NB#54147.
6011 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6013 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6014 max/min year properties can be altered, so the client can modify it
6015 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6017 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6019 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6020 hildonlike by default. Fixing a problem with disappearing arrows when
6021 scrolling through months and years. Fixes NB#54127.
6023 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6025 * examples/hildon-date-editor-example.c: Adding error callback to the date
6028 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6034 * configure.ac: Updating.
6036 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6038 * configure.ac: Adding a special '--enable-xan' configure option that
6039 turns off the -Werror compilation setting. Usefull for development.
6041 * src/hildon-calendar.c:
6042 * src/hildon-number-editor.c:
6043 * src/hildon-time-picker.c: Adding the 5* multiplier to
6046 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6048 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6049 instead of g_object_ref + gtk_object_sink.
6051 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6057 * debian/changelog: Updating.
6059 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6061 * src/hildon-color-chooser-dialog.c:
6062 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6063 straight from Tommi labs.
6065 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6067 * examples/hildon-finger-example.c: Correcting the header file path.
6069 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6070 the changed signal. Fixes a small memory leak.
6072 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6076 * src/hildon-banner.c: Importing several usefull fixes from the
6077 ubuntu-mobile branch.
6079 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6081 * examples/Makefile.am:
6082 * examples/hildon-finger-example.c: Adding a finger-checking code
6085 * src/hildon-font-selection-dialog.c: Do not allocate the color
6086 structure using the g_new. Fixes NB#54061.
6088 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6090 * src/hildon-helper.c: Correcting tabs in file.
6092 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6094 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6095 control the visibility of the children.
6097 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6099 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * debian/changelog: Updating.
6107 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6109 * src/hildon-bread-crumb-trail.c:
6110 (hildon_bread_crumb_trail_size_allocate):
6112 Make the back button always a square.
6114 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6116 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6117 from the .c file as it's a private file.
6119 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6121 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6122 uses slightly bigger height.
6124 * src/hildon-font-selection-dialog.c: Adding some checks before
6125 freeing memory in the font selection dialog.
6127 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6129 * src/hildon-font-selection-dialog.c: Adding a small check when
6132 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6133 buttons sensitivity on page switching.
6135 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6137 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6138 internal details of adding a bread crumb to the trail.
6140 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6146 * debian/changelog: Updating.
6148 * src/hildon-bread-crumb-trail.h:
6149 * src/hildon-bread-crumb.h: Changing the API guard to
6150 HILDON_ENABLE_UNSTABLE_API.
6152 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6160 * src/hildon-helper.h: Updating.
6162 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6170 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * src/hildon-helper.h: Small fix to make the package actually compile.
6176 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6178 * src/hildon-bread-crumb-trail.h:
6179 * src/hildon-bread-crumb.h:
6181 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6182 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6184 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6186 * examples/hildon-bread-crumb-trail-example.c:
6188 * src/hildon-bread-crumb-trail.c:
6189 * src/hildon-bread-crumb-trail.h:
6190 * src/hildon-bread-crumb.c:
6191 * src/hildon-bread-crumb.h:
6192 * src/hildon-marshalers.list:
6193 * src/hildon-bread-crumb-widget.c:
6194 * src/hildon-bread-crumb-widget.h:
6196 Slight change in the widget design. The bread crumb trail API is
6197 unchanged, but HildonBreadCrumb is now an interface. A *private*
6198 implementation, hildon-bread-crumb-widget, is provided and used
6199 internally by the trail for the push_text/push_icon functions.
6201 The generic push API is still available, so anyone can implement
6202 and use its own bread crumb widget.
6204 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6206 * debian/rules: Fixing the shlibs.
6208 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6210 * src/hildon-banner.c: Fixing a problem with timed banners having
6211 their parrent destroyed before they are.
6213 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6215 * src/hildon-bread-crumb.c:
6216 * src/hildon-bread-crumb.h:
6218 Make the get_natural_size function a vfunc.
6220 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6222 * src/hildon-bread-crumb.c:
6223 * src/hildon-bread-crumb-trail.c:
6227 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6234 * debian/changelog: Updating for release.
6236 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6238 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6239 don't leak the pango layout.
6241 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6244 * examples/hildon-bread-crumb-trail-example.c:
6248 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6250 * debian/changelog: Removing the bug-fixed entries that were actually
6251 resolved as WONTFIX.
6253 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6256 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6258 * src/hildon-bread-crumb-trail.c:
6259 * src/hildon-bread-crumb-trail.h:
6260 * src/hildon-bread-crumb.c:
6261 * src/hildon-bread-crumb.h:
6265 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6267 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6268 until it's passed the type check.
6270 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6272 * examples/hildon-bread-crumb-trail-example.c
6276 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6278 * examples/Makefile.am
6279 * examples/hildon-bread-crumb-trail-example.c
6281 * src/hildon-bread-crumb-trail.c
6282 * src/hildon-bread-crumb-trail.h
6283 * src/hildon-bread-crumb.c
6284 * src/hildon-bread-crumb.h
6286 New HildonBreadCrumbTrail widget.
6288 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6290 * src/hildon-range-editor.c (hildon_range_editor_init),
6291 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6292 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6293 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6294 hildon_time_editor_class_init, hildon_time_editor_init),
6295 src/hildon-get-password-dialog.c (invalid_input,
6296 hildon_get_password_set_property, hildon_get_password_get_property,
6297 create_contents, hildon_get_password_dialog_set_max_characters),
6298 src/hildon-set-password-dialog.c (create_contents),
6299 src/hildon-date-editor.c (hildon_date_editor_init),
6300 src/hildon-login-dialog.c (hildon_login_dialog_init),
6301 src/hildon-number-editor.c (hildon_number_editor_init),
6302 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6303 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6304 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6305 configure option and adding the respective checks in the code.
6306 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6307 hildon_calendar_drag_data_received): fixed some build warnings.
6309 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6311 * debian/changelog: A 1.0.0 release notes.