1 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
4 for num_days, since _month_days() can return a negative value.
6 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
8 * src/hildon-caption.c (hildon_caption_size_allocate):
9 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
10 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
12 Initialize allocation variables to 0, to avoid eventually using
13 unitialized variables.
15 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
17 * src/hildon-bread-crumb-trail.c
18 (hildon_bread_crumb_trail_size_allocate):
19 * src/hildon-calendar.c (hildon_calendar_set_background):
20 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
21 * src/hildon-range-editor.c (hildon_range_editor_get_range):
22 * src/hildon-seekbar.c (hildon_seekbar_init):
23 * src/hildon-time-editor.c (hildon_time_editor_get_time):
24 * src/hildon-time-selector.c (hildon_time_selector_finalize):
25 * src/hildon-touch-selector-entry.c
26 (hildon_touch_selector_get_text_from_model):
27 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
28 * src/hildon-window.c (hildon_window_finalize):
30 Remove many unused variables.
32 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
34 * src/hildon-seekbar.c: (hildon_seekbar_init),
35 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
37 Remove unnecessary g_assert() calls.
39 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
41 * src/hildon-caption.c: (hildon_caption_expose),
42 (hildon_caption_set_property), (hildon_caption_init),
43 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
44 (hildon_caption_size_request), (hildon_caption_size_allocate),
45 (hildon_caption_forall), (hildon_caption_set_separator),
46 (hildon_caption_activate), (hildon_caption_set_child_expand),
47 (hildon_caption_set_label_text),
48 (hildon_caption_get_label_alignment):
50 Remove unnecessary g_assert() calls.
52 2009-02-12 Alberto Garcia <agarcia@igalia.com>
55 (hildon_banner_map, hildon_banner_init): Make banner temporary
56 before mapping it to avoid closing other temporary windows, but
57 make it non-temporary afterwards to avoid being closed by other
58 non-temporary windows.
59 (-hildon_banner_client_event, hildon_banner_init):
60 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
62 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
65 2009-02-11 Alberto Garcia <agarcia@igalia.com>
67 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
70 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
72 * src/hildon-remote-texture.c
73 * src/hildon-remote-texture.h
74 * src/hildon-remote-texture-private.h
75 * examples/hildon-remote-texture-example.c:
76 Updates/fixes to remote-texture and its example.
78 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
80 Patch by Mox Soini (ext-mox.soini@nokia.com)
82 * src/hildon-code-dialog.c: Update logical id.
83 * src/hildon-set-password-dialog.c: Update logical id.
85 Fixes: NB#100646 (Logical strings is shown for ok in set
86 password,Password needed dialogs)
88 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
91 * src/hildon-remote-texture.c
92 * src/hildon-remote-texture.h
93 * src/hildon-remote-texture-private.h
95 Added remote texture widget (for Clutter shared memory textures)
97 * examples/hildon-remote-texture-example.c
98 * examples/Makefile.am
99 Added example file for remote texture usage
101 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
103 * configure.ac: post release version bump.
104 * debian/changelog: version bump.
106 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
111 * configure.ac: Bump version.
112 * debian/changelog: Updates.
114 2009-02-06 Alberto Garcia <agarcia@igalia.com>
116 * src/hildon-date-selector.c (hildon_date_selector_init)
117 (hildon_date_selector_constructor): Don't connect to the "changed"
118 signal until the selector is completely constructed.
120 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
122 * src/hildon-touch-selector.c: (_create_new_column),
123 (hildon_touch_selector_append_column),
124 (hildon_touch_selector_set_column_selection_mode),
125 (hildon_touch_selector_set_active),
126 (hildon_touch_selector_select_iter):
127 Emit the HildonTouchSelector::changed signal every time selection
128 is changed in any of the methods above. This behavior was already
129 documented but not fully functional.
131 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
132 selection is programmatically changed)
134 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
136 * doc/hildon-sections.txt: Remove obsolete icon
137 sizes from here as well.
139 2009-02-05 Alberto Garcia <agarcia@igalia.com>
141 * examples/hildon-stackable-window-example.c (add_window): Remove
144 2009-02-05 Alberto Garcia <agarcia@igalia.com>
146 * src/hildon-app-menu.c
147 (hildon_app_menu_show): Check whether the parent window of a menu
148 is topmost before popping it up.
150 Fixes: NB#100468 (Application menu window is launched even when a
151 new secondary-window/dialog is pending to be shown/realized.)
153 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
155 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
158 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
160 Patch by Mox Soini (ext-mox.soini@nokia.com)
162 * src/hildon-banner.c: (hildon_banner_show_animation):
163 use stylus size instead of obsolete note size.
164 * src/hildon-defines.h: Update icon sizes.
166 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
168 * src/hildon-touch-selector-entry.c:
169 (hildon_touch_selector_entry_init): Disable unsupported
171 (hildon_touch_selector_entry_get_text_column): Emit a warning
172 if an unsupported input modes is used and explicitile state
173 these modes in the documentation.
175 Fixes: NB#99802 (Hildon touch selector entry not working properly
176 for some of the input modes)
178 2009-02-05 Alejandro G. Castro <alex@igalia.com>
180 * src/hildon-pannable-area.c,
181 (hildon_pannable_area_init): Added the changed signal handlers of
184 Fixes: NB#100320 (HildonPannableArea does not listen to
185 GtkAdjustment "change" signals)
187 2009-02-04 Alberto Garcia <agarcia@igalia.com>
189 * doc/hildon-sections.txt
190 * src/hildon-window-private.h
191 * src/hildon-window.h
192 * src/hildon-window.c (hildon_window_init)
193 (hildon_window_realize, hildon_window_unrealize)
194 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
195 (hildon_window_size_request, hildon_window_size_allocate)
196 (hildon_window_forall, hildon_window_show_all)
197 (hildon_window_destroy, +paint_edit_toolbar)
198 (+hildon_window_set_edit_toolbar):
199 New hildon_window_set_edit_toolbar() method, to add a
200 HildonEditToolbar to a window without having to pack it manually.
202 Reorganize hildon_window_size_allocate()
204 * src/hildon-edit-toolbar.c: Update documentation.
206 * examples/hildon-edit-toolbar-example.c (edit_window): Update
207 example to use the new API.
209 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
211 2009-02-04 Alberto Garcia <agarcia@igalia.com>
213 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
214 Remove from stack before calling parent's hide.
216 2009-02-04 Alberto Garcia <agarcia@igalia.com>
218 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
219 window is removed from the middle of the stack, update the
220 transiency of the previous one.
222 Fixes: NB#100487 (HildonStackableWindow transiency becomes
225 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
227 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
228 block/unblock the signal handler if it's not actually being used.
229 Fixes some critical warnings.
231 2009-02-02 Alberto Garcia <agarcia@igalia.com>
233 Based on a patch by Iván Gómez (igomez@igalia.com)
235 * src/hildon-banner.c
239 * src/hildon-pannable-area.c
240 * src/hildon-picker-dialog.c
241 * src/hildon-wizard-dialog.h
242 * src/hildon-wizard-dialog.c: Documentation updates.
244 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
245 gtk_dialog_add_button() instead of hildon_dialog_add_button().
247 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
249 * configure.ac: post release version bump.
250 * debian/changelog: version bump.
252 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
257 * configure.ac: Bump version.
258 * debian/changelog: Updates.
260 2009-01-29 Alberto Garcia <agarcia@igalia.com>
262 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
263 a stock icon nor change the relief of the back arrow.
265 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
268 2009-01-29 Alberto Garcia <agarcia@igalia.com>
270 * src/hildon-button.c (hildon_button_set_alignment): Use
271 priv->alignment if the button has no child yet.
273 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
275 * src/hildon-button.c: (hildon_button_init): Set the
276 button style during initialization to give it the proper
279 Fixes: NB#99713 (HildonButton value label color is wrong)
281 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
283 * src/hildon-touch-selector.c: Document
284 hildon_touch_selector_center_on_selected()
286 2009-01-28 Alberto Garcia <agarcia@igalia.com>
288 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
289 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
290 all menu items, but not the menu itself.
291 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
292 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
293 items after adding them to the menu so keyboard accelerators work.
294 (hildon_app_menu_show): Don't show the menu if it contains items
295 but none of them are visible.
297 * examples/hildon-app-menu-example.c (create_menu): Use
298 gtk_widget_show_all() to show all menu items.
300 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
302 * src/hildon-picker-dialog.c:
303 (-_update_title_on_selector_changed_cb),
304 (-_dialog_update_title): Removed.
305 (_select_on_selector_changed_cb), (_on_dialog_response),
306 (on_selector_columns_changed): Do not update the dialog title.
307 (setup_interaction_mode): Do not connect to
308 HildonTouchSelector::changed signal if there's a "done" button, as
309 the dialog title doesn't need to be updated.
311 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
314 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
316 Patch by Kristian Rietveld (kris@imendio.com)
318 * src/hildon-touch-selector.c: (_create_new_column): Use new
319 GtkTreeView::hildon-row-tapped signal to react to user interactions
320 instead of ::changed.
322 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
323 with some dynamic tree model)
325 2009-01-27 Alberto Garcia <agarcia@igalia.com>
327 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
328 (+screen_size_changed, +label_size_request)
329 (hildon_note_class_init): Make the Hildon information note have a
330 minimum height, and make its text hvae a maximum width.
332 Fixes: NB#98614 (Hildon information note (background) should have
333 minimum height and maximum text width)
335 2009-01-26 Alberto Garcia <agarcia@igalia.com>
337 * src/hildon-banner.h
338 * src/hildon-banner.c (hildon_banner_show_information)
339 (hildon_banner_show_informationf)
340 (hildon_banner_show_information_with_markup): Update documentation
341 to reflect that the icon_name parameter is not used anymore.
342 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
343 Remove all code from these functions and mark them as deprecated.
344 (hildon_banner_show_progress): Mark as deprecated.
346 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
348 2009-01-26 Alejandro G. Castro <alex@igalia.com>
350 * src/hildon-pannable-area.c,
351 (hildon_pannable_area_class_init),
353 (hildon_pannable_draw_vscroll),
354 (hildon_pannable_draw_hscroll),
355 (hildon_pannable_area_expose_event): Added a new way to render the
356 scrollbars of the pannable area avoiding using cairo at all. This
357 way we improve the performance of the pannable area rendering. The
358 cairo rendering procedure is still in the code, we can control
359 which one to use changing the value of the define
360 USE_CAIRO_SCROLLBARS.
362 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
364 * configure.ac: post release version bump.
365 * debian/changelog: version bump.
367 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
372 * configure.ac: Bump version.
373 * debian/changelog: Updates.
375 2009-01-23 Alberto Garcia <agarcia@igalia.com>
377 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
378 banners instead of destroying them when they receive a button
381 2009-01-23 Alejandro G. Castro <alex@igalia.com>
383 Reverted commit 34028, it was causing regressions, probably the
384 topmost condition is not correct, we have to check it in more
385 detail. We have reponed the bug: NB#97458 (Pannable area prevents
386 propagation of button press events)
388 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
390 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
391 that the selection is not empty before attempting to retrieve the
392 current ampm selection.
394 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-picker-button.c:
397 (hildon_picker_button_on_dialog_response): Directly update the
398 button contents when required instead of calling _selection_changed.
400 2009-01-23 Alberto Garcia <agarcia@igalia.com>
402 * src/hildon-program.c (hildon_program_update_top_most): Update
403 'is-topmost' property also when wm_hints is not set.
405 Fixes: NB#98383 (is-topmost signal is not emitted when task
406 switcher is clicked.)
408 2009-01-23 Alejandro G. Castro <alex@igalia.com>
410 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
414 * src/hildon-animation-actor.c,
415 * src/hildon-animation-actor.h: Added the animation actor class,
416 this widget represents an animation actor for WM-assisted
417 animation effects in the Hildon framework.
419 2009-01-23 Alberto Garcia <agarcia@igalia.com>
421 * src/hildon-window-stack-private.h
422 * src/hildon-window-stack.c
423 * src/hildon-stackable-window.c (hildon_stackable_window_show):
424 Avoid calling gtk_widget_show() again indirectly from
425 hildon_stackable_window_show()
427 2009-01-23 Alberto Garcia <agarcia@igalia.com>
429 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
432 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
434 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
435 (hildon_time_selector_init): Move the construction of the hours and
436 ampm columns to the constructor to preserve the order the columns
439 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
441 * src/hildon-picker-dialog.c:
442 (hildon_picker_dialog_class_init): Connect a realize method.
443 (+hildon_picker_dialog_realize): Setup the interaction mode here
445 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
446 yet, do it during the realize instead.
447 (_on_dialog_response):
448 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
449 if the widget is not realized, to avoid the dialog response before it
452 Avoid premature responses in the HildonPickerDialog that can cause it
453 to be hidden before it's even shown.
455 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
457 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
458 (on_selector_columns_changed), (requires_done_button),
459 (+prepare_action_area), (setup_interaction_mode),
460 (_hildon_picker_dialog_set_selector):
462 Split the interaction mode setup into preparation of the
463 action area (prepare_action_area()) and the connection of
464 the signals in setup_interaction_mode() and update the code to
467 2009-01-22 Alejandro G. Castro <alex@igalia.com>
469 * src/hildon-pannable-area.c,
470 (hildon_pannable_area_class_init): Reduced the amount of scrolls
471 per second to 15, we will check if this is ok regarding
474 2009-01-22 Alejandro G. Castro <alex@igalia.com>
476 * src/hildon-pannable-area.c,
477 (hildon_pannable_axis_scroll): Avoid resize if we already have
478 reached overshoot_max.
480 2009-01-22 Alejandro G. Castro <alex@igalia.com>
482 * src/hildon-pannable-area.c,
483 (hildon_pannable_area_init),
484 (hildon_pannable_area_realize),
485 (hildon_pannable_area_size_allocate),
486 (hildon_pannable_area_map),
487 (hildon_pannable_area_unmap),
488 (hildon_pannable_draw_vscroll),
489 (hildon_pannable_draw_hscroll),
490 (hildon_pannable_area_expose_event),
491 (hildon_pannable_area_refresh): Added a new GdkWindow to the
492 pannable are to avoid the expose events go to the window and
493 redraw the window. We save this way that part of the stack and the
494 paint_boxes. We had to change the positions of the elements when
497 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
499 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
500 * src/hildon-color-chooser-dialog.c:
501 (hildon_color_chooser_dialog_init):
502 * src/hildon-font-selection-dialog.c:
503 (hildon_font_selection_dialog_init),
504 (hildon_font_selection_dialog_show_preview):
505 * src/hildon-get-password-dialog.c:
506 * src/hildon-login-dialog.c:
507 * src/hildon-set-password-dialog.c:
508 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
509 * src/hildon-time-picker.c: (hildon_time_picker_init):
511 Remove obsolete logical string IDs and update to the appropriate ones.
513 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
515 2009-01-21 Alberto Garcia <agarcia@igalia.com>
517 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
518 that happens if the window hasn't been realized yet.
520 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
521 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
523 2009-01-20 Alberto Garcia <agarcia@igalia.com>
525 * src/hildon-app-menu.c (hildon_app_menu_class_init)
526 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
529 Fixes: NB#98537 (Device hangs in account settings dialog)
531 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
533 * configure.ac: post release version bump.
534 * debian/changelog: version bump
536 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
541 * configure.ac: Bump version.
542 * debian/changelog: Updates.
544 2009-01-20 Alejandro G. Castro <alex@igalia.com>
546 Added a new function to the HildonTimeButton widget that allows to
547 change the step of the minutes in the selector associated with the
548 button: hildon_time_button_new_step
550 * src/hildon-time-button.c,
551 (hildon_time_button_init),
552 (hildon_time_button_new),
553 (hildon_time_button_new_step):
554 * src/hildon-time-button.h: Added the new function and refactored
556 * examples/hildon-time-button-example.c,
557 (main): We have replaced the function without parameters with the
558 function with the steps set to 5
560 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
562 2009-01-20 Alejandro G. Castro <alex@igalia.com>
564 * src/hildon-time-selector.c,
565 (hildon_time_selector_class_init),
566 (hildon_time_selector_constructor),
567 (hildon_time_selector_get_property),
568 (hildon_time_selector_set_property),
569 (_create_minutes_model),
570 (hildon_time_selector_new_step),
571 (hildon_time_selector_set_time),
572 * src/hildon-time-selector.h: Added a new property to the
573 HildonTimeSelector (minutes-step), we use that property to control
574 the steps between the minutes in the list of the selector. We have
575 added a new function to the API to create a widget changing the
576 step: hildon_time_selector_new_step.
578 2009-01-20 Alejandro G. Castro <alex@igalia.com>
580 * src/hildon-time-selector.c,
581 (hildon_time_selector_class_init),
582 (hildon_time_selector_constructor),
583 (hildon_time_selector_init): Overrided the construct function when
584 creating the time selector object. We have moved the minutes model
585 handling code from the init to the new construction function:
586 hildon_time_selector_constructor.
588 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
590 * examples/hildon-date-button-example.c: (main): Use the new
591 hildon_date_button_new_with_year_range() method in the example.
592 * src/hildon-date-button.c:
593 (+hildon_date_button_new_with_year_range): New public method
594 to conveniently create a HildonDateButton with a custom year range
595 in its HildonDateSelector.
596 * src/hildon-date-button.h: Add the new public method definition.
598 Fixes: NB#97908 (Not possible to change the year range in
599 HildonDateSelector/HildonDateButton)
601 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
603 * src/hildon-date-selector.c:
604 (+hildon_date_selector_set_property),
605 (+hildon_date_selector_get_property),
606 (hildon_date_selector_class_init): Install new properties "min-year"
607 and "max-year" to define boundaries for the year column.
608 (_create_year_model): Use the boundary properties to populate the model.
609 (+hildon_date_selector_new_with_year_range): New public method to
610 create a HildonDateSelector with a user defined year range.
611 (hildon_date_selector_select_current_date): Use the new boundaries to
612 calculate the iterator of current year.
613 * src/hildon-date-selector.h: Add the new public method definition.
615 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
617 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
618 Install a constructor method.
619 (+hildon_date_selector_construct_ui): construct the widget.
620 (+hildon_date_selector_constructor): new constructor.
621 (+hildon_date_selector_init): move out widget construction code to
624 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
626 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
627 that there's actually a month or year selected before obtaining them.
628 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
629 of the HildonTouchSelector::changed signal, as it was emitted on every
630 single item selection.
632 Fix some warnings and possible crashers due to the selection restoring.
634 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
636 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
637 the signal handlers only after creating the dialog instead of on every
640 2009-01-19 Alberto Garcia <agarcia@igalia.com>
642 * src/hildon-button.c (hildon_button_init)
643 * src/hildon-check-button.c (hildon_check_button_init)
644 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
645 focus when clicked by default.
647 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
649 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
652 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
654 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
655 Alejandro G. Castro (alex@igalia.com)
657 * src/hildon-picker-dialog.c:
658 (hildon_picker_dialog_class_init): install new "center-on-show"
660 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
661 (hildon_picker_dialog_set_property): add setter code for the new
663 (hildon_picker_dialog_get_property): add getter code for the new
665 (hildon_picker_dialog_show): Ensure visibility of selected items in the
666 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
669 Fixes: NB#92849 (Selected item is not always visible when
670 HildonTouchSelector is shown)
672 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
674 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
675 Alejandro G. Castro (alex@igalia.com)
677 * src/hildon-touch-selector.c:
678 (_create_new_column): Do not connect to the "realize" signal of the
680 (hildon_touch_selector_append_column): center on the selected items
681 when a new column is appended.
682 (hildon_touch_selector_select_iter): Factor out the code to select a
683 column to hildon_touch_selector_scroll_to().
684 (+search_nearest_element): Method to retrieve the nearest selected
685 element to the visible area of the pannable area in a column.
686 (+on_realize_cb): scroll to the initially selected item.
687 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
688 the pannable area is realized, otherwise delay this until it is.
689 (+_hildon_touch_selector_center_on_selected_items): Centers on the
690 selected items of a given column.
691 (+hildon_touch_selector_center_on_selected): Public method to center
692 all columns on the nearest selected item.
693 * src/hildon-touch-selector.h: Add definition for
694 hildon_touch_selector_center_on_selected().
696 Implement public API to ensure visibility of all selected items in
697 a HildonTouchSelector.
699 2009-01-16 Alejandro G. Castro <alex@igalia.com>
701 Fixed a problem in the fading when calling the scroll_to API, and
702 improve scrollbar fading handling.
704 * src/hildon-pannable-area.c,
705 (hildon_pannable_area_grab_notify): avoid the timeout when the
707 (hildon_pannable_area_button_press_cb),
708 (hildon_pannable_area_motion_notify_cb): Code style changes.
709 (hildon_pannable_area_button_release_cb): Review the conditions
710 when releasing the mouse button to avoid unrequired fading
712 (hildon_pannable_area_scroll_to): Do not calculate and set the
713 velocity if the scroll is not required.
715 2009-01-15 Alberto Garcia <agarcia@igalia.com>
717 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
718 Don't check whether the new selector is NULL: it cannot be.
719 Hold a reference to the selector while doing the replacement.
721 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
723 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
724 unnecessary size_request in a removed widget.
726 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
728 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
729 an unnecessary reference tracking that was leaking.
731 2009-01-15 Alejandro G. Castro <alex@igalia.com>
733 Added delayed motion notify event handling, this way we can
734 discard redrawing if more than 25 events arrive per second.
736 * src/hildon-pannable-area.c,
737 (hildon_pannable_area_init): Initialized the new private atributes
738 controlling this timeout
739 (hildon_pannable_area_dispose): Remove the timeout that controls
740 the motion notify events.
741 (hildon_pannable_area_scroll): Added a condition to control the
742 use of the acceleration.
743 (hildon_pannable_area_motion_event_scroll_timeout),
744 (hildon_pannable_area_motion_event_scroll): Added this two
745 functions, they handle the motion notify events inside the
747 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
748 to the scroll method with the new function.
749 (hildon_pannable_area_button_release_cb): We have to remove the
750 timeout handler and move to the last position if the last motion
751 events were not handled.
753 Fixes: NB#97028 (Pannable area updates on every motion event)
755 2009-01-15 Alejandro G. Castro <alex@igalia.com>
757 * src/hildon-pannable-area.c,
758 (hildon_pannable_area_get_topmost): Added a new parameter to
759 filter the the windows that do not include those events. Added
760 also a condition when finding the window to filter windows that do
761 not ask for those events.
762 (hildon_pannable_area_button_press_cb),
763 (hildon_pannable_area_button_release_cb),
764 (hildon_pannable_get_child_widget_at): Reviewed the call the the
765 topmost function, we have added the new parameter.
767 Fixes: NB#97458 (Pannable area prevents propagation of button
770 2009-01-15 Alejandro G. Castro <alex@igalia.com>
772 * src/hildon-pannable-area.c,
773 (hildon_pannable_area_initial_effect): Added controls before
774 launching the timeout and the idle functions.
775 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
776 of the method, in some situations it can return with TRUE and 0 in
778 (hildon_pannable_area_button_press_cb): We do not need to set
779 DELAY for fading out here.
781 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
783 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
786 post-cleaning if the selection is not NULL.
788 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
790 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
791 all items before restoring the selection.
793 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
795 * src/hildon-touch-selector.c:
796 (+hildon_touch_selector_unselect_all):
797 * src/hildon-touch-selector.h: New API to unselect all items in a
798 column of the touch selector.
800 2009-01-14 Alejandro G. Castro <alex@igalia.com>
802 * src/hildon-pannable-area.c,
803 (hildon_pannable_area_redraw): Added a call to the refresh
804 function inside the redraw because apparently in some cases the
805 change in the adjustment does not imply a size allocate.
807 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
808 despite the view not being scrollable)
810 2009-01-14 Alberto Garcia <agarcia@igalia.com>
812 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
813 leak. Check for NULL before attempting to set the window title.
815 2009-01-14 Alberto Garcia <agarcia@igalia.com>
817 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
818 whether to show or not the 'Done' button each time the dialog is
819 shown, as it depends on the HildonTouchSelector selection mode.
821 Fixes: NB#96226 (In multiple selection mode Done button is shown
822 sometimes in listpicker)
824 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
826 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
827 for the number of columns in the HildonTouchSelector more than once.
829 2009-01-14 Alberto Garcia <agarcia@igalia.com>
831 * src/hildon-touch-selector.c: Minor documentation fixes.
833 * src/hildon-picker-dialog.c (+_dialog_update_title)
834 (_select_on_selector_changed_cb)
835 (_update_title_on_selector_changed_cb)
836 (on_selector_columns_changed): Update dialog title when there's no
837 'Done' button and also when the number of columns in the selector
841 * src/hildon-picker-button.c (hildon_picker_button_finalize)
842 (+_selection_changed, hildon_picker_button_on_dialog_response)
843 (hildon_picker_button_selector_selection_changed)
844 (+hildon_picker_button_selector_columns_changed)
845 (hildon_picker_button_set_selector): Update button value and emit
846 'value-changed' when the number of columns in the selector
850 Fixes: NB#96225 (Dialog titles are not shown according to the
851 values selected in the list picker)
853 2009-01-13 Alberto Garcia <agarcia@igalia.com>
855 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
856 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
857 New "arrow-width" and "arrow-height" style properties to set the
858 size of the arrow button.
859 Set name of arrow button ("hildon-edit-toolbar-arrow").
861 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
864 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
866 * src/hildon-picker-button.c:
867 (hildon_picker_button_selector_selection_changed): Use
868 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
869 the dialog is present.
871 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
872 the selection is accepted in the dialog)
874 2009-01-13 Alberto Garcia <agarcia@igalia.com>
876 * src/hildon-color-chooser.h
877 * src/hildon-color-chooser-dialog.h:
878 Added G_BEGIN_DECLS and G_END_DECLS
880 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
882 (_clean_current_selection): plug a leak in the list.
884 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
886 * src/hildon-picker-dialog.c:
887 (+free_path_list): Method to free a GList of GtkTreePaths.
888 (_clean_current_selection), (_save_current_selection),
889 (_restore_current_selection): Save the current selection in
890 as a list of lists, to support multiple selection properly.
892 2009-01-12 Alberto Garcia <agarcia@igalia.com>
894 patch by Claudio Saavedra (csaavedra@igalia.com)
896 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
897 Store the press position.
898 (+hildon_text_view_button_release_event): If the release position is
899 close enough to the press position, move the cursor here. Otherwise,
901 (hildon_text_view_class_init): Override GtkTextView press, release, and
902 motion event handlers, disabling this way text selection through
903 pointer interaction, and allowing the container widget to handle the
906 Fixes: NB#95828 (HildonTextView functionality)
908 2009-01-12 Alberto Garcia <agarcia@igalia.com>
910 Based on a patch by Iván Gómez (igomez@igalia.com)
912 * src/hildon-button.[ch]
913 * src/hildon-calendar.c
914 * src/hildon-check-button.c
915 * src/hildon-date-editor.c
916 * src/hildon-date-selector.c
917 * src/hildon-picker-button.c
918 * src/hildon-time-editor.c
919 * src/hildon-time-selector.c
920 * src/hildon-touch-selector.[ch]:
921 Documentation updates
923 2009-01-12 Alejandro G. Castro <alex@igalia.com>
925 * src/hildon-pannable-area.c,
926 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
927 threshold, it was required due to X events handling.
929 2009-01-12 Alejandro G. Castro <alex@igalia.com>
931 * src/hildon-pannable-area.c,
932 (hildon_pannable_area_grab_notify),
933 (hildon_pannable_area_initial_effect),
934 (hildon_pannable_area_button_press_cb),
935 (hildon_pannable_area_button_release_cb),
936 (hildon_pannable_area_scroll_cb),
937 (hildon_pannable_area_scroll_to): Review the timeout management of
938 the scrollbar, the frecuency was incorrectly set.
940 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
942 * src/hildon-picker-button.c:
943 (+hildon_picker_button_on_dialog_response),
944 (hildon_picker_button_clicked): Present the dialog instead of
945 running it with gtk_dialog_run().
947 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
950 2009-01-07 Alberto Garcia <agarcia@igalia.com>
952 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
953 (hildon_app_menu_finalize): When a window is hidden it doesn't
954 emit notify::is-topmost, so make sure than the menu also
955 disappears in that case.
956 (parent_window_topmost_notify): Renamed from parent_window_hidden
958 Fixes: NB#94460 (stackable window's menu is not closed when its
961 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
963 * src/hildon-touch-selector-entry.c:
964 (+hildon_touch_selector_entry_set_input_mode),
965 (+hildon_touch_selector_entry_get_input_mode):
966 * src/hildon-touch-selector-entry.h: New methods to access the input
967 mode in the selector's entry.
969 Fixes: NB#93410 (API required for setting IM mode in
970 HildonTouchSelectorEntry)
972 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
974 * configure.ac: post release version bump.
975 * debian/changelog: version bump
977 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
982 * configure.ac: Bump version.
983 * debian/changelog: Updates.
985 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
987 * src/hildon-touch-selector.c:
988 (_hildon_touch_selector_has_multiple_selection): No need
989 to initialize the variables here.
991 2008-12-17 Alberto Garcia <agarcia@igalia.com>
993 * src/hildon-note-private.h
994 * src/hildon-note.c (event_box_press_event, hildon_note_init)
995 (hildon_note_finalize, hildon_note_rebuild): Close information
996 notes when they receive a button press.
998 Fixes: NB#89890 (Information notes does not get disappeared after
1001 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1003 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1004 mark from the wizard title, as it's not really necessary. Also,
1005 do not display the page title if not set.
1007 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1009 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1010 (parent_window_hidden): Use the window's "is-topmost" property to
1011 detect when to hide the menu.
1013 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1015 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1016 (hildon_app_menu_finalize): If the parent window of the menu is
1017 hidden, hide the menu too.
1019 Fixes: NB#94460 (stackable window's menu is not closed when its
1022 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1025 * debian/libhildon1-examples.install
1027 * examples/Makefile.am:
1028 Use dh_install to install all examples.
1029 Use DEB_SRCDIR instead of defining SOURCE_DIR
1031 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1033 * configure.ac: post release version bump.
1034 * debian/changelog: version bump
1036 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1041 * configure.ac: bump version
1042 * debian/changelog: updates
1043 * debian/control: bump gtk+ dependency
1045 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1047 patch by Christian Dywan (christian@imendio.com)
1049 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1050 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1052 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1054 * src/hildon-check-button.c (hildon_check_button_init)
1055 (hildon_check_button_class_init, hildon_check_button_style_set)
1056 (hildon_check_button_apply_style):
1057 New "checkbox-size" style property.
1059 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1060 larger / configurable size)
1062 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1064 * configure.ac: post release version bump.
1065 * debian/changelog: version bump
1067 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1072 * configure.ac: bump version
1073 * debian/changelog: updates
1075 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1077 * doc/hildon-sections.txt
1078 * src/hildon-pannable-area.c
1079 * src/hildon-program.c
1080 * src/hildon-time-editor.c
1081 * src/hildon-touch-selector-entry.c:
1083 More documentation updates.
1085 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1087 * doc/hildon-sections.txt
1088 * src/hildon-caption.c
1089 * src/hildon-code-dialog.c
1090 * src/hildon-color-button.c
1091 * src/hildon-controlbar.c
1092 * src/hildon-date-editor.c
1093 * src/hildon-date-selector.c
1094 * src/hildon-edit-toolbar.c
1095 * src/hildon-find-toolbar.c
1096 * src/hildon-font-selection-dialog.c
1098 * src/hildon-program.c
1099 * src/hildon-range-editor.c
1100 * src/hildon-seekbar.c
1101 * src/hildon-time-editor.c
1102 * src/hildon-time-selector.c
1103 * src/hildon-volumebar-range.c
1104 * src/hildon-volumebar.c
1105 * src/hildon-vvolumebar.c
1106 * src/hildon-weekday-picker.c
1107 * src/hildon-window.c
1108 * src/hildon-wizard-dialog.c:
1110 Lots of documentation fixes.
1112 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1114 Patch contributed by Iván Gómez (igomez@igalia.com)
1116 * src/hildon-check-button.c:
1117 * src/hildon-date-button.c:
1118 * src/hildon-date-selector.c:
1119 * src/hildon-dialog.c:
1120 * src/hildon-edit-toolbar.c:
1121 * src/hildon-entry.c:
1122 * src/hildon-picker-button.c:
1123 * src/hildon-program.c:
1124 * src/hildon-text-view.c:
1125 * src/hildon-time-button.c:
1126 * src/hildon-touch-selector-entry.c:
1127 * src/hildon-window-stack.c:
1129 Add more "since" tags to the new API.
1131 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1133 * doc/hildon-sections.txt: Add below method.
1134 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1135 version for the hildonized scale.
1136 * src/hildon-gtk.h: Add the definition.
1138 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1140 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1142 * doc/hildon-sections.txt: Add missing entries for new methods.
1144 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1146 Added API to pannable are in order to get its adjustments. We
1147 added two properties to manage the values we had in the private
1150 * src/hildon-pannable-area.c:
1151 (hildon_pannable_area_class_init): Added hadjustment and
1152 vadjustment properties in order to expose horizontal and vertical
1154 (hildon_pannable_area_get_property),
1155 (hildon_pannable_area_set_property): Added code to handle the new
1157 (hildon_pannable_area_get_hadjustment),
1158 (hildon_pannable_area_get_vadjustment): API functions to get the
1160 * src/hildon-pannable-area.h:
1161 (hildon_pannable_area_get_hadjustment),
1162 (hildon_pannable_area_get_vadjustment): API functions to get the
1165 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1167 Fixed some leaks, after valgrinding.
1169 * src/hildon-touch-selector.c:
1170 (_default_print_func): Fixed a leak.
1171 (hildon_touch_selector_append_column): Fixed a leak.
1172 * src/hildon-date-button.c:
1173 (hildon_date_button_init): Fixed a leak.
1174 * src/hildon-date-selector.c
1175 (hildon_date_selector_finalize): Fixed a leak.
1177 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1179 Based on a patch by Christian Dywan (christian@imendio.com)
1181 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1183 * src/hildon-gtk.h: Add definition.
1185 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1187 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1189 * src/hildon-picker-button.c: (hildon_picker_button_init),
1190 (hildon_picker_button_new): Set the HildonButton::style property
1191 in the init method, to propagate the value to the derived classes.
1193 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1195 * src/hildon-button.c: (hildon_button_class_init): Do not make
1196 the "style" property a construct property.
1198 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1200 * src/hildon-wizard-dialog.h
1201 * src/hildon-wizard-dialog.c
1202 (hildon_wizard_dialog_set_forward_page_func)
1203 * src/hildon-pannable-area.h
1204 * src/hildon-pannable-area.c
1205 (hildon_pannable_area_set_size_request_policy):
1206 Documentation fixes.
1208 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1210 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1212 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1214 * doc/hildon-sections.txt: Added sections file.
1216 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1219 * src/*.[ch]: Updates.
1221 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1223 * examples/hildon-progress-indicator-example.c: new file
1224 * examples/Makefile.am: include the new example program
1226 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1228 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1230 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1232 * configure.ac: post release version bump
1233 * debian/changelog: version bump
1235 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1240 * configure.ac: bump version
1241 * debian/changelog: updates
1242 * debian/control: bump gtk+ dependency
1244 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1246 * src/hildon-dialog.c: Mark as deprecated.
1247 * src/hildon-dialog.h: Mark as deprecated.
1248 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1249 from HildonDialog and still work, even if
1250 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1251 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1253 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1254 maemo changes) instead)
1256 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1258 * src/hildon-pannable_area.h:
1259 * src/hildon-pannable_area.c:
1260 (hildon_pannable_area_class_init),
1261 (hildon_pannable_area_set_property),
1262 (hildon_pannable_area_get_property),
1263 (hildon_pannable_area_size_request),
1264 (hildon_pannable_area_get_size_request_policy),
1265 (hildon_pannable_area_set_size_request_policy): Added new API
1266 allowing applications to control the request policy. Now they can
1267 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1268 children allocation (HILDON_MOVEMENT_CHILDREN).
1270 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1274 (hildon_gtk_tree_view_set_ui_mode)
1275 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1276 mode of treeviews and iconviews.
1278 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1280 * src/hildon-touch-selector-entry.c:
1281 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1282 of a GtkEntry to get proper theming.
1284 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1285 widget, not GtkEntry)
1287 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1289 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1290 no HildonWizardDialogPageFunc.
1292 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1294 Patch contributed by Iván Gómez (igomez@igalia.com)
1296 * src/hildon-app-menu.c:
1297 * src/hildon-button.c:
1298 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1299 * src/hildon-stackable-window.c:
1300 * src/hildon-time-selector.c:
1301 * src/hildon-touch-selector.c:
1302 * src/hildon-window.c:
1304 Add more "since" tags to the new API in hildon 2.2.
1306 2008-12-05 Tim Janik <timj@imendio.com>
1308 Patch contributed by Christian Dywan (christian@imendio.com)
1310 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1311 HildonSizeType, which are supplied by Gtk+ now.
1313 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1315 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1316 (with maemo changes) instead)
1318 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1320 Patch contributed by Iván Gómez (igomez@igalia.com)
1322 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1325 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1327 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1328 (some_page_func), (main): Update the example to use a
1329 HildonWizardDialogPageFunc function.
1331 * src/hildon-wizard-dialog-private.h: Add private data for
1332 the HildonWizardDialogPageFunc function usage.
1334 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1335 (destroy), (hildon_wizard_dialog_init), (response),
1336 (hildon_wizard_dialog_set_forward_page_func):
1337 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1338 that applications can use to stop a HildonWizardDialog to jump to
1341 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1344 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1346 * src/hildon-program.h
1347 * src/hildon-program-private.h
1348 * src/hildon-program.c (hildon_program_init)
1349 (hildon_program_set_common_app_menu)
1350 (hildon_program_get_common_app_menu):
1351 New API for setting a common HildonAppMenu for all
1352 HildonStackableWindows registered with the HildonProgram.
1354 * src/hildon-stackable-window.c
1355 (hildon_stackable_window_toggle_menu):
1356 Use the common HildonAppMenu if a window doesn't have a specific
1359 * src/hildon-app-menu-private.h
1360 * src/hildon-app-menu.c
1361 (hildon_app_menu_get_parent_window):
1362 Function to obtain the window a HildonAppMenu is attached to.
1363 (hildon_app_menu_set_parent_window):
1364 Hide the menu if the parent window is set to NULL.
1366 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1368 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1369 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1370 search widget to popup.
1372 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1374 * configure.ac: post release version bump
1375 * debian/changelog: version bump
1377 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1382 * configure.ac: bump version
1383 * debian/changelog: updates
1385 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1387 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1389 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1390 (hildon_window_stack_window_realized)
1391 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1392 Set the leader GdkWindow when a window is stacked and realized,
1393 unset it when it's unstacked.
1394 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1396 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1398 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1400 * src/hildon-stackable-window.h
1401 * src/hildon-window-stack.h:
1402 Protect definition of HildonWindowStack using the preprocessor.
1404 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1406 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1407 Fix warning if all menu items are hidden.
1409 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1411 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1413 * src/hildon-controlbar.c:
1414 * src/hildon-hvolumebar.c:
1415 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1416 Multiple scale size defines updates.
1418 Fixes: NB#94322 (Scale Updates)
1420 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1422 * examples/hildon-app-menu-example.c (create_menu)
1423 Show items after adding them to the menu, as in the future the
1424 menu will no longer call gtk_widget_show() on the added items.
1426 * src/hildon-app-menu.c:
1427 Update example as explained above.
1429 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1431 * src/hildon-app-menu.c
1432 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1433 Make sure that all menu items have finger height.
1435 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1437 * src/hildon-picker-dialog.c:
1438 (_on_dialog_response), (_save_current_selection),
1439 (_restore_current_selection), (_clean_current_selection),
1440 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1441 Defined new functions in order to save the current internal selector
1442 selection previous open the dialog, in case that the use cancel the
1443 interaction, so the widget restores the previous selection.
1445 Fixes: NB#92032 (In calendar application, date values in 'new event'
1448 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1450 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1452 * src/hildon-button.c: Add a reference to the button examples in
1453 hildon-button-example.c
1455 * examples/hildon-button-example.c: Added examples of the most
1456 common button layouts.
1458 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1460 * src/hildon-app-menu.c (hildon_app_menu_show)
1461 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1463 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1465 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1467 * src/hildon-picker-dialog.c:
1468 (hildon_picker_dialog_init): Initialize the signal id for
1469 HildonTouchSelector::columns-changed.
1470 (+on_selector_columns_changed): Set up the interaction mode everytime a
1471 column is added or removed from the HildonTouchSelector.
1472 (_hildon_picker_dialog_set_selector): Connect to
1473 HildonTouchSelector::columns-changed and keep track of it.
1475 Make sure to update the interaction mode of the dialog everytime a
1476 column is added or removed in the HildonTouchSelector.
1478 Fixes: NB#93228 (Done button is not shown always in listpicker)
1480 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1482 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1483 a new ::columns-changed signal.
1484 (hildon_touch_selector_append_column): Emit ::columns-changed.
1485 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1487 Add a ::columns-changed signal, emitted when the number of columns in a
1488 HildonTouchSelector changes.
1490 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1493 (_hildon_picker_dialog_set_selector): Factor out the code
1494 to set up the dialog interaction mode.
1496 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1498 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1499 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1500 to signal_changed_id.
1502 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1504 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1507 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1509 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1510 Updated the logical ids related to ampm format, as now it is required to
1511 show it correctly localized even on languages with no default
1512 abbreviations for am or pm
1513 (_check_am_pm_format): check correctly the 24h format gconf property
1515 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1517 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1519 * src/hildon-button.c: Documentation updates.
1521 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1523 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1524 * src/hildon-caption.c: (hildon_caption_class_init):
1525 * src/hildon-color-button.c: (hildon_color_button_class_init):
1526 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1527 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1528 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1529 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1531 Remove deprecated GTK+ marshalers and replace them with the ones
1532 provided by GLib, for those available, add a marshaler for
1533 BOOLEAN:VOID, which is not available in GLib, and use it.
1535 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1537 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1538 the text from the previous column if there is no
1539 HildonTouchSelectorColumn::text-property set.
1541 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1543 * src/hildon-button.h
1544 * src/hildon-button.c (hildon_button_set_property)
1545 (hildon_button_get_property, hildon_button_class_init)
1546 (hildon_button_set_style, hildon_button_get_style):
1547 New "style" property to change the visual appearance of the
1550 * src/hildon-picker-button.c (hildon_picker_button_new):
1551 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1553 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1554 HildonButton look like PickerButton)
1556 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1558 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1559 column while building the default string.
1561 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1564 scroll indicator by default.
1566 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1568 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1570 * src/hildon-main.c: Fix the documentation for hildon_init()
1572 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1574 * doc/hildon-docs.sgml
1578 * src/hildon-window-stack-private.h
1579 * src/hildon-window-stack.h
1580 * src/hildon-window-stack.c:
1581 New HildonWindowStack object, that adds support for multiple
1582 stacks of windows per process.
1584 * src/hildon-stackable-window-private.h
1585 * src/hildon-stackable-window.h
1586 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1587 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1588 (hildon_stackable_window_show, hildon_stackable_window_hide)
1589 (hildon_stackable_window_class_init)
1590 (hildon_stackable_window_init):
1591 Use HildonWindowStack for stack management.
1593 * src/hildon-program.c (hildon_program_pop_window_stack)
1594 (hildon_program_peek_window_stack)
1595 (hildon_program_go_to_root_window):
1596 Add a fallback implementation to the deprecated functions using
1599 * examples/hildon-stackable-window-example.c:
1600 Use the new HildonWindowStack API.
1602 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1604 * src/hildon-stackable-window-private.h
1605 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1606 (hildon_stackable_window_hide, hildon_stackable_window_init):
1607 Remove all window stack management.
1609 * src/hildon-program-private.h
1610 * src/hildon-program.h
1611 * src/hildon-program.c (hildon_program_init)
1612 (hildon_program_pop_window_stack)
1613 (hildon_program_peek_window_stack)
1614 (hildon_program_go_to_root_window):
1615 Remove all window stack management and mark functions as
1618 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1620 * src/hildon-app-menu.c (hildon_app_menu_realize):
1621 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1623 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1625 * configure.ac: post release version bump
1626 * debian/changelog: version bump
1628 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1633 * configure.ac: bump version
1634 * debian/changelog: updates
1636 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1638 Based on initial code by Christian Dywan (christian@imendio.com)
1640 * doc/hildon-docs.sgml: Add section for hildon-main.
1641 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1642 * src/Makefile.am: Add new hildon-main.[ch]
1643 * src/hildon-defines.h: Update the icon sizes.
1644 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1645 new library initialization files and register icon sizes.
1646 * src/hildon-main.h: New declarations.
1647 * src/hildon.h: Include hildon-main.h
1649 Add new initialization functions to the library. These methods
1650 will register the hildon specific icon sizes and can be used in the
1651 future for other hildon specific bits.
1653 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1655 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1657 * src/hildon-window.c: (hildon_window_realize),
1658 (hildon_window_notify), (-hildon_window_update_title): Do not set
1659 the application name in the window title.
1661 Fixes: NB#89754 (Applications shouldn't display their names in the
1664 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1666 * src/hildon-note-private.h:
1667 * src/hildon-note.c: (hildon_note_set_property),
1668 (hildon_note_get_property), (hildon_note_class_init),
1669 (hildon_note_init), (hildon_note_finalize),
1670 (hildon_note_new_confirmation_with_icon_name),
1671 (hildon_note_new_information_with_icon_name):
1673 No need to mark as deprecated the actual code. Revert
1674 to avoid missing symbols in widgets using deprecated API.
1676 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1678 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1680 * src/hildon-volumebar.h
1681 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1682 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1684 * src/hildon-helper.h
1685 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1686 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1688 * examples/Makefile.am:
1689 Deprecate hildon-insensitive-example
1691 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1693 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1695 * examples/hildon-pannable-area-buttons-scroll-example.c:
1696 Make all buttons finger height
1698 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1700 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1702 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1703 update the day model only if it is really required, and to avoid the
1704 full-reconstruction aproach. Now it only add or remove the required days.
1706 The purpose of this is avoid superfluous HildonTouchSelector::changed
1709 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1710 with strange parameters)
1712 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1714 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1716 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1717 the WINDOW_TYPE property.
1719 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1721 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1724 Fix dependency to allow parallel compilation with make -jX
1726 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1728 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1729 color frame and some minor tweaks to make it more consistent with
1732 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1733 highlighted but not visible)
1735 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1737 * examples/Makefile.am: Fixed typo in the Makefile.am.
1739 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1741 Reviewed the use of MAEMO_GTK define, now we add the define in the
1742 compilation line, and we also add it to the pc file.
1744 * configure.ac: Added MAEMO_GTK define to the compilation command
1745 and removed it from the config.h.
1747 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1748 do not have to take care about this define if the library was
1752 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1754 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1756 * examples/Makefile.am,
1757 * examples/hildon-pannable-area-buttons-scroll-example.c,
1758 * examples/hildon-pannable-area-gesture-signals-example.c,
1759 * examples/hildon-pannable-area-scroll-jump-example.c,
1760 * examples/hildon-pannable-area-tree-view-example.c:
1761 Renamed the pannable area examples, now they have more meaningful
1764 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1766 * src/hildon-touch-selector.c:
1767 (hildon_touch_selector_set_column_selection_mode): Used of
1768 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1769 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1770 to avoid re-seting the same selection mode.
1772 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1773 breaks HildonPickerDialog)
1775 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1777 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1778 conditional in the Makefile.am
1780 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1782 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1783 Remove unused methods.
1785 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1787 * src/hildon-button.c (hildon_button_init):
1788 Make button images center-aligned by default
1790 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1793 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1794 activated, we have to think about how to deal with both defines
1795 MAEMO_GTK and MAEMO_CHANGES.
1797 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1799 * examples/hildon-app-menu-example.c (create_menu): Make all
1800 buttons finger size.
1802 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1804 Fixed the compilation without maemo gtk adding ifdefs with
1805 MAEMO_GTK define to the code, we have to check this version more
1808 * examples/Makefile.am: Added control to avoid some examples that
1809 just make sense with maemo gtk.
1812 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1813 hildon modes with the define.
1815 * examples/hildon-edit-toolbar-example.c,
1816 (create_icon_view): Create the icon view without hildon-gtk
1817 helpers if we are not using maemo gtk.
1819 * src/hildon-touch-selector.c,
1820 (_create_new_column): Create the treeview without hildon-gtk
1821 helpers if we are not using maemo gtk.
1823 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1825 * src/hildon-pnnable-area.c,
1826 (hildon_pannable_area_dispose),
1827 (hildon_pannable_area_button_press_cb),
1828 (hildon_pannable_area_child_mapped),
1829 (hildon_pannable_area_add),
1830 (hildon_pannable_area_remove): Added code to control the position
1831 of the event_window when adding and removing children from the
1832 pannable. We have to raise the event window when the child is
1835 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1836 selection mode using custom widget inside pannable)
1838 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1840 * configure.ac: post release version bump
1841 * debian/changelog: version bump
1843 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1848 * configure.ac: bump version
1849 * debian/changelog: updates
1851 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1853 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1854 search mode, in order to avoid lose the focus on the treeview when
1855 a hw key (like enter) is pressed.
1857 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1858 in HildonDateSelector dialog)
1860 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1862 * debian/rules: Added --enable-maintainer-mode
1863 * Makefile.am: Added ACLOCAL_AMFLAGS
1865 This allows to properly regenerate the Makefiles if you modify the
1866 configure.ac or any Makefile.am.
1868 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1870 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1871 properties, not needed at all.
1873 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1875 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1877 * src/hildon-note.c: (hildon_note_set_property),
1878 (hildon_note_get_property), (hildon_note_class_init),
1879 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1880 (hildon_note_new_confirmation_add_buttons): Remove icons.
1881 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1882 (hildon_note_new_information_with_icon_name): Deprecate.
1883 (hildon_note_new_confirmation): Act directly, without calling
1884 the deprecated constructor.
1885 (hildon_note_new_information): Act directly, without calling
1886 the deprecated constructor.
1887 * src/hildon-note.h: Mark deprecate methods as such.
1888 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1889 not run tests on the deprecated methods if built with deprecation
1892 Fixes: NB#91688 (Never show icons in information notes/confirmation
1895 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1897 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1898 (hildon_app_menu_key_press): Remove leftover usage of the
1899 private structure in HildonAppMenu struct.
1900 * src/hildon-app-menu.h: Remove leftover private structure
1901 from the HildonAppMenu struct.
1903 Fixes a crasher when using the HildonAppMenu.
1905 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1907 * src/hildon-picker-dialog.c: Use appropriate logical id
1908 for the default "Done" text.
1910 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1912 * configure.ac: post release version bump
1913 * debian/changelog: version bump
1915 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1917 Modified the way to scroll to the current selection just when the touch
1918 selector is shown on the screen, avoiding a g_idle. Added too a property
1919 to configure this behaviour. See hildon_pannable_area_jump_to_child
1920 documentation for more information.
1922 * src/hildon-touch-selector.c
1923 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1924 Added 'initial-scroll' property
1925 (hildon_touch_selector_set_property): Added
1926 (hildon_touch_selector_map): Removed as not required anymore
1927 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1928 only a concrete column, instead of iterate along all the columns
1930 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1935 * configure.ac: bump version
1936 * debian/changelog: updates
1938 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1940 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1941 compilation time warnings.
1943 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1945 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1946 the default value for HildonPannableArea::mov-mode to
1947 HILDON_PANNABLE_AREA_MODE_VERT.
1949 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1951 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1953 Reverting following commit:
1955 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1957 * src/hildon-app-menu-private.h
1958 * src/hildon-app-menu.[ch]
1959 * src/hildon-button.[ch]
1960 * src/hildon-check-button.[ch]
1961 * src/hildon-entry.[ch]
1962 * src/hildon-pannable-area.[ch]
1963 * src/hildon-text-view.[ch]:
1964 Added private field to the object's structure.
1966 because it causes an ABI breakage. We will need to introduce these
1967 changes later at some point. See NB#91636 for an extensive
1968 explanation and status.
1970 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1972 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1974 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1975 remove special cases that are no longer necessary.
1977 Fixes: NB#91016 (Change toolbar sizes, simplification)
1979 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1981 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1982 is shown in the cancel note.
1984 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1986 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1987 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1988 (hildon_seekbar_init): Remove steppers, remove expose event.
1989 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1991 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1993 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1996 label font to "SmallSystemFont" for vertically arranged buttons.
1998 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2001 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2003 * src/hildon-check-button.c
2004 (hildon_check_button_set_active, hildon_check_button_clicked):
2005 Don't access private parts directly, use getters instead.
2007 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2009 * src/hildon-check-button.c (hildon_check_button_new):
2010 Align the contents of the check button to the left.
2012 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2014 * src/hildon-pannable-area.c,
2015 (hildon_pannable_area_scroll_to),
2016 (hildon_pannable_area_jump_to),
2017 (hildon_pannable_area_scroll_to_child),
2018 (hildon_pannable_area_jump_to_child): Replace the mapped
2019 precondition of these functions with the realized, it is the
2020 correct state of the widget in this case. Changed the
2021 documentation according to this modification.
2023 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2025 Added a new EXTRA_CFLAGS option to add the deprecated define to
2026 the compilation command. This way we can avoid using the define in
2027 the documentation compilation.
2029 * configure.ac: Defined EXTRA_CFLAGS.
2031 * examples/Makefile.am:
2033 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2035 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2037 * src/hildon-picker-dialog.c:
2038 Defined a utility macro with the desired touch selector height
2039 Removed currently unused separator, and title_label variables from
2041 (hildon_picker_dialog_init): Removed code related to the creation
2042 of unused private variables title_label and separator.
2043 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2044 to ensure correct visualization of the touch selector inside the dialog.
2045 * src/hildon-touch-selector.c
2046 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2047 ensure a concrete height of the widget.
2049 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2052 * tests/Makefile.am:
2054 Remove spurious whitespaces.
2056 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2058 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2059 compilation warning after the cancel button removal.
2061 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2063 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2065 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2066 Makefile.am, that way we can choose not to compile some examples
2067 and tests of the deprecated widgets.
2069 * examples/Makefile.am: Divided the sources in deprecated and
2072 * src/Makefile.am: Added undef statement of the deprecated
2073 symbol to the enums file generation process.
2075 * src/hildon-color-chooser-dialog.c
2076 * src/hildon-color-chooser-dialog.h
2077 * src/hildon-color-button.c
2078 * src/hildon-color-button.h
2079 * src/hildon-color-chooser.c
2080 * src/hildon-color-chooser.h
2081 * src/hildon-controlbar.c
2082 * src/hildon-controlbar.h
2083 * src/hildon-date-editor.c
2084 * src/hildon-date-editor.h
2085 * src/hildon-hvolumebar.c
2086 * src/hildon-hvolumebar.h
2087 * src/hildon-private.c
2088 * src/hildon-private.h
2089 * src/hildon-range-editor.c
2090 * src/hildon-range-editor.h
2091 * src/hildon-seekbar.c
2092 * src/hildon-seekbar.h
2093 * src/hildon-time-editor.c
2094 * src/hildon-time-editor.h
2095 * src/hildon-time-picker.c
2096 * src/hildon-time-picker.h
2097 * src/hildon-volumebar.c
2098 * src/hildon-volumebar.h
2099 * src/hildon-vvolumebar.c
2100 * src/hildon-vvolumebar.h
2101 * src/hildon-bread-crumb-trail.h
2102 * src/hildon-bread-crumb-trail.c
2103 * src/hildon-calendar-popup.c
2104 * src/hildon-calendar-popup.h
2105 * src/hildon-weekday-picker.c:
2106 * src/hildon-weekday-picker.h:
2107 * src/hildon-bread-crumb-widget.c:
2108 * src/hildon-bread-crumb-widget.h:
2109 * src/hildon-bread-crumb.c:
2110 * src/hildon-bread-crumb.h:
2111 * src/hildon-calendar.c:
2112 * src/hildon-calendar.h:
2113 * src/hildon-caption.c:
2114 * src/hildon-code-dialog.c:
2115 * src/hildon-code-dialog.h:
2116 * src/hildon-font-selection-dialog.c:
2117 * src/hildon-font-selection-dialog.h:
2118 * src/hildon-get-password-dialog.c:
2119 * src/hildon-get-password-dialog.h:
2120 * src/hildon-login-dialog.c:
2121 * src/hildon-login-dialog.h:
2122 * src/hildon-number-editor.c:
2123 * src/hildon-number-editor.h:
2124 * src/hildon-set-password-dialog.c:
2125 * src/hildon-set-password-dialog.h:
2126 * src/hildon-sort-dialog.c:
2127 * src/hildon-sort-dialog.h: This is the list of deprecated
2130 * src/hildon-touch-selector.c:
2131 * src/hildon-window.c: Added undef statement to avoid compilation
2134 * tests/Makefile.am: Divided the sources in deprecated and
2137 * tests/check_test.c,
2138 (configure_tests): Marked the deprecated code that was adding
2139 suites with deprecated tests.
2141 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2143 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2145 * src/hildon-touch-selector.c: (_default_print_func): Do not
2146 duplicate a string returned by gtk_tree_model_get(), it is already
2149 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2152 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2154 * src/hildon-pannable-area.c
2155 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2156 method, it had problems when adding a widget with viewport the
2157 second time. Now checks if it already has a viewport and uses it.
2159 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2162 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2164 * src/hildon-pannable-area.c,
2165 (hildon_pannable_area_scroll_to),
2166 (hildon_pannable_area_jump_to),
2167 (hildon_pannable_area_scroll_to_child),
2168 (hildon_pannable_area_jump_to_child): Added a precondition to the
2169 scroll and jump to functions: the widget must be mapped before we
2170 can safely call these functions. We have also added documentation
2171 to the functions to explain how to use them in this situation.
2174 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2176 Reviewed the threading handling of the pannable widget, we have
2177 used the gdk_threads_add_timeout function instead of the usual
2178 glib handlers. This avoids some problems with the threads.
2180 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2181 (hildon_pannable_area_initial_effect),
2182 (hildon_pannable_area_scroll_indicator_fade),
2183 (hildon_pannable_area_button_press_cb),
2184 (hildon_pannable_area_timeout),
2185 (hildon_pannable_area_motion_notify_cb),
2186 (hildon_pannable_area_button_release_cb),
2187 (hildon_pannable_area_scroll_cb),
2188 (hildon_pannable_area_scroll_to): Removed the
2189 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2190 gdk_threads_add_timeout.
2192 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2194 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2199 * configure.ac: bump version
2200 * debian/changelog: updates
2202 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2204 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2205 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2206 * src/hildon-color-chooser-dialog.c:
2207 (hildon_color_chooser_dialog_init):
2208 * src/hildon-font-selection-dialog.c:
2209 (hildon_font_selection_dialog_init):
2210 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2212 Remove all cancel/close-like dialogs, as these are not going to be
2215 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2217 * src/hildon-note.c: (hildon_note_rebuild),
2218 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2221 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2223 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2225 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2226 sure all buttons are shown, even the Cancel/Close-like ones.
2228 Fixes: NB#90861 (Custom Confirmation dialogs should be
2229 protected from cancel button removal)
2231 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2233 * debian/control: Change libhildon1-examples dependency from libhildon1
2235 * debian/libhildon1-examples.install
2237 * Makefile.am: Modified the final install directory for the examples on
2238 package libhildon1-examples
2239 * Makefile.static: Update clean target in order to remove all the binary
2242 Changes suggested by Claudio after review new libhildon1-examples package
2244 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2246 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2247 * src/hildon-touch-selector.c: Ditto.
2249 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2251 * debian/control: Added new package libhildon1-examples, in order to pack
2252 the current hildon examples as documentation
2253 * debian/rules: Not to compress .c files, modify some includes on the
2254 examples (as normally are compiled locally, but when installed it will
2255 require to include the installed libhildon1 library), and rename
2257 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2258 install all the example files on the new example package
2259 * examples/Makefile.static: Added static makefile that can be used to
2260 compile the examples, once installed the new example package
2261 * examples: Most of the examples were modified in order to grant that
2262 all use only '#include "hildon.h"', in order to be easy to prepare
2263 it on the example package
2265 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2268 * debian/libhildon1-dev.install
2269 * debian/libhildon1-doc.install:
2270 Move all gtk-doc files to a separate libhildon1-doc package.
2272 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2274 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2276 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2278 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2280 * debian/rules: Fixed a error in order to avoid unnecessary calls
2281 to autogen.sh on package building
2283 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2285 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2287 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2292 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2294 * src/hildon-picker-button.c
2295 (hildon_picker_button_finalize):
2296 Free priv->done_button_text
2298 * src/hildon-time-button.c
2299 (hildon_time_button_set_time)
2300 * src/hildon-picker-button.c
2301 (hildon_picker_button_clicked)
2302 (hildon_picker_button_selector_selection_changed)
2303 (hildon_picker_button_set_selector)
2304 * src/hildon-date-button.c
2305 (hildon_date_button_set_date):
2306 Free strings returned by hildon_touch_selector_get_current_text()
2308 * src/hildon-button.c (hildon_button_construct_child):
2309 Fix leaks in priv->image and priv->label_box
2311 Fixes: NB#90535 (Memory leak in picker button)
2313 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2315 * src/hildon-button.c: (hildon_button_get_property): Do not access
2316 private elements directly, use getters instead.
2318 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2320 * src/hildon-app-menu-private.h
2321 * src/hildon-app-menu.c
2322 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2323 Store the menu's parent window.
2325 * src/hildon-stackable-window.c
2326 (hildon_stackable_window_toggle_menu)
2327 (hildon_stackable_window_finalize):
2328 Set the menu's parent window when the menu is shown, unset it when
2331 * src/hildon-app-menu.c
2332 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2333 (hildon_app_menu_class_init):
2334 Send unhandled keyboard accelerators to the parent window.
2336 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2338 * src/hildon-stackable-window.c
2339 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2341 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2343 * configure.ac: post release version bump
2345 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2348 * configure.ac: Bump version
2349 * debian/changelog: Updates
2350 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2353 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2355 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2358 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2359 GtkMenu with Hildon style.
2361 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2363 * src/hildon-picker-button.c:
2364 (hildon_picker_button_set_done_button_text): Set the dialog's
2365 done button text here as well.
2367 Fixes: NB#90232 (Picker button does not set the label on done button
2368 for the second time)
2370 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2372 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2375 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-app-menu.c (hildon_app_menu_insert)
2378 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2379 the HildonAppMenu to be activatable using keyboard accelerators
2380 when the menu is not being shown.
2382 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2384 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-stackable-window.c
2387 (hildon_stackable_window_show):
2388 Don't hide old windows automatically when new windows are shown:
2389 this is now a task for the window manager.
2390 (hildon_stackable_window_class_init)
2391 (hildon_stackable_window_hide):
2392 Remove windows from the stack everytime they're hidden.
2393 (hildon_stackable_window_realize):
2394 Don't change the _NET_WM_WINDOW_TYPE property. Use
2395 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2396 it as a stackable window.
2398 * src/hildon-program.c
2399 (hildon_program_pop_window_stack):
2400 Just hide the window to remove it from the stack.
2401 (hildon_program_go_to_root_window):
2402 Don't call gtk_widget_show(), this is now a task for the window
2405 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2407 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2409 * src/hildon-button.c
2410 (hildon_button_construct_child):
2411 Don't pack anything in the button until text or image are
2412 set. This allows adding a custom child after creating the button
2413 with hildon_button_new().
2414 (hildon_button_finalize, hildon_button_class_init)
2415 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2416 alignment and the label box even when they're not packed in the
2419 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2421 * src/hildon-touch-selector.h:
2422 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2423 currently the type definition was using GTK_TYPE_VBOX
2424 * src/hildon-touch-selector.c:
2425 Added some implementation notes in order to clarify that any other widget
2426 added without the column related API will not be included on the
2427 selection logic, and how the widget is freed, as some people ask about
2429 (hildon_touch_selector_remove): Reimplemented in order to free properly
2430 the column related data when you remove the private hbox.
2431 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2432 to get a proper HildonTouchSelectorColumn documentation
2434 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2436 * src/hildon-touch-selector-entry.c:
2437 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2438 text in the GtkEntry and there is no item selected. Fixes a
2441 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2443 * src/hildon-app-menu-private.h
2444 * src/hildon-app-menu.[ch]
2445 * src/hildon-button.[ch]
2446 * src/hildon-check-button.[ch]
2447 * src/hildon-entry.[ch]
2448 * src/hildon-pannable-area.[ch]
2449 * src/hildon-text-view.[ch]:
2450 Added private field to the object's structure.
2452 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2454 * configure.ac: post-release version bump
2456 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2460 * configure.ac: pre-release version bump
2462 * debian/changelog: updates.
2464 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2466 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2467 Disconnect the handler for HildonTouchSelector::changed.
2469 (hildon_picker_button_selector_selection_changed): Update the button
2470 value if the selection change was not triggered by the
2473 (hildon_picker_button_set_selector): connect to
2474 HildonTouchSelector::changed.
2476 Fixes: NB#89650 (Picker button is not updated, when selection in
2477 selector has changed)
2479 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2481 * src/hildon-picker-dialog.c
2482 (hildon_picker_dialog_realize): Removed as not required
2483 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2484 * src/hildon-picker-button.c
2485 (_current_selector_empty): New function, checks if the selector is empty
2486 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2487 if the current selector is empty, in order to avoid to show the dialog
2488 close the dialog in this case (and shows a g_warning).
2490 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2492 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2494 * src/hildon-pannable-area.c,
2495 (hildon_pannable_area_scroll): Added clause to stop movement when
2496 the child of pannable is smaller than one page.
2497 (hildon_pannable_area_scroll_to): Added conditions to avoid
2498 starting the scrolling movement if the child is smaller than one
2499 page, the complete child is in the screen, we do not have to move.
2501 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2503 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2505 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2506 this is managed automatically by the widget when the size of the
2509 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2511 * src/hildon-picker-button.c
2512 (hildon_picker_button_set_done_button_text): Make a copy of the
2513 text, and free the previous value.
2515 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2517 * src/hildon-touch-selector-entry.c:
2518 (hildon_touch_selector_entry_print_func): Return the selected row's
2519 text if the entry is empty.
2521 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2524 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2526 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2528 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2531 * src/hildon-check-button.h
2532 * src/hildon-check-button.c
2533 * examples/hildon-check-button-example.c:
2534 HildonCheckButton is now a new widget. 'toggled' signal added.
2536 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2538 * src/hildon-program-private.h
2539 * src/hildon-program.c (hildon_program_init)
2540 (hildon_program_finalize): Removed unused variables group_leader
2541 and name from HildonProgramPrivate.
2543 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2545 * src/hildon-check-button.c (hildon_check_button_set_active)
2546 (hildon_check_button_get_active, hildon_check_button_new): Use
2547 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2549 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2551 * src/hildon-touch-selector.h
2552 (hildon_touch_selector_set_column_attributes): added deprecation
2553 guard HILDON_DISABLE_DEPRECATED
2554 * src/hildon-time-selector.c
2555 (hildon_time_selector_set_time)
2556 (hildon_time_selector_get_time): Fixed a typo on documentation
2557 * src/hildon-touch-selector.c: update HildonTouchSelector and
2558 HildonTouchSelectorColumn documentation
2559 * src/hildon-touch-selector-entry.c: update "text-column" property
2561 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2562 to be added to the general documentation.
2564 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2566 * examples/hildon-pannable-area-example-4.c,
2568 * examples/hildon-pannable-area-example.c,
2569 (main): Modified the code in order to use the container add, with
2570 viewport treeviews could have problems if they are really big.
2572 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2574 * src/hildon-weekday-picker.c,
2575 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2576 the agreement regarding deprecation in the library.
2578 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2580 * examples/hildon-picker-button-multicolumn-example.c:
2581 (main): Use custom "done" button text.
2583 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2584 (hildon_picker_button_set_property),
2585 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2586 (hildon_picker_button_init),
2587 (+hildon_picker_button_get_done_button_text),
2588 (+hildon_picker_button_set_done_button_text): New methods to customize
2589 the "done" button label in the launched HildonPickerDialog. Also,
2592 * src/hildon-picker-button.h: add the public API.
2594 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2596 * src/hildon-date-selector.h:
2597 * src/hildon-picker-dialog.h:
2598 * src/hildon-time-selector.h:
2599 * src/hildon-touch-selector-column.h:
2600 * src/hildon-touch-selector.h:
2602 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2603 declarations. Fixes gtk-doc warnings.
2605 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2607 * src/hildon-picker-dialog.h
2608 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2609 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2611 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2612 long text is set as label for done button)
2614 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2616 * src/hildon-dialog.c (hildon_dialog_add_button):
2617 Set fixed width to all buttons in the HildonDialog.
2619 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2621 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2623 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2624 Set widget name using class name plus "-finger" or "-thumb".
2626 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2628 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2629 'clicked' when the state of the button is manually changed.
2631 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-app-menu.c (hildon_app_menu_realize)
2634 (hildon_app_menu_unrealize, hildon_app_menu_init)
2635 (hildon_app_menu_class_init, item_visibility_changed):
2636 Change the menu layout when the size of the screen changes.
2637 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2638 Show warning only when changing the number of colums using the
2641 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2643 * debian/compat: Set to 5
2644 * debian/control: Update dependencies.
2645 * debian/libhildon1-dbg.install: Remove.
2646 * debian/libhildon1-dev.install: Update according to cdbs paths.
2647 * debian/libhildon1.install: Update according to cdbs paths.
2648 * debian/rules: Switch to cdbs.
2650 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2652 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2653 'item' variable renamed to 'filter'
2655 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2657 * src/hildon-app-menu.c (hildon_app_menu_insert)
2658 (hildon_app_menu_add_filter, remove_item_from_list)
2659 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2660 Don't leak hidden items when the menu is destroyed.
2662 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-app-menu.c (hildon_app_menu_insert)
2665 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2666 (hildon_app_menu_set_columns, item_visibility_changed)
2667 (filter_visibility_changed, hildon_app_menu_repack_filters)
2668 (hildon_app_menu_repack_items):
2669 Repack items and filters separately.
2671 Don't repack all items, change only the ones that are needed to
2674 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2676 * src/Makefile.am: added hildon-touch-selector-column.h
2678 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2680 * src/hildon-touch-selector.c: added the property "text-column" to the
2681 class HildonTouchSelectorColumn, and related get/set functions
2682 (_default_printf_func): updated to use "text-column" property
2683 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2684 "text-column" in his documentation, as this is now included on
2685 HildonTouchSelectorColumn. The get/set_property can still be used,
2686 working as a wrapper to the concrete column "text-column" property
2687 (_text_column_modified): callback added in order to handle the signal
2688 "notify::text-column" of the concrete HildonTouchSelectorColumn
2689 (hildon_touch_selector_entry_get_text_column)
2690 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2691 modified in order to use the HildonTouchSelectorColumn "text-column"
2693 * src/hildon-time-selector.c:
2694 * src/hildon-date-selector.c:
2695 * examples/hildon-touch-selector-example.c
2696 * examples/hildon-touch-selector-multi-cells-example.c
2697 * examples/hildon-picker-button-multicolumn-example.c
2698 Set the right value to "text-column" property on the creation of a new
2699 column using hildon_touch_selector_append_column()
2701 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2703 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2705 * src/hildon-app-menu.c
2706 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2707 updating the layout of the menu, don't create all widgets again,
2708 just repack the items in their new places.
2710 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2712 * src/hildon-time-selector.c
2713 (hildon_time_selector_get_time)
2714 (hildon_time_selector_set_time)
2715 Added documentation of these public methods
2717 * src/hildon-date-button.h
2718 * src/hildon-touch-selector-column.h
2719 * src/hildon-time-button.h
2720 * src/hildon-picker-dialog.h
2721 * src/hildon-time-selector.h
2722 * src/hildon-picker-button.h
2723 * src/hildon-touch-selector.h
2724 * src/hildon-time-picker.h
2725 * src/hildon-date-selector.h
2726 * src/hildon-touch-selector-entry.h
2727 Modified in order to use hildon-widgets code style
2729 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2731 Added deprecated support to the compilation process using
2732 HILDON_DISABLE_DEPRECATED
2734 * configure.ac: Added the --disable-deprecated to the configure
2737 * src/hildon-weekday-picker.c:
2738 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2739 to use the deprecated support. We will update the other deprecated
2740 widgets status in a new patch.
2742 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2744 * configure.ac: Fixed typo with fatal warnings support, the
2745 variable name was not correct
2747 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2749 * src/hildon-app-menu.c
2750 * src/hildon-program.c: Update documentation.
2752 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2754 * configure.ac: Post-release version bump.
2756 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2761 * configure.ac: Pre-release version bump.
2762 * debian/changelog: Updates.
2764 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2766 * NEWS: Update news for previous releases.
2768 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2770 * examples/hildon-touch-selector-multi-cells-example.c:
2771 (create_selector): Update the example to use
2772 hildon_touch_selector_append_column() with a NULL renderer and set
2773 the renderers later.
2774 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2775 passed a NULL renderer. This is documented behavior now.
2777 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2778 This must be used if the developer wants full control on the layout of
2779 the renderers to be added to the column.
2781 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2783 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2785 * src/hildon-touch-selector.c: Documentation fixes.
2787 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2789 * src/hildon-wizard-dialog-private.h: Remove image and box.
2790 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2791 (hildon_wizard_dialog_set_property), (response): Completely remove
2792 image/icon support, and the containers required for the layout.
2794 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2796 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2798 * src/hildon-app-menu.c: Updated documentation.
2800 * src/hildon-stackable-window.c
2801 (hildon_stackable_window_set_main_menu): Unref the old menu after
2802 ref'ing the new one.
2804 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2806 * src/hildon-stackable-window.c
2807 (hildon_stackable_window_set_main_menu): Unref the previous menu
2808 instead of destroying it.
2810 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2811 floating reference and set has_user_ref_count to FALSE to make
2812 HildonAppMenu act like a normal ref-counted widget and not a
2815 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2818 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2820 * src/hildon-touch-selector-column.h: new file
2821 * src/hildon-touch-selector.h
2822 * src/hildon-touch-selector.c
2823 Implemented GtkCellLayout interface, in order to allow to configure
2824 the cell layout on each individual selector column
2825 (hildon_touch_selector_set_column_attributes): marked as deprecated
2826 * examples/hildon-touch-selector-multi-cells-example.c
2827 Example of how to use the GtkCellLayout interface on the selector
2829 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2831 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2833 * src/hildon-app-menu.h
2834 * src/hildon-app-menu.c
2835 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2836 (hildon_app_menu_append, hildon_app_menu_prepend):
2837 New methods to prepend, insert and move items in the menu.
2839 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2841 * src/hildon-wizard-dialog.c:
2843 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2845 (create_title): Update logical IDs and related code.
2846 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2848 * src/hildon-wizard-dialog.h: Note that
2849 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2850 point, as it is not used anymore.
2852 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2854 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2856 * src/hildon-note.c:
2857 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2858 shown. Do not display an icon in confirmation notes nor information
2860 (hildon_note_set_button_text): Update logical ID for cancel button.
2862 Fixes: NB#88850 (Update HildonNote button strings + signals)
2864 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2866 * src/hildon-stackable-window.c
2867 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2869 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2871 * src/hildon-app-menu-private.h
2872 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2873 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2874 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2875 temporary property 'columns' to change the number of columns.
2877 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2879 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2881 * examples/hildon-note-example.c: (on_information_clicked),
2882 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2883 debugging information.
2884 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2886 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2887 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2888 in order to close: this will be handled by the WM from now on.
2890 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2892 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2894 * src/hildon-app-menu-private.h
2895 * src/hildon-app-menu.c
2896 (hildon_app_menu_append, hildon_app_menu_add_filter)
2897 (button_visibility_changed, hildon_app_menu_apply_style)
2898 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2899 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2900 layout everytime a button (item or filter) is shown or hidden.
2902 * src/hildon-stackable-window.c
2903 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2906 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2908 * src/hildon-touch-selector.c:
2909 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2910 that the treeview inside the touch selector is in fremantle hildon mode
2911 * examples/hildon-date-button-example.c
2912 * examples/hildon-picker-button-multicolumn-example.c
2913 * examples/hildon-touch-selector-entry-example.c
2914 * examples/hildon-touch-selector-example.c
2915 * examples/hildon-time-button-example.c
2916 * examples/hildon-picker-button-example.c:
2917 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2919 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2921 * examples/hildon-text-view-example.c: (main): Remove the
2922 gtkrc bits, now handled by the theme.
2924 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2926 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2929 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2931 * po/Makefile.am: Install properly the mo files.
2932 * po/en_GB.po: Update translation, to ease testing purposes.
2934 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2936 * examples/hildon-picker-button-example.c: (main): Select an item
2937 in the selector before setting it to the button.
2939 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2941 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2942 Update button's value if the selector has an item active.
2944 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2945 'value' with the selector)
2947 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2949 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2950 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2951 (hildon_picker_button_class_init): Plug the finalize method.
2952 (hildon_picker_button_set_selector): If there's a previously set
2953 selector, unref'it before setting a new one.
2955 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2956 HildonTouchSelector)
2958 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2960 * src/hildon-touch-selector-entry.c:
2961 (hildon_touch_selector_entry_changed): Check if there is no text
2962 selected before setting the entry text.
2965 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-touch-selector.h
2968 * src/hildon-touch-selector.c
2969 (hildon_touch_selector_get_active)
2970 (hildon_touch_selector_set_active): New methods to set/get the
2971 index of the selected item.
2973 * src/hildon-picker-button.h
2974 * src/hildon-picker-button.c
2975 (hildon_picker_button_get_active)
2976 (hildon_picker_button_set_active): New methods to set/get the
2977 index of the selected item.
2979 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2981 * configure.ac: post-release version bump.
2983 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2987 * configure.ac: Pre-release version bump.
2988 * debian/changelog: Updates.
2989 * debian/control: Add myself as maintainer and depend on l10n
2992 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2994 * src/hildon-window.c
2995 (hildon_window_set_main_menu)
2996 * src/hildon-stackable-window.c
2997 (hildon_stackable_window_set_main_menu):
2998 Updated documentation.
3000 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3002 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3003 Don't free selector->priv manually.
3006 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3009 (hildon_gtk_window_set_progress_indicator):
3010 * src/hildon-gtk.h: Added the new API
3011 hildon_gtk_window_set_progress_indicator, it changes the state of
3012 the window progress hint.
3014 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3016 * src/hildon-button.c
3017 * src/hildon-stackable-window.c: Minor documentation updates.
3019 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3021 * src/hildon-stackable-window.c: Updated documentation.
3023 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3025 * src/hildon-defines.h: Update margins definitions
3026 to the Fremantle sizes.
3029 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3031 * src/hildon-touch-selector.c,
3032 (_hildon_touch_selector_set_model): Cleaning the code after
3033 review, removed g_print and #if 0 from the code.
3035 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3037 * src/hildon-edit-toolbar.c: Update documentation.
3039 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3041 * src/hildon-check-button.h
3042 * src/hildon-check-button.c
3043 (hildon_check_button_set_label, hildon_check_button_get_label)
3044 * examples/hildon-check-button-example.c
3045 (button_clicked_cb):
3046 Removed deprecated methods.
3048 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3050 * src/hildon-text-view.c:
3051 Add sample code to the documentation.
3053 * src/hildon-entry.h
3054 * src/hildon-text-view.h:
3055 Minor cosmetic changes.
3057 * src/hildon-entry.c:
3058 Add sample code to the documentation.
3059 (hildon_entry_init, hildon_entry_refresh_contents):
3060 Don't allow NULL values in the placeholder.
3062 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3064 * doc/hildon-docs.sgml
3066 * examples/Makefile.am
3067 * examples/hildon-text-view-example.c
3069 * src/hildon-text-view.c
3070 * src/hildon-text-view.h
3072 New HildonTextView widget, with example.
3074 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3076 * po/POTFILES.in: Add missing files with translatable strings.
3077 Partially fixes NB#88287.
3079 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3081 * examples/hildon-pannable-area-example-2.c: (main): No need to
3082 set the cellrenderer height inside hildon touch lists, the theme does
3085 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3087 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3088 they are integrated in the theme.
3090 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3092 * examples/hildon-entry-example.c: Update the example adding
3093 widgets to modify the text and the placeholder of the HildonEntry.
3095 * src/hildon-entry.c: Show the placeholder everytime the widget
3096 is empty and loses the focus.
3098 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3100 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3102 * src/hildon-pannable-area.c,
3103 (hildon_pannable_area_size_request): Fixed bug in height
3104 requisition, avoid increasing size and add border twice.
3106 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3108 * configure.ac: postrelease version bump.
3110 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3114 * configure.ac: Prerelease version bump.
3115 * debian/changelog: update.
3116 * debian/rules: make -dbg package contain useful debugging symbols.
3118 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3120 * src/hildon-dialog.h
3121 * src/hildon-dialog.c
3122 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3123 New methods to add buttons with finger size.
3124 (hildon_dialog_new_with_buttons):
3125 Create buttons with finger size.
3127 * examples/hildon-dialog-example.c (main): Use HildonDialog
3128 methods to add buttons.
3130 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3132 * src/hildon-entry.c: Updated HildonButton documentation.
3134 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3136 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3137 button value label with (FALSE, FALSE) to prevent NB#88126 from
3140 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3142 * examples/hildon-pannable-area-example.c,
3143 (main): Removed examples panning a vbox inside a pannable
3144 area. Check bug NB#87965
3146 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3148 Patch contributed by Kris Rietveld (kris@imendio.com)
3150 * src/hildon-pannable-area.c,
3151 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3152 get_size and get_position, this saves an X server roundtrip.
3154 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3156 * doc/hildon-docs.sgml
3158 * examples/Makefile.am
3159 * examples/hildon-entry-example.c
3161 * src/hildon-entry.c
3162 * src/hildon-entry.h
3164 New HildonEntry widget, with example.
3166 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3168 * src/hildon-button.c (hildon_button_construct_child): Pack the
3169 image with expand == fill == FALSE. This is a workaround for a bug
3172 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3174 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3175 labels for the text column, to make it more look more dynamic.
3177 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3179 * src/hildon-time-selector.c
3180 Define gettext auxiliar macro N_
3181 (_create_minutes_model)
3182 (_create_hours_model)
3183 (_create_ampm_model): use of strftime in order to fill the model
3184 * src/hildon-date-selector.c
3185 (hildon_date_selector_finalize):
3186 (_locales_init): remove the logic related to get the name of the months
3187 using nl_langinfo, as it is not required anymore
3189 (_create_year_model)
3190 (_create_month_model)
3191 (_update_day_model): use of strftime in order to fill the model properly
3194 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3196 * src/hildon-button.h
3197 * src/hildon-button.c (hildon_button_get_image): New method to
3200 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3202 * src/hildon-touch-selector.c:
3203 (hildon_touch_selector_remove_column): Remove from the correct parent
3204 and also remove the list element and free it.
3207 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3209 * src/hildon-time-selector.c
3210 (_create_hours_model): change the range on 12h ampm format in order to use
3211 a 12-11 range instead of previous 01-12 range
3212 (hildon_time_selector_set_time): change the way to select the current time
3213 on 12h ampm format, due the change on the range
3214 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3217 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3219 * src/hildon-touch-selector.c
3220 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3221 in order to allow use this function on multiple row selection mode if
3222 the column is different that the first one
3225 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3227 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3228 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3230 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3232 * src/hildon-date-selector.h: clean some comments, now on the .c
3233 * src/hildon-date-selector.c
3234 (hildon_date_selector_select_month): first implementation
3235 (hildon_date_selector_select_day): added documentation, reimplemented
3236 using hildon_date_selector_select_current_date to avoid repeat code
3239 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3241 Reviewed interaction logic based on device experiences, refactored
3244 * src/hildon-pannable-area.c,
3245 (hildon_pannable_area_class_init): Updated default vmax speed.
3246 (hildon_pannable_area_calculate_velocity): Added this function, it
3247 avoids duplicate valocity calculation. Adjusted calculation to
3248 avoid problems with zero dist events.
3250 (hildon_pannable_area_motion_notify_cb): Now we use the
3251 calculate_velocity function.
3253 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3255 * src/hildon-date-selector.c
3256 (hildon_date_selector_select_current_date): fix the day range check
3257 as it failed using the last day of the current month
3260 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3262 * src/hildon-touch-selector.c
3263 (hildon_touch_selector_get_num_columns): added a parameter validation
3266 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3268 * examples/Makefile.am
3269 * examples/hildon-edit-toolbar-example.c: Example of the
3270 HildonEditToolbar widget.
3272 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3274 * configure.ac: postrelease version bump.
3276 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3280 * configure.ac: prerelease version bump.
3281 * debian/changelog: update.
3283 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3285 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3286 renderer to display stock icons in the touch list. Also, set the sizes
3287 to the recommended in the style guide.
3289 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3290 * src/hildon-touch-selector.h
3291 (hildon_touch_selector_set_active_iter): renamed, now is
3292 hildon_touch_selector_select_iter
3293 (hildon_touch_selector_get_active_iter): renamed, now is
3294 hildon_touch_selector_get_selected
3295 (hildon_touch_selector_unselect_iter): added
3296 * src/hildon-touch-selector.c
3297 Update after API modification (methods renamed)
3298 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3299 order to avoid problems selecting multiple elements on the column
3300 (hildon_touch_selector_unselect_iter): added the implementation
3301 * src/hildon-time-selector.c
3302 * src/hildon-date-selector.c
3303 * src/hildon-touch-selector-entry.c
3304 Update methods calls after hildon-touch-selector.h API modification (methods
3307 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3309 * src/hildon-stackable-window.c
3310 (hildon_stackable_window_finalize): Call the parent class's finalize.
3312 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3314 * examples/hildon-touch-selector-example.c: (create_selector): Use
3315 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3318 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3320 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3321 set a cell background color, to respect theming.
3323 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3325 * doc/hildon-docs.sgml
3328 * src/hildon-edit-toolbar.c
3329 * src/hildon-edit-toolbar.h
3330 * src/hildon.h: New HildonEditToolbar widget.
3332 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3334 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3337 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3338 * src/hildon-touch-selector.c
3339 (_create_new_column): use g_object_set instead of two g_object_set_property
3341 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3342 * src/hildon-touch-selector.c
3343 (_create_new_column): use of hildon_gtk_tree_view_new to create
3344 the treeview, instead of use directly g_object_new
3345 (_create_new_column): update the property name "vindicator-mode" for the
3346 new one "vscrollbar-policy"
3347 * examples/hildon-date-button-example.c
3348 * examples/hildon-picker-button-multicolumn-example.c
3349 * examples/hildon-touch-selector-entry-example.c
3350 * examples/hildon-touch-selector-example.c
3351 * examples/hildon-time-button-example.c
3352 * examples/hildon-picker-button-example.c
3353 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3354 to all the treeviews inside a pannable area.
3356 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3358 * src/hildon-button.h
3359 * src/hildon-button.c (hildon_button_init)
3360 (hildon_button_set_arrangement, hildon_button_set_alignment)
3361 (hildon_button_set_title_alignment)
3362 (hildon_button_set_value_alignment)
3363 (hildon_button_set_image_alignment)
3364 (hildon_button_construct_child): New methods to set the alignment
3365 of the individual components of the button (title, value,
3366 image). Also, new method to alter the xscale and yscale properties
3367 of the GtkAlignment inside the button, so more complex layouts can
3370 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3372 * src/hildon-button.c (hildon_button_style_set)
3373 (hildon_button_class_init, hildon_button_set_arrangement)
3374 (hildon_button_construct_child): Apply style properties
3375 correctly. Use the 'image-spacing' style property too.
3377 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3379 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3380 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3383 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3385 * src/hildon-pannable-area.c,
3386 (hildon_pannable_area_size_request): Fixed problem with
3387 pannable-area size_request.
3389 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3391 Added management for the grab-focus to a child widget, like a
3392 range, we need to fade out the scrollbar when releasing.
3394 * src/hildon-pannable-area.c,
3395 (hildon_pannable_area_init): Connected the grab-focus signal to
3397 (hildon_pannable_area_grab_notify): Added this function in order
3398 to manage the situation when the grab-focus ends. We have to
3399 fade-out the scrollbar.
3401 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3403 * src/hildon-app-menu.c: Minor documentation update.
3405 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3407 * src/hildon-app-menu.c
3408 * examples/hildon-app-menu-example.c (create_menu): Update
3409 examples and documentation to explain how to connect callbacks.
3411 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3413 * examples/hildon-button-example.c
3414 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3415 hildon_stackable_window_new instead of gtk_window_new
3417 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3419 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3420 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3421 (hildon_pannable_area_set_property),
3422 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3423 (hildon_pannable_area_unrealize),
3424 (hildon_pannable_area_size_request),
3425 (hildon_pannable_area_size_allocate),
3426 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3427 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3428 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3429 (hildon_pannable_area_initial_effect),
3430 (hildon_pannable_area_redraw),
3431 (hildon_pannable_area_scroll_indicator_fade),
3432 (hildon_pannable_area_expose_event),
3433 (hildon_pannable_area_get_topmost), (synth_crossing),
3434 (hildon_pannable_area_button_press_cb),
3435 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3436 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3437 (hildon_pannable_area_motion_notify_cb),
3438 (hildon_pannable_area_button_release_cb),
3439 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3440 (hildon_pannable_area_remove),
3441 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3442 chage the code layout to a more GtkWidget like. Review the use of
3445 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3447 * examples/hildon-pannable-area-example-4.c,
3448 (main): Modified the name of the hindicator_mode to
3451 * src/hildon-pannable-area.c,
3452 (hildon_pannable_area_class_init),
3453 (hildon_pannable_area_motion_notify_cb),
3454 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3455 we have reduced the amount of signals and managed reviewed its
3456 rationale. Changed the default decelerate value.
3458 (hildon_pannable_area_add),
3459 (hildon_pannable_area_redraw): Refactored functions.
3461 (hildon_pannable_area_init),
3462 (hildon_pannable_area_get_property),
3463 (hildon_pannable_area_set_property):
3464 (hildon_pannable_draw_vscroll),
3465 (hildon_pannable_draw_hscroll),
3466 (hildon_pannable_area_initial_effect),
3467 (hildon_pannable_area_expose_event),
3468 (hildon_pannable_area_scroll),
3469 (hildon_pannable_area_button_press_cb),
3470 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3471 and vindicator_mode with hscrollbar_policy and
3472 vscrollbar_policy. Replaced hscroll and vscroll with
3473 hscroll_visible and vscroll_visible.
3475 (hildon_pannable_area_refresh): Refactor the function, remove
3476 variables and check the calls to this function, added resize
3477 conditions in case the children change their layout.
3479 (hildon_pannable_area_size_request): Added more detailed
3480 size_request calculation.
3483 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3485 * src/hildon-color-chooser.c
3486 (init_borders): use the correct gtk_border_free instead of g_free, to
3487 avoid a crash when this widget is used (ie: the three color selection
3490 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3492 * src/hildon-check-button.c,
3493 (hildon_check_button_set_active): Fixed problem when setting the
3494 active value, the widget was not redrawn.
3496 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3498 * src/hildon-pannable-area.c,
3499 (hildon_pannable_area_refresh),
3500 (hildon_pannable_area_scroll),
3501 (hildon_pannable_area_motion_notify_cb): Small code style change.
3503 (hildon_pannable_area_class_init): Default initial_hint set to
3504 FALSE, it is not in the specs.
3506 (hildon_pannable_area_initial_effect),
3507 (hildon_pannable_area_expose_event),
3508 (hildon_pannable_area_map),
3509 (hildon_pannable_area_init): Moved the launching point of the
3510 initial effect, it was in map but the sizes where not correct in
3511 that method so we do not know if we have the reproduce it. Now it
3512 is placed in the expose_event method and uses a variable to
3513 reproduce it just once.
3515 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3517 * src/hildon-pannable-area.c,
3518 (hildon_pannable_draw_vscroll),
3519 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3520 position allowed for the scrollbars.
3522 (hildon_pannable_area_size_allocate): Small style change.
3524 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3526 * src/hildon-pannable-area.c,
3527 (hildon_pannable_area_scroll_indicator_fade),
3528 (hildon_pannable_area_button_press_cb),
3529 (hildon_pannable_area_button_release_cb),
3530 (hildon_pannable_area_scroll_cb),
3531 (hildon_pannable_area_expose_event),
3532 (hildon_pannable_area_init): Added the define parameter
3533 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3534 and refactor the fade variable.
3536 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3538 * src/hildon-pannable-area.c,
3539 (hildon_pannable_area_redraw),
3540 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3541 lines, we were reimplemeting the redraw code.
3543 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3545 * src/hildon-pannable-area.c,
3546 (hildon_pannable_area_scroll_cb),
3547 (hildon_pannable_area_realize),
3548 (hildon_pannable_area_class_init): Added scroll_event management
3549 for pannable area, now we can scroll the usual desktop method.
3551 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3552 initialization of the parameters should depend on idle_id.
3554 (hildon_pannable_area_init),
3555 (hildon_pannable_area_map): Small code style modifications
3557 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3559 * src/hildon-pannable-area.c
3560 (hildon_pannable_area_button_press_cb),
3561 (hildon_pannable_area_motion_notify_cb),
3562 (hildon_pannable_area_button_release_cb),
3563 (hildon_pannable_area_size_allocate),
3564 (hildon_pannable_area_scroll_to): Improved the timeouts
3565 management, we avoid creating them each time.
3567 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3569 * src/hildon-pannable-area.c:
3570 (hildon_pannable_area_refresh),
3571 (hildon_pannable_area_motion_notify_cb),
3572 (hildon_pannable_area_class_init):
3573 * src/hildon-pannable-area.h:
3574 * src/hildon-touch-selector.c
3575 (_create_new_column):
3576 * examples/hildon-pannable-area-example-4.c:
3577 (horizontal_movement),
3578 (vertical_movement),
3580 Replaced the names of enums in the HildonPannableArea:
3581 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3582 HILDON_MOVEMENT_MODE_*
3583 - HILDON_PANNABLE_AREA_MOV_* ->
3585 - Removed HildonPannableAreaIndicatorMode, now we
3588 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3590 * examples/hildon-pannable-area-touch-grid-example.c
3591 * examples/hildon-pannable-area-touch-list-example.c: Fix
3592 compilation warnings.
3594 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3596 * src/hildon-gtk.c (hildon_gtk_button_new)
3597 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3598 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3599 images overriding the value of the "gtk-button-images" setting.
3601 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-check-button.c (hildon_check_button_new):
3604 Instead of using a custom container, display the label and the
3605 checkbox using the standard GtkButton API.
3607 * examples/hildon-check-button-example.c (main): Don't use
3608 hildon_check_button_set_label() anymore
3610 * src/hildon-check-button.h
3611 * src/hildon-check-button.c
3612 (hildon_check_button_set_label, hildon_check_button_get_label):
3613 Set as deprecated, now we're using gtk_button_{get,set}_label()
3615 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3617 * src/hildon-pannable-area.c,
3618 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3619 GtkTreeview first line we detected it after the inclusion of the
3620 GtkWindowImpl in gtk+. We now check if the window is visible, not
3621 just if the pointer is over the window.
3622 (hildon_pannable_axis_scroll),
3623 (hildon_pannable_area_expose_event): Small style changes.
3625 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3627 * src/hildon-button.c: Update documentation.
3629 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3631 * examples/hildon-button-example.c: Add a switch to show images in
3634 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3636 * doc/hildon-docs.sgml: Some docs reorganization.
3638 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3640 * examples/hildon-pannable-area-touch-list-example.c
3642 * examples/hildon-pannable-area-touch-grid-example.c
3643 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3644 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3645 Fix memory leak when setting the tree model.
3647 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3651 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3653 * doc/hildon.types: Remove duplicated hildon_window_get_type
3654 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3655 documentation comment.
3657 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3659 * doc/Makefile.am: Complete list of private headers.
3661 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3663 * doc/hildon-docs.sgml
3664 * src/hildon-app-menu.c
3665 * src/hildon-bread-crumb.c
3666 * src/hildon-button.c
3668 * src/hildon-program.c
3669 * src/hildon-stackable-window.c
3670 * src/hildon-window.c: Lots of documentation updates.
3672 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3674 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3676 * configure.ac: Require Gtk+ 2.12.9 at least
3678 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3680 * src/hildon-pannable-area.c
3681 (hildon_pannable_area_scroll_indicator_fade),
3682 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3683 to protect the return of this timeout callbacks, avoiding deadlocks.
3685 2008-08-12 Christian Dywan <christian@imendio.com>
3688 * src/hildon-*.h: Ensure a consistent include order,
3689 include <gtk/gtk.h> instead of particular files and
3690 only include the topmost header in the gtk stack. See NB #39857
3692 2008-08-12 Christian Dywan <christian@imendio.com>
3694 * src/hildon-picker-dialog.c
3695 * src/hildon-touch-selector.c: Fix warnings about unused and
3696 uninitialized variables.
3698 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3700 * examples/Makefile.am
3701 * examples/hildon-check-button-example.c: Example of the hildon
3704 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3706 * src/hildon-window.h
3707 * src/hildon-window.c (hildon_window_class_init)
3708 (hildon_window_unset_program): Don't make
3709 hildon_window_unset_program a virtual function anymore.
3711 * src/hildon-stackable-window.c: Update documentation
3713 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3716 * doc/hildon-docs.sgml
3717 * doc/visual_index.xml
3718 * src/hildon-defines.c
3720 * src/hildon-helper.c
3721 * src/hildon-range-editor.c: Lots of documentation fixes.
3723 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3725 * examples/hildon-picker-button-multicolumn-example.c
3726 (create_touch_selector): Fix compilation warning.
3728 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3730 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3731 (hildon_pannable_area_button_release_cb)
3732 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3734 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3736 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3739 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3741 * src/hildon-bread-crumb-trail.h
3742 * src/hildon-date-editor.c
3743 * src/hildon-date-selector.c
3744 * src/hildon-pannable-area.c
3745 * src/hildon-picker-dialog.c
3746 * src/hildon-time-selector.c
3747 * src/hildon-touch-selector-entry.c
3748 * src/hildon-touch-selector.c
3749 * src/hildon-touch-selector.h: Misc documentation fixes
3751 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3753 * examples/hildon-date-editor-example.c (main): Updated date
3756 * examples/hildon-note-example.c (on_confirmation_clicked):
3757 Updated confirmation note example.
3759 * src/hildon-date-editor.c
3760 * src/hildon-note.c: Updated sample programs in documentation.
3763 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-date-button.h:
3766 * src/hildon-picker-button.h:
3767 * src/hildon-time-button.c:
3768 * src/hildon-time-button.h:
3770 Some declarations changes to allow gtk-doc to document the widgets
3773 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3775 * src/hildon-date-button.c: Document the widget.
3776 * src/hildon-time-button.c: Document the widget.
3778 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3780 * src/hildon-picker-button.c: Document the widget.
3781 * src/hildon-touch-selector-entry.c: Document the widget.
3783 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3785 * doc/hildon-docs.sgml
3788 * src/hildon-check-button.h
3789 * src/hildon-check-button.c: New functions to create the Hildon
3793 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3795 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3797 * src/hildon-button.h
3798 * src/hildon-button.c
3799 (hildon_button_add_title_size_group)
3800 (hildon_button_add_value_size_group)
3801 (hildon_button_add_image_size_group)
3802 (hildon_button_add_size_groups): New functions to set size groups
3803 for the button labels and image.
3804 (hildon_button_new_full): Removed
3806 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3808 * src/hildon-time-selector.c
3809 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3810 in order to avoid a crash if gconf is not available
3812 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3814 * src/hildon-button.c (hildon_button_set_arrangement)
3815 (hildon_button_construct_child): Don't construct the button child
3816 before setting the arrangement.
3818 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3820 * src/hildon-program-private.h
3821 * src/hildon-program.c
3822 * src/hildon-program.h
3823 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3824 (hildon_program_peek_window_stack)
3825 (hildon_program_pop_window_stack)
3826 (hildon_program_go_to_root_window): HildonProgram now has a
3827 separate list for stackable windows. Functions are provided to
3828 manage that list with a stack-like API.
3830 * src/hildon-stackable-window.c: Stackable window management is
3831 now much simpler with the new HildonProgram API. Windows no
3832 longer need to be manually added to the program, they're
3833 automatically pushed to the top of the stack when shown.
3835 * examples/hildon-stackable-window-example.c: Updated example to
3836 reflect the API changes.
3838 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3840 * src/hildon-touch-selector.c: Comment out unimplemented
3841 hildon_touch_selector_insert_column() to avoid a compile warning.
3843 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3845 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3846 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3847 (hildon_touch_selector_set_column_selection_mode),
3848 (_hildon_touch_selector_set_model),
3849 (hildon_touch_selector_set_model):
3851 Complete review of HildonTouchSelector documentation.
3853 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3855 * doc/hildon-docs.sgml
3859 * src/hildon-gtk.c: Convenience functions for standard Gtk
3860 widgets, used to easily perform frequent operations.
3862 * src/hildon-button-helpers.h
3863 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3865 * src/hildon-helper.h
3866 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3867 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3869 * src/hildon-button.h
3870 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3872 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3874 * src/hildon-button.c (hildon_button_init)
3875 (hildon_button_set_arrangement, hildon_button_construct_child):
3876 Pack the image and the labels inside the same GtkAlignment so
3877 gtk_button_set_alignment() can be used
3879 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3881 * src/hildon-button.h
3882 * src/hildon-button.c
3883 (hildon_button_init, hildon_button_set_image)
3884 (hildon_button_set_image_position)
3885 (hildon_button_construct_child): New functions to add an image to
3888 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3890 * src/hildon-date-button.c
3891 * src/hildon-picker-button.c
3892 * src/hildon-time-button.c
3893 * src/hildon-button.c:
3894 (hildon_button_class_init): "size-flags" renamed to "size"
3895 (hildon_button_set_title): Hide the title label if set to NULL.
3897 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3899 HildonButtonFlags split into HildonButtonArrangement (to set the
3900 button layout) and HildonSizeType (which can be used for any
3903 * src/hildon-button.h
3904 * src/hildon-button.c
3905 (hildon_button_class_init)
3906 (hildon_button_set_arrangement)
3907 (hildon_button_set_property): New "size-flags"
3908 property. "arrangement-flags" renamed to "arrangement".
3909 (hildon_button_new, hildon_button_new_with_text)
3910 (hildon_button_new_full): Constructors updated to reflect type changes.
3912 * src/hildon-helper.h
3913 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3914 to set the size of a widget.
3918 * src/hildon-button-helpers.c
3919 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3921 * src/hildon-date-button.c
3922 * src/hildon-date-button.h
3923 * src/hildon-picker-button.c
3924 * src/hildon-picker-button.h
3925 * src/hildon-time-button.c
3926 * src/hildon-time-button.h: Updated widgets to reflect
3927 HildonButton API changes.
3929 * examples/hildon-button-example.c
3930 * examples/hildon-date-button-example.c
3931 * examples/hildon-picker-button-example.c
3932 * examples/hildon-picker-button-multicolumn-example.c
3933 * examples/hildon-time-button-example.c
3934 * examples/hildon-touch-selector-entry-example.c
3935 * examples/hildon-touch-selector-example.c: Updated examples to
3936 reflect HildonButton API changes.
3938 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3940 * doc/hildon-docs.sgml:
3942 * examples/Makefile.am:
3943 * examples/hildon-touch-selector-entry-example.c:
3945 * src/hildon-touch-selector-entry.c:
3946 * src/hildon-touch-selector-entry.h:
3949 Moved HildonTouchSelectorEntry from sandbox. Added its
3950 documentation and examples.
3952 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3954 * src/hildon-touch-selector.h:
3955 * examples/hildon-picker-button-multicolumn-example.c:
3956 (hildon_touch_selector_append_text_column): Add a gboolean
3957 parameter to determine if text must be centered in the column.
3959 * src/hildon-date-selector.c: (hildon_date_selector_init):
3960 * src/hildon-time-selector.c: (hildon_time_selector_init):
3961 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3962 (create_touch_selector): Update widgets and example to reflect
3965 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3967 * src/hildon-touch-selector.c:
3968 (hildon_touch_selector_set_active_iter): Set also the cursor in
3971 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3973 * doc/hildon-docs.sgml
3976 * src/hildon-toggle-button.c
3977 * src/hildon-toggle-button.h
3978 * src/hildon.h: Removed HildonToggleButton widget, a derived
3979 class is not necessary for this.
3981 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3983 * src/hildon-pannable-area.c,
3984 (hildon_pannable_area_realize),
3985 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3988 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3990 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3991 "done" button the default widget for the dialog.
3993 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3995 * src/hildon-touch-selector.c:
3996 (hildon_touch_selector_class_init),
3997 (hildon_touch_selector_get_property),
3998 (_hildon_touch_selector_set_model),
3999 (_hildon_touch_selector_has_multiple_selection),
4000 (hildon_touch_selector_has_multiple_selection):
4001 Add a "has-multiple-selection" property with a virtual
4002 has_multiple_selection() method to allow derived classes to
4003 override the default value for it. See the method and property
4004 documentation for details.
4006 * src/hildon-touch-selector.h: Add the new API.
4008 * src/hildon-picker-dialog.c: (requires_done_button): Call
4009 hildon_touch_selector_has_multiple_selection() instead of
4010 determining the need for a button itself.
4012 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4015 (_hildon_touch_selector_set_model),
4016 (hildon_touch_selector_set_model): Move working code to
4017 _hildon_touch_selector_set_mode(). Call the class method instead.
4019 * src/hildon-touch-selector.h: Add (*set_model) to
4020 HildonTouchSelectorClass.
4022 Make hildon_touch_selector_set_model() a virtual method, so that
4023 derived classes can extend it and do fancy stuff with the model.
4025 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4027 * configure.ac: Set back the tarname in AC_INIT to hildon.
4029 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4033 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4034 instead of libesd (NB#86876). Volume handling is still an open issue.
4036 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4039 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4041 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4042 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4043 derived class to ease placement of an entry widget in
4044 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4045 end, where the selector columns are packed now.
4047 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4049 * src/hildon-picker-button.c: Removed the simple _text() API.
4050 * src/hildon-picker-button.h: Likewise.
4052 * src/hildon-touch-selector.h:
4053 * src/hildon-touch-selector.c:
4054 (hildon_touch_selector_new_text),
4055 (hildon_touch_selector_append_text),
4056 (hildon_touch_selector_prepend_text),
4057 (hildon_touch_selector_insert_text):
4059 Moved the simple _text() API from HildonPickerButton to
4060 HildonTouchPicker, to provide better escalability and not to tie
4061 that API to HildonPickerButton.
4063 * examples/hildon-picker-button-example.c: (main): Example updated.
4065 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4067 * src/hildon-button.c: Updated documentation.
4069 * examples/hildon-button-example.c: Add the posibility to create
4070 the buttons using horizontal layout for title and value.
4072 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4074 * src/hildon-app-menu-private.h
4075 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4076 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4077 GtkSizeGroup for the filters, use the 'homogeneous' property of
4080 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4082 * examples/hildon-button-example.c: Updated example.
4084 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4086 * doc/hildon-docs.sgml:
4089 Update documentation.
4091 * examples/Makefile.am: Update renamed examples.
4093 * examples/hildon-picker-button-multicolumn-example.c:
4094 (create_touch_selector), (main): Update after the rename.
4096 * examples/hildon-touch-picker-example.c: Removed.
4097 * examples/hildon-touch-selector-example.c: (value_changed),
4098 (create_selector), (get_visible_content), (main): Renamed from
4099 hildon-touch-picker-example.c
4101 * src/Makefile.am: Updated renamed files.
4103 * src/hildon-date-button.c: (hildon_date_button_init),
4104 (hildon_date_button_get_date), (hildon_date_button_set_date):
4105 * src/hildon-date-selector.c: (hildon_date_selector_init),
4106 (_custom_print_func), (_update_day_model),
4107 (_manage_selector_change_cb),
4108 (hildon_date_selector_select_current_date),
4109 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4110 * src/hildon-date-selector.h:
4111 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4112 (hildon_picker_button_set_property),
4113 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4114 (hildon_picker_button_init), (hildon_picker_button_new_text),
4115 (hildon_picker_button_append_text),
4116 (hildon_picker_button_prepend_text),
4117 (hildon_picker_button_insert_text),
4118 (hildon_picker_button_set_selector),
4119 (hildon_picker_button_get_selector):
4120 * src/hildon-picker-button.h:
4121 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4122 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4123 (_update_title_on_selector_changed_cb), (requires_done_button),
4124 (_hildon_picker_dialog_set_selector),
4125 (hildon_picker_dialog_set_selector),
4126 (hildon_picker_dialog_get_selector):
4127 * src/hildon-picker-dialog.h:
4128 * src/hildon-time-button.c: (hildon_time_button_init),
4129 (hildon_time_button_get_time), (hildon_time_button_set_time):
4130 * src/hildon-time-selector.c: (hildon_time_selector_init),
4131 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4132 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4133 * src/hildon-time-selector.h:
4136 Massive code updates after the rename.
4138 * src/hildon-touch-picker.c: Removed.
4139 * src/hildon-touch-picker.h: Removed.
4141 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4142 (hildon_touch_selector_init), (hildon_touch_selector_map),
4143 (hildon_touch_selector_remove), (_default_print_func),
4144 (_selection_changed_cb), (_create_new_column),
4145 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4146 (hildon_touch_selector_append_text_column),
4147 (hildon_touch_selector_remove_column),
4148 (hildon_touch_selector_set_column_attributes),
4149 (hildon_touch_selector_insert_column),
4150 (hildon_touch_selector_get_num_columns),
4151 (hildon_touch_selector_get_column_selection_mode),
4152 (hildon_touch_selector_set_column_selection_mode),
4153 (hildon_touch_selector_set_print_func),
4154 (hildon_touch_selector_get_print_func),
4155 (hildon_touch_selector_get_active_iter),
4156 (hildon_touch_selector_set_active_iter),
4157 (hildon_touch_selector_get_selected_rows),
4158 (hildon_touch_selector_get_model),
4159 (hildon_touch_selector_set_model),
4160 (hildon_touch_selector_get_current_text),
4161 (_hildon_touch_selector_center_on_selected_items):
4162 * src/hildon-touch-selector.h: Renamed from
4163 hildon-touch-picker.[ch]
4165 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4166 references, code examples, and related documentation.
4168 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4170 * doc/hildon-docs.sgml
4173 * src/hildon-toggle-button.c
4174 * src/hildon-toggle-button.h
4175 * src/hildon.h: New HildonToggleButton widget.
4177 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4179 * src/hildon-button.c: Add API documentation.
4180 (hildon_button_set_size_groups): Check input parameters
4182 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4184 * src/hildon-pannable-area.c
4185 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4186 effect after reaching the movement thredshold. This way we start
4187 using the distance after passing the thredshold.
4189 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4191 * src/hildon-button.c: (hildon_button_set_property): Use the
4192 appropriate g_value_get_flags() method.
4194 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4196 * doc/hildon-docs.sgml:
4199 Add the touch pickers, picker dialogs, and picker button widgets
4200 to the documentation.
4202 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4204 * src/hildon-button.c: (hildon_button_set_property),
4205 (hildon_button_class_init): Make "arrangement-flags" a proper
4206 G_TYPE_FLAGS derived property.
4208 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4210 * examples/Makefile.am: Add below examples.
4211 * examples/hildon-date-button-example.c:
4212 * examples/hildon-picker-button-example.c:
4213 * examples/hildon-picker-button-multicolumn-example.c:
4214 * examples/hildon-time-button-example.c:
4215 * examples/hildon-touch-picker-example.c:
4217 Add examples for the recently added touch pickers,
4218 picker dialogs, and picker button widgets.
4220 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4222 * src/hildon-button.c: Add some API documentation
4224 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4226 * src/hildon-button.h
4227 * src/hildon-button.c
4229 (hildon_button_new_with_text): New constructor to create a button
4230 with no text at all.
4231 (hildon_button_init, hildon_button_set_arrangement)
4232 (hildon_button_set_title, hildon_button_set_value)
4233 (hildon_button_set_text)
4234 (hildon_button_construct_child): Hide the value when it's not used
4235 so the rest of the text is properly aligned.
4236 Allow creating buttons with arbitrary widgets inside (not just
4237 title/value labels).
4239 * examples/hildon-button-example.c (vertical_buttons_window)
4240 (horizontal_buttons_window): Update example to use new API.
4242 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4244 * src/Makefile.am: Added HildonTimeButton.
4245 * src/hildon-time-button.c: Added missing LGPL header.
4246 * src/hildon-time-button.h: Added missing LGPL header.
4247 * src/hildon.h: Add hildon-time-button.h
4249 Copied HildonTimeButton from sandbox to trunk. Future work on this
4250 widget must take place in trunk.
4252 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4254 * src/Makefile.am: Added HildonDateButton.
4255 * src/hildon-date-button.c: Update includes.
4256 * src/hildon.h: Add hildon-date-button.h
4258 Copied HildonDateButton from sandbox to trunk. Future work on this
4259 widget must take place in trunk.
4261 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4263 * src/Makefile.am: Added HildonPickerButton.
4264 * src/hildon-picker-button.h: Update includes.
4265 * src/hildon.h: Add hildon-picker-button.h
4267 Copied HildonPickerButton from sandbox to trunk. Future work on
4268 this widget must take place in trunk.
4270 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4272 * src/Makefile.am: Added HildonPickerDialog.
4273 * src/hildon-picker-dialog.c: Update includes.
4274 * src/hildon.h: Add hildon-picker-dialog.h
4276 Copied HildonPickerDialog from sandbox to trunk. Future work
4277 on this widget must take place in trunk.
4279 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4281 * src/Makefile.am: Added HildonTimeSelector.
4282 * src/hildon.h: Add hildon-time-selector.h
4284 Copied HildonTimeSelector widget from sandbox to trunk. Future
4285 work on this widget must happen in trunk.
4287 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/Makefile.am: Added HildonDateSelector.
4290 * src/hildon.h: Add hildon-date-selector.h
4292 Copied HildonDateSelector widget from sandbox to trunk. Future
4293 work on this widget must happen in trunk.
4295 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4297 * src/Makefile.am: Added HildonTouchPicker.
4298 * src/hildon-touch-picker.c: Update includes.
4299 * src/hildon.h: Add hildon-touch-picker.h
4301 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4302 on this widget must happen in trunk.
4304 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4306 * src/hildon-pannable-area.c:
4307 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4309 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4311 * examples/hildon-app-menu-example.c (main): Let the window
4314 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4316 * src/hildon-pannable-area.c
4317 (hildon_pannable_area_class_init): Set the min value of the
4318 overshoot properties to zero, which points out that not
4319 overshooting allowed.
4321 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4323 Modified the procedure to get the widget at a point inside the
4324 pannable area when using the movement type signals. Now the user
4325 has to call a function to get the child, that way we just
4326 calculate the child in case the user really want to use it and not
4329 * src/hildon-marshalers.list: Modified the marshallers, now we do
4330 not have the widget as a parameter.
4332 * src/hildon-pannable-area.c
4333 (hildon_pannable_area_motion_notify_cb),
4334 (hildon_pannable_area_class_init),
4335 (hildon_pannable_get_child_widget_at): Removed the widget
4336 parameter from the signal callback. We have also refactored the
4337 emission of the signals.
4339 * src/hildon-pannable-area.h: Added a new method to the API to
4340 calculate a widget at a point inside the pannable area,
4341 hildon_pannable_get_child_widget_at.
4343 * examples/hildon-pannable-area-example-4.c
4344 (horizontal_movement): Modified the example to use the new API,
4345 added condition to control which widget is under the event. This
4346 way we can avoid scrolling laterally over other widgets.
4348 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4350 * src/hildon-pannable-area.c
4351 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4352 modes, we stop getting the pointer events due to returning the
4353 callback without properly calling the get pointer again. Fixed
4354 also an error using the hscroll and vscroll.
4356 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4358 * src/hildon-app-menu-private.h
4359 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4360 (hildon_app_menu_button_release, hildon_app_menu_init)
4361 (hildon_app_menu_class_init): Don't hide the menu on button
4362 release if the user didn't press outside first.
4364 * src/hildon-window.h
4365 * src/hildon-window.c (hildon_window_toggle_menu)
4366 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4367 hildon_window_toggle_menu a virtual function for the stackable
4368 window to override it.
4370 * src/hildon-stackable-window.h
4371 * src/hildon-stackable-window-private.h
4372 * src/hildon-stackable-window.c
4373 (hildon_stackable_window_realize)
4374 (hildon_stackable_window_finalize)
4375 (hildon_stackable_window_class_init)
4376 (hildon_stackable_window_init)
4377 (hildon_stackable_window_set_main_menu): New function to set the
4378 app menu of a HildonStackableWindow.
4380 * examples/hildon-app-menu-example.c: Remove the button to show
4381 the app menu, now it'll be shown when clicking on the title bar
4384 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4387 set the widget name if the arrangement flags do not specify
4390 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4392 * src/hildon-button.c: (hildon_button_set_property),
4393 (hildon_button_class_init), (hildon_button_new_full),
4394 (hildon_button_set_arrangement): Added "arrangement-flags"
4397 Make the HildonButtonFlags a construction-only property, to allow
4398 subclasses to set them properly.
4400 2008-07-21 Tim Janik <timj@imendio.com>
4402 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4403 insertion position after backspace, so additional digits are appended,
4406 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4408 * src/hildon-pannable-area.c,
4409 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4410 TODO list, it was complete and removed the g_debug and g_print
4413 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4415 Added the movement modes to the hildon-pannable-area, with this
4416 modes the developers can control in which directions the widget
4417 can scroll. They can also connect to signals in order to do
4418 something when that happens, allowing applications scroll. There
4419 is an example uploaded showing how to use it.
4421 * examples/Makefile.am:
4422 * examples/hildon-pannable-area-example-4.c: Added this example of
4423 an application using the modes.
4425 * src/hildon-marshalers.list: Added a new marshaller for the new
4428 * src/hildon-pannable-area.h: Added new enumerations and flags in
4429 order to control the movement modes and the new signals to warn
4430 about the movements in the area.
4432 * src/hildon-pannable-area.c:
4433 (hildon_pannable_axis_scroll),
4434 (hildon_pannable_area_scroll),
4435 (hildon_pannable_area_motion_notify_cb),
4436 (hildon_pannable_area_get_property),
4437 (hildon_pannable_area_set_property),
4438 (hildon_pannable_area_map),
4439 (hildon_pannable_area_class_init),
4440 (hildon_pannable_area_init),
4441 (hildon_pannable_area_jump_to): Added the modes to control the
4442 movement in the widget. We have added properties to control it,
4443 signals to warn about the movements and refactored some code.
4445 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4447 Changes required in order to allow vfast_factor set to zero to
4450 * src/hildon-pannable-area.c:
4451 (hildon_pannable_area_button_press_cb): Changed the condition, it
4452 is required for not allowing click when vfast_factor is zero.
4453 (hildon_pannable_area_timeout): Initialized velocity variables
4454 when we stop moving, it was less than 1 but not zero and we need
4455 to check zero in some situations.
4456 (hildon_pannable_area_class_init): Changed the default value of
4457 the speed factor, now the button_press is just sent in case the
4458 speed is 2 per cent of the max speed.
4459 (hildon_pannable_area_init): Initialization with 0.
4461 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4463 * src/hildon-pannable-area.c,
4464 (hildon_pannable_area_get_topmost): replaced
4465 gdk_window_get_children with gdk_window_peek_children, this way we
4466 do not have to free the list because it is not a copy.
4468 (hildon_pannable_axis_scroll),
4469 (hildon_pannable_area_scroll),
4470 (hildon_pannable_area_timeout),
4471 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4472 two parameters that were only used inside the
4473 hildon_pannable_area_scroll function.
4475 * examples/hildon-pannable-area-example.c,
4476 (get_sawtooth_label): Fixed small memory leak.
4478 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4480 More checks for the case where the overshoot is bigger than the
4483 * src/hildon-pannable-area.c:
4484 (hildon_pannable_draw_vscroll),
4485 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4486 to draw the slider of the scrollbar under the other scrollbar.
4487 (hildon_pannable_area_expose_event): added new checks to control
4488 the drawing of the overshooting area rectangle, in case it is too
4489 big for the area of the widget.
4490 (hildon_pannable_area_size_allocate): add more checks to avoid
4491 setting a position to the child widget outside the area.
4493 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4495 * src/hildon-pannable-area.c
4496 (hildon_pannable_area_size_allocate): Added conditions to control
4497 when overshooting is bigger than the allocated space for the
4498 children, this avoids negative allocations.
4500 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4502 * doc/hildon-docs.sgml
4504 * examples/Makefile.am
4505 * examples/hildon-button-example.c
4507 * src/hildon-button.c
4508 * src/hildon-button.h
4509 * src/hildon.h: Initial version of the new HildonButton widget,
4512 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4514 * src/hildon-pannable-area.c:
4515 (hildon_pannable_area_button_press_cb),
4516 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4517 (hildon_pannable_area_motion_notify_cb),
4518 (hildon_pannable_area_button_release_cb),
4519 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4520 (hildon_pannable_area_jump_to_child):
4522 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4524 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4526 * examples/Makefile.am
4527 * examples/hildon-pannable-area-touch-grid-example.c
4528 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4529 the Hildon Touch List and Hildon Touch Grid using the
4530 HildonPannableArea widget.
4532 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4534 * src/hildon-pannable-area.c,
4535 (hildon_pannable_area_button_press_cb),
4536 (hildon_pannable_area_refresh),
4537 (hildon_pannable_area_scroll),
4538 (hildon_pannable_area_motion_notify_cb),
4539 (hildon_pannable_area_button_release_cb),
4540 (hildon_pannable_area_expose_event),
4541 (hildon_pannable_area_add),
4542 (hildon_pannable_area_remove),
4543 (hildon_pannable_area_realize),
4544 (hildon_pannable_area_size_allocate),
4545 (hildon_pannable_area_class_init),
4546 (hildon_pannable_area_init),
4547 (hildon_pannable_area_scroll_to_child),
4548 (hildon_pannable_area_jump_to_child): Fixed the problem of
4549 removing the child from the GtkBin, we have rearranged the widget
4550 hierarchy, now there is no GtkAlignment which was not doing
4551 anything interesting but breaking some of the assumptions of
4552 GtkContainer. Now developers if they want to add a GtkAlignment
4553 they could, but it is not inside the area.
4555 We had to review the whole allocation/expose process, now it is
4556 improved and we save at least three signals which would be saving
4557 some time when rendering the widget. The allocation of the
4558 scrollbars is now made in the allocate method as usual.
4560 We have also added some conditions in order to control when there
4561 is no child of the pannable area. Maybe we will need more work
4564 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4566 * src/hildon-pannable-area.c,
4567 (hildon_pannable_area_dispose): Released the fade-out timeout when
4568 disposing the widget.
4570 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4572 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4573 zero, we are going to use that property in order to deactivate the
4575 (hildon_pannable_axis_scroll),
4576 (hildon_pannable_area_size_allocate): Added conditions to control
4577 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4578 call, now it is called in all situations and we can remove calls
4579 in the allocate method.
4580 (hildon_pannable_area_map): Control the situation when
4581 overshoot_max is zero, we do not need the timeout.
4582 (hildon_pannable_area_class_init): Added documentation in order to
4583 point out that setting zero to overshoot_max means deactivate
4586 NOTE: removed trailing whitespaces from my previous comments of
4589 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/hildon-pannable-area.c
4592 (hildon_pannable_area_get_property),
4593 (hildon_pannable_area_set_property),
4594 (hildon_pannable_area_map),
4595 (hildon_pannable_area_class_init),
4596 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4597 to cause the widget give a hint about its panning abilities upon
4600 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4602 * src/hildon-pannable-area.c: Several documentation improvements.
4604 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4606 * src/hildon-program.c
4607 * src/hildon-stackable-window.c: Update documentation.
4609 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4611 * src/hildon-stackable-window.c (get_previous_window_if_last):
4612 Renamed get_last_window()
4613 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4614 (hildon_stackable_window_unset_program):
4616 (get_previous_window_if_last):
4617 Detect if the window hasn't been added to a HildonProgram.
4619 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4621 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4623 * src/hildon-pannable-area.c
4624 (hildon_pannable_area_button_press_cb),
4625 (hildon_pannable_axis_scroll),
4626 (hildon_pannable_area_scroll),
4627 (hildon_pannable_area_timeout),
4628 (hildon_pannable_calculate_vel_factor),
4629 (hildon_pannable_area_get_property),
4630 (hildon_pannable_area_set_property),
4631 (hildon_pannable_area_class_init),
4632 (hildon_pannable_area_init),
4633 (hildon_pannable_area_scroll_to),
4634 (hildon_pannable_area_jump_to),
4635 (hildon_pannable_area_scroll_to_child),
4636 (hildon_pannable_area_jump_to_child):
4637 * src/hildon-pannable-area.h: Added the new API functions:
4638 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4639 hildon_pannable_area_scroll_to_child,
4640 hildon_pannable_area_jump_to_child
4643 * examples/Makefile.am
4644 * examples/hildon-pannable-area-example-2.c
4645 * examples/hildon-pannable-area-example-3.c: Added these two new
4646 examples in order to test and show how the new APIs work.
4648 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4650 * examples/hildon-stackable-window-example.c (new_window):
4651 * src/Makefile.am (noinst_HEADERS):
4652 * src/hildon-program.c (hildon_program_go_to_root_window):
4653 * src/hildon-program.h:
4654 * src/hildon-stackable-window-private.h:
4655 * src/hildon-stackable-window.c:
4656 * src/hildon-stackable-window.h:
4657 Create hildon-stackable-window-private.h
4658 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4660 * examples/hildon-app-menu-example.c (create_menu):
4661 * examples/hildon-hvolumebar-insensitive-example.c (main):
4662 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4663 * examples/hildon-toolbar-seekbar-example.c (main):
4664 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4665 * src/hildon-banner.c (hildon_banner_set_property):
4666 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4667 Fix compilation warnings
4669 * src/hildon-window.c:
4672 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4674 * src/hildon-stackable-window.c
4675 (hildon_stackable_window_unset_program):
4676 Calculate correctly whether to show the previous window if the
4677 last one is removed from the stack.
4678 (hildon_stackable_window_go_to_root_window):
4679 Send delete events starting from the topmost window.
4680 Stop if one of the windows is not destroyed.
4682 (hildon_stackable_window_delete_event)
4683 (hildon_stackable_window_class_init):
4684 Ignore the delete event if the window is not the topmost one.
4686 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4688 * src/hildon-pannable-area.c
4689 (hildon_pannable_area_expose_event): Fixed a problem when
4690 selecting the background color of the scrollbars.
4692 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4694 * examples/hildon-stackable-window-example.c
4695 * src/hildon-stackable-window.c
4696 * src/hildon-stackable-window.h
4697 hildon_stackable_window_go_home() renamed to
4698 hildon_stackable_window_go_to_root_window()
4699 Send delete events to windows rather than closing them with
4700 gtk_widget_destroy()
4702 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4704 * src/hildon-pannable-area.c
4705 (hildon_pannable_area_button_release_cb): Fix overshooting in
4708 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4710 * src/hildon-pannable-area.c
4711 (hildon_pannable_area_init): Initially show the scroll indicators.
4712 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4714 Add initial effect showing the widget is pannable.
4716 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4718 * src/hildon-pannable-area.c
4719 (hildon_pannable_area_class_init)
4720 (hildon_pannable_area_set_property)
4721 (hildon_pannable_area_get_property)
4722 (hildon_pannable_area_button_press_cb):
4723 New 'velocity_fast_factor' property to decide which velocity is
4726 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4728 * src/hildon-pannable-area.c
4729 (hildon_pannable_draw_hscroll)
4730 (hildon_pannable_draw_vscroll):
4731 Use float variables to calculate the size of the scrollbars to
4732 avoid error propagation and resizing during scrolling.
4734 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4736 * src/hildon-pannable-area.c
4737 (hildon_pannable_draw_vscroll)
4738 (hildon_pannable_draw_hscroll):
4739 Define a minimum size for the scroll bars
4741 * src/hildon-stackable-window.c
4742 (hildon_stackable_window_go_home): Fix compilation warning
4743 (get_last_window): Minor optimizations
4744 (hildon_stackable_window_class_init): Fix initialization of
4747 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4749 * src/hildon-stackable-window.c: Fixed typos in doc
4751 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4753 * src/hildon-pannable-area.c
4754 (hildon_pannable_area_scroll):
4755 Calculate here whether we need to scroll instead of using the booleans
4756 that tell us whether to /draw/ the scrolling bars.
4758 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4760 * src/hildon-app-menu.h
4762 * src/hildon-app-menu.c
4763 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4764 multiple filter groups related code and API. Now we support only
4766 * examples/hildon-app-menu-example.c:
4768 Update to reflect API changes.
4770 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4772 * src/hildon-stackable-window.c
4773 (hildon_stackable_window_class_init):
4774 Add hildon_stackable_window_realize.
4775 (hildon_stackable_window_realize):
4776 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4777 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4778 to apply theming and behavior specific to HildonStackableWindow
4781 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4783 * src/hildon-note.c (hildon_note_button_release):
4784 Close information notes also when tapping on them
4786 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4788 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4789 ELASTICITY, refactor and review, fix some issues with drawing
4792 * src/hildon-pannable-area.c:
4793 (hildon_pannable_area_button_press_cb): removed the conditions to
4794 avoid clicks when overshooting. It is not required
4796 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4797 define. Refatored and reviewed the code, now we do not need to
4798 manage velocity in motion_notify.
4800 (hildon_pannable_area_motion_notify_cb): We have moved the code
4801 that controls the area_scroll to the axis_scroll function and get
4802 rid of duplicated code.
4804 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4806 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4808 (hildon_pannable_draw_vscroll),
4809 (hildon_pannable_draw_hscroll): Fixed the problems with the
4810 scrollbar drawing, now we do not use two surfaces, it is easier
4811 and saves resources.
4813 (hildon_pannable_area_get_property): Style modification.
4815 (hildon_pannable_area_class_init): Changed some default values.
4817 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4819 * src/hildon-stackable-window.c: Fix some typos in the
4822 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4824 * src/hildon-dialog.c:
4825 Change indentation style
4828 (hildon_note_button_release):
4829 Use root coordinates to check if the release event happened
4832 * src/hildon-app-menu.c
4833 (hildon_app_menu_button_release):
4834 Remove unnecessary check
4836 * examples/hildon-app-menu-example.c
4838 Add cast to fix warning
4840 * src/hildon-app-menu.c
4841 (hildon_app_menu_class_init):
4842 New inner-border style property.
4843 Set all default spacings to 16
4844 (hildon_app_menu_init):
4845 Use vertical-spacing to set the space between filter buttons and
4846 regular menu buttons.
4847 Set the default container border using the inner-border value.
4849 * examples/hildon-app-menu-example.c
4851 Don't set the menu border explicitly, now we have the inner-border
4852 style property for that.
4854 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4856 * src/hildon-app-menu.c (hildon_app_menu_init):
4857 Make the window modal
4859 * src/hildon-note.c (hildon_note_map)
4860 * src/hildon-app-menu.c (hildon_app_menu_map):
4861 Destroy the grab window if we're unable to grab the pointer
4863 * src/hildon-app-menu-private.h
4864 * src/hildon-app-menu.c
4865 (hildon_app_menu_init, hildon_app_menu_finalize)
4866 (hildon_app_menu_map, hildon_app_menu_unmap)
4867 (hildon_app_menu_button_release)
4868 (grab_transfer_window_get):
4869 Bring back the grab window
4870 (hildon_app_menu_realize):
4871 Decorate the window, set WM hint for Matchbox
4873 * src/hildon-note.c (hildon_note_realize):
4874 * src/hildon-banner.c (hildon_banner_realize):
4875 Add WM hints for Matchbox
4877 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4879 * src/hildon-app-menu-private.h
4880 * src/hildon-app-menu.c
4881 (hildon_app_menu_init, hildon_app_menu_finalize)
4882 (hildon_app_menu_map, hildon_app_menu_unmap)
4883 (hildon_app_menu_button_release):
4884 Remove the grab window, it's not needed anymore
4886 * src/hildon-program.c
4887 Fixed typo in documentation
4889 * src/hildon-app-menu.h
4890 * src/hildon-app-menu.c
4891 * examples/hildon-app-menu-example.c
4892 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4894 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4897 Added new transfer_window and close_if_pressed_outside private
4899 (hildon_note_rebuild):
4900 Don't add a cancel button to the information note. It will be
4901 closed when tapping outside
4902 Remove the comment about the OK button in the documentation
4903 (hildon_note_realize):
4904 Set the notification type hint
4905 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4906 Grab/ungrab pointer and keyboard if the note has to be closed when
4908 (hildon_note_button_release):
4909 Close the note when tapping outside (if applicable)
4911 * src/hildon-app-menu.c
4912 Grab/ungrab pointer and keyboard on map/unmap
4913 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4914 Close the menu on button release, not button press
4916 * src/hildon-banner.c
4917 (hildon_banner_set_property)
4918 (hildon_banner_check_position):
4919 Make the banner use the full width of the screen
4920 (hildon_banner_show_information)
4921 (hildon_banner_show_information_with_markup):
4922 Don't display an icon by default
4924 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4926 Added fading scrollbars and adapted all the overshooting code to
4927 horizontal scrolling. We have also fixed bugs with overshooting
4928 and current fading implementation.
4930 * src/hildon-pannable-area.c
4931 (hildon_pannable_area_scroll_indicator_fade): Time out function
4932 used to change the transparency of the scrollbars.
4934 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4935 control and fixed a problem with fading, we now remove the fade
4936 timeout before adding a new one.
4938 (hildon_pannable_axis_scroll):
4939 (hildon_pannable_area_scroll):
4940 (hildon_pannable_area_timeout): Added this functions so we can use
4941 the scroll code both for vertical and horizontal.
4943 (hildon_pannable_area_motion_notify_cb):
4944 (hildon_pannable_area_button_release_cb): Added the horizontal
4945 scrolling control, fixed a problem with the overshooting timeout.
4947 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4948 painting of the scrolls.
4950 (hildon_pannable_draw_vscroll):
4951 (hildon_pannable_draw_hscroll):
4952 (hildon_pannable_area_expose_event):
4953 Draw both scrollbars and rectangles in the overshooting area.
4955 (hildon_pannable_area_get_property):
4956 (hildon_pannable_area_set_property):
4957 Modified the overshoot property to overshoot_max
4959 (hildon_pannable_area_map):
4960 Replaced the comments symbols.
4962 (hildon_pannable_area_size_allocate):
4963 (hildon_pannable_area_class_init):
4964 (hildon_pannable_area_init): Added horizontal scroll, fading
4965 effect properties, fixed a problem when overshooting in the bottom
4968 * examples/hildon-pannable-area-example.c:
4969 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4970 looks better in the example.
4972 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4974 * src/hildon-window.c
4975 * src/hildon-window.h
4976 (hildon_window_class_init)
4977 (hildon_window_unset_program)
4978 (hildon_window_unset_program_real):
4979 Make unset_program a virtual function
4981 * src/hildon-stackable-window.c
4982 * src/hildon-stackable-window.h
4983 Added hildon_stackable_window_go_home()
4985 * examples/Makefile.am
4986 * examples/hildon-stackable-window-example.c
4987 HildonStackableWindow example
4989 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4991 * hildon-pannable-area.c: Added the overshoot property and removed
4992 the OVERSHOOT define. Fixed an indent style error.
4993 (hildon_pannable_area_motion_notify_cb):
4994 (hildon_pannable_area_get_property):
4995 (hildon_pannable_area_set_property): Add overshoot property.
4997 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5000 (hildon_pannable_area_class_init): Installed the new property.
5002 * hildon-pannable-area-example.c: Added a sawtooth function, this
5003 way it is easier to check the movement in the pannable.
5004 (get_sawtooth_label): Added this function.
5005 (main): Now we get the labels from the new get_sawtooth_label
5008 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5010 * src/hildon-app-menu.h
5011 * src/hildon-app-menu.c
5012 Renamed API variables for consistency
5014 (hildon_app_menu_popup): Use also the default window size to
5015 decide where to place the menu
5017 (hildon_app_menu_init, hildon_app_menu_class_init): New
5018 external-border style property
5020 2008-05-26 Michael Natterer <mitch@imendio.com>
5022 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5023 widget_class->tap_and_hold_setup signal slot doesn't exist any
5024 longer, stop overriding it.
5026 (hildon_time_editor_init): g_signal_connect() to the
5027 tap-and-hold-setup signal instead.
5029 (hildon_time_editor_entry_keypress): add cast to fix warning.
5031 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5033 * doc/hildon-docs.sgml
5035 * examples/Makefile.am
5036 * examples/hildon-app-menu-example.c
5038 * src/hildon-app-menu-private.h
5039 * src/hildon-app-menu.c
5040 * src/hildon-app-menu.h
5042 New HildonAppMenu widget
5044 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5046 Rearranged the inheritance of the pannable area, now it inherits
5047 from GtkBin. This will allow us to control the event_window and
5048 the allocation process of the widget, required for some effects.
5050 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5051 GtkBin structures. * src/hildon-pannable-area.c: Added the
5052 event_window variable.
5053 (hildon_pannable_area_button_press_cb):
5054 (hildon_pannable_area_button_release_cb):
5055 (hildon_pannable_area_motion_notify_cb):
5056 Changed the signature of the method, now we override the event
5057 callback instead of connecting to the signal.
5059 (hildon_pannable_area_realize):
5060 (hildon_pannable_area_unrealize):
5061 (hildon_pannable_area_map):
5062 (hildon_pannable_area_unmap):
5063 (hildon_pannable_area_size_allocate):
5064 Added functions to control the widget construction. We add a
5065 INPUT_ONLY window and we put it over the widgets inside the
5066 container, this event_window handles the events.
5068 (hildon_pannable_area_class_init):
5069 Replaced the signal connections with overrides of the event
5072 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5074 Bouncing effect added when touching the borders, you can change
5075 the elasticity of the border changing the ELASTICITY define.
5077 * src/hildon-pannable-area.c: Added ELASTICITY define.
5078 (hildon_pannable_area_timeout): Added inverse velocity when
5079 touching the border of the child widget, that causes a bounce.
5081 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5083 Improved performance, we now do not go to the X server in order to
5084 get the list of window children. Apparently the effect is the
5085 same, we have to be careful and check if this breaks something in
5088 * src/hildon-pannable-area.c:
5089 (get_ordered_children): Removed this function.
5090 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5091 the children windows function with gdk_window_get_children.
5093 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5095 * src/hildon-pannable-area.c:
5096 (hildon_pannable_area_dispose): Fixed a crash when closing the
5097 window and kinetics is activated.
5099 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5101 * src/hildon-pannable-area.h
5102 * src/hildon-pannable-area.c
5103 Changed indentation style to meet the one used in Hildon
5105 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5107 Reviewed the interaction of the AUTO mode, now we use the time
5108 attribute of the events and calculate the velocity in the motion,
5109 doing a gimp like calculation. The velocity is calculated in each
5110 motion event using the last velocity and the current one, the
5111 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5113 * src/hildon-pannable-area.c: Replaced the time based algorithm
5115 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5116 timeout for the AUTO mode when we are still moving the cursor. We
5117 added also the velocity calculation in this function.
5118 (hildon_pannable_area_button_release_cb): launch the timeout in
5119 case we are in AUTO mode. There are still some constants here that
5120 come from the old implementation that should be reviewed and
5123 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5125 * doc/hildon-docs.sgml
5128 * src/hildon-stackable-window.c
5129 * src/hildon-stackable-window.h
5131 New HildonStackableWindow widget
5133 * examples/hildon-dialog-example.c
5134 * examples/hildon-pannable-area-example.c
5137 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5139 * src/hildon-dialog.c
5140 (hildon_dialog_new_with_buttons): New constructor.
5142 * examples/hildon-dialog-example.c
5143 (main): Update the example to use the new
5144 hildon_dialog_new_with_buttons().
5146 * examples/hildon-pannable-area-example.c
5147 (main): Update example.
5149 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5151 * doc/hildon-docs.sgml
5153 Added HildonPannableArea to the documentation.
5155 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5157 * doc/visual_index.xml
5158 Fix reference to HildonLoginDialog in documentation
5160 * doc/hildon-docs.sgml
5162 * examples/Makefile.am
5163 * examples/hildon-dialog-example.c
5165 * src/hildon-dialog.c
5166 * src/hildon-dialog.h
5168 New HildonDialog widget.
5170 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5172 * src/hildon-pannable-area.c
5173 Merge latest changes (r4318, r4342) from libmokoui trunk
5175 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5177 * examples/Makefile.am
5178 * examples/hildon-pannable-area-example.c
5180 * src/hildon-pannable-area.c
5181 * src/hildon-pannable-area.h
5183 New HildonPannableArea widget.
5185 2008-04-15 18:05:19 <timj@imendio.com>
5187 * src/hildon-banner.c: revert the recent change, that introduced
5188 gtk_window_present() calls. this reopens:
5189 Bug 78481 - [freetest] information banners are hidden under browser menu
5190 But resolves another variant of:
5191 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5193 2008-04-15 13:21:13 <timj@imendio.com>
5195 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5196 recreated its layout, spotted by Kris. this fixes all remaining
5197 artefacts and stability issues with the banner code. in particular:
5198 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5200 2008-04-14 16:52:59 <timj@imendio.com>
5202 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5203 operating on unrealized widgets, fixes:
5204 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5206 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5208 2008-04-09 Kristian Rietveld <kris@imendio.com>
5210 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5211 makes banner disappear.
5212 Fixes: NB#79182: info banner flickering with certain message lengts.
5214 * src/hildon-banner.c (hildon_banner_constructor),
5215 (hildon_banner_init), (hildon_banner_set_text),
5216 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5217 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5218 FALSE, reset size requests of label and banner,
5219 (force_to_wrap_truncated): when the text is too wide, always enforce
5220 the maximum possible width instead of recalculating it from the
5221 layout; enforce the maximum banner height of 3 lines,
5222 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5223 nicer wrapping and no truncated chars if space gets tight.
5225 * src/hildon-banner-private.h: add has_been_wrapped and
5226 has_been_truncated fields.
5228 2008-04-07 Sven Herzberg <sven@imendio.com>
5230 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5231 local values in hildon_date_editor_size_allocate
5233 * src/hildon-date-editor.c: moved the real allocation code into the
5236 2008-04-07 Sven Herzberg <sven@imendio.com>
5238 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5239 local values in hildon_date_editor_size_allocate
5241 * src/hildon-date-editor.c: merged the two if() branches together
5243 2008-04-07 Sven Herzberg <sven@imendio.com>
5245 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5246 local values in hildon_date_editor_size_allocate
5248 * src/hildon-date-editor.c: changed the arguments of the if()
5251 2008-04-07 Sven Herzberg <sven@imendio.com>
5253 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5254 local values in hildon_date_editor_size_allocate
5256 * src/hildon-date-editor.c: split the calculation of the allocation
5257 from the real allocation
5259 2008-03-27 Michael Natterer <mitch@imendio.com>
5261 Fixes: NB#81696: The passcode is not overwritten even after
5264 * src/hildon-code-dialog.c
5265 (hildon_code_dialog_button_clicked)
5266 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5267 because that doesn't overwrite selected text. Instead, emit the
5268 "commit" signal on the entry's im_context so the entry's normal
5269 insert logic is triggered. Set the cursor to the end of the entry
5270 after each insert operation so that we *only* insert in the middle
5271 of the text if something was selected.
5273 2008-03-27 Michael Natterer <mitch@imendio.com>
5275 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5276 selector cannot be opened
5278 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5279 when the popup color selector is created. Please connect to this
5280 signal in order to set the dialog's help ID.
5282 2008-03-25 Sven Herzberg <sven@imendio.com>
5284 Fixes: MB#1212: Hide info banners (infoprints) on click
5286 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5287 extracted the close event simulation into an extra function
5288 (hildon_banner_button_press_event): simulate a close event and destroy
5289 the widget if the event wasn't handled
5290 (hildon_banner_class_init): added the button_press_event handler
5291 (hildon_banner_init): added button-press events to the widget
5293 2008-03-25 Sven Herzberg <sven@imendio.com>
5295 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5296 Patch from: Mohammad Anwari <mdamt@maemo.org>
5298 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5299 instead of the right in RTL mode
5300 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5301 breadcrumb button list in RTL mode
5302 * src/hildon-caption.c: mirror the appearance of the caption widget in
5304 * src/hildon-date-editor.c: mirror appearance of the date editor in
5306 * src/hildon-time-editor.c: mirror appearance of the time editor in
5308 * src/hildon-window.c: fix the position of the popup in RTL mode
5310 2008-03-25 Sven Herzberg <sven@imendio.com>
5312 Amendment to the fix of NB#22072. Fix compilation.
5314 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5316 2008-03-19 Sven Herzberg <sven@imendio.com>
5318 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5321 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5322 timeout id properly when the timeout will disappear this leaves no
5323 artifacts around in the destroy(); there will only be the timeout
5324 created by hildon_banner_ensure_timeout() and adding a new timeout
5325 will also work if the timeout gets removed because the timeout_handler
5328 2008-03-19 Michael Natterer <mitch@imendio.com>
5330 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5332 * src/hildon-volumebar.c
5333 * src/hildon-vvolumebar.c
5334 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5335 the widget becomes focussable at all.
5337 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5338 set the focus to wither the mute button or the volumebar.
5340 Remove own "can-focus" property and instead listen to
5341 notify::can-focus in order to update the widget's state.
5343 Implement GtkWidget::focus() and make sure we can also *leave* the
5344 widget, not only enter it, depending on volumebar orientation and
5345 requested focus direction.
5347 Clean up set_mute() to cooperate nicely with all the above.
5349 2008-03-04 Michael Natterer <mitch@imendio.com>
5351 Fixes: NB#78481: information banners are hidden under browser menu
5353 * src/hildon-banner.c: call gtk_window_present() on the banners so
5354 they are risen if they are already visible.
5356 2008-03-03 Sven Herzberg <sven@imendio.com>
5358 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5360 * examples/hildon-window-menu-example.c: (main): extended the window
5361 menu example to serve as a testcase for automatically added
5362 accelerator groups, too
5363 * src/hildon-window.c: (hildon_window_add_accel_group),
5364 (hildon_window_set_menu): added patch by Tommi Komulainen
5366 2008-03-03 Sven Herzberg <sven@imendio.com>
5368 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5370 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5371 knowledge about the border allocators used within GTK+
5373 2008-02-26 Sven Herzberg <sven@imendio.com>
5375 Fixes: MB#2981: Build with asserts broken
5377 * src/hildon-date-editor.c,
5378 * src/hildon-number-editor.c,
5379 * src/hildon-time-editor.c,
5380 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5381 the proper GType instance check
5383 2008-02-25 Sven Herzberg <sven@imendio.com>
5385 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5387 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5388 * examples/hildon-window-menu-example.c: (main): explicitly show
5390 * src/hildon-window.c:
5391 (hildon_window_set_main_menu): moved most of the code from set_menu()
5392 to this place; skipped the call to gtk_widget_show_all(); also didn't
5393 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5394 (hildon_window_set_menu): removed most of the code, just keep the
5395 questionable gtk_widget_show_all()
5396 * src/hildon-window.h: added the new function and deprecate the old
5399 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5405 * debian/changelog: Updating.
5407 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5410 * pkgconfig/Makefile.am:
5411 * pkgconfig/hildon.pc.in:
5414 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5415 use newly created API_MAJOR_VERSION.
5417 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5423 * debian/changelog: Updating.
5425 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5427 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5429 Add outer_border style property, we use it but don't define it (!).
5433 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5435 * examples/hildon-bread-crumb-trail-example.c (main):
5439 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5441 Fix logic for the bread crumb trail node removal.
5445 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5451 * debian/changelog: Updating.
5453 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5455 Patch by Alejandro to get/set passwords dialogs accesibility.
5457 * hildon-1/src/hildon-get-password-dialog.c:
5458 * hildon-1/src/hildon-set-password-dialog.c:
5459 Set atk_set_name to the passwd entries in order to allow
5460 accessibility by name on this entries.
5462 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5467 * debian/control: Updating gtk dep.
5469 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5471 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5472 USE_MAEMO_GTK is enabled.
5474 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5476 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5477 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5479 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5485 * debian/changelog: Updating.
5487 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5489 * examples/Makefile.am:
5490 * examples/hildon-logical-color-example.c:
5491 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5492 applied + adding a test case. Fixes: NB#71660.
5494 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5496 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5497 to be visible, fixes warning on map for windows without toolbars.
5499 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5501 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5502 2.11.0, add a check for that besides the MAEMO_GTK check.
5504 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5510 * debian/changelog: Updating.
5512 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5514 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5515 visibility. Fixes: NB#70842 and MB#615.
5517 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5519 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5520 set the separator as no-show-all so it doesn't unintentionally appear when
5521 someone does a show_all.
5523 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5525 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5526 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5527 toplevel item. Fixes: NB#62031
5529 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5531 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5532 fix the name of the function in the docs.
5534 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5540 * debian/changelog: Updating.
5542 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5544 * examples/hildon-banner-long-example.c: Adding a test-case for long
5547 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5549 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5551 * src/hildon-color-chooser-dialog.c:
5552 * src/hildon-color-chooser.c:
5553 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5554 memory leaks in font selector and color selector. Fixes: NB#70499 and
5557 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5559 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5561 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5563 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5564 little bit bigger. Fixes: #NB63694.
5566 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5572 * debian/changelog: Updating.
5574 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5577 * doc/hildon-docs.sgml:
5578 * doc/images/bread-crumb-trail.png:
5579 * doc/images/calendar-popup.png:
5580 * doc/images/caption.png:
5581 * doc/images/code-dialog.png:
5582 * doc/images/color-button.png:
5583 * doc/images/color-chooser-dialog.png:
5584 * doc/images/color-chooser.png:
5585 * doc/images/controlbar.png:
5586 * doc/images/date-editor.png:
5587 * doc/images/font-selection-dialog.png:
5588 * doc/images/get-password-dialog.png:
5589 * doc/images/hvolumebar.png:
5590 * doc/images/login-dialog.png:
5591 * doc/images/note.png:
5592 * doc/images/number-editor.png:
5593 * doc/images/range-editor.png:
5594 * doc/images/seekbar.png:
5595 * doc/images/set-password-dialog.png:
5596 * doc/images/sort-dialog.png:
5597 * doc/images/time-editor.png:
5598 * doc/images/time-picker.png:
5599 * doc/images/vvolumebar.png:
5600 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5601 Adding the bread-crumb-trial and helpers to the documentation.
5603 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5605 * examples/hildon-find-toolbar-example.c:
5606 * src/hildon-find-toolbar.c:
5607 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5608 actually continue firing the other handlers if connected. Adding a new
5610 hildon_find_toolbar_get_last_index that gets the index of the most
5611 recently added (last) item. Fixes: NB#52301.
5613 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5615 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5616 behaviour. Fixes: NB#68610.
5618 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5620 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5623 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5625 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5626 when realizing the banner. Should make the infonbanner effect a bit more
5629 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5631 * src/hildon-volumebar.c:
5632 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5633 hildon_volumebar_set_range_insensitive_message and
5634 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5636 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5638 * src/hildon-window.c: Fixing the border freeing on destroy.
5640 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5642 * src/hildon-code-dialog-private.h:
5643 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5644 kw keyboard support in HildonCodeDialog.
5646 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5652 * debian/changelog: Updating.
5654 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5656 * src/hildon-date-editor.c:
5657 * src/hildon-number-editor.c:
5658 * src/hildon-private.c:
5659 * src/hildon-private.h:
5660 * src/hildon-time-editor.c:
5661 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5662 handling in subclassed composite widgets. Fixes: NB#66628.
5664 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5666 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5667 from destroy_ callback as it introduces problems in async dbus signal
5668 handlers. Fixes NB#66673.
5670 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5672 * examples/hildon-hvolumebar-example.c:
5673 * src/hildon-volumebar.c: Improving the focus handling in the
5674 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5675 set_property accessor so that "mute" property can be actually set. I'm
5676 scared that nobody noticed it's totally broken.
5678 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5680 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5683 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5685 * src/hildon-calendar.c:
5686 * src/hildon-number-editor.c:
5687 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5688 matches the spec of 6 chars per second. Fixes: NB#60489.
5690 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5692 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5693 gtk_style_lookup_color sometime returns FALSE even though color was
5694 found and values were filled properly. Weird. Removing the warning for the
5697 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5699 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5700 expand vertically. Adding some extra space to the find toolbar buttons to
5701 make them thumbable. Fixes NB#66060.
5703 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5705 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5706 popup with "Ok" and "Cancel". Fixes NB#59299.
5708 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5710 * src/hildon-calendar.c: Process all window updates before executing next
5711 timeout. Fixes: NB#54146.
5713 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5719 * debian/changelog: Updating.
5721 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5723 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5724 the client event and ignore it, since we use the delete event to close
5727 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5729 * src/hildon-helper.c: Remove the bogus warning about color not being
5730 found. Fixes NB#58352.
5732 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5734 * examples/Makefile.am:
5735 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5736 HildonSeekbar widget inside a toolbar.
5738 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5740 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5741 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5742 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5743 don't want to be closed by non-temporary windows on map.
5745 Also use G_DEFINE_TYPE instead of manually typed code.
5747 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5754 * debian/rules: Updating.
5756 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5758 * examples/Makefile.am:
5759 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5760 bug NB#61128. Strangely it works.
5762 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5764 * src/hildon-date-editor.c: When the date editor entry has been changed
5765 but the numbers of characters < max, turn off the skip validation flag.
5766 Prevents a situation when we enter first a valid year and later re-write
5767 it with an invalid one. Fixes NB#60154.
5769 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5771 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5772 code dialog. Fixes NB#64355.
5774 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5776 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5777 switching the page. Fixes NB#49374.
5779 * examples/Makefile.am:
5780 * examples/hildon-wizard-dialog-example.c: Adding an example for
5781 HildonWizardDialog that shows how to handle manual sensitivity setting on
5784 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5788 * src/hildon-version.h.in:
5789 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5791 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5793 * src/hildon-volumebar.c: Updating the docs.
5795 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5801 * debian/changelog: Updating.
5803 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5805 * src/hildon-find-toolbar.c:
5806 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5807 selected item: hildon_find_toolbar_set_active,
5808 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5809 hildon_find_toolbar_get_active_iter . They correspond to respective
5810 GtkComboBox functions.
5812 * examples/Makefile.am:
5813 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5816 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * examples/Makefile.am:
5819 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5822 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5823 when font size > 32 and we pack a focusable widget inside. Actually using
5824 the default response would work too, but since we don't show default
5825 response state in any way (no theming) it would not be visible to the
5826 user. Fixes NB#63430.
5828 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5830 * src/hildon-date-editor.c: Adding the missing variable setter in the
5831 set_property handler. Fixes NB#54182.
5833 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5835 * src/hildon-window.h: Changing the long key press time from 1500ms to
5836 800ms as requested in NB#63700. I have a bad feeling about this, let's
5837 see... Fixes NB#63700.
5839 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5841 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5842 hildon_time_picker_map, hildon_time_picker_realize,
5843 hildon_time_picker_style_set): Split the contents of map to more
5844 appropriate functions; set window decorations on realize and update
5845 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5847 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5852 * debian/changelog: Updating.
5854 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5856 * src/Makefile.am: fixed installation of the header files
5858 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5864 * debian/changelog: Updating.
5866 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5868 * configure.ac: Removing some remaining of --enable-xan.
5870 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5872 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5873 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5875 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5876 2.10.12-osso6 because the move-focus signal needs to be available in
5879 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5881 * examples/Makefile.am:
5882 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5883 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5884 fine. Prolly NB#61128 is fixed now.
5886 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5888 * src/hildon-volumebar.c:
5889 * src/hildon-volumebar.h: Adding the
5890 hildon_volumebar_set_range_insensitive_message and
5891 hildon_volumebar_set_range_insensitive_messagef functions to set
5892 insensitive message on the slider of the volumebar. Fixes NB#61129.
5894 * examples/Makefile.am:
5895 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5896 test the new insensitive messsage functionality on HildonVolumebar.
5898 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5900 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5903 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5905 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5906 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5907 button on after clearing the trail.
5909 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5911 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5913 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5915 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5916 by splitting the installed headers in generated and non-generated groups. Use
5917 only the non-generated headers to create the hildon-enum-types.h file.
5919 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5921 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5923 * src/hildon-window.c: Hide the window before performing the destroy.
5924 Should make the app closing a little tiny bit more snappy.
5926 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5928 * src/hildon-seekbar.c: add gtkrange.h header
5929 * src/hildon-caption.c: remove unused variable
5931 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5933 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5936 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5942 * debian/changelog: Updating.
5944 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5946 * src/hildon-window.c (hildon_window_window_state_event,
5947 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5948 escape timeout on focus-out-event rather than notify::is-topmost; the
5949 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5951 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5953 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5954 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5956 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5958 * src/hildon-window: actually, you need to use the macro always, there's
5959 no private pointer in the instance structure. We should have cleaned this up
5960 when we had the chance...
5962 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5964 * src/hildon-window.c: do not get the private date from HildonWindow before
5965 it passes the g_return_if_fail check. Once it's passed the test, there's no
5966 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5967 if you are only going to access the data once. Whitespace cleanups.
5969 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5971 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5972 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5974 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5980 * debian/changelog: Updating.
5982 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5984 * src/hildon-window.c: When destroying the window, remove (if exists) the
5985 escape timeout handler. Fixes #NB59276.
5987 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5989 * src/hildon-banner.c: When realizing the widget, set the window
5990 transiency. Setting the transiency in the gobject constructor is not
5991 good, as the widget is not realized at that point. Fixes: #NB56624.
5993 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5995 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5996 Add padding for future expansions.
5998 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6000 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6001 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6002 will fake an activation on the previous to the last item of the trail, so
6003 the effect can be overrided by the developer as usual.
6004 Also change the callback for the back button to do the same thing, so its
6005 effect can be overrided too. Fixes: NB#58982
6007 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6009 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6010 HildonCaption. Fixes NB#52379.
6012 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6014 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6015 the internal state of the trail after the user has had the chance of executing
6016 his handler for the signal. Specifically, it may happen that the activated button
6017 is removed and the user still lets the default handler run. This would segfault
6020 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6022 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6023 scrollbar to the preview dialog. Fixes NB#54147.
6025 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6027 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6028 max/min year properties can be altered, so the client can modify it
6029 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6031 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6033 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6034 hildonlike by default. Fixing a problem with disappearing arrows when
6035 scrolling through months and years. Fixes NB#54127.
6037 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6039 * examples/hildon-date-editor-example.c: Adding error callback to the date
6042 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6048 * configure.ac: Updating.
6050 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6052 * configure.ac: Adding a special '--enable-xan' configure option that
6053 turns off the -Werror compilation setting. Usefull for development.
6055 * src/hildon-calendar.c:
6056 * src/hildon-number-editor.c:
6057 * src/hildon-time-picker.c: Adding the 5* multiplier to
6060 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6062 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6063 instead of g_object_ref + gtk_object_sink.
6065 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6071 * debian/changelog: Updating.
6073 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6075 * src/hildon-color-chooser-dialog.c:
6076 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6077 straight from Tommi labs.
6079 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6081 * examples/hildon-finger-example.c: Correcting the header file path.
6083 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6084 the changed signal. Fixes a small memory leak.
6086 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6090 * src/hildon-banner.c: Importing several usefull fixes from the
6091 ubuntu-mobile branch.
6093 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * examples/Makefile.am:
6096 * examples/hildon-finger-example.c: Adding a finger-checking code
6099 * src/hildon-font-selection-dialog.c: Do not allocate the color
6100 structure using the g_new. Fixes NB#54061.
6102 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6104 * src/hildon-helper.c: Correcting tabs in file.
6106 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6108 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6109 control the visibility of the children.
6111 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6113 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6119 * debian/changelog: Updating.
6121 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6123 * src/hildon-bread-crumb-trail.c:
6124 (hildon_bread_crumb_trail_size_allocate):
6126 Make the back button always a square.
6128 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6130 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6131 from the .c file as it's a private file.
6133 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6135 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6136 uses slightly bigger height.
6138 * src/hildon-font-selection-dialog.c: Adding some checks before
6139 freeing memory in the font selection dialog.
6141 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6143 * src/hildon-font-selection-dialog.c: Adding a small check when
6146 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6147 buttons sensitivity on page switching.
6149 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6151 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6152 internal details of adding a bread crumb to the trail.
6154 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6160 * debian/changelog: Updating.
6162 * src/hildon-bread-crumb-trail.h:
6163 * src/hildon-bread-crumb.h: Changing the API guard to
6164 HILDON_ENABLE_UNSTABLE_API.
6166 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6174 * src/hildon-helper.h: Updating.
6176 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6184 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6188 * src/hildon-helper.h: Small fix to make the package actually compile.
6190 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6192 * src/hildon-bread-crumb-trail.h:
6193 * src/hildon-bread-crumb.h:
6195 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6196 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6198 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6200 * examples/hildon-bread-crumb-trail-example.c:
6202 * src/hildon-bread-crumb-trail.c:
6203 * src/hildon-bread-crumb-trail.h:
6204 * src/hildon-bread-crumb.c:
6205 * src/hildon-bread-crumb.h:
6206 * src/hildon-marshalers.list:
6207 * src/hildon-bread-crumb-widget.c:
6208 * src/hildon-bread-crumb-widget.h:
6210 Slight change in the widget design. The bread crumb trail API is
6211 unchanged, but HildonBreadCrumb is now an interface. A *private*
6212 implementation, hildon-bread-crumb-widget, is provided and used
6213 internally by the trail for the push_text/push_icon functions.
6215 The generic push API is still available, so anyone can implement
6216 and use its own bread crumb widget.
6218 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6220 * debian/rules: Fixing the shlibs.
6222 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6224 * src/hildon-banner.c: Fixing a problem with timed banners having
6225 their parrent destroyed before they are.
6227 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6229 * src/hildon-bread-crumb.c:
6230 * src/hildon-bread-crumb.h:
6232 Make the get_natural_size function a vfunc.
6234 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6236 * src/hildon-bread-crumb.c:
6237 * src/hildon-bread-crumb-trail.c:
6241 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6248 * debian/changelog: Updating for release.
6250 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6252 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6253 don't leak the pango layout.
6255 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6258 * examples/hildon-bread-crumb-trail-example.c:
6262 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6264 * debian/changelog: Removing the bug-fixed entries that were actually
6265 resolved as WONTFIX.
6267 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6270 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6272 * src/hildon-bread-crumb-trail.c:
6273 * src/hildon-bread-crumb-trail.h:
6274 * src/hildon-bread-crumb.c:
6275 * src/hildon-bread-crumb.h:
6279 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6281 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6282 until it's passed the type check.
6284 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6286 * examples/hildon-bread-crumb-trail-example.c
6290 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6292 * examples/Makefile.am
6293 * examples/hildon-bread-crumb-trail-example.c
6295 * src/hildon-bread-crumb-trail.c
6296 * src/hildon-bread-crumb-trail.h
6297 * src/hildon-bread-crumb.c
6298 * src/hildon-bread-crumb.h
6300 New HildonBreadCrumbTrail widget.
6302 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6304 * src/hildon-range-editor.c (hildon_range_editor_init),
6305 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6306 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6307 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6308 hildon_time_editor_class_init, hildon_time_editor_init),
6309 src/hildon-get-password-dialog.c (invalid_input,
6310 hildon_get_password_set_property, hildon_get_password_get_property,
6311 create_contents, hildon_get_password_dialog_set_max_characters),
6312 src/hildon-set-password-dialog.c (create_contents),
6313 src/hildon-date-editor.c (hildon_date_editor_init),
6314 src/hildon-login-dialog.c (hildon_login_dialog_init),
6315 src/hildon-number-editor.c (hildon_number_editor_init),
6316 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6317 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6318 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6319 configure option and adding the respective checks in the code.
6320 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6321 hildon_calendar_drag_data_received): fixed some build warnings.
6323 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6325 * debian/changelog: A 1.0.0 release notes.