1 2009-02-19 Alberto Garcia <agarcia@igalia.com>
4 Update the maximum width of timed banners.
5 (force_to_wrap_truncated): Enforce the maximum text width if the
8 Fixes: NB#102413 (The text margins (wrapping) in information
9 banner should be HILDON_MARGIN_TRIPLE)
11 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
13 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
15 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
16 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
17 bound when calculating the scroll indicator position.
19 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
20 treat ->lower correctly)
22 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
24 * src/hildon-caption.c (hildon_caption_class_init): Remove the
25 expose event handling, since it is not necessary to draw the focus
28 Fixes: NB#102467 (Do not show highlight on the text in
31 2009-02-18 Alberto Garcia <agarcia@igalia.com>
33 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
34 full height of the toolbar for the button and the label.
36 2009-02-18 Alberto Garcia <agarcia@igalia.com>
38 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
39 padding before the label and after the button.
41 2009-02-18 Alberto Garcia <agarcia@igalia.com>
43 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
45 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
46 Add a GtkVSeparator between the button and the back arrow.
47 Let the button have automatic size.
48 Set a name to the widget for theming handling.
50 Fixes: NB#101793 (Make edit toolbar the same height as window
51 title bar (use title area theming))
53 2009-02-18 Alberto Garcia <agarcia@igalia.com>
55 * src/hildon-helper.c (attach_new_color_element): Fix memory
58 Fixes: NB#102262 (memory leak in hildon_button_set_style())
60 2009-02-18 Alberto Garcia <agarcia@igalia.com>
62 * examples/hildon-button-example.c (common_buttons_window): Don't
65 2009-02-18 Alberto Garcia <agarcia@igalia.com>
67 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
68 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
70 2009-02-18 Alberto Garcia <agarcia@igalia.com>
72 * src/hildon-gtk.c: Check that the window is realized.
74 Fixes: NB#102225 (Crash setting the progress indicator to a non
77 2009-02-17 Alberto Garcia <agarcia@igalia.com>
79 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
80 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
81 instead of modifying the one in the widget style.
83 Fixes: NB#101043 (Second row of all the command button are
84 displayed in transparent mode.)
86 2009-02-17 Alberto Garcia <agarcia@igalia.com>
88 * src/hildon-date-button.c
89 * src/hildon-time-button.c: Add gettext macros
91 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
93 * src/hildon-date-button.c (hildon_date_button_new):
94 * src/hildon-time-button.c (hildon_time_button_new_step):
95 Use new logical strings to set the button default title.
97 Fixes: NB#99915 (Date and Time options are not localised in Date
100 2009-02-16 Alejandro G. Castro <alex@igalia.com>
102 * src/hildon-pannable-area.c
103 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
104 the PANNING_THRESHOLD.
106 2009-02-16 Alejandro G. Castro <alex@igalia.com>
108 * src/hildon-pannable-area.c,
109 (hildon_pannable_area_class_init): Increased the maximum speed.
110 (hildon_pannable_area_get_property),
111 (hildon_pannable_area_set_property),
112 (hildon_pannable_area_timeout): Added a new low friction mode, it
113 allows the user avoid friction when launching the widget fast
114 enough. It is interesting to traverse long lists.
116 2009-02-16 Alberto Garcia <agarcia@igalia.com>
118 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
119 (+hildon_stackable_window_delete_event): Ignore delete events if
120 the window is not the topmost one.
122 Fixes: NB#101698 (Back button long press and delete-event handling)
124 2009-02-16 Alejandro G. Castro <alex@igalia.com>
126 * src/hildon-pannable-area.c,
127 (hildon_pannable_area_motion_notify_cb): Removed the use of the
128 gtk-dnd-drag-threshold, it was too big. We have defined our own
129 dnd define and set a smaller value: PANNIG_THRESHOLD.
131 2009-02-16 Alberto Garcia <agarcia@igalia.com>
133 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
134 user-defined icons, use always the default one.
136 Fixes: NB#101916 (Do not allow custom icons on animation banner)
138 2009-02-13 Alejandro G. Castro <alex@igalia.com>
140 This patch was applied before but reverted because it caused
141 problems, we have changed the main condition and tested the
142 regressions we detected before and they work ok.
144 * src/hildon-pannable-area.c,
145 (hildon_pannable_area_get_topmost): Added a new parameter to
146 filter the the windows that do not include those events. Added
147 also a condition when finding the window to filter windows that do
148 not ask for those events.
149 (hildon_pannable_area_button_press_cb),
150 (hildon_pannable_area_button_release_cb),
151 (hildon_pannable_get_child_widget_at): Reviewed the call the the
152 topmost function, we have added the new parameter.
154 Fixes: NB#97458 (Pannable area prevents propagation of button
157 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
159 * tests/check-hildon-color-button.c (START_TEST): do not leak
162 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
164 * src/hildon-font-selection-dialog.c
165 (hildon_font_selection_dialog_get_preview_text): Return NULL
166 instead of FALSE on the g_return_val_if_fail().
168 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
170 * src/hildon-time-selector.c (hildon_time_selector_set_time):
171 * src/hildon-date-selector.c
172 (hildon_date_selector_select_current_date):
173 Do not compare unsigned integers to be greater than or equal 0,
174 because it's always TRUE.
176 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
178 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
179 (hildon_date_selector_constructor): Do not select the current
180 date until we are handle the "changed" signal, to avoid having bogus
181 elements in the days model.
183 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
185 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
186 for num_days, since _month_days() can return a negative value.
188 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
190 * src/hildon-caption.c (hildon_caption_size_allocate):
191 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
192 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
194 Initialize allocation variables to 0, to avoid eventually using
195 unitialized variables.
197 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
199 * src/hildon-bread-crumb-trail.c
200 (hildon_bread_crumb_trail_size_allocate):
201 * src/hildon-calendar.c (hildon_calendar_set_background):
202 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
203 * src/hildon-range-editor.c (hildon_range_editor_get_range):
204 * src/hildon-seekbar.c (hildon_seekbar_init):
205 * src/hildon-time-editor.c (hildon_time_editor_get_time):
206 * src/hildon-time-selector.c (hildon_time_selector_finalize):
207 * src/hildon-touch-selector-entry.c
208 (hildon_touch_selector_get_text_from_model):
209 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
210 * src/hildon-window.c (hildon_window_finalize):
212 Remove many unused variables.
214 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
216 * src/hildon-seekbar.c: (hildon_seekbar_init),
217 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
219 Remove unnecessary g_assert() calls.
221 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
223 * src/hildon-caption.c: (hildon_caption_expose),
224 (hildon_caption_set_property), (hildon_caption_init),
225 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
226 (hildon_caption_size_request), (hildon_caption_size_allocate),
227 (hildon_caption_forall), (hildon_caption_set_separator),
228 (hildon_caption_activate), (hildon_caption_set_child_expand),
229 (hildon_caption_set_label_text),
230 (hildon_caption_get_label_alignment):
232 Remove unnecessary g_assert() calls.
234 2009-02-12 Alberto Garcia <agarcia@igalia.com>
236 * src/hildon-banner.c
237 (hildon_banner_map, hildon_banner_init): Make banner temporary
238 before mapping it to avoid closing other temporary windows, but
239 make it non-temporary afterwards to avoid being closed by other
240 non-temporary windows.
241 (-hildon_banner_client_event, hildon_banner_init):
242 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
244 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
247 2009-02-11 Alberto Garcia <agarcia@igalia.com>
249 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
252 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
254 * src/hildon-remote-texture.c
255 * src/hildon-remote-texture.h
256 * src/hildon-remote-texture-private.h
257 * examples/hildon-remote-texture-example.c:
258 Updates/fixes to remote-texture and its example.
260 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
262 Patch by Mox Soini (ext-mox.soini@nokia.com)
264 * src/hildon-code-dialog.c: Update logical id.
265 * src/hildon-set-password-dialog.c: Update logical id.
267 Fixes: NB#100646 (Logical strings is shown for ok in set
268 password,Password needed dialogs)
270 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
273 * src/hildon-remote-texture.c
274 * src/hildon-remote-texture.h
275 * src/hildon-remote-texture-private.h
277 Added remote texture widget (for Clutter shared memory textures)
279 * examples/hildon-remote-texture-example.c
280 * examples/Makefile.am
281 Added example file for remote texture usage
283 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
285 * configure.ac: post release version bump.
286 * debian/changelog: version bump.
288 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
293 * configure.ac: Bump version.
294 * debian/changelog: Updates.
296 2009-02-06 Alberto Garcia <agarcia@igalia.com>
298 * src/hildon-date-selector.c (hildon_date_selector_init)
299 (hildon_date_selector_constructor): Don't connect to the "changed"
300 signal until the selector is completely constructed.
302 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
304 * src/hildon-touch-selector.c: (_create_new_column),
305 (hildon_touch_selector_append_column),
306 (hildon_touch_selector_set_column_selection_mode),
307 (hildon_touch_selector_set_active),
308 (hildon_touch_selector_select_iter):
309 Emit the HildonTouchSelector::changed signal every time selection
310 is changed in any of the methods above. This behavior was already
311 documented but not fully functional.
313 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
314 selection is programmatically changed)
316 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
318 * doc/hildon-sections.txt: Remove obsolete icon
319 sizes from here as well.
321 2009-02-05 Alberto Garcia <agarcia@igalia.com>
323 * examples/hildon-stackable-window-example.c (add_window): Remove
326 2009-02-05 Alberto Garcia <agarcia@igalia.com>
328 * src/hildon-app-menu.c
329 (hildon_app_menu_show): Check whether the parent window of a menu
330 is topmost before popping it up.
332 Fixes: NB#100468 (Application menu window is launched even when a
333 new secondary-window/dialog is pending to be shown/realized.)
335 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
337 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
340 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
342 Patch by Mox Soini (ext-mox.soini@nokia.com)
344 * src/hildon-banner.c: (hildon_banner_show_animation):
345 use stylus size instead of obsolete note size.
346 * src/hildon-defines.h: Update icon sizes.
348 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
350 * src/hildon-touch-selector-entry.c:
351 (hildon_touch_selector_entry_init): Disable unsupported
353 (hildon_touch_selector_entry_get_text_column): Emit a warning
354 if an unsupported input modes is used and explicitile state
355 these modes in the documentation.
357 Fixes: NB#99802 (Hildon touch selector entry not working properly
358 for some of the input modes)
360 2009-02-05 Alejandro G. Castro <alex@igalia.com>
362 * src/hildon-pannable-area.c,
363 (hildon_pannable_area_init): Added the changed signal handlers of
366 Fixes: NB#100320 (HildonPannableArea does not listen to
367 GtkAdjustment "change" signals)
369 2009-02-04 Alberto Garcia <agarcia@igalia.com>
371 * doc/hildon-sections.txt
372 * src/hildon-window-private.h
373 * src/hildon-window.h
374 * src/hildon-window.c (hildon_window_init)
375 (hildon_window_realize, hildon_window_unrealize)
376 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
377 (hildon_window_size_request, hildon_window_size_allocate)
378 (hildon_window_forall, hildon_window_show_all)
379 (hildon_window_destroy, +paint_edit_toolbar)
380 (+hildon_window_set_edit_toolbar):
381 New hildon_window_set_edit_toolbar() method, to add a
382 HildonEditToolbar to a window without having to pack it manually.
384 Reorganize hildon_window_size_allocate()
386 * src/hildon-edit-toolbar.c: Update documentation.
388 * examples/hildon-edit-toolbar-example.c (edit_window): Update
389 example to use the new API.
391 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
393 2009-02-04 Alberto Garcia <agarcia@igalia.com>
395 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
396 Remove from stack before calling parent's hide.
398 2009-02-04 Alberto Garcia <agarcia@igalia.com>
400 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
401 window is removed from the middle of the stack, update the
402 transiency of the previous one.
404 Fixes: NB#100487 (HildonStackableWindow transiency becomes
407 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
409 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
410 block/unblock the signal handler if it's not actually being used.
411 Fixes some critical warnings.
413 2009-02-02 Alberto Garcia <agarcia@igalia.com>
415 Based on a patch by Iván Gómez (igomez@igalia.com)
417 * src/hildon-banner.c
421 * src/hildon-pannable-area.c
422 * src/hildon-picker-dialog.c
423 * src/hildon-wizard-dialog.h
424 * src/hildon-wizard-dialog.c: Documentation updates.
426 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
427 gtk_dialog_add_button() instead of hildon_dialog_add_button().
429 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
431 * configure.ac: post release version bump.
432 * debian/changelog: version bump.
434 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
439 * configure.ac: Bump version.
440 * debian/changelog: Updates.
442 2009-01-29 Alberto Garcia <agarcia@igalia.com>
444 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
445 a stock icon nor change the relief of the back arrow.
447 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
450 2009-01-29 Alberto Garcia <agarcia@igalia.com>
452 * src/hildon-button.c (hildon_button_set_alignment): Use
453 priv->alignment if the button has no child yet.
455 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
457 * src/hildon-button.c: (hildon_button_init): Set the
458 button style during initialization to give it the proper
461 Fixes: NB#99713 (HildonButton value label color is wrong)
463 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
465 * src/hildon-touch-selector.c: Document
466 hildon_touch_selector_center_on_selected()
468 2009-01-28 Alberto Garcia <agarcia@igalia.com>
470 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
471 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
472 all menu items, but not the menu itself.
473 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
474 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
475 items after adding them to the menu so keyboard accelerators work.
476 (hildon_app_menu_show): Don't show the menu if it contains items
477 but none of them are visible.
479 * examples/hildon-app-menu-example.c (create_menu): Use
480 gtk_widget_show_all() to show all menu items.
482 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
484 * src/hildon-picker-dialog.c:
485 (-_update_title_on_selector_changed_cb),
486 (-_dialog_update_title): Removed.
487 (_select_on_selector_changed_cb), (_on_dialog_response),
488 (on_selector_columns_changed): Do not update the dialog title.
489 (setup_interaction_mode): Do not connect to
490 HildonTouchSelector::changed signal if there's a "done" button, as
491 the dialog title doesn't need to be updated.
493 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
496 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
498 Patch by Kristian Rietveld (kris@imendio.com)
500 * src/hildon-touch-selector.c: (_create_new_column): Use new
501 GtkTreeView::hildon-row-tapped signal to react to user interactions
502 instead of ::changed.
504 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
505 with some dynamic tree model)
507 2009-01-27 Alberto Garcia <agarcia@igalia.com>
509 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
510 (+screen_size_changed, +label_size_request)
511 (hildon_note_class_init): Make the Hildon information note have a
512 minimum height, and make its text hvae a maximum width.
514 Fixes: NB#98614 (Hildon information note (background) should have
515 minimum height and maximum text width)
517 2009-01-26 Alberto Garcia <agarcia@igalia.com>
519 * src/hildon-banner.h
520 * src/hildon-banner.c (hildon_banner_show_information)
521 (hildon_banner_show_informationf)
522 (hildon_banner_show_information_with_markup): Update documentation
523 to reflect that the icon_name parameter is not used anymore.
524 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
525 Remove all code from these functions and mark them as deprecated.
526 (hildon_banner_show_progress): Mark as deprecated.
528 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
530 2009-01-26 Alejandro G. Castro <alex@igalia.com>
532 * src/hildon-pannable-area.c,
533 (hildon_pannable_area_class_init),
535 (hildon_pannable_draw_vscroll),
536 (hildon_pannable_draw_hscroll),
537 (hildon_pannable_area_expose_event): Added a new way to render the
538 scrollbars of the pannable area avoiding using cairo at all. This
539 way we improve the performance of the pannable area rendering. The
540 cairo rendering procedure is still in the code, we can control
541 which one to use changing the value of the define
542 USE_CAIRO_SCROLLBARS.
544 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
546 * configure.ac: post release version bump.
547 * debian/changelog: version bump.
549 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
554 * configure.ac: Bump version.
555 * debian/changelog: Updates.
557 2009-01-23 Alberto Garcia <agarcia@igalia.com>
559 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
560 banners instead of destroying them when they receive a button
563 2009-01-23 Alejandro G. Castro <alex@igalia.com>
565 Reverted commit 34028, it was causing regressions, probably the
566 topmost condition is not correct, we have to check it in more
567 detail. We have reponed the bug: NB#97458 (Pannable area prevents
568 propagation of button press events)
570 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
572 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
573 that the selection is not empty before attempting to retrieve the
574 current ampm selection.
576 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
578 * src/hildon-picker-button.c:
579 (hildon_picker_button_on_dialog_response): Directly update the
580 button contents when required instead of calling _selection_changed.
582 2009-01-23 Alberto Garcia <agarcia@igalia.com>
584 * src/hildon-program.c (hildon_program_update_top_most): Update
585 'is-topmost' property also when wm_hints is not set.
587 Fixes: NB#98383 (is-topmost signal is not emitted when task
588 switcher is clicked.)
590 2009-01-23 Alejandro G. Castro <alex@igalia.com>
592 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
596 * src/hildon-animation-actor.c,
597 * src/hildon-animation-actor.h: Added the animation actor class,
598 this widget represents an animation actor for WM-assisted
599 animation effects in the Hildon framework.
601 2009-01-23 Alberto Garcia <agarcia@igalia.com>
603 * src/hildon-window-stack-private.h
604 * src/hildon-window-stack.c
605 * src/hildon-stackable-window.c (hildon_stackable_window_show):
606 Avoid calling gtk_widget_show() again indirectly from
607 hildon_stackable_window_show()
609 2009-01-23 Alberto Garcia <agarcia@igalia.com>
611 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
614 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
616 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
617 (hildon_time_selector_init): Move the construction of the hours and
618 ampm columns to the constructor to preserve the order the columns
621 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
623 * src/hildon-picker-dialog.c:
624 (hildon_picker_dialog_class_init): Connect a realize method.
625 (+hildon_picker_dialog_realize): Setup the interaction mode here
627 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
628 yet, do it during the realize instead.
629 (_on_dialog_response):
630 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
631 if the widget is not realized, to avoid the dialog response before it
634 Avoid premature responses in the HildonPickerDialog that can cause it
635 to be hidden before it's even shown.
637 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
639 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
640 (on_selector_columns_changed), (requires_done_button),
641 (+prepare_action_area), (setup_interaction_mode),
642 (_hildon_picker_dialog_set_selector):
644 Split the interaction mode setup into preparation of the
645 action area (prepare_action_area()) and the connection of
646 the signals in setup_interaction_mode() and update the code to
649 2009-01-22 Alejandro G. Castro <alex@igalia.com>
651 * src/hildon-pannable-area.c,
652 (hildon_pannable_area_class_init): Reduced the amount of scrolls
653 per second to 15, we will check if this is ok regarding
656 2009-01-22 Alejandro G. Castro <alex@igalia.com>
658 * src/hildon-pannable-area.c,
659 (hildon_pannable_axis_scroll): Avoid resize if we already have
660 reached overshoot_max.
662 2009-01-22 Alejandro G. Castro <alex@igalia.com>
664 * src/hildon-pannable-area.c,
665 (hildon_pannable_area_init),
666 (hildon_pannable_area_realize),
667 (hildon_pannable_area_size_allocate),
668 (hildon_pannable_area_map),
669 (hildon_pannable_area_unmap),
670 (hildon_pannable_draw_vscroll),
671 (hildon_pannable_draw_hscroll),
672 (hildon_pannable_area_expose_event),
673 (hildon_pannable_area_refresh): Added a new GdkWindow to the
674 pannable are to avoid the expose events go to the window and
675 redraw the window. We save this way that part of the stack and the
676 paint_boxes. We had to change the positions of the elements when
679 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
681 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
682 * src/hildon-color-chooser-dialog.c:
683 (hildon_color_chooser_dialog_init):
684 * src/hildon-font-selection-dialog.c:
685 (hildon_font_selection_dialog_init),
686 (hildon_font_selection_dialog_show_preview):
687 * src/hildon-get-password-dialog.c:
688 * src/hildon-login-dialog.c:
689 * src/hildon-set-password-dialog.c:
690 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
691 * src/hildon-time-picker.c: (hildon_time_picker_init):
693 Remove obsolete logical string IDs and update to the appropriate ones.
695 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
697 2009-01-21 Alberto Garcia <agarcia@igalia.com>
699 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
700 that happens if the window hasn't been realized yet.
702 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
703 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
705 2009-01-20 Alberto Garcia <agarcia@igalia.com>
707 * src/hildon-app-menu.c (hildon_app_menu_class_init)
708 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
711 Fixes: NB#98537 (Device hangs in account settings dialog)
713 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
715 * configure.ac: post release version bump.
716 * debian/changelog: version bump
718 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
723 * configure.ac: Bump version.
724 * debian/changelog: Updates.
726 2009-01-20 Alejandro G. Castro <alex@igalia.com>
728 Added a new function to the HildonTimeButton widget that allows to
729 change the step of the minutes in the selector associated with the
730 button: hildon_time_button_new_step
732 * src/hildon-time-button.c,
733 (hildon_time_button_init),
734 (hildon_time_button_new),
735 (hildon_time_button_new_step):
736 * src/hildon-time-button.h: Added the new function and refactored
738 * examples/hildon-time-button-example.c,
739 (main): We have replaced the function without parameters with the
740 function with the steps set to 5
742 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
744 2009-01-20 Alejandro G. Castro <alex@igalia.com>
746 * src/hildon-time-selector.c,
747 (hildon_time_selector_class_init),
748 (hildon_time_selector_constructor),
749 (hildon_time_selector_get_property),
750 (hildon_time_selector_set_property),
751 (_create_minutes_model),
752 (hildon_time_selector_new_step),
753 (hildon_time_selector_set_time),
754 * src/hildon-time-selector.h: Added a new property to the
755 HildonTimeSelector (minutes-step), we use that property to control
756 the steps between the minutes in the list of the selector. We have
757 added a new function to the API to create a widget changing the
758 step: hildon_time_selector_new_step.
760 2009-01-20 Alejandro G. Castro <alex@igalia.com>
762 * src/hildon-time-selector.c,
763 (hildon_time_selector_class_init),
764 (hildon_time_selector_constructor),
765 (hildon_time_selector_init): Overrided the construct function when
766 creating the time selector object. We have moved the minutes model
767 handling code from the init to the new construction function:
768 hildon_time_selector_constructor.
770 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
772 * examples/hildon-date-button-example.c: (main): Use the new
773 hildon_date_button_new_with_year_range() method in the example.
774 * src/hildon-date-button.c:
775 (+hildon_date_button_new_with_year_range): New public method
776 to conveniently create a HildonDateButton with a custom year range
777 in its HildonDateSelector.
778 * src/hildon-date-button.h: Add the new public method definition.
780 Fixes: NB#97908 (Not possible to change the year range in
781 HildonDateSelector/HildonDateButton)
783 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-date-selector.c:
786 (+hildon_date_selector_set_property),
787 (+hildon_date_selector_get_property),
788 (hildon_date_selector_class_init): Install new properties "min-year"
789 and "max-year" to define boundaries for the year column.
790 (_create_year_model): Use the boundary properties to populate the model.
791 (+hildon_date_selector_new_with_year_range): New public method to
792 create a HildonDateSelector with a user defined year range.
793 (hildon_date_selector_select_current_date): Use the new boundaries to
794 calculate the iterator of current year.
795 * src/hildon-date-selector.h: Add the new public method definition.
797 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
799 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
800 Install a constructor method.
801 (+hildon_date_selector_construct_ui): construct the widget.
802 (+hildon_date_selector_constructor): new constructor.
803 (+hildon_date_selector_init): move out widget construction code to
806 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
808 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
809 that there's actually a month or year selected before obtaining them.
810 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
811 of the HildonTouchSelector::changed signal, as it was emitted on every
812 single item selection.
814 Fix some warnings and possible crashers due to the selection restoring.
816 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
818 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
819 the signal handlers only after creating the dialog instead of on every
822 2009-01-19 Alberto Garcia <agarcia@igalia.com>
824 * src/hildon-button.c (hildon_button_init)
825 * src/hildon-check-button.c (hildon_check_button_init)
826 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
827 focus when clicked by default.
829 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
831 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
834 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
836 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
837 Alejandro G. Castro (alex@igalia.com)
839 * src/hildon-picker-dialog.c:
840 (hildon_picker_dialog_class_init): install new "center-on-show"
842 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
843 (hildon_picker_dialog_set_property): add setter code for the new
845 (hildon_picker_dialog_get_property): add getter code for the new
847 (hildon_picker_dialog_show): Ensure visibility of selected items in the
848 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
851 Fixes: NB#92849 (Selected item is not always visible when
852 HildonTouchSelector is shown)
854 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
856 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
857 Alejandro G. Castro (alex@igalia.com)
859 * src/hildon-touch-selector.c:
860 (_create_new_column): Do not connect to the "realize" signal of the
862 (hildon_touch_selector_append_column): center on the selected items
863 when a new column is appended.
864 (hildon_touch_selector_select_iter): Factor out the code to select a
865 column to hildon_touch_selector_scroll_to().
866 (+search_nearest_element): Method to retrieve the nearest selected
867 element to the visible area of the pannable area in a column.
868 (+on_realize_cb): scroll to the initially selected item.
869 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
870 the pannable area is realized, otherwise delay this until it is.
871 (+_hildon_touch_selector_center_on_selected_items): Centers on the
872 selected items of a given column.
873 (+hildon_touch_selector_center_on_selected): Public method to center
874 all columns on the nearest selected item.
875 * src/hildon-touch-selector.h: Add definition for
876 hildon_touch_selector_center_on_selected().
878 Implement public API to ensure visibility of all selected items in
879 a HildonTouchSelector.
881 2009-01-16 Alejandro G. Castro <alex@igalia.com>
883 Fixed a problem in the fading when calling the scroll_to API, and
884 improve scrollbar fading handling.
886 * src/hildon-pannable-area.c,
887 (hildon_pannable_area_grab_notify): avoid the timeout when the
889 (hildon_pannable_area_button_press_cb),
890 (hildon_pannable_area_motion_notify_cb): Code style changes.
891 (hildon_pannable_area_button_release_cb): Review the conditions
892 when releasing the mouse button to avoid unrequired fading
894 (hildon_pannable_area_scroll_to): Do not calculate and set the
895 velocity if the scroll is not required.
897 2009-01-15 Alberto Garcia <agarcia@igalia.com>
899 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
900 Don't check whether the new selector is NULL: it cannot be.
901 Hold a reference to the selector while doing the replacement.
903 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
905 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
906 unnecessary size_request in a removed widget.
908 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
910 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
911 an unnecessary reference tracking that was leaking.
913 2009-01-15 Alejandro G. Castro <alex@igalia.com>
915 Added delayed motion notify event handling, this way we can
916 discard redrawing if more than 25 events arrive per second.
918 * src/hildon-pannable-area.c,
919 (hildon_pannable_area_init): Initialized the new private atributes
920 controlling this timeout
921 (hildon_pannable_area_dispose): Remove the timeout that controls
922 the motion notify events.
923 (hildon_pannable_area_scroll): Added a condition to control the
924 use of the acceleration.
925 (hildon_pannable_area_motion_event_scroll_timeout),
926 (hildon_pannable_area_motion_event_scroll): Added this two
927 functions, they handle the motion notify events inside the
929 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
930 to the scroll method with the new function.
931 (hildon_pannable_area_button_release_cb): We have to remove the
932 timeout handler and move to the last position if the last motion
933 events were not handled.
935 Fixes: NB#97028 (Pannable area updates on every motion event)
937 2009-01-15 Alejandro G. Castro <alex@igalia.com>
939 * src/hildon-pannable-area.c,
940 (hildon_pannable_area_get_topmost): Added a new parameter to
941 filter the the windows that do not include those events. Added
942 also a condition when finding the window to filter windows that do
943 not ask for those events.
944 (hildon_pannable_area_button_press_cb),
945 (hildon_pannable_area_button_release_cb),
946 (hildon_pannable_get_child_widget_at): Reviewed the call the the
947 topmost function, we have added the new parameter.
949 Fixes: NB#97458 (Pannable area prevents propagation of button
952 2009-01-15 Alejandro G. Castro <alex@igalia.com>
954 * src/hildon-pannable-area.c,
955 (hildon_pannable_area_initial_effect): Added controls before
956 launching the timeout and the idle functions.
957 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
958 of the method, in some situations it can return with TRUE and 0 in
960 (hildon_pannable_area_button_press_cb): We do not need to set
961 DELAY for fading out here.
963 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
965 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
967 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
968 post-cleaning if the selection is not NULL.
970 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
972 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
973 all items before restoring the selection.
975 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
977 * src/hildon-touch-selector.c:
978 (+hildon_touch_selector_unselect_all):
979 * src/hildon-touch-selector.h: New API to unselect all items in a
980 column of the touch selector.
982 2009-01-14 Alejandro G. Castro <alex@igalia.com>
984 * src/hildon-pannable-area.c,
985 (hildon_pannable_area_redraw): Added a call to the refresh
986 function inside the redraw because apparently in some cases the
987 change in the adjustment does not imply a size allocate.
989 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
990 despite the view not being scrollable)
992 2009-01-14 Alberto Garcia <agarcia@igalia.com>
994 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
995 leak. Check for NULL before attempting to set the window title.
997 2009-01-14 Alberto Garcia <agarcia@igalia.com>
999 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1000 whether to show or not the 'Done' button each time the dialog is
1001 shown, as it depends on the HildonTouchSelector selection mode.
1003 Fixes: NB#96226 (In multiple selection mode Done button is shown
1004 sometimes in listpicker)
1006 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1008 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1009 for the number of columns in the HildonTouchSelector more than once.
1011 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1013 * src/hildon-touch-selector.c: Minor documentation fixes.
1015 * src/hildon-picker-dialog.c (+_dialog_update_title)
1016 (_select_on_selector_changed_cb)
1017 (_update_title_on_selector_changed_cb)
1018 (on_selector_columns_changed): Update dialog title when there's no
1019 'Done' button and also when the number of columns in the selector
1023 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1024 (+_selection_changed, hildon_picker_button_on_dialog_response)
1025 (hildon_picker_button_selector_selection_changed)
1026 (+hildon_picker_button_selector_columns_changed)
1027 (hildon_picker_button_set_selector): Update button value and emit
1028 'value-changed' when the number of columns in the selector
1032 Fixes: NB#96225 (Dialog titles are not shown according to the
1033 values selected in the list picker)
1035 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1037 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1038 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1039 New "arrow-width" and "arrow-height" style properties to set the
1040 size of the arrow button.
1041 Set name of arrow button ("hildon-edit-toolbar-arrow").
1043 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1044 graphics from theme)
1046 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1048 * src/hildon-picker-button.c:
1049 (hildon_picker_button_selector_selection_changed): Use
1050 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1051 the dialog is present.
1053 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1054 the selection is accepted in the dialog)
1056 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1058 * src/hildon-color-chooser.h
1059 * src/hildon-color-chooser-dialog.h:
1060 Added G_BEGIN_DECLS and G_END_DECLS
1062 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1064 (_clean_current_selection): plug a leak in the list.
1066 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1068 * src/hildon-picker-dialog.c:
1069 (+free_path_list): Method to free a GList of GtkTreePaths.
1070 (_clean_current_selection), (_save_current_selection),
1071 (_restore_current_selection): Save the current selection in
1072 as a list of lists, to support multiple selection properly.
1074 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1076 patch by Claudio Saavedra (csaavedra@igalia.com)
1078 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1079 Store the press position.
1080 (+hildon_text_view_button_release_event): If the release position is
1081 close enough to the press position, move the cursor here. Otherwise,
1083 (hildon_text_view_class_init): Override GtkTextView press, release, and
1084 motion event handlers, disabling this way text selection through
1085 pointer interaction, and allowing the container widget to handle the
1088 Fixes: NB#95828 (HildonTextView functionality)
1090 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1092 Based on a patch by Iván Gómez (igomez@igalia.com)
1094 * src/hildon-button.[ch]
1095 * src/hildon-calendar.c
1096 * src/hildon-check-button.c
1097 * src/hildon-date-editor.c
1098 * src/hildon-date-selector.c
1099 * src/hildon-picker-button.c
1100 * src/hildon-time-editor.c
1101 * src/hildon-time-selector.c
1102 * src/hildon-touch-selector.[ch]:
1103 Documentation updates
1105 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1107 * src/hildon-pannable-area.c,
1108 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1109 threshold, it was required due to X events handling.
1111 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1113 * src/hildon-pannable-area.c,
1114 (hildon_pannable_area_grab_notify),
1115 (hildon_pannable_area_initial_effect),
1116 (hildon_pannable_area_button_press_cb),
1117 (hildon_pannable_area_button_release_cb),
1118 (hildon_pannable_area_scroll_cb),
1119 (hildon_pannable_area_scroll_to): Review the timeout management of
1120 the scrollbar, the frecuency was incorrectly set.
1122 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1124 * src/hildon-picker-button.c:
1125 (+hildon_picker_button_on_dialog_response),
1126 (hildon_picker_button_clicked): Present the dialog instead of
1127 running it with gtk_dialog_run().
1129 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1132 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1134 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1135 (hildon_app_menu_finalize): When a window is hidden it doesn't
1136 emit notify::is-topmost, so make sure than the menu also
1137 disappears in that case.
1138 (parent_window_topmost_notify): Renamed from parent_window_hidden
1140 Fixes: NB#94460 (stackable window's menu is not closed when its
1143 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1145 * src/hildon-touch-selector-entry.c:
1146 (+hildon_touch_selector_entry_set_input_mode),
1147 (+hildon_touch_selector_entry_get_input_mode):
1148 * src/hildon-touch-selector-entry.h: New methods to access the input
1149 mode in the selector's entry.
1151 Fixes: NB#93410 (API required for setting IM mode in
1152 HildonTouchSelectorEntry)
1154 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1156 * configure.ac: post release version bump.
1157 * debian/changelog: version bump
1159 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1164 * configure.ac: Bump version.
1165 * debian/changelog: Updates.
1167 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1169 * src/hildon-touch-selector.c:
1170 (_hildon_touch_selector_has_multiple_selection): No need
1171 to initialize the variables here.
1173 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1175 * src/hildon-note-private.h
1176 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1177 (hildon_note_finalize, hildon_note_rebuild): Close information
1178 notes when they receive a button press.
1180 Fixes: NB#89890 (Information notes does not get disappeared after
1183 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1185 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1186 mark from the wizard title, as it's not really necessary. Also,
1187 do not display the page title if not set.
1189 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1191 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1192 (parent_window_hidden): Use the window's "is-topmost" property to
1193 detect when to hide the menu.
1195 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1197 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1198 (hildon_app_menu_finalize): If the parent window of the menu is
1199 hidden, hide the menu too.
1201 Fixes: NB#94460 (stackable window's menu is not closed when its
1204 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1207 * debian/libhildon1-examples.install
1209 * examples/Makefile.am:
1210 Use dh_install to install all examples.
1211 Use DEB_SRCDIR instead of defining SOURCE_DIR
1213 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1215 * configure.ac: post release version bump.
1216 * debian/changelog: version bump
1218 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1223 * configure.ac: bump version
1224 * debian/changelog: updates
1225 * debian/control: bump gtk+ dependency
1227 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1229 patch by Christian Dywan (christian@imendio.com)
1231 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1232 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1234 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1236 * src/hildon-check-button.c (hildon_check_button_init)
1237 (hildon_check_button_class_init, hildon_check_button_style_set)
1238 (hildon_check_button_apply_style):
1239 New "checkbox-size" style property.
1241 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1242 larger / configurable size)
1244 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1246 * configure.ac: post release version bump.
1247 * debian/changelog: version bump
1249 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1254 * configure.ac: bump version
1255 * debian/changelog: updates
1257 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1259 * doc/hildon-sections.txt
1260 * src/hildon-pannable-area.c
1261 * src/hildon-program.c
1262 * src/hildon-time-editor.c
1263 * src/hildon-touch-selector-entry.c:
1265 More documentation updates.
1267 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1269 * doc/hildon-sections.txt
1270 * src/hildon-caption.c
1271 * src/hildon-code-dialog.c
1272 * src/hildon-color-button.c
1273 * src/hildon-controlbar.c
1274 * src/hildon-date-editor.c
1275 * src/hildon-date-selector.c
1276 * src/hildon-edit-toolbar.c
1277 * src/hildon-find-toolbar.c
1278 * src/hildon-font-selection-dialog.c
1280 * src/hildon-program.c
1281 * src/hildon-range-editor.c
1282 * src/hildon-seekbar.c
1283 * src/hildon-time-editor.c
1284 * src/hildon-time-selector.c
1285 * src/hildon-volumebar-range.c
1286 * src/hildon-volumebar.c
1287 * src/hildon-vvolumebar.c
1288 * src/hildon-weekday-picker.c
1289 * src/hildon-window.c
1290 * src/hildon-wizard-dialog.c:
1292 Lots of documentation fixes.
1294 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1296 Patch contributed by Iván Gómez (igomez@igalia.com)
1298 * src/hildon-check-button.c:
1299 * src/hildon-date-button.c:
1300 * src/hildon-date-selector.c:
1301 * src/hildon-dialog.c:
1302 * src/hildon-edit-toolbar.c:
1303 * src/hildon-entry.c:
1304 * src/hildon-picker-button.c:
1305 * src/hildon-program.c:
1306 * src/hildon-text-view.c:
1307 * src/hildon-time-button.c:
1308 * src/hildon-touch-selector-entry.c:
1309 * src/hildon-window-stack.c:
1311 Add more "since" tags to the new API.
1313 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1315 * doc/hildon-sections.txt: Add below method.
1316 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1317 version for the hildonized scale.
1318 * src/hildon-gtk.h: Add the definition.
1320 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1322 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1324 * doc/hildon-sections.txt: Add missing entries for new methods.
1326 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1328 Added API to pannable are in order to get its adjustments. We
1329 added two properties to manage the values we had in the private
1332 * src/hildon-pannable-area.c:
1333 (hildon_pannable_area_class_init): Added hadjustment and
1334 vadjustment properties in order to expose horizontal and vertical
1336 (hildon_pannable_area_get_property),
1337 (hildon_pannable_area_set_property): Added code to handle the new
1339 (hildon_pannable_area_get_hadjustment),
1340 (hildon_pannable_area_get_vadjustment): API functions to get the
1342 * src/hildon-pannable-area.h:
1343 (hildon_pannable_area_get_hadjustment),
1344 (hildon_pannable_area_get_vadjustment): API functions to get the
1347 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1349 Fixed some leaks, after valgrinding.
1351 * src/hildon-touch-selector.c:
1352 (_default_print_func): Fixed a leak.
1353 (hildon_touch_selector_append_column): Fixed a leak.
1354 * src/hildon-date-button.c:
1355 (hildon_date_button_init): Fixed a leak.
1356 * src/hildon-date-selector.c
1357 (hildon_date_selector_finalize): Fixed a leak.
1359 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1361 Based on a patch by Christian Dywan (christian@imendio.com)
1363 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1365 * src/hildon-gtk.h: Add definition.
1367 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1369 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1371 * src/hildon-picker-button.c: (hildon_picker_button_init),
1372 (hildon_picker_button_new): Set the HildonButton::style property
1373 in the init method, to propagate the value to the derived classes.
1375 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1377 * src/hildon-button.c: (hildon_button_class_init): Do not make
1378 the "style" property a construct property.
1380 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1382 * src/hildon-wizard-dialog.h
1383 * src/hildon-wizard-dialog.c
1384 (hildon_wizard_dialog_set_forward_page_func)
1385 * src/hildon-pannable-area.h
1386 * src/hildon-pannable-area.c
1387 (hildon_pannable_area_set_size_request_policy):
1388 Documentation fixes.
1390 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1392 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1394 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1396 * doc/hildon-sections.txt: Added sections file.
1398 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/*.[ch]: Updates.
1403 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1405 * examples/hildon-progress-indicator-example.c: new file
1406 * examples/Makefile.am: include the new example program
1408 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1410 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1412 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1414 * configure.ac: post release version bump
1415 * debian/changelog: version bump
1417 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1422 * configure.ac: bump version
1423 * debian/changelog: updates
1424 * debian/control: bump gtk+ dependency
1426 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1428 * src/hildon-dialog.c: Mark as deprecated.
1429 * src/hildon-dialog.h: Mark as deprecated.
1430 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1431 from HildonDialog and still work, even if
1432 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1433 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1435 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1436 maemo changes) instead)
1438 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1440 * src/hildon-pannable_area.h:
1441 * src/hildon-pannable_area.c:
1442 (hildon_pannable_area_class_init),
1443 (hildon_pannable_area_set_property),
1444 (hildon_pannable_area_get_property),
1445 (hildon_pannable_area_size_request),
1446 (hildon_pannable_area_get_size_request_policy),
1447 (hildon_pannable_area_set_size_request_policy): Added new API
1448 allowing applications to control the request policy. Now they can
1449 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1450 children allocation (HILDON_MOVEMENT_CHILDREN).
1452 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1456 (hildon_gtk_tree_view_set_ui_mode)
1457 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1458 mode of treeviews and iconviews.
1460 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1462 * src/hildon-touch-selector-entry.c:
1463 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1464 of a GtkEntry to get proper theming.
1466 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1467 widget, not GtkEntry)
1469 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1471 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1472 no HildonWizardDialogPageFunc.
1474 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1476 Patch contributed by Iván Gómez (igomez@igalia.com)
1478 * src/hildon-app-menu.c:
1479 * src/hildon-button.c:
1480 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1481 * src/hildon-stackable-window.c:
1482 * src/hildon-time-selector.c:
1483 * src/hildon-touch-selector.c:
1484 * src/hildon-window.c:
1486 Add more "since" tags to the new API in hildon 2.2.
1488 2008-12-05 Tim Janik <timj@imendio.com>
1490 Patch contributed by Christian Dywan (christian@imendio.com)
1492 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1493 HildonSizeType, which are supplied by Gtk+ now.
1495 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1497 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1498 (with maemo changes) instead)
1500 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1502 Patch contributed by Iván Gómez (igomez@igalia.com)
1504 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1507 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1509 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1510 (some_page_func), (main): Update the example to use a
1511 HildonWizardDialogPageFunc function.
1513 * src/hildon-wizard-dialog-private.h: Add private data for
1514 the HildonWizardDialogPageFunc function usage.
1516 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1517 (destroy), (hildon_wizard_dialog_init), (response),
1518 (hildon_wizard_dialog_set_forward_page_func):
1519 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1520 that applications can use to stop a HildonWizardDialog to jump to
1523 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1526 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1528 * src/hildon-program.h
1529 * src/hildon-program-private.h
1530 * src/hildon-program.c (hildon_program_init)
1531 (hildon_program_set_common_app_menu)
1532 (hildon_program_get_common_app_menu):
1533 New API for setting a common HildonAppMenu for all
1534 HildonStackableWindows registered with the HildonProgram.
1536 * src/hildon-stackable-window.c
1537 (hildon_stackable_window_toggle_menu):
1538 Use the common HildonAppMenu if a window doesn't have a specific
1541 * src/hildon-app-menu-private.h
1542 * src/hildon-app-menu.c
1543 (hildon_app_menu_get_parent_window):
1544 Function to obtain the window a HildonAppMenu is attached to.
1545 (hildon_app_menu_set_parent_window):
1546 Hide the menu if the parent window is set to NULL.
1548 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1550 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1551 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1552 search widget to popup.
1554 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1556 * configure.ac: post release version bump
1557 * debian/changelog: version bump
1559 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1564 * configure.ac: bump version
1565 * debian/changelog: updates
1567 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1569 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1571 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1572 (hildon_window_stack_window_realized)
1573 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1574 Set the leader GdkWindow when a window is stacked and realized,
1575 unset it when it's unstacked.
1576 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1578 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1580 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1582 * src/hildon-stackable-window.h
1583 * src/hildon-window-stack.h:
1584 Protect definition of HildonWindowStack using the preprocessor.
1586 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1588 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1589 Fix warning if all menu items are hidden.
1591 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1593 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1595 * src/hildon-controlbar.c:
1596 * src/hildon-hvolumebar.c:
1597 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1598 Multiple scale size defines updates.
1600 Fixes: NB#94322 (Scale Updates)
1602 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1604 * examples/hildon-app-menu-example.c (create_menu)
1605 Show items after adding them to the menu, as in the future the
1606 menu will no longer call gtk_widget_show() on the added items.
1608 * src/hildon-app-menu.c:
1609 Update example as explained above.
1611 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1613 * src/hildon-app-menu.c
1614 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1615 Make sure that all menu items have finger height.
1617 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1619 * src/hildon-picker-dialog.c:
1620 (_on_dialog_response), (_save_current_selection),
1621 (_restore_current_selection), (_clean_current_selection),
1622 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1623 Defined new functions in order to save the current internal selector
1624 selection previous open the dialog, in case that the use cancel the
1625 interaction, so the widget restores the previous selection.
1627 Fixes: NB#92032 (In calendar application, date values in 'new event'
1630 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1632 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1634 * src/hildon-button.c: Add a reference to the button examples in
1635 hildon-button-example.c
1637 * examples/hildon-button-example.c: Added examples of the most
1638 common button layouts.
1640 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1642 * src/hildon-app-menu.c (hildon_app_menu_show)
1643 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1645 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1647 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1649 * src/hildon-picker-dialog.c:
1650 (hildon_picker_dialog_init): Initialize the signal id for
1651 HildonTouchSelector::columns-changed.
1652 (+on_selector_columns_changed): Set up the interaction mode everytime a
1653 column is added or removed from the HildonTouchSelector.
1654 (_hildon_picker_dialog_set_selector): Connect to
1655 HildonTouchSelector::columns-changed and keep track of it.
1657 Make sure to update the interaction mode of the dialog everytime a
1658 column is added or removed in the HildonTouchSelector.
1660 Fixes: NB#93228 (Done button is not shown always in listpicker)
1662 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1664 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1665 a new ::columns-changed signal.
1666 (hildon_touch_selector_append_column): Emit ::columns-changed.
1667 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1669 Add a ::columns-changed signal, emitted when the number of columns in a
1670 HildonTouchSelector changes.
1672 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1674 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1675 (_hildon_picker_dialog_set_selector): Factor out the code
1676 to set up the dialog interaction mode.
1678 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1680 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1681 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1682 to signal_changed_id.
1684 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1686 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1689 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1691 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1692 Updated the logical ids related to ampm format, as now it is required to
1693 show it correctly localized even on languages with no default
1694 abbreviations for am or pm
1695 (_check_am_pm_format): check correctly the 24h format gconf property
1697 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1699 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1701 * src/hildon-button.c: Documentation updates.
1703 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1705 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1706 * src/hildon-caption.c: (hildon_caption_class_init):
1707 * src/hildon-color-button.c: (hildon_color_button_class_init):
1708 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1709 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1710 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1711 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1713 Remove deprecated GTK+ marshalers and replace them with the ones
1714 provided by GLib, for those available, add a marshaler for
1715 BOOLEAN:VOID, which is not available in GLib, and use it.
1717 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1719 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1720 the text from the previous column if there is no
1721 HildonTouchSelectorColumn::text-property set.
1723 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-button.h
1726 * src/hildon-button.c (hildon_button_set_property)
1727 (hildon_button_get_property, hildon_button_class_init)
1728 (hildon_button_set_style, hildon_button_get_style):
1729 New "style" property to change the visual appearance of the
1732 * src/hildon-picker-button.c (hildon_picker_button_new):
1733 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1735 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1736 HildonButton look like PickerButton)
1738 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1740 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1741 column while building the default string.
1743 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1745 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1746 scroll indicator by default.
1748 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1750 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1752 * src/hildon-main.c: Fix the documentation for hildon_init()
1754 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1756 * doc/hildon-docs.sgml
1760 * src/hildon-window-stack-private.h
1761 * src/hildon-window-stack.h
1762 * src/hildon-window-stack.c:
1763 New HildonWindowStack object, that adds support for multiple
1764 stacks of windows per process.
1766 * src/hildon-stackable-window-private.h
1767 * src/hildon-stackable-window.h
1768 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1769 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1770 (hildon_stackable_window_show, hildon_stackable_window_hide)
1771 (hildon_stackable_window_class_init)
1772 (hildon_stackable_window_init):
1773 Use HildonWindowStack for stack management.
1775 * src/hildon-program.c (hildon_program_pop_window_stack)
1776 (hildon_program_peek_window_stack)
1777 (hildon_program_go_to_root_window):
1778 Add a fallback implementation to the deprecated functions using
1781 * examples/hildon-stackable-window-example.c:
1782 Use the new HildonWindowStack API.
1784 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1786 * src/hildon-stackable-window-private.h
1787 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1788 (hildon_stackable_window_hide, hildon_stackable_window_init):
1789 Remove all window stack management.
1791 * src/hildon-program-private.h
1792 * src/hildon-program.h
1793 * src/hildon-program.c (hildon_program_init)
1794 (hildon_program_pop_window_stack)
1795 (hildon_program_peek_window_stack)
1796 (hildon_program_go_to_root_window):
1797 Remove all window stack management and mark functions as
1800 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1802 * src/hildon-app-menu.c (hildon_app_menu_realize):
1803 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1805 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1807 * configure.ac: post release version bump
1808 * debian/changelog: version bump
1810 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1815 * configure.ac: bump version
1816 * debian/changelog: updates
1818 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1820 Based on initial code by Christian Dywan (christian@imendio.com)
1822 * doc/hildon-docs.sgml: Add section for hildon-main.
1823 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1824 * src/Makefile.am: Add new hildon-main.[ch]
1825 * src/hildon-defines.h: Update the icon sizes.
1826 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1827 new library initialization files and register icon sizes.
1828 * src/hildon-main.h: New declarations.
1829 * src/hildon.h: Include hildon-main.h
1831 Add new initialization functions to the library. These methods
1832 will register the hildon specific icon sizes and can be used in the
1833 future for other hildon specific bits.
1835 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1837 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1839 * src/hildon-window.c: (hildon_window_realize),
1840 (hildon_window_notify), (-hildon_window_update_title): Do not set
1841 the application name in the window title.
1843 Fixes: NB#89754 (Applications shouldn't display their names in the
1846 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1848 * src/hildon-note-private.h:
1849 * src/hildon-note.c: (hildon_note_set_property),
1850 (hildon_note_get_property), (hildon_note_class_init),
1851 (hildon_note_init), (hildon_note_finalize),
1852 (hildon_note_new_confirmation_with_icon_name),
1853 (hildon_note_new_information_with_icon_name):
1855 No need to mark as deprecated the actual code. Revert
1856 to avoid missing symbols in widgets using deprecated API.
1858 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1860 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1862 * src/hildon-volumebar.h
1863 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1864 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1866 * src/hildon-helper.h
1867 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1868 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1870 * examples/Makefile.am:
1871 Deprecate hildon-insensitive-example
1873 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1875 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1877 * examples/hildon-pannable-area-buttons-scroll-example.c:
1878 Make all buttons finger height
1880 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1882 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1884 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1885 update the day model only if it is really required, and to avoid the
1886 full-reconstruction aproach. Now it only add or remove the required days.
1888 The purpose of this is avoid superfluous HildonTouchSelector::changed
1891 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1892 with strange parameters)
1894 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1896 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1898 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1899 the WINDOW_TYPE property.
1901 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1903 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1906 Fix dependency to allow parallel compilation with make -jX
1908 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1910 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1911 color frame and some minor tweaks to make it more consistent with
1914 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1915 highlighted but not visible)
1917 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1919 * examples/Makefile.am: Fixed typo in the Makefile.am.
1921 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1923 Reviewed the use of MAEMO_GTK define, now we add the define in the
1924 compilation line, and we also add it to the pc file.
1926 * configure.ac: Added MAEMO_GTK define to the compilation command
1927 and removed it from the config.h.
1929 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1930 do not have to take care about this define if the library was
1934 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1936 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1938 * examples/Makefile.am,
1939 * examples/hildon-pannable-area-buttons-scroll-example.c,
1940 * examples/hildon-pannable-area-gesture-signals-example.c,
1941 * examples/hildon-pannable-area-scroll-jump-example.c,
1942 * examples/hildon-pannable-area-tree-view-example.c:
1943 Renamed the pannable area examples, now they have more meaningful
1946 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1948 * src/hildon-touch-selector.c:
1949 (hildon_touch_selector_set_column_selection_mode): Used of
1950 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1951 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1952 to avoid re-seting the same selection mode.
1954 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1955 breaks HildonPickerDialog)
1957 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1959 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1960 conditional in the Makefile.am
1962 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1964 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1965 Remove unused methods.
1967 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1969 * src/hildon-button.c (hildon_button_init):
1970 Make button images center-aligned by default
1972 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1975 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1976 activated, we have to think about how to deal with both defines
1977 MAEMO_GTK and MAEMO_CHANGES.
1979 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1981 * examples/hildon-app-menu-example.c (create_menu): Make all
1982 buttons finger size.
1984 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1986 Fixed the compilation without maemo gtk adding ifdefs with
1987 MAEMO_GTK define to the code, we have to check this version more
1990 * examples/Makefile.am: Added control to avoid some examples that
1991 just make sense with maemo gtk.
1994 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1995 hildon modes with the define.
1997 * examples/hildon-edit-toolbar-example.c,
1998 (create_icon_view): Create the icon view without hildon-gtk
1999 helpers if we are not using maemo gtk.
2001 * src/hildon-touch-selector.c,
2002 (_create_new_column): Create the treeview without hildon-gtk
2003 helpers if we are not using maemo gtk.
2005 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2007 * src/hildon-pnnable-area.c,
2008 (hildon_pannable_area_dispose),
2009 (hildon_pannable_area_button_press_cb),
2010 (hildon_pannable_area_child_mapped),
2011 (hildon_pannable_area_add),
2012 (hildon_pannable_area_remove): Added code to control the position
2013 of the event_window when adding and removing children from the
2014 pannable. We have to raise the event window when the child is
2017 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2018 selection mode using custom widget inside pannable)
2020 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2022 * configure.ac: post release version bump
2023 * debian/changelog: version bump
2025 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2030 * configure.ac: bump version
2031 * debian/changelog: updates
2033 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2035 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2036 search mode, in order to avoid lose the focus on the treeview when
2037 a hw key (like enter) is pressed.
2039 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2040 in HildonDateSelector dialog)
2042 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2044 * debian/rules: Added --enable-maintainer-mode
2045 * Makefile.am: Added ACLOCAL_AMFLAGS
2047 This allows to properly regenerate the Makefiles if you modify the
2048 configure.ac or any Makefile.am.
2050 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2052 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2053 properties, not needed at all.
2055 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2057 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2059 * src/hildon-note.c: (hildon_note_set_property),
2060 (hildon_note_get_property), (hildon_note_class_init),
2061 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2062 (hildon_note_new_confirmation_add_buttons): Remove icons.
2063 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2064 (hildon_note_new_information_with_icon_name): Deprecate.
2065 (hildon_note_new_confirmation): Act directly, without calling
2066 the deprecated constructor.
2067 (hildon_note_new_information): Act directly, without calling
2068 the deprecated constructor.
2069 * src/hildon-note.h: Mark deprecate methods as such.
2070 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2071 not run tests on the deprecated methods if built with deprecation
2074 Fixes: NB#91688 (Never show icons in information notes/confirmation
2077 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2079 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2080 (hildon_app_menu_key_press): Remove leftover usage of the
2081 private structure in HildonAppMenu struct.
2082 * src/hildon-app-menu.h: Remove leftover private structure
2083 from the HildonAppMenu struct.
2085 Fixes a crasher when using the HildonAppMenu.
2087 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-picker-dialog.c: Use appropriate logical id
2090 for the default "Done" text.
2092 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2094 * configure.ac: post release version bump
2095 * debian/changelog: version bump
2097 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2099 Modified the way to scroll to the current selection just when the touch
2100 selector is shown on the screen, avoiding a g_idle. Added too a property
2101 to configure this behaviour. See hildon_pannable_area_jump_to_child
2102 documentation for more information.
2104 * src/hildon-touch-selector.c
2105 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2106 Added 'initial-scroll' property
2107 (hildon_touch_selector_set_property): Added
2108 (hildon_touch_selector_map): Removed as not required anymore
2109 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2110 only a concrete column, instead of iterate along all the columns
2112 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2117 * configure.ac: bump version
2118 * debian/changelog: updates
2120 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2122 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2123 compilation time warnings.
2125 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2127 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2128 the default value for HildonPannableArea::mov-mode to
2129 HILDON_PANNABLE_AREA_MODE_VERT.
2131 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2133 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2135 Reverting following commit:
2137 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2139 * src/hildon-app-menu-private.h
2140 * src/hildon-app-menu.[ch]
2141 * src/hildon-button.[ch]
2142 * src/hildon-check-button.[ch]
2143 * src/hildon-entry.[ch]
2144 * src/hildon-pannable-area.[ch]
2145 * src/hildon-text-view.[ch]:
2146 Added private field to the object's structure.
2148 because it causes an ABI breakage. We will need to introduce these
2149 changes later at some point. See NB#91636 for an extensive
2150 explanation and status.
2152 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2154 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2156 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2157 remove special cases that are no longer necessary.
2159 Fixes: NB#91016 (Change toolbar sizes, simplification)
2161 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2163 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2164 is shown in the cancel note.
2166 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2168 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2169 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2170 (hildon_seekbar_init): Remove steppers, remove expose event.
2171 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2173 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2175 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2177 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2178 label font to "SmallSystemFont" for vertically arranged buttons.
2180 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2183 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2185 * src/hildon-check-button.c
2186 (hildon_check_button_set_active, hildon_check_button_clicked):
2187 Don't access private parts directly, use getters instead.
2189 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2191 * src/hildon-check-button.c (hildon_check_button_new):
2192 Align the contents of the check button to the left.
2194 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2196 * src/hildon-pannable-area.c,
2197 (hildon_pannable_area_scroll_to),
2198 (hildon_pannable_area_jump_to),
2199 (hildon_pannable_area_scroll_to_child),
2200 (hildon_pannable_area_jump_to_child): Replace the mapped
2201 precondition of these functions with the realized, it is the
2202 correct state of the widget in this case. Changed the
2203 documentation according to this modification.
2205 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2207 Added a new EXTRA_CFLAGS option to add the deprecated define to
2208 the compilation command. This way we can avoid using the define in
2209 the documentation compilation.
2211 * configure.ac: Defined EXTRA_CFLAGS.
2213 * examples/Makefile.am:
2215 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2217 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2219 * src/hildon-picker-dialog.c:
2220 Defined a utility macro with the desired touch selector height
2221 Removed currently unused separator, and title_label variables from
2223 (hildon_picker_dialog_init): Removed code related to the creation
2224 of unused private variables title_label and separator.
2225 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2226 to ensure correct visualization of the touch selector inside the dialog.
2227 * src/hildon-touch-selector.c
2228 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2229 ensure a concrete height of the widget.
2231 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2234 * tests/Makefile.am:
2236 Remove spurious whitespaces.
2238 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2240 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2241 compilation warning after the cancel button removal.
2243 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2245 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2247 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2248 Makefile.am, that way we can choose not to compile some examples
2249 and tests of the deprecated widgets.
2251 * examples/Makefile.am: Divided the sources in deprecated and
2254 * src/Makefile.am: Added undef statement of the deprecated
2255 symbol to the enums file generation process.
2257 * src/hildon-color-chooser-dialog.c
2258 * src/hildon-color-chooser-dialog.h
2259 * src/hildon-color-button.c
2260 * src/hildon-color-button.h
2261 * src/hildon-color-chooser.c
2262 * src/hildon-color-chooser.h
2263 * src/hildon-controlbar.c
2264 * src/hildon-controlbar.h
2265 * src/hildon-date-editor.c
2266 * src/hildon-date-editor.h
2267 * src/hildon-hvolumebar.c
2268 * src/hildon-hvolumebar.h
2269 * src/hildon-private.c
2270 * src/hildon-private.h
2271 * src/hildon-range-editor.c
2272 * src/hildon-range-editor.h
2273 * src/hildon-seekbar.c
2274 * src/hildon-seekbar.h
2275 * src/hildon-time-editor.c
2276 * src/hildon-time-editor.h
2277 * src/hildon-time-picker.c
2278 * src/hildon-time-picker.h
2279 * src/hildon-volumebar.c
2280 * src/hildon-volumebar.h
2281 * src/hildon-vvolumebar.c
2282 * src/hildon-vvolumebar.h
2283 * src/hildon-bread-crumb-trail.h
2284 * src/hildon-bread-crumb-trail.c
2285 * src/hildon-calendar-popup.c
2286 * src/hildon-calendar-popup.h
2287 * src/hildon-weekday-picker.c:
2288 * src/hildon-weekday-picker.h:
2289 * src/hildon-bread-crumb-widget.c:
2290 * src/hildon-bread-crumb-widget.h:
2291 * src/hildon-bread-crumb.c:
2292 * src/hildon-bread-crumb.h:
2293 * src/hildon-calendar.c:
2294 * src/hildon-calendar.h:
2295 * src/hildon-caption.c:
2296 * src/hildon-code-dialog.c:
2297 * src/hildon-code-dialog.h:
2298 * src/hildon-font-selection-dialog.c:
2299 * src/hildon-font-selection-dialog.h:
2300 * src/hildon-get-password-dialog.c:
2301 * src/hildon-get-password-dialog.h:
2302 * src/hildon-login-dialog.c:
2303 * src/hildon-login-dialog.h:
2304 * src/hildon-number-editor.c:
2305 * src/hildon-number-editor.h:
2306 * src/hildon-set-password-dialog.c:
2307 * src/hildon-set-password-dialog.h:
2308 * src/hildon-sort-dialog.c:
2309 * src/hildon-sort-dialog.h: This is the list of deprecated
2312 * src/hildon-touch-selector.c:
2313 * src/hildon-window.c: Added undef statement to avoid compilation
2316 * tests/Makefile.am: Divided the sources in deprecated and
2319 * tests/check_test.c,
2320 (configure_tests): Marked the deprecated code that was adding
2321 suites with deprecated tests.
2323 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2325 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2327 * src/hildon-touch-selector.c: (_default_print_func): Do not
2328 duplicate a string returned by gtk_tree_model_get(), it is already
2331 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2334 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2336 * src/hildon-pannable-area.c
2337 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2338 method, it had problems when adding a widget with viewport the
2339 second time. Now checks if it already has a viewport and uses it.
2341 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2344 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2346 * src/hildon-pannable-area.c,
2347 (hildon_pannable_area_scroll_to),
2348 (hildon_pannable_area_jump_to),
2349 (hildon_pannable_area_scroll_to_child),
2350 (hildon_pannable_area_jump_to_child): Added a precondition to the
2351 scroll and jump to functions: the widget must be mapped before we
2352 can safely call these functions. We have also added documentation
2353 to the functions to explain how to use them in this situation.
2356 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2358 Reviewed the threading handling of the pannable widget, we have
2359 used the gdk_threads_add_timeout function instead of the usual
2360 glib handlers. This avoids some problems with the threads.
2362 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2363 (hildon_pannable_area_initial_effect),
2364 (hildon_pannable_area_scroll_indicator_fade),
2365 (hildon_pannable_area_button_press_cb),
2366 (hildon_pannable_area_timeout),
2367 (hildon_pannable_area_motion_notify_cb),
2368 (hildon_pannable_area_button_release_cb),
2369 (hildon_pannable_area_scroll_cb),
2370 (hildon_pannable_area_scroll_to): Removed the
2371 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2372 gdk_threads_add_timeout.
2374 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2376 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2381 * configure.ac: bump version
2382 * debian/changelog: updates
2384 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2386 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2387 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2388 * src/hildon-color-chooser-dialog.c:
2389 (hildon_color_chooser_dialog_init):
2390 * src/hildon-font-selection-dialog.c:
2391 (hildon_font_selection_dialog_init):
2392 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2394 Remove all cancel/close-like dialogs, as these are not going to be
2397 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2399 * src/hildon-note.c: (hildon_note_rebuild),
2400 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2403 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2405 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2407 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2408 sure all buttons are shown, even the Cancel/Close-like ones.
2410 Fixes: NB#90861 (Custom Confirmation dialogs should be
2411 protected from cancel button removal)
2413 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2415 * debian/control: Change libhildon1-examples dependency from libhildon1
2417 * debian/libhildon1-examples.install
2419 * Makefile.am: Modified the final install directory for the examples on
2420 package libhildon1-examples
2421 * Makefile.static: Update clean target in order to remove all the binary
2424 Changes suggested by Claudio after review new libhildon1-examples package
2426 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2428 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2429 * src/hildon-touch-selector.c: Ditto.
2431 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2433 * debian/control: Added new package libhildon1-examples, in order to pack
2434 the current hildon examples as documentation
2435 * debian/rules: Not to compress .c files, modify some includes on the
2436 examples (as normally are compiled locally, but when installed it will
2437 require to include the installed libhildon1 library), and rename
2439 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2440 install all the example files on the new example package
2441 * examples/Makefile.static: Added static makefile that can be used to
2442 compile the examples, once installed the new example package
2443 * examples: Most of the examples were modified in order to grant that
2444 all use only '#include "hildon.h"', in order to be easy to prepare
2445 it on the example package
2447 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2450 * debian/libhildon1-dev.install
2451 * debian/libhildon1-doc.install:
2452 Move all gtk-doc files to a separate libhildon1-doc package.
2454 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2456 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2458 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2460 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2462 * debian/rules: Fixed a error in order to avoid unnecessary calls
2463 to autogen.sh on package building
2465 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2467 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2469 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2471 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2474 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-picker-button.c
2477 (hildon_picker_button_finalize):
2478 Free priv->done_button_text
2480 * src/hildon-time-button.c
2481 (hildon_time_button_set_time)
2482 * src/hildon-picker-button.c
2483 (hildon_picker_button_clicked)
2484 (hildon_picker_button_selector_selection_changed)
2485 (hildon_picker_button_set_selector)
2486 * src/hildon-date-button.c
2487 (hildon_date_button_set_date):
2488 Free strings returned by hildon_touch_selector_get_current_text()
2490 * src/hildon-button.c (hildon_button_construct_child):
2491 Fix leaks in priv->image and priv->label_box
2493 Fixes: NB#90535 (Memory leak in picker button)
2495 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2497 * src/hildon-button.c: (hildon_button_get_property): Do not access
2498 private elements directly, use getters instead.
2500 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2502 * src/hildon-app-menu-private.h
2503 * src/hildon-app-menu.c
2504 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2505 Store the menu's parent window.
2507 * src/hildon-stackable-window.c
2508 (hildon_stackable_window_toggle_menu)
2509 (hildon_stackable_window_finalize):
2510 Set the menu's parent window when the menu is shown, unset it when
2513 * src/hildon-app-menu.c
2514 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2515 (hildon_app_menu_class_init):
2516 Send unhandled keyboard accelerators to the parent window.
2518 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2520 * src/hildon-stackable-window.c
2521 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2523 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2525 * configure.ac: post release version bump
2527 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2530 * configure.ac: Bump version
2531 * debian/changelog: Updates
2532 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2535 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2537 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2540 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2541 GtkMenu with Hildon style.
2543 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2545 * src/hildon-picker-button.c:
2546 (hildon_picker_button_set_done_button_text): Set the dialog's
2547 done button text here as well.
2549 Fixes: NB#90232 (Picker button does not set the label on done button
2550 for the second time)
2552 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2554 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2557 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2559 * src/hildon-app-menu.c (hildon_app_menu_insert)
2560 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2561 the HildonAppMenu to be activatable using keyboard accelerators
2562 when the menu is not being shown.
2564 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2566 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-stackable-window.c
2569 (hildon_stackable_window_show):
2570 Don't hide old windows automatically when new windows are shown:
2571 this is now a task for the window manager.
2572 (hildon_stackable_window_class_init)
2573 (hildon_stackable_window_hide):
2574 Remove windows from the stack everytime they're hidden.
2575 (hildon_stackable_window_realize):
2576 Don't change the _NET_WM_WINDOW_TYPE property. Use
2577 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2578 it as a stackable window.
2580 * src/hildon-program.c
2581 (hildon_program_pop_window_stack):
2582 Just hide the window to remove it from the stack.
2583 (hildon_program_go_to_root_window):
2584 Don't call gtk_widget_show(), this is now a task for the window
2587 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2589 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2591 * src/hildon-button.c
2592 (hildon_button_construct_child):
2593 Don't pack anything in the button until text or image are
2594 set. This allows adding a custom child after creating the button
2595 with hildon_button_new().
2596 (hildon_button_finalize, hildon_button_class_init)
2597 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2598 alignment and the label box even when they're not packed in the
2601 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2603 * src/hildon-touch-selector.h:
2604 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2605 currently the type definition was using GTK_TYPE_VBOX
2606 * src/hildon-touch-selector.c:
2607 Added some implementation notes in order to clarify that any other widget
2608 added without the column related API will not be included on the
2609 selection logic, and how the widget is freed, as some people ask about
2611 (hildon_touch_selector_remove): Reimplemented in order to free properly
2612 the column related data when you remove the private hbox.
2613 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2614 to get a proper HildonTouchSelectorColumn documentation
2616 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2618 * src/hildon-touch-selector-entry.c:
2619 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2620 text in the GtkEntry and there is no item selected. Fixes a
2623 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2625 * src/hildon-app-menu-private.h
2626 * src/hildon-app-menu.[ch]
2627 * src/hildon-button.[ch]
2628 * src/hildon-check-button.[ch]
2629 * src/hildon-entry.[ch]
2630 * src/hildon-pannable-area.[ch]
2631 * src/hildon-text-view.[ch]:
2632 Added private field to the object's structure.
2634 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2636 * configure.ac: post-release version bump
2638 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2642 * configure.ac: pre-release version bump
2644 * debian/changelog: updates.
2646 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2648 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2649 Disconnect the handler for HildonTouchSelector::changed.
2651 (hildon_picker_button_selector_selection_changed): Update the button
2652 value if the selection change was not triggered by the
2655 (hildon_picker_button_set_selector): connect to
2656 HildonTouchSelector::changed.
2658 Fixes: NB#89650 (Picker button is not updated, when selection in
2659 selector has changed)
2661 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2663 * src/hildon-picker-dialog.c
2664 (hildon_picker_dialog_realize): Removed as not required
2665 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2666 * src/hildon-picker-button.c
2667 (_current_selector_empty): New function, checks if the selector is empty
2668 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2669 if the current selector is empty, in order to avoid to show the dialog
2670 close the dialog in this case (and shows a g_warning).
2672 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2674 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2676 * src/hildon-pannable-area.c,
2677 (hildon_pannable_area_scroll): Added clause to stop movement when
2678 the child of pannable is smaller than one page.
2679 (hildon_pannable_area_scroll_to): Added conditions to avoid
2680 starting the scrolling movement if the child is smaller than one
2681 page, the complete child is in the screen, we do not have to move.
2683 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2685 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2687 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2688 this is managed automatically by the widget when the size of the
2691 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2693 * src/hildon-picker-button.c
2694 (hildon_picker_button_set_done_button_text): Make a copy of the
2695 text, and free the previous value.
2697 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-touch-selector-entry.c:
2700 (hildon_touch_selector_entry_print_func): Return the selected row's
2701 text if the entry is empty.
2703 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2706 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2708 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2710 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2713 * src/hildon-check-button.h
2714 * src/hildon-check-button.c
2715 * examples/hildon-check-button-example.c:
2716 HildonCheckButton is now a new widget. 'toggled' signal added.
2718 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2720 * src/hildon-program-private.h
2721 * src/hildon-program.c (hildon_program_init)
2722 (hildon_program_finalize): Removed unused variables group_leader
2723 and name from HildonProgramPrivate.
2725 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2727 * src/hildon-check-button.c (hildon_check_button_set_active)
2728 (hildon_check_button_get_active, hildon_check_button_new): Use
2729 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2731 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2733 * src/hildon-touch-selector.h
2734 (hildon_touch_selector_set_column_attributes): added deprecation
2735 guard HILDON_DISABLE_DEPRECATED
2736 * src/hildon-time-selector.c
2737 (hildon_time_selector_set_time)
2738 (hildon_time_selector_get_time): Fixed a typo on documentation
2739 * src/hildon-touch-selector.c: update HildonTouchSelector and
2740 HildonTouchSelectorColumn documentation
2741 * src/hildon-touch-selector-entry.c: update "text-column" property
2743 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2744 to be added to the general documentation.
2746 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2748 * examples/hildon-pannable-area-example-4.c,
2750 * examples/hildon-pannable-area-example.c,
2751 (main): Modified the code in order to use the container add, with
2752 viewport treeviews could have problems if they are really big.
2754 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2756 * src/hildon-weekday-picker.c,
2757 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2758 the agreement regarding deprecation in the library.
2760 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2762 * examples/hildon-picker-button-multicolumn-example.c:
2763 (main): Use custom "done" button text.
2765 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2766 (hildon_picker_button_set_property),
2767 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2768 (hildon_picker_button_init),
2769 (+hildon_picker_button_get_done_button_text),
2770 (+hildon_picker_button_set_done_button_text): New methods to customize
2771 the "done" button label in the launched HildonPickerDialog. Also,
2774 * src/hildon-picker-button.h: add the public API.
2776 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2778 * src/hildon-date-selector.h:
2779 * src/hildon-picker-dialog.h:
2780 * src/hildon-time-selector.h:
2781 * src/hildon-touch-selector-column.h:
2782 * src/hildon-touch-selector.h:
2784 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2785 declarations. Fixes gtk-doc warnings.
2787 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2789 * src/hildon-picker-dialog.h
2790 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2791 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2793 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2794 long text is set as label for done button)
2796 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2798 * src/hildon-dialog.c (hildon_dialog_add_button):
2799 Set fixed width to all buttons in the HildonDialog.
2801 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2803 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2805 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2806 Set widget name using class name plus "-finger" or "-thumb".
2808 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2811 'clicked' when the state of the button is manually changed.
2813 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2815 * src/hildon-app-menu.c (hildon_app_menu_realize)
2816 (hildon_app_menu_unrealize, hildon_app_menu_init)
2817 (hildon_app_menu_class_init, item_visibility_changed):
2818 Change the menu layout when the size of the screen changes.
2819 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2820 Show warning only when changing the number of colums using the
2823 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2825 * debian/compat: Set to 5
2826 * debian/control: Update dependencies.
2827 * debian/libhildon1-dbg.install: Remove.
2828 * debian/libhildon1-dev.install: Update according to cdbs paths.
2829 * debian/libhildon1.install: Update according to cdbs paths.
2830 * debian/rules: Switch to cdbs.
2832 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2834 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2835 'item' variable renamed to 'filter'
2837 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-app-menu.c (hildon_app_menu_insert)
2840 (hildon_app_menu_add_filter, remove_item_from_list)
2841 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2842 Don't leak hidden items when the menu is destroyed.
2844 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2846 * src/hildon-app-menu.c (hildon_app_menu_insert)
2847 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2848 (hildon_app_menu_set_columns, item_visibility_changed)
2849 (filter_visibility_changed, hildon_app_menu_repack_filters)
2850 (hildon_app_menu_repack_items):
2851 Repack items and filters separately.
2853 Don't repack all items, change only the ones that are needed to
2856 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2858 * src/Makefile.am: added hildon-touch-selector-column.h
2860 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2862 * src/hildon-touch-selector.c: added the property "text-column" to the
2863 class HildonTouchSelectorColumn, and related get/set functions
2864 (_default_printf_func): updated to use "text-column" property
2865 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2866 "text-column" in his documentation, as this is now included on
2867 HildonTouchSelectorColumn. The get/set_property can still be used,
2868 working as a wrapper to the concrete column "text-column" property
2869 (_text_column_modified): callback added in order to handle the signal
2870 "notify::text-column" of the concrete HildonTouchSelectorColumn
2871 (hildon_touch_selector_entry_get_text_column)
2872 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2873 modified in order to use the HildonTouchSelectorColumn "text-column"
2875 * src/hildon-time-selector.c:
2876 * src/hildon-date-selector.c:
2877 * examples/hildon-touch-selector-example.c
2878 * examples/hildon-touch-selector-multi-cells-example.c
2879 * examples/hildon-picker-button-multicolumn-example.c
2880 Set the right value to "text-column" property on the creation of a new
2881 column using hildon_touch_selector_append_column()
2883 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2885 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2887 * src/hildon-app-menu.c
2888 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2889 updating the layout of the menu, don't create all widgets again,
2890 just repack the items in their new places.
2892 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2894 * src/hildon-time-selector.c
2895 (hildon_time_selector_get_time)
2896 (hildon_time_selector_set_time)
2897 Added documentation of these public methods
2899 * src/hildon-date-button.h
2900 * src/hildon-touch-selector-column.h
2901 * src/hildon-time-button.h
2902 * src/hildon-picker-dialog.h
2903 * src/hildon-time-selector.h
2904 * src/hildon-picker-button.h
2905 * src/hildon-touch-selector.h
2906 * src/hildon-time-picker.h
2907 * src/hildon-date-selector.h
2908 * src/hildon-touch-selector-entry.h
2909 Modified in order to use hildon-widgets code style
2911 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2913 Added deprecated support to the compilation process using
2914 HILDON_DISABLE_DEPRECATED
2916 * configure.ac: Added the --disable-deprecated to the configure
2919 * src/hildon-weekday-picker.c:
2920 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2921 to use the deprecated support. We will update the other deprecated
2922 widgets status in a new patch.
2924 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2926 * configure.ac: Fixed typo with fatal warnings support, the
2927 variable name was not correct
2929 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2931 * src/hildon-app-menu.c
2932 * src/hildon-program.c: Update documentation.
2934 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2936 * configure.ac: Post-release version bump.
2938 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2943 * configure.ac: Pre-release version bump.
2944 * debian/changelog: Updates.
2946 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2948 * NEWS: Update news for previous releases.
2950 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2952 * examples/hildon-touch-selector-multi-cells-example.c:
2953 (create_selector): Update the example to use
2954 hildon_touch_selector_append_column() with a NULL renderer and set
2955 the renderers later.
2956 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2957 passed a NULL renderer. This is documented behavior now.
2959 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2960 This must be used if the developer wants full control on the layout of
2961 the renderers to be added to the column.
2963 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2965 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2967 * src/hildon-touch-selector.c: Documentation fixes.
2969 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2971 * src/hildon-wizard-dialog-private.h: Remove image and box.
2972 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2973 (hildon_wizard_dialog_set_property), (response): Completely remove
2974 image/icon support, and the containers required for the layout.
2976 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2978 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2980 * src/hildon-app-menu.c: Updated documentation.
2982 * src/hildon-stackable-window.c
2983 (hildon_stackable_window_set_main_menu): Unref the old menu after
2984 ref'ing the new one.
2986 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2988 * src/hildon-stackable-window.c
2989 (hildon_stackable_window_set_main_menu): Unref the previous menu
2990 instead of destroying it.
2992 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2993 floating reference and set has_user_ref_count to FALSE to make
2994 HildonAppMenu act like a normal ref-counted widget and not a
2997 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3000 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3002 * src/hildon-touch-selector-column.h: new file
3003 * src/hildon-touch-selector.h
3004 * src/hildon-touch-selector.c
3005 Implemented GtkCellLayout interface, in order to allow to configure
3006 the cell layout on each individual selector column
3007 (hildon_touch_selector_set_column_attributes): marked as deprecated
3008 * examples/hildon-touch-selector-multi-cells-example.c
3009 Example of how to use the GtkCellLayout interface on the selector
3011 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3013 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3015 * src/hildon-app-menu.h
3016 * src/hildon-app-menu.c
3017 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3018 (hildon_app_menu_append, hildon_app_menu_prepend):
3019 New methods to prepend, insert and move items in the menu.
3021 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3023 * src/hildon-wizard-dialog.c:
3025 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3027 (create_title): Update logical IDs and related code.
3028 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3030 * src/hildon-wizard-dialog.h: Note that
3031 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3032 point, as it is not used anymore.
3034 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3036 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3038 * src/hildon-note.c:
3039 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3040 shown. Do not display an icon in confirmation notes nor information
3042 (hildon_note_set_button_text): Update logical ID for cancel button.
3044 Fixes: NB#88850 (Update HildonNote button strings + signals)
3046 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3048 * src/hildon-stackable-window.c
3049 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3051 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3053 * src/hildon-app-menu-private.h
3054 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3055 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3056 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3057 temporary property 'columns' to change the number of columns.
3059 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3061 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3063 * examples/hildon-note-example.c: (on_information_clicked),
3064 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3065 debugging information.
3066 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3068 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3069 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3070 in order to close: this will be handled by the WM from now on.
3072 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3074 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3076 * src/hildon-app-menu-private.h
3077 * src/hildon-app-menu.c
3078 (hildon_app_menu_append, hildon_app_menu_add_filter)
3079 (button_visibility_changed, hildon_app_menu_apply_style)
3080 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3081 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3082 layout everytime a button (item or filter) is shown or hidden.
3084 * src/hildon-stackable-window.c
3085 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3088 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3090 * src/hildon-touch-selector.c:
3091 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3092 that the treeview inside the touch selector is in fremantle hildon mode
3093 * examples/hildon-date-button-example.c
3094 * examples/hildon-picker-button-multicolumn-example.c
3095 * examples/hildon-touch-selector-entry-example.c
3096 * examples/hildon-touch-selector-example.c
3097 * examples/hildon-time-button-example.c
3098 * examples/hildon-picker-button-example.c:
3099 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3101 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3103 * examples/hildon-text-view-example.c: (main): Remove the
3104 gtkrc bits, now handled by the theme.
3106 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3108 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3111 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3113 * po/Makefile.am: Install properly the mo files.
3114 * po/en_GB.po: Update translation, to ease testing purposes.
3116 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3118 * examples/hildon-picker-button-example.c: (main): Select an item
3119 in the selector before setting it to the button.
3121 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3123 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3124 Update button's value if the selector has an item active.
3126 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3127 'value' with the selector)
3129 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3131 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3132 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3133 (hildon_picker_button_class_init): Plug the finalize method.
3134 (hildon_picker_button_set_selector): If there's a previously set
3135 selector, unref'it before setting a new one.
3137 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3138 HildonTouchSelector)
3140 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3142 * src/hildon-touch-selector-entry.c:
3143 (hildon_touch_selector_entry_changed): Check if there is no text
3144 selected before setting the entry text.
3147 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-touch-selector.h
3150 * src/hildon-touch-selector.c
3151 (hildon_touch_selector_get_active)
3152 (hildon_touch_selector_set_active): New methods to set/get the
3153 index of the selected item.
3155 * src/hildon-picker-button.h
3156 * src/hildon-picker-button.c
3157 (hildon_picker_button_get_active)
3158 (hildon_picker_button_set_active): New methods to set/get the
3159 index of the selected item.
3161 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3163 * configure.ac: post-release version bump.
3165 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3169 * configure.ac: Pre-release version bump.
3170 * debian/changelog: Updates.
3171 * debian/control: Add myself as maintainer and depend on l10n
3174 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3176 * src/hildon-window.c
3177 (hildon_window_set_main_menu)
3178 * src/hildon-stackable-window.c
3179 (hildon_stackable_window_set_main_menu):
3180 Updated documentation.
3182 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3184 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3185 Don't free selector->priv manually.
3188 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3191 (hildon_gtk_window_set_progress_indicator):
3192 * src/hildon-gtk.h: Added the new API
3193 hildon_gtk_window_set_progress_indicator, it changes the state of
3194 the window progress hint.
3196 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3198 * src/hildon-button.c
3199 * src/hildon-stackable-window.c: Minor documentation updates.
3201 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3203 * src/hildon-stackable-window.c: Updated documentation.
3205 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3207 * src/hildon-defines.h: Update margins definitions
3208 to the Fremantle sizes.
3211 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3213 * src/hildon-touch-selector.c,
3214 (_hildon_touch_selector_set_model): Cleaning the code after
3215 review, removed g_print and #if 0 from the code.
3217 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3219 * src/hildon-edit-toolbar.c: Update documentation.
3221 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3223 * src/hildon-check-button.h
3224 * src/hildon-check-button.c
3225 (hildon_check_button_set_label, hildon_check_button_get_label)
3226 * examples/hildon-check-button-example.c
3227 (button_clicked_cb):
3228 Removed deprecated methods.
3230 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3232 * src/hildon-text-view.c:
3233 Add sample code to the documentation.
3235 * src/hildon-entry.h
3236 * src/hildon-text-view.h:
3237 Minor cosmetic changes.
3239 * src/hildon-entry.c:
3240 Add sample code to the documentation.
3241 (hildon_entry_init, hildon_entry_refresh_contents):
3242 Don't allow NULL values in the placeholder.
3244 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3246 * doc/hildon-docs.sgml
3248 * examples/Makefile.am
3249 * examples/hildon-text-view-example.c
3251 * src/hildon-text-view.c
3252 * src/hildon-text-view.h
3254 New HildonTextView widget, with example.
3256 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3258 * po/POTFILES.in: Add missing files with translatable strings.
3259 Partially fixes NB#88287.
3261 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3263 * examples/hildon-pannable-area-example-2.c: (main): No need to
3264 set the cellrenderer height inside hildon touch lists, the theme does
3267 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3269 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3270 they are integrated in the theme.
3272 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3274 * examples/hildon-entry-example.c: Update the example adding
3275 widgets to modify the text and the placeholder of the HildonEntry.
3277 * src/hildon-entry.c: Show the placeholder everytime the widget
3278 is empty and loses the focus.
3280 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3282 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3284 * src/hildon-pannable-area.c,
3285 (hildon_pannable_area_size_request): Fixed bug in height
3286 requisition, avoid increasing size and add border twice.
3288 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3290 * configure.ac: postrelease version bump.
3292 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3296 * configure.ac: Prerelease version bump.
3297 * debian/changelog: update.
3298 * debian/rules: make -dbg package contain useful debugging symbols.
3300 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3302 * src/hildon-dialog.h
3303 * src/hildon-dialog.c
3304 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3305 New methods to add buttons with finger size.
3306 (hildon_dialog_new_with_buttons):
3307 Create buttons with finger size.
3309 * examples/hildon-dialog-example.c (main): Use HildonDialog
3310 methods to add buttons.
3312 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3314 * src/hildon-entry.c: Updated HildonButton documentation.
3316 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3318 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3319 button value label with (FALSE, FALSE) to prevent NB#88126 from
3322 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3324 * examples/hildon-pannable-area-example.c,
3325 (main): Removed examples panning a vbox inside a pannable
3326 area. Check bug NB#87965
3328 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3330 Patch contributed by Kris Rietveld (kris@imendio.com)
3332 * src/hildon-pannable-area.c,
3333 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3334 get_size and get_position, this saves an X server roundtrip.
3336 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3338 * doc/hildon-docs.sgml
3340 * examples/Makefile.am
3341 * examples/hildon-entry-example.c
3343 * src/hildon-entry.c
3344 * src/hildon-entry.h
3346 New HildonEntry widget, with example.
3348 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3350 * src/hildon-button.c (hildon_button_construct_child): Pack the
3351 image with expand == fill == FALSE. This is a workaround for a bug
3354 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3356 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3357 labels for the text column, to make it more look more dynamic.
3359 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3361 * src/hildon-time-selector.c
3362 Define gettext auxiliar macro N_
3363 (_create_minutes_model)
3364 (_create_hours_model)
3365 (_create_ampm_model): use of strftime in order to fill the model
3366 * src/hildon-date-selector.c
3367 (hildon_date_selector_finalize):
3368 (_locales_init): remove the logic related to get the name of the months
3369 using nl_langinfo, as it is not required anymore
3371 (_create_year_model)
3372 (_create_month_model)
3373 (_update_day_model): use of strftime in order to fill the model properly
3376 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3378 * src/hildon-button.h
3379 * src/hildon-button.c (hildon_button_get_image): New method to
3382 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3384 * src/hildon-touch-selector.c:
3385 (hildon_touch_selector_remove_column): Remove from the correct parent
3386 and also remove the list element and free it.
3389 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3391 * src/hildon-time-selector.c
3392 (_create_hours_model): change the range on 12h ampm format in order to use
3393 a 12-11 range instead of previous 01-12 range
3394 (hildon_time_selector_set_time): change the way to select the current time
3395 on 12h ampm format, due the change on the range
3396 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3399 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3401 * src/hildon-touch-selector.c
3402 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3403 in order to allow use this function on multiple row selection mode if
3404 the column is different that the first one
3407 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3409 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3410 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3412 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3414 * src/hildon-date-selector.h: clean some comments, now on the .c
3415 * src/hildon-date-selector.c
3416 (hildon_date_selector_select_month): first implementation
3417 (hildon_date_selector_select_day): added documentation, reimplemented
3418 using hildon_date_selector_select_current_date to avoid repeat code
3421 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3423 Reviewed interaction logic based on device experiences, refactored
3426 * src/hildon-pannable-area.c,
3427 (hildon_pannable_area_class_init): Updated default vmax speed.
3428 (hildon_pannable_area_calculate_velocity): Added this function, it
3429 avoids duplicate valocity calculation. Adjusted calculation to
3430 avoid problems with zero dist events.
3432 (hildon_pannable_area_motion_notify_cb): Now we use the
3433 calculate_velocity function.
3435 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3437 * src/hildon-date-selector.c
3438 (hildon_date_selector_select_current_date): fix the day range check
3439 as it failed using the last day of the current month
3442 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3444 * src/hildon-touch-selector.c
3445 (hildon_touch_selector_get_num_columns): added a parameter validation
3448 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3450 * examples/Makefile.am
3451 * examples/hildon-edit-toolbar-example.c: Example of the
3452 HildonEditToolbar widget.
3454 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3456 * configure.ac: postrelease version bump.
3458 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3462 * configure.ac: prerelease version bump.
3463 * debian/changelog: update.
3465 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3467 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3468 renderer to display stock icons in the touch list. Also, set the sizes
3469 to the recommended in the style guide.
3471 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3472 * src/hildon-touch-selector.h
3473 (hildon_touch_selector_set_active_iter): renamed, now is
3474 hildon_touch_selector_select_iter
3475 (hildon_touch_selector_get_active_iter): renamed, now is
3476 hildon_touch_selector_get_selected
3477 (hildon_touch_selector_unselect_iter): added
3478 * src/hildon-touch-selector.c
3479 Update after API modification (methods renamed)
3480 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3481 order to avoid problems selecting multiple elements on the column
3482 (hildon_touch_selector_unselect_iter): added the implementation
3483 * src/hildon-time-selector.c
3484 * src/hildon-date-selector.c
3485 * src/hildon-touch-selector-entry.c
3486 Update methods calls after hildon-touch-selector.h API modification (methods
3489 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3491 * src/hildon-stackable-window.c
3492 (hildon_stackable_window_finalize): Call the parent class's finalize.
3494 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3496 * examples/hildon-touch-selector-example.c: (create_selector): Use
3497 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3500 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3502 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3503 set a cell background color, to respect theming.
3505 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3507 * doc/hildon-docs.sgml
3510 * src/hildon-edit-toolbar.c
3511 * src/hildon-edit-toolbar.h
3512 * src/hildon.h: New HildonEditToolbar widget.
3514 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3516 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3519 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3520 * src/hildon-touch-selector.c
3521 (_create_new_column): use g_object_set instead of two g_object_set_property
3523 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3524 * src/hildon-touch-selector.c
3525 (_create_new_column): use of hildon_gtk_tree_view_new to create
3526 the treeview, instead of use directly g_object_new
3527 (_create_new_column): update the property name "vindicator-mode" for the
3528 new one "vscrollbar-policy"
3529 * examples/hildon-date-button-example.c
3530 * examples/hildon-picker-button-multicolumn-example.c
3531 * examples/hildon-touch-selector-entry-example.c
3532 * examples/hildon-touch-selector-example.c
3533 * examples/hildon-time-button-example.c
3534 * examples/hildon-picker-button-example.c
3535 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3536 to all the treeviews inside a pannable area.
3538 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3540 * src/hildon-button.h
3541 * src/hildon-button.c (hildon_button_init)
3542 (hildon_button_set_arrangement, hildon_button_set_alignment)
3543 (hildon_button_set_title_alignment)
3544 (hildon_button_set_value_alignment)
3545 (hildon_button_set_image_alignment)
3546 (hildon_button_construct_child): New methods to set the alignment
3547 of the individual components of the button (title, value,
3548 image). Also, new method to alter the xscale and yscale properties
3549 of the GtkAlignment inside the button, so more complex layouts can
3552 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3554 * src/hildon-button.c (hildon_button_style_set)
3555 (hildon_button_class_init, hildon_button_set_arrangement)
3556 (hildon_button_construct_child): Apply style properties
3557 correctly. Use the 'image-spacing' style property too.
3559 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3561 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3562 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3565 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3567 * src/hildon-pannable-area.c,
3568 (hildon_pannable_area_size_request): Fixed problem with
3569 pannable-area size_request.
3571 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3573 Added management for the grab-focus to a child widget, like a
3574 range, we need to fade out the scrollbar when releasing.
3576 * src/hildon-pannable-area.c,
3577 (hildon_pannable_area_init): Connected the grab-focus signal to
3579 (hildon_pannable_area_grab_notify): Added this function in order
3580 to manage the situation when the grab-focus ends. We have to
3581 fade-out the scrollbar.
3583 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3585 * src/hildon-app-menu.c: Minor documentation update.
3587 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3589 * src/hildon-app-menu.c
3590 * examples/hildon-app-menu-example.c (create_menu): Update
3591 examples and documentation to explain how to connect callbacks.
3593 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3595 * examples/hildon-button-example.c
3596 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3597 hildon_stackable_window_new instead of gtk_window_new
3599 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3601 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3602 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3603 (hildon_pannable_area_set_property),
3604 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3605 (hildon_pannable_area_unrealize),
3606 (hildon_pannable_area_size_request),
3607 (hildon_pannable_area_size_allocate),
3608 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3609 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3610 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3611 (hildon_pannable_area_initial_effect),
3612 (hildon_pannable_area_redraw),
3613 (hildon_pannable_area_scroll_indicator_fade),
3614 (hildon_pannable_area_expose_event),
3615 (hildon_pannable_area_get_topmost), (synth_crossing),
3616 (hildon_pannable_area_button_press_cb),
3617 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3618 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3619 (hildon_pannable_area_motion_notify_cb),
3620 (hildon_pannable_area_button_release_cb),
3621 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3622 (hildon_pannable_area_remove),
3623 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3624 chage the code layout to a more GtkWidget like. Review the use of
3627 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3629 * examples/hildon-pannable-area-example-4.c,
3630 (main): Modified the name of the hindicator_mode to
3633 * src/hildon-pannable-area.c,
3634 (hildon_pannable_area_class_init),
3635 (hildon_pannable_area_motion_notify_cb),
3636 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3637 we have reduced the amount of signals and managed reviewed its
3638 rationale. Changed the default decelerate value.
3640 (hildon_pannable_area_add),
3641 (hildon_pannable_area_redraw): Refactored functions.
3643 (hildon_pannable_area_init),
3644 (hildon_pannable_area_get_property),
3645 (hildon_pannable_area_set_property):
3646 (hildon_pannable_draw_vscroll),
3647 (hildon_pannable_draw_hscroll),
3648 (hildon_pannable_area_initial_effect),
3649 (hildon_pannable_area_expose_event),
3650 (hildon_pannable_area_scroll),
3651 (hildon_pannable_area_button_press_cb),
3652 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3653 and vindicator_mode with hscrollbar_policy and
3654 vscrollbar_policy. Replaced hscroll and vscroll with
3655 hscroll_visible and vscroll_visible.
3657 (hildon_pannable_area_refresh): Refactor the function, remove
3658 variables and check the calls to this function, added resize
3659 conditions in case the children change their layout.
3661 (hildon_pannable_area_size_request): Added more detailed
3662 size_request calculation.
3665 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3667 * src/hildon-color-chooser.c
3668 (init_borders): use the correct gtk_border_free instead of g_free, to
3669 avoid a crash when this widget is used (ie: the three color selection
3672 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3674 * src/hildon-check-button.c,
3675 (hildon_check_button_set_active): Fixed problem when setting the
3676 active value, the widget was not redrawn.
3678 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3680 * src/hildon-pannable-area.c,
3681 (hildon_pannable_area_refresh),
3682 (hildon_pannable_area_scroll),
3683 (hildon_pannable_area_motion_notify_cb): Small code style change.
3685 (hildon_pannable_area_class_init): Default initial_hint set to
3686 FALSE, it is not in the specs.
3688 (hildon_pannable_area_initial_effect),
3689 (hildon_pannable_area_expose_event),
3690 (hildon_pannable_area_map),
3691 (hildon_pannable_area_init): Moved the launching point of the
3692 initial effect, it was in map but the sizes where not correct in
3693 that method so we do not know if we have the reproduce it. Now it
3694 is placed in the expose_event method and uses a variable to
3695 reproduce it just once.
3697 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3699 * src/hildon-pannable-area.c,
3700 (hildon_pannable_draw_vscroll),
3701 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3702 position allowed for the scrollbars.
3704 (hildon_pannable_area_size_allocate): Small style change.
3706 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3708 * src/hildon-pannable-area.c,
3709 (hildon_pannable_area_scroll_indicator_fade),
3710 (hildon_pannable_area_button_press_cb),
3711 (hildon_pannable_area_button_release_cb),
3712 (hildon_pannable_area_scroll_cb),
3713 (hildon_pannable_area_expose_event),
3714 (hildon_pannable_area_init): Added the define parameter
3715 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3716 and refactor the fade variable.
3718 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3720 * src/hildon-pannable-area.c,
3721 (hildon_pannable_area_redraw),
3722 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3723 lines, we were reimplemeting the redraw code.
3725 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3727 * src/hildon-pannable-area.c,
3728 (hildon_pannable_area_scroll_cb),
3729 (hildon_pannable_area_realize),
3730 (hildon_pannable_area_class_init): Added scroll_event management
3731 for pannable area, now we can scroll the usual desktop method.
3733 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3734 initialization of the parameters should depend on idle_id.
3736 (hildon_pannable_area_init),
3737 (hildon_pannable_area_map): Small code style modifications
3739 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3741 * src/hildon-pannable-area.c
3742 (hildon_pannable_area_button_press_cb),
3743 (hildon_pannable_area_motion_notify_cb),
3744 (hildon_pannable_area_button_release_cb),
3745 (hildon_pannable_area_size_allocate),
3746 (hildon_pannable_area_scroll_to): Improved the timeouts
3747 management, we avoid creating them each time.
3749 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3751 * src/hildon-pannable-area.c:
3752 (hildon_pannable_area_refresh),
3753 (hildon_pannable_area_motion_notify_cb),
3754 (hildon_pannable_area_class_init):
3755 * src/hildon-pannable-area.h:
3756 * src/hildon-touch-selector.c
3757 (_create_new_column):
3758 * examples/hildon-pannable-area-example-4.c:
3759 (horizontal_movement),
3760 (vertical_movement),
3762 Replaced the names of enums in the HildonPannableArea:
3763 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3764 HILDON_MOVEMENT_MODE_*
3765 - HILDON_PANNABLE_AREA_MOV_* ->
3767 - Removed HildonPannableAreaIndicatorMode, now we
3770 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3772 * examples/hildon-pannable-area-touch-grid-example.c
3773 * examples/hildon-pannable-area-touch-list-example.c: Fix
3774 compilation warnings.
3776 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3778 * src/hildon-gtk.c (hildon_gtk_button_new)
3779 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3780 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3781 images overriding the value of the "gtk-button-images" setting.
3783 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3785 * src/hildon-check-button.c (hildon_check_button_new):
3786 Instead of using a custom container, display the label and the
3787 checkbox using the standard GtkButton API.
3789 * examples/hildon-check-button-example.c (main): Don't use
3790 hildon_check_button_set_label() anymore
3792 * src/hildon-check-button.h
3793 * src/hildon-check-button.c
3794 (hildon_check_button_set_label, hildon_check_button_get_label):
3795 Set as deprecated, now we're using gtk_button_{get,set}_label()
3797 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3799 * src/hildon-pannable-area.c,
3800 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3801 GtkTreeview first line we detected it after the inclusion of the
3802 GtkWindowImpl in gtk+. We now check if the window is visible, not
3803 just if the pointer is over the window.
3804 (hildon_pannable_axis_scroll),
3805 (hildon_pannable_area_expose_event): Small style changes.
3807 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3809 * src/hildon-button.c: Update documentation.
3811 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3813 * examples/hildon-button-example.c: Add a switch to show images in
3816 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3818 * doc/hildon-docs.sgml: Some docs reorganization.
3820 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3822 * examples/hildon-pannable-area-touch-list-example.c
3824 * examples/hildon-pannable-area-touch-grid-example.c
3825 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3826 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3827 Fix memory leak when setting the tree model.
3829 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3833 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3835 * doc/hildon.types: Remove duplicated hildon_window_get_type
3836 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3837 documentation comment.
3839 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3841 * doc/Makefile.am: Complete list of private headers.
3843 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3845 * doc/hildon-docs.sgml
3846 * src/hildon-app-menu.c
3847 * src/hildon-bread-crumb.c
3848 * src/hildon-button.c
3850 * src/hildon-program.c
3851 * src/hildon-stackable-window.c
3852 * src/hildon-window.c: Lots of documentation updates.
3854 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3856 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3858 * configure.ac: Require Gtk+ 2.12.9 at least
3860 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3862 * src/hildon-pannable-area.c
3863 (hildon_pannable_area_scroll_indicator_fade),
3864 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3865 to protect the return of this timeout callbacks, avoiding deadlocks.
3867 2008-08-12 Christian Dywan <christian@imendio.com>
3870 * src/hildon-*.h: Ensure a consistent include order,
3871 include <gtk/gtk.h> instead of particular files and
3872 only include the topmost header in the gtk stack. See NB #39857
3874 2008-08-12 Christian Dywan <christian@imendio.com>
3876 * src/hildon-picker-dialog.c
3877 * src/hildon-touch-selector.c: Fix warnings about unused and
3878 uninitialized variables.
3880 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3882 * examples/Makefile.am
3883 * examples/hildon-check-button-example.c: Example of the hildon
3886 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3888 * src/hildon-window.h
3889 * src/hildon-window.c (hildon_window_class_init)
3890 (hildon_window_unset_program): Don't make
3891 hildon_window_unset_program a virtual function anymore.
3893 * src/hildon-stackable-window.c: Update documentation
3895 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3898 * doc/hildon-docs.sgml
3899 * doc/visual_index.xml
3900 * src/hildon-defines.c
3902 * src/hildon-helper.c
3903 * src/hildon-range-editor.c: Lots of documentation fixes.
3905 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3907 * examples/hildon-picker-button-multicolumn-example.c
3908 (create_touch_selector): Fix compilation warning.
3910 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3912 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3913 (hildon_pannable_area_button_release_cb)
3914 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3916 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3918 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3921 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3923 * src/hildon-bread-crumb-trail.h
3924 * src/hildon-date-editor.c
3925 * src/hildon-date-selector.c
3926 * src/hildon-pannable-area.c
3927 * src/hildon-picker-dialog.c
3928 * src/hildon-time-selector.c
3929 * src/hildon-touch-selector-entry.c
3930 * src/hildon-touch-selector.c
3931 * src/hildon-touch-selector.h: Misc documentation fixes
3933 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3935 * examples/hildon-date-editor-example.c (main): Updated date
3938 * examples/hildon-note-example.c (on_confirmation_clicked):
3939 Updated confirmation note example.
3941 * src/hildon-date-editor.c
3942 * src/hildon-note.c: Updated sample programs in documentation.
3945 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3947 * src/hildon-date-button.h:
3948 * src/hildon-picker-button.h:
3949 * src/hildon-time-button.c:
3950 * src/hildon-time-button.h:
3952 Some declarations changes to allow gtk-doc to document the widgets
3955 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3957 * src/hildon-date-button.c: Document the widget.
3958 * src/hildon-time-button.c: Document the widget.
3960 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3962 * src/hildon-picker-button.c: Document the widget.
3963 * src/hildon-touch-selector-entry.c: Document the widget.
3965 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3967 * doc/hildon-docs.sgml
3970 * src/hildon-check-button.h
3971 * src/hildon-check-button.c: New functions to create the Hildon
3975 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3977 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3979 * src/hildon-button.h
3980 * src/hildon-button.c
3981 (hildon_button_add_title_size_group)
3982 (hildon_button_add_value_size_group)
3983 (hildon_button_add_image_size_group)
3984 (hildon_button_add_size_groups): New functions to set size groups
3985 for the button labels and image.
3986 (hildon_button_new_full): Removed
3988 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3990 * src/hildon-time-selector.c
3991 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3992 in order to avoid a crash if gconf is not available
3994 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3996 * src/hildon-button.c (hildon_button_set_arrangement)
3997 (hildon_button_construct_child): Don't construct the button child
3998 before setting the arrangement.
4000 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4002 * src/hildon-program-private.h
4003 * src/hildon-program.c
4004 * src/hildon-program.h
4005 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4006 (hildon_program_peek_window_stack)
4007 (hildon_program_pop_window_stack)
4008 (hildon_program_go_to_root_window): HildonProgram now has a
4009 separate list for stackable windows. Functions are provided to
4010 manage that list with a stack-like API.
4012 * src/hildon-stackable-window.c: Stackable window management is
4013 now much simpler with the new HildonProgram API. Windows no
4014 longer need to be manually added to the program, they're
4015 automatically pushed to the top of the stack when shown.
4017 * examples/hildon-stackable-window-example.c: Updated example to
4018 reflect the API changes.
4020 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4022 * src/hildon-touch-selector.c: Comment out unimplemented
4023 hildon_touch_selector_insert_column() to avoid a compile warning.
4025 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4027 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4028 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4029 (hildon_touch_selector_set_column_selection_mode),
4030 (_hildon_touch_selector_set_model),
4031 (hildon_touch_selector_set_model):
4033 Complete review of HildonTouchSelector documentation.
4035 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4037 * doc/hildon-docs.sgml
4041 * src/hildon-gtk.c: Convenience functions for standard Gtk
4042 widgets, used to easily perform frequent operations.
4044 * src/hildon-button-helpers.h
4045 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4047 * src/hildon-helper.h
4048 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4049 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4051 * src/hildon-button.h
4052 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4054 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4056 * src/hildon-button.c (hildon_button_init)
4057 (hildon_button_set_arrangement, hildon_button_construct_child):
4058 Pack the image and the labels inside the same GtkAlignment so
4059 gtk_button_set_alignment() can be used
4061 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4063 * src/hildon-button.h
4064 * src/hildon-button.c
4065 (hildon_button_init, hildon_button_set_image)
4066 (hildon_button_set_image_position)
4067 (hildon_button_construct_child): New functions to add an image to
4070 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4072 * src/hildon-date-button.c
4073 * src/hildon-picker-button.c
4074 * src/hildon-time-button.c
4075 * src/hildon-button.c:
4076 (hildon_button_class_init): "size-flags" renamed to "size"
4077 (hildon_button_set_title): Hide the title label if set to NULL.
4079 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4081 HildonButtonFlags split into HildonButtonArrangement (to set the
4082 button layout) and HildonSizeType (which can be used for any
4085 * src/hildon-button.h
4086 * src/hildon-button.c
4087 (hildon_button_class_init)
4088 (hildon_button_set_arrangement)
4089 (hildon_button_set_property): New "size-flags"
4090 property. "arrangement-flags" renamed to "arrangement".
4091 (hildon_button_new, hildon_button_new_with_text)
4092 (hildon_button_new_full): Constructors updated to reflect type changes.
4094 * src/hildon-helper.h
4095 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4096 to set the size of a widget.
4100 * src/hildon-button-helpers.c
4101 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4103 * src/hildon-date-button.c
4104 * src/hildon-date-button.h
4105 * src/hildon-picker-button.c
4106 * src/hildon-picker-button.h
4107 * src/hildon-time-button.c
4108 * src/hildon-time-button.h: Updated widgets to reflect
4109 HildonButton API changes.
4111 * examples/hildon-button-example.c
4112 * examples/hildon-date-button-example.c
4113 * examples/hildon-picker-button-example.c
4114 * examples/hildon-picker-button-multicolumn-example.c
4115 * examples/hildon-time-button-example.c
4116 * examples/hildon-touch-selector-entry-example.c
4117 * examples/hildon-touch-selector-example.c: Updated examples to
4118 reflect HildonButton API changes.
4120 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4122 * doc/hildon-docs.sgml:
4124 * examples/Makefile.am:
4125 * examples/hildon-touch-selector-entry-example.c:
4127 * src/hildon-touch-selector-entry.c:
4128 * src/hildon-touch-selector-entry.h:
4131 Moved HildonTouchSelectorEntry from sandbox. Added its
4132 documentation and examples.
4134 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4136 * src/hildon-touch-selector.h:
4137 * examples/hildon-picker-button-multicolumn-example.c:
4138 (hildon_touch_selector_append_text_column): Add a gboolean
4139 parameter to determine if text must be centered in the column.
4141 * src/hildon-date-selector.c: (hildon_date_selector_init):
4142 * src/hildon-time-selector.c: (hildon_time_selector_init):
4143 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4144 (create_touch_selector): Update widgets and example to reflect
4147 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4149 * src/hildon-touch-selector.c:
4150 (hildon_touch_selector_set_active_iter): Set also the cursor in
4153 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4155 * doc/hildon-docs.sgml
4158 * src/hildon-toggle-button.c
4159 * src/hildon-toggle-button.h
4160 * src/hildon.h: Removed HildonToggleButton widget, a derived
4161 class is not necessary for this.
4163 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4165 * src/hildon-pannable-area.c,
4166 (hildon_pannable_area_realize),
4167 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4170 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4172 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4173 "done" button the default widget for the dialog.
4175 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4177 * src/hildon-touch-selector.c:
4178 (hildon_touch_selector_class_init),
4179 (hildon_touch_selector_get_property),
4180 (_hildon_touch_selector_set_model),
4181 (_hildon_touch_selector_has_multiple_selection),
4182 (hildon_touch_selector_has_multiple_selection):
4183 Add a "has-multiple-selection" property with a virtual
4184 has_multiple_selection() method to allow derived classes to
4185 override the default value for it. See the method and property
4186 documentation for details.
4188 * src/hildon-touch-selector.h: Add the new API.
4190 * src/hildon-picker-dialog.c: (requires_done_button): Call
4191 hildon_touch_selector_has_multiple_selection() instead of
4192 determining the need for a button itself.
4194 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4196 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4197 (_hildon_touch_selector_set_model),
4198 (hildon_touch_selector_set_model): Move working code to
4199 _hildon_touch_selector_set_mode(). Call the class method instead.
4201 * src/hildon-touch-selector.h: Add (*set_model) to
4202 HildonTouchSelectorClass.
4204 Make hildon_touch_selector_set_model() a virtual method, so that
4205 derived classes can extend it and do fancy stuff with the model.
4207 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4209 * configure.ac: Set back the tarname in AC_INIT to hildon.
4211 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4215 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4216 instead of libesd (NB#86876). Volume handling is still an open issue.
4218 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4221 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4223 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4224 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4225 derived class to ease placement of an entry widget in
4226 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4227 end, where the selector columns are packed now.
4229 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4231 * src/hildon-picker-button.c: Removed the simple _text() API.
4232 * src/hildon-picker-button.h: Likewise.
4234 * src/hildon-touch-selector.h:
4235 * src/hildon-touch-selector.c:
4236 (hildon_touch_selector_new_text),
4237 (hildon_touch_selector_append_text),
4238 (hildon_touch_selector_prepend_text),
4239 (hildon_touch_selector_insert_text):
4241 Moved the simple _text() API from HildonPickerButton to
4242 HildonTouchPicker, to provide better escalability and not to tie
4243 that API to HildonPickerButton.
4245 * examples/hildon-picker-button-example.c: (main): Example updated.
4247 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4249 * src/hildon-button.c: Updated documentation.
4251 * examples/hildon-button-example.c: Add the posibility to create
4252 the buttons using horizontal layout for title and value.
4254 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4256 * src/hildon-app-menu-private.h
4257 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4258 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4259 GtkSizeGroup for the filters, use the 'homogeneous' property of
4262 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4264 * examples/hildon-button-example.c: Updated example.
4266 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4268 * doc/hildon-docs.sgml:
4271 Update documentation.
4273 * examples/Makefile.am: Update renamed examples.
4275 * examples/hildon-picker-button-multicolumn-example.c:
4276 (create_touch_selector), (main): Update after the rename.
4278 * examples/hildon-touch-picker-example.c: Removed.
4279 * examples/hildon-touch-selector-example.c: (value_changed),
4280 (create_selector), (get_visible_content), (main): Renamed from
4281 hildon-touch-picker-example.c
4283 * src/Makefile.am: Updated renamed files.
4285 * src/hildon-date-button.c: (hildon_date_button_init),
4286 (hildon_date_button_get_date), (hildon_date_button_set_date):
4287 * src/hildon-date-selector.c: (hildon_date_selector_init),
4288 (_custom_print_func), (_update_day_model),
4289 (_manage_selector_change_cb),
4290 (hildon_date_selector_select_current_date),
4291 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4292 * src/hildon-date-selector.h:
4293 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4294 (hildon_picker_button_set_property),
4295 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4296 (hildon_picker_button_init), (hildon_picker_button_new_text),
4297 (hildon_picker_button_append_text),
4298 (hildon_picker_button_prepend_text),
4299 (hildon_picker_button_insert_text),
4300 (hildon_picker_button_set_selector),
4301 (hildon_picker_button_get_selector):
4302 * src/hildon-picker-button.h:
4303 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4304 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4305 (_update_title_on_selector_changed_cb), (requires_done_button),
4306 (_hildon_picker_dialog_set_selector),
4307 (hildon_picker_dialog_set_selector),
4308 (hildon_picker_dialog_get_selector):
4309 * src/hildon-picker-dialog.h:
4310 * src/hildon-time-button.c: (hildon_time_button_init),
4311 (hildon_time_button_get_time), (hildon_time_button_set_time):
4312 * src/hildon-time-selector.c: (hildon_time_selector_init),
4313 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4314 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4315 * src/hildon-time-selector.h:
4318 Massive code updates after the rename.
4320 * src/hildon-touch-picker.c: Removed.
4321 * src/hildon-touch-picker.h: Removed.
4323 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4324 (hildon_touch_selector_init), (hildon_touch_selector_map),
4325 (hildon_touch_selector_remove), (_default_print_func),
4326 (_selection_changed_cb), (_create_new_column),
4327 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4328 (hildon_touch_selector_append_text_column),
4329 (hildon_touch_selector_remove_column),
4330 (hildon_touch_selector_set_column_attributes),
4331 (hildon_touch_selector_insert_column),
4332 (hildon_touch_selector_get_num_columns),
4333 (hildon_touch_selector_get_column_selection_mode),
4334 (hildon_touch_selector_set_column_selection_mode),
4335 (hildon_touch_selector_set_print_func),
4336 (hildon_touch_selector_get_print_func),
4337 (hildon_touch_selector_get_active_iter),
4338 (hildon_touch_selector_set_active_iter),
4339 (hildon_touch_selector_get_selected_rows),
4340 (hildon_touch_selector_get_model),
4341 (hildon_touch_selector_set_model),
4342 (hildon_touch_selector_get_current_text),
4343 (_hildon_touch_selector_center_on_selected_items):
4344 * src/hildon-touch-selector.h: Renamed from
4345 hildon-touch-picker.[ch]
4347 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4348 references, code examples, and related documentation.
4350 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4352 * doc/hildon-docs.sgml
4355 * src/hildon-toggle-button.c
4356 * src/hildon-toggle-button.h
4357 * src/hildon.h: New HildonToggleButton widget.
4359 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4361 * src/hildon-button.c: Add API documentation.
4362 (hildon_button_set_size_groups): Check input parameters
4364 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4366 * src/hildon-pannable-area.c
4367 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4368 effect after reaching the movement thredshold. This way we start
4369 using the distance after passing the thredshold.
4371 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4373 * src/hildon-button.c: (hildon_button_set_property): Use the
4374 appropriate g_value_get_flags() method.
4376 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4378 * doc/hildon-docs.sgml:
4381 Add the touch pickers, picker dialogs, and picker button widgets
4382 to the documentation.
4384 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4386 * src/hildon-button.c: (hildon_button_set_property),
4387 (hildon_button_class_init): Make "arrangement-flags" a proper
4388 G_TYPE_FLAGS derived property.
4390 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4392 * examples/Makefile.am: Add below examples.
4393 * examples/hildon-date-button-example.c:
4394 * examples/hildon-picker-button-example.c:
4395 * examples/hildon-picker-button-multicolumn-example.c:
4396 * examples/hildon-time-button-example.c:
4397 * examples/hildon-touch-picker-example.c:
4399 Add examples for the recently added touch pickers,
4400 picker dialogs, and picker button widgets.
4402 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4404 * src/hildon-button.c: Add some API documentation
4406 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4408 * src/hildon-button.h
4409 * src/hildon-button.c
4411 (hildon_button_new_with_text): New constructor to create a button
4412 with no text at all.
4413 (hildon_button_init, hildon_button_set_arrangement)
4414 (hildon_button_set_title, hildon_button_set_value)
4415 (hildon_button_set_text)
4416 (hildon_button_construct_child): Hide the value when it's not used
4417 so the rest of the text is properly aligned.
4418 Allow creating buttons with arbitrary widgets inside (not just
4419 title/value labels).
4421 * examples/hildon-button-example.c (vertical_buttons_window)
4422 (horizontal_buttons_window): Update example to use new API.
4424 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4426 * src/Makefile.am: Added HildonTimeButton.
4427 * src/hildon-time-button.c: Added missing LGPL header.
4428 * src/hildon-time-button.h: Added missing LGPL header.
4429 * src/hildon.h: Add hildon-time-button.h
4431 Copied HildonTimeButton from sandbox to trunk. Future work on this
4432 widget must take place in trunk.
4434 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4436 * src/Makefile.am: Added HildonDateButton.
4437 * src/hildon-date-button.c: Update includes.
4438 * src/hildon.h: Add hildon-date-button.h
4440 Copied HildonDateButton from sandbox to trunk. Future work on this
4441 widget must take place in trunk.
4443 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/Makefile.am: Added HildonPickerButton.
4446 * src/hildon-picker-button.h: Update includes.
4447 * src/hildon.h: Add hildon-picker-button.h
4449 Copied HildonPickerButton from sandbox to trunk. Future work on
4450 this widget must take place in trunk.
4452 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4454 * src/Makefile.am: Added HildonPickerDialog.
4455 * src/hildon-picker-dialog.c: Update includes.
4456 * src/hildon.h: Add hildon-picker-dialog.h
4458 Copied HildonPickerDialog from sandbox to trunk. Future work
4459 on this widget must take place in trunk.
4461 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4463 * src/Makefile.am: Added HildonTimeSelector.
4464 * src/hildon.h: Add hildon-time-selector.h
4466 Copied HildonTimeSelector widget from sandbox to trunk. Future
4467 work on this widget must happen in trunk.
4469 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4471 * src/Makefile.am: Added HildonDateSelector.
4472 * src/hildon.h: Add hildon-date-selector.h
4474 Copied HildonDateSelector widget from sandbox to trunk. Future
4475 work on this widget must happen in trunk.
4477 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4479 * src/Makefile.am: Added HildonTouchPicker.
4480 * src/hildon-touch-picker.c: Update includes.
4481 * src/hildon.h: Add hildon-touch-picker.h
4483 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4484 on this widget must happen in trunk.
4486 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4488 * src/hildon-pannable-area.c:
4489 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4491 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4493 * examples/hildon-app-menu-example.c (main): Let the window
4496 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4498 * src/hildon-pannable-area.c
4499 (hildon_pannable_area_class_init): Set the min value of the
4500 overshoot properties to zero, which points out that not
4501 overshooting allowed.
4503 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4505 Modified the procedure to get the widget at a point inside the
4506 pannable area when using the movement type signals. Now the user
4507 has to call a function to get the child, that way we just
4508 calculate the child in case the user really want to use it and not
4511 * src/hildon-marshalers.list: Modified the marshallers, now we do
4512 not have the widget as a parameter.
4514 * src/hildon-pannable-area.c
4515 (hildon_pannable_area_motion_notify_cb),
4516 (hildon_pannable_area_class_init),
4517 (hildon_pannable_get_child_widget_at): Removed the widget
4518 parameter from the signal callback. We have also refactored the
4519 emission of the signals.
4521 * src/hildon-pannable-area.h: Added a new method to the API to
4522 calculate a widget at a point inside the pannable area,
4523 hildon_pannable_get_child_widget_at.
4525 * examples/hildon-pannable-area-example-4.c
4526 (horizontal_movement): Modified the example to use the new API,
4527 added condition to control which widget is under the event. This
4528 way we can avoid scrolling laterally over other widgets.
4530 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4532 * src/hildon-pannable-area.c
4533 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4534 modes, we stop getting the pointer events due to returning the
4535 callback without properly calling the get pointer again. Fixed
4536 also an error using the hscroll and vscroll.
4538 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4540 * src/hildon-app-menu-private.h
4541 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4542 (hildon_app_menu_button_release, hildon_app_menu_init)
4543 (hildon_app_menu_class_init): Don't hide the menu on button
4544 release if the user didn't press outside first.
4546 * src/hildon-window.h
4547 * src/hildon-window.c (hildon_window_toggle_menu)
4548 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4549 hildon_window_toggle_menu a virtual function for the stackable
4550 window to override it.
4552 * src/hildon-stackable-window.h
4553 * src/hildon-stackable-window-private.h
4554 * src/hildon-stackable-window.c
4555 (hildon_stackable_window_realize)
4556 (hildon_stackable_window_finalize)
4557 (hildon_stackable_window_class_init)
4558 (hildon_stackable_window_init)
4559 (hildon_stackable_window_set_main_menu): New function to set the
4560 app menu of a HildonStackableWindow.
4562 * examples/hildon-app-menu-example.c: Remove the button to show
4563 the app menu, now it'll be shown when clicking on the title bar
4566 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4568 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4569 set the widget name if the arrangement flags do not specify
4572 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4574 * src/hildon-button.c: (hildon_button_set_property),
4575 (hildon_button_class_init), (hildon_button_new_full),
4576 (hildon_button_set_arrangement): Added "arrangement-flags"
4579 Make the HildonButtonFlags a construction-only property, to allow
4580 subclasses to set them properly.
4582 2008-07-21 Tim Janik <timj@imendio.com>
4584 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4585 insertion position after backspace, so additional digits are appended,
4588 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4590 * src/hildon-pannable-area.c,
4591 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4592 TODO list, it was complete and removed the g_debug and g_print
4595 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4597 Added the movement modes to the hildon-pannable-area, with this
4598 modes the developers can control in which directions the widget
4599 can scroll. They can also connect to signals in order to do
4600 something when that happens, allowing applications scroll. There
4601 is an example uploaded showing how to use it.
4603 * examples/Makefile.am:
4604 * examples/hildon-pannable-area-example-4.c: Added this example of
4605 an application using the modes.
4607 * src/hildon-marshalers.list: Added a new marshaller for the new
4610 * src/hildon-pannable-area.h: Added new enumerations and flags in
4611 order to control the movement modes and the new signals to warn
4612 about the movements in the area.
4614 * src/hildon-pannable-area.c:
4615 (hildon_pannable_axis_scroll),
4616 (hildon_pannable_area_scroll),
4617 (hildon_pannable_area_motion_notify_cb),
4618 (hildon_pannable_area_get_property),
4619 (hildon_pannable_area_set_property),
4620 (hildon_pannable_area_map),
4621 (hildon_pannable_area_class_init),
4622 (hildon_pannable_area_init),
4623 (hildon_pannable_area_jump_to): Added the modes to control the
4624 movement in the widget. We have added properties to control it,
4625 signals to warn about the movements and refactored some code.
4627 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4629 Changes required in order to allow vfast_factor set to zero to
4632 * src/hildon-pannable-area.c:
4633 (hildon_pannable_area_button_press_cb): Changed the condition, it
4634 is required for not allowing click when vfast_factor is zero.
4635 (hildon_pannable_area_timeout): Initialized velocity variables
4636 when we stop moving, it was less than 1 but not zero and we need
4637 to check zero in some situations.
4638 (hildon_pannable_area_class_init): Changed the default value of
4639 the speed factor, now the button_press is just sent in case the
4640 speed is 2 per cent of the max speed.
4641 (hildon_pannable_area_init): Initialization with 0.
4643 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4645 * src/hildon-pannable-area.c,
4646 (hildon_pannable_area_get_topmost): replaced
4647 gdk_window_get_children with gdk_window_peek_children, this way we
4648 do not have to free the list because it is not a copy.
4650 (hildon_pannable_axis_scroll),
4651 (hildon_pannable_area_scroll),
4652 (hildon_pannable_area_timeout),
4653 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4654 two parameters that were only used inside the
4655 hildon_pannable_area_scroll function.
4657 * examples/hildon-pannable-area-example.c,
4658 (get_sawtooth_label): Fixed small memory leak.
4660 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4662 More checks for the case where the overshoot is bigger than the
4665 * src/hildon-pannable-area.c:
4666 (hildon_pannable_draw_vscroll),
4667 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4668 to draw the slider of the scrollbar under the other scrollbar.
4669 (hildon_pannable_area_expose_event): added new checks to control
4670 the drawing of the overshooting area rectangle, in case it is too
4671 big for the area of the widget.
4672 (hildon_pannable_area_size_allocate): add more checks to avoid
4673 setting a position to the child widget outside the area.
4675 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4677 * src/hildon-pannable-area.c
4678 (hildon_pannable_area_size_allocate): Added conditions to control
4679 when overshooting is bigger than the allocated space for the
4680 children, this avoids negative allocations.
4682 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4684 * doc/hildon-docs.sgml
4686 * examples/Makefile.am
4687 * examples/hildon-button-example.c
4689 * src/hildon-button.c
4690 * src/hildon-button.h
4691 * src/hildon.h: Initial version of the new HildonButton widget,
4694 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4696 * src/hildon-pannable-area.c:
4697 (hildon_pannable_area_button_press_cb),
4698 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4699 (hildon_pannable_area_motion_notify_cb),
4700 (hildon_pannable_area_button_release_cb),
4701 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4702 (hildon_pannable_area_jump_to_child):
4704 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4706 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4708 * examples/Makefile.am
4709 * examples/hildon-pannable-area-touch-grid-example.c
4710 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4711 the Hildon Touch List and Hildon Touch Grid using the
4712 HildonPannableArea widget.
4714 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4716 * src/hildon-pannable-area.c,
4717 (hildon_pannable_area_button_press_cb),
4718 (hildon_pannable_area_refresh),
4719 (hildon_pannable_area_scroll),
4720 (hildon_pannable_area_motion_notify_cb),
4721 (hildon_pannable_area_button_release_cb),
4722 (hildon_pannable_area_expose_event),
4723 (hildon_pannable_area_add),
4724 (hildon_pannable_area_remove),
4725 (hildon_pannable_area_realize),
4726 (hildon_pannable_area_size_allocate),
4727 (hildon_pannable_area_class_init),
4728 (hildon_pannable_area_init),
4729 (hildon_pannable_area_scroll_to_child),
4730 (hildon_pannable_area_jump_to_child): Fixed the problem of
4731 removing the child from the GtkBin, we have rearranged the widget
4732 hierarchy, now there is no GtkAlignment which was not doing
4733 anything interesting but breaking some of the assumptions of
4734 GtkContainer. Now developers if they want to add a GtkAlignment
4735 they could, but it is not inside the area.
4737 We had to review the whole allocation/expose process, now it is
4738 improved and we save at least three signals which would be saving
4739 some time when rendering the widget. The allocation of the
4740 scrollbars is now made in the allocate method as usual.
4742 We have also added some conditions in order to control when there
4743 is no child of the pannable area. Maybe we will need more work
4746 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4748 * src/hildon-pannable-area.c,
4749 (hildon_pannable_area_dispose): Released the fade-out timeout when
4750 disposing the widget.
4752 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4754 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4755 zero, we are going to use that property in order to deactivate the
4757 (hildon_pannable_axis_scroll),
4758 (hildon_pannable_area_size_allocate): Added conditions to control
4759 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4760 call, now it is called in all situations and we can remove calls
4761 in the allocate method.
4762 (hildon_pannable_area_map): Control the situation when
4763 overshoot_max is zero, we do not need the timeout.
4764 (hildon_pannable_area_class_init): Added documentation in order to
4765 point out that setting zero to overshoot_max means deactivate
4768 NOTE: removed trailing whitespaces from my previous comments of
4771 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4773 * src/hildon-pannable-area.c
4774 (hildon_pannable_area_get_property),
4775 (hildon_pannable_area_set_property),
4776 (hildon_pannable_area_map),
4777 (hildon_pannable_area_class_init),
4778 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4779 to cause the widget give a hint about its panning abilities upon
4782 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4784 * src/hildon-pannable-area.c: Several documentation improvements.
4786 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4788 * src/hildon-program.c
4789 * src/hildon-stackable-window.c: Update documentation.
4791 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4793 * src/hildon-stackable-window.c (get_previous_window_if_last):
4794 Renamed get_last_window()
4795 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4796 (hildon_stackable_window_unset_program):
4798 (get_previous_window_if_last):
4799 Detect if the window hasn't been added to a HildonProgram.
4801 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4803 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4805 * src/hildon-pannable-area.c
4806 (hildon_pannable_area_button_press_cb),
4807 (hildon_pannable_axis_scroll),
4808 (hildon_pannable_area_scroll),
4809 (hildon_pannable_area_timeout),
4810 (hildon_pannable_calculate_vel_factor),
4811 (hildon_pannable_area_get_property),
4812 (hildon_pannable_area_set_property),
4813 (hildon_pannable_area_class_init),
4814 (hildon_pannable_area_init),
4815 (hildon_pannable_area_scroll_to),
4816 (hildon_pannable_area_jump_to),
4817 (hildon_pannable_area_scroll_to_child),
4818 (hildon_pannable_area_jump_to_child):
4819 * src/hildon-pannable-area.h: Added the new API functions:
4820 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4821 hildon_pannable_area_scroll_to_child,
4822 hildon_pannable_area_jump_to_child
4825 * examples/Makefile.am
4826 * examples/hildon-pannable-area-example-2.c
4827 * examples/hildon-pannable-area-example-3.c: Added these two new
4828 examples in order to test and show how the new APIs work.
4830 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4832 * examples/hildon-stackable-window-example.c (new_window):
4833 * src/Makefile.am (noinst_HEADERS):
4834 * src/hildon-program.c (hildon_program_go_to_root_window):
4835 * src/hildon-program.h:
4836 * src/hildon-stackable-window-private.h:
4837 * src/hildon-stackable-window.c:
4838 * src/hildon-stackable-window.h:
4839 Create hildon-stackable-window-private.h
4840 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4842 * examples/hildon-app-menu-example.c (create_menu):
4843 * examples/hildon-hvolumebar-insensitive-example.c (main):
4844 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4845 * examples/hildon-toolbar-seekbar-example.c (main):
4846 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4847 * src/hildon-banner.c (hildon_banner_set_property):
4848 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4849 Fix compilation warnings
4851 * src/hildon-window.c:
4854 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4856 * src/hildon-stackable-window.c
4857 (hildon_stackable_window_unset_program):
4858 Calculate correctly whether to show the previous window if the
4859 last one is removed from the stack.
4860 (hildon_stackable_window_go_to_root_window):
4861 Send delete events starting from the topmost window.
4862 Stop if one of the windows is not destroyed.
4864 (hildon_stackable_window_delete_event)
4865 (hildon_stackable_window_class_init):
4866 Ignore the delete event if the window is not the topmost one.
4868 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4870 * src/hildon-pannable-area.c
4871 (hildon_pannable_area_expose_event): Fixed a problem when
4872 selecting the background color of the scrollbars.
4874 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4876 * examples/hildon-stackable-window-example.c
4877 * src/hildon-stackable-window.c
4878 * src/hildon-stackable-window.h
4879 hildon_stackable_window_go_home() renamed to
4880 hildon_stackable_window_go_to_root_window()
4881 Send delete events to windows rather than closing them with
4882 gtk_widget_destroy()
4884 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4886 * src/hildon-pannable-area.c
4887 (hildon_pannable_area_button_release_cb): Fix overshooting in
4890 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4892 * src/hildon-pannable-area.c
4893 (hildon_pannable_area_init): Initially show the scroll indicators.
4894 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4896 Add initial effect showing the widget is pannable.
4898 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4900 * src/hildon-pannable-area.c
4901 (hildon_pannable_area_class_init)
4902 (hildon_pannable_area_set_property)
4903 (hildon_pannable_area_get_property)
4904 (hildon_pannable_area_button_press_cb):
4905 New 'velocity_fast_factor' property to decide which velocity is
4908 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4910 * src/hildon-pannable-area.c
4911 (hildon_pannable_draw_hscroll)
4912 (hildon_pannable_draw_vscroll):
4913 Use float variables to calculate the size of the scrollbars to
4914 avoid error propagation and resizing during scrolling.
4916 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4918 * src/hildon-pannable-area.c
4919 (hildon_pannable_draw_vscroll)
4920 (hildon_pannable_draw_hscroll):
4921 Define a minimum size for the scroll bars
4923 * src/hildon-stackable-window.c
4924 (hildon_stackable_window_go_home): Fix compilation warning
4925 (get_last_window): Minor optimizations
4926 (hildon_stackable_window_class_init): Fix initialization of
4929 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4931 * src/hildon-stackable-window.c: Fixed typos in doc
4933 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4935 * src/hildon-pannable-area.c
4936 (hildon_pannable_area_scroll):
4937 Calculate here whether we need to scroll instead of using the booleans
4938 that tell us whether to /draw/ the scrolling bars.
4940 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4942 * src/hildon-app-menu.h
4944 * src/hildon-app-menu.c
4945 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4946 multiple filter groups related code and API. Now we support only
4948 * examples/hildon-app-menu-example.c:
4950 Update to reflect API changes.
4952 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4954 * src/hildon-stackable-window.c
4955 (hildon_stackable_window_class_init):
4956 Add hildon_stackable_window_realize.
4957 (hildon_stackable_window_realize):
4958 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4959 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4960 to apply theming and behavior specific to HildonStackableWindow
4963 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4965 * src/hildon-note.c (hildon_note_button_release):
4966 Close information notes also when tapping on them
4968 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4970 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4971 ELASTICITY, refactor and review, fix some issues with drawing
4974 * src/hildon-pannable-area.c:
4975 (hildon_pannable_area_button_press_cb): removed the conditions to
4976 avoid clicks when overshooting. It is not required
4978 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4979 define. Refatored and reviewed the code, now we do not need to
4980 manage velocity in motion_notify.
4982 (hildon_pannable_area_motion_notify_cb): We have moved the code
4983 that controls the area_scroll to the axis_scroll function and get
4984 rid of duplicated code.
4986 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4988 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4990 (hildon_pannable_draw_vscroll),
4991 (hildon_pannable_draw_hscroll): Fixed the problems with the
4992 scrollbar drawing, now we do not use two surfaces, it is easier
4993 and saves resources.
4995 (hildon_pannable_area_get_property): Style modification.
4997 (hildon_pannable_area_class_init): Changed some default values.
4999 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5001 * src/hildon-stackable-window.c: Fix some typos in the
5004 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5006 * src/hildon-dialog.c:
5007 Change indentation style
5010 (hildon_note_button_release):
5011 Use root coordinates to check if the release event happened
5014 * src/hildon-app-menu.c
5015 (hildon_app_menu_button_release):
5016 Remove unnecessary check
5018 * examples/hildon-app-menu-example.c
5020 Add cast to fix warning
5022 * src/hildon-app-menu.c
5023 (hildon_app_menu_class_init):
5024 New inner-border style property.
5025 Set all default spacings to 16
5026 (hildon_app_menu_init):
5027 Use vertical-spacing to set the space between filter buttons and
5028 regular menu buttons.
5029 Set the default container border using the inner-border value.
5031 * examples/hildon-app-menu-example.c
5033 Don't set the menu border explicitly, now we have the inner-border
5034 style property for that.
5036 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5038 * src/hildon-app-menu.c (hildon_app_menu_init):
5039 Make the window modal
5041 * src/hildon-note.c (hildon_note_map)
5042 * src/hildon-app-menu.c (hildon_app_menu_map):
5043 Destroy the grab window if we're unable to grab the pointer
5045 * src/hildon-app-menu-private.h
5046 * src/hildon-app-menu.c
5047 (hildon_app_menu_init, hildon_app_menu_finalize)
5048 (hildon_app_menu_map, hildon_app_menu_unmap)
5049 (hildon_app_menu_button_release)
5050 (grab_transfer_window_get):
5051 Bring back the grab window
5052 (hildon_app_menu_realize):
5053 Decorate the window, set WM hint for Matchbox
5055 * src/hildon-note.c (hildon_note_realize):
5056 * src/hildon-banner.c (hildon_banner_realize):
5057 Add WM hints for Matchbox
5059 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5061 * src/hildon-app-menu-private.h
5062 * src/hildon-app-menu.c
5063 (hildon_app_menu_init, hildon_app_menu_finalize)
5064 (hildon_app_menu_map, hildon_app_menu_unmap)
5065 (hildon_app_menu_button_release):
5066 Remove the grab window, it's not needed anymore
5068 * src/hildon-program.c
5069 Fixed typo in documentation
5071 * src/hildon-app-menu.h
5072 * src/hildon-app-menu.c
5073 * examples/hildon-app-menu-example.c
5074 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5076 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5079 Added new transfer_window and close_if_pressed_outside private
5081 (hildon_note_rebuild):
5082 Don't add a cancel button to the information note. It will be
5083 closed when tapping outside
5084 Remove the comment about the OK button in the documentation
5085 (hildon_note_realize):
5086 Set the notification type hint
5087 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5088 Grab/ungrab pointer and keyboard if the note has to be closed when
5090 (hildon_note_button_release):
5091 Close the note when tapping outside (if applicable)
5093 * src/hildon-app-menu.c
5094 Grab/ungrab pointer and keyboard on map/unmap
5095 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5096 Close the menu on button release, not button press
5098 * src/hildon-banner.c
5099 (hildon_banner_set_property)
5100 (hildon_banner_check_position):
5101 Make the banner use the full width of the screen
5102 (hildon_banner_show_information)
5103 (hildon_banner_show_information_with_markup):
5104 Don't display an icon by default
5106 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5108 Added fading scrollbars and adapted all the overshooting code to
5109 horizontal scrolling. We have also fixed bugs with overshooting
5110 and current fading implementation.
5112 * src/hildon-pannable-area.c
5113 (hildon_pannable_area_scroll_indicator_fade): Time out function
5114 used to change the transparency of the scrollbars.
5116 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5117 control and fixed a problem with fading, we now remove the fade
5118 timeout before adding a new one.
5120 (hildon_pannable_axis_scroll):
5121 (hildon_pannable_area_scroll):
5122 (hildon_pannable_area_timeout): Added this functions so we can use
5123 the scroll code both for vertical and horizontal.
5125 (hildon_pannable_area_motion_notify_cb):
5126 (hildon_pannable_area_button_release_cb): Added the horizontal
5127 scrolling control, fixed a problem with the overshooting timeout.
5129 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5130 painting of the scrolls.
5132 (hildon_pannable_draw_vscroll):
5133 (hildon_pannable_draw_hscroll):
5134 (hildon_pannable_area_expose_event):
5135 Draw both scrollbars and rectangles in the overshooting area.
5137 (hildon_pannable_area_get_property):
5138 (hildon_pannable_area_set_property):
5139 Modified the overshoot property to overshoot_max
5141 (hildon_pannable_area_map):
5142 Replaced the comments symbols.
5144 (hildon_pannable_area_size_allocate):
5145 (hildon_pannable_area_class_init):
5146 (hildon_pannable_area_init): Added horizontal scroll, fading
5147 effect properties, fixed a problem when overshooting in the bottom
5150 * examples/hildon-pannable-area-example.c:
5151 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5152 looks better in the example.
5154 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5156 * src/hildon-window.c
5157 * src/hildon-window.h
5158 (hildon_window_class_init)
5159 (hildon_window_unset_program)
5160 (hildon_window_unset_program_real):
5161 Make unset_program a virtual function
5163 * src/hildon-stackable-window.c
5164 * src/hildon-stackable-window.h
5165 Added hildon_stackable_window_go_home()
5167 * examples/Makefile.am
5168 * examples/hildon-stackable-window-example.c
5169 HildonStackableWindow example
5171 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5173 * hildon-pannable-area.c: Added the overshoot property and removed
5174 the OVERSHOOT define. Fixed an indent style error.
5175 (hildon_pannable_area_motion_notify_cb):
5176 (hildon_pannable_area_get_property):
5177 (hildon_pannable_area_set_property): Add overshoot property.
5179 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5182 (hildon_pannable_area_class_init): Installed the new property.
5184 * hildon-pannable-area-example.c: Added a sawtooth function, this
5185 way it is easier to check the movement in the pannable.
5186 (get_sawtooth_label): Added this function.
5187 (main): Now we get the labels from the new get_sawtooth_label
5190 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5192 * src/hildon-app-menu.h
5193 * src/hildon-app-menu.c
5194 Renamed API variables for consistency
5196 (hildon_app_menu_popup): Use also the default window size to
5197 decide where to place the menu
5199 (hildon_app_menu_init, hildon_app_menu_class_init): New
5200 external-border style property
5202 2008-05-26 Michael Natterer <mitch@imendio.com>
5204 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5205 widget_class->tap_and_hold_setup signal slot doesn't exist any
5206 longer, stop overriding it.
5208 (hildon_time_editor_init): g_signal_connect() to the
5209 tap-and-hold-setup signal instead.
5211 (hildon_time_editor_entry_keypress): add cast to fix warning.
5213 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5215 * doc/hildon-docs.sgml
5217 * examples/Makefile.am
5218 * examples/hildon-app-menu-example.c
5220 * src/hildon-app-menu-private.h
5221 * src/hildon-app-menu.c
5222 * src/hildon-app-menu.h
5224 New HildonAppMenu widget
5226 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5228 Rearranged the inheritance of the pannable area, now it inherits
5229 from GtkBin. This will allow us to control the event_window and
5230 the allocation process of the widget, required for some effects.
5232 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5233 GtkBin structures. * src/hildon-pannable-area.c: Added the
5234 event_window variable.
5235 (hildon_pannable_area_button_press_cb):
5236 (hildon_pannable_area_button_release_cb):
5237 (hildon_pannable_area_motion_notify_cb):
5238 Changed the signature of the method, now we override the event
5239 callback instead of connecting to the signal.
5241 (hildon_pannable_area_realize):
5242 (hildon_pannable_area_unrealize):
5243 (hildon_pannable_area_map):
5244 (hildon_pannable_area_unmap):
5245 (hildon_pannable_area_size_allocate):
5246 Added functions to control the widget construction. We add a
5247 INPUT_ONLY window and we put it over the widgets inside the
5248 container, this event_window handles the events.
5250 (hildon_pannable_area_class_init):
5251 Replaced the signal connections with overrides of the event
5254 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5256 Bouncing effect added when touching the borders, you can change
5257 the elasticity of the border changing the ELASTICITY define.
5259 * src/hildon-pannable-area.c: Added ELASTICITY define.
5260 (hildon_pannable_area_timeout): Added inverse velocity when
5261 touching the border of the child widget, that causes a bounce.
5263 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5265 Improved performance, we now do not go to the X server in order to
5266 get the list of window children. Apparently the effect is the
5267 same, we have to be careful and check if this breaks something in
5270 * src/hildon-pannable-area.c:
5271 (get_ordered_children): Removed this function.
5272 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5273 the children windows function with gdk_window_get_children.
5275 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5277 * src/hildon-pannable-area.c:
5278 (hildon_pannable_area_dispose): Fixed a crash when closing the
5279 window and kinetics is activated.
5281 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5283 * src/hildon-pannable-area.h
5284 * src/hildon-pannable-area.c
5285 Changed indentation style to meet the one used in Hildon
5287 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5289 Reviewed the interaction of the AUTO mode, now we use the time
5290 attribute of the events and calculate the velocity in the motion,
5291 doing a gimp like calculation. The velocity is calculated in each
5292 motion event using the last velocity and the current one, the
5293 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5295 * src/hildon-pannable-area.c: Replaced the time based algorithm
5297 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5298 timeout for the AUTO mode when we are still moving the cursor. We
5299 added also the velocity calculation in this function.
5300 (hildon_pannable_area_button_release_cb): launch the timeout in
5301 case we are in AUTO mode. There are still some constants here that
5302 come from the old implementation that should be reviewed and
5305 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5307 * doc/hildon-docs.sgml
5310 * src/hildon-stackable-window.c
5311 * src/hildon-stackable-window.h
5313 New HildonStackableWindow widget
5315 * examples/hildon-dialog-example.c
5316 * examples/hildon-pannable-area-example.c
5319 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5321 * src/hildon-dialog.c
5322 (hildon_dialog_new_with_buttons): New constructor.
5324 * examples/hildon-dialog-example.c
5325 (main): Update the example to use the new
5326 hildon_dialog_new_with_buttons().
5328 * examples/hildon-pannable-area-example.c
5329 (main): Update example.
5331 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5333 * doc/hildon-docs.sgml
5335 Added HildonPannableArea to the documentation.
5337 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5339 * doc/visual_index.xml
5340 Fix reference to HildonLoginDialog in documentation
5342 * doc/hildon-docs.sgml
5344 * examples/Makefile.am
5345 * examples/hildon-dialog-example.c
5347 * src/hildon-dialog.c
5348 * src/hildon-dialog.h
5350 New HildonDialog widget.
5352 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5354 * src/hildon-pannable-area.c
5355 Merge latest changes (r4318, r4342) from libmokoui trunk
5357 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5359 * examples/Makefile.am
5360 * examples/hildon-pannable-area-example.c
5362 * src/hildon-pannable-area.c
5363 * src/hildon-pannable-area.h
5365 New HildonPannableArea widget.
5367 2008-04-15 18:05:19 <timj@imendio.com>
5369 * src/hildon-banner.c: revert the recent change, that introduced
5370 gtk_window_present() calls. this reopens:
5371 Bug 78481 - [freetest] information banners are hidden under browser menu
5372 But resolves another variant of:
5373 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5375 2008-04-15 13:21:13 <timj@imendio.com>
5377 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5378 recreated its layout, spotted by Kris. this fixes all remaining
5379 artefacts and stability issues with the banner code. in particular:
5380 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5382 2008-04-14 16:52:59 <timj@imendio.com>
5384 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5385 operating on unrealized widgets, fixes:
5386 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5388 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5390 2008-04-09 Kristian Rietveld <kris@imendio.com>
5392 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5393 makes banner disappear.
5394 Fixes: NB#79182: info banner flickering with certain message lengts.
5396 * src/hildon-banner.c (hildon_banner_constructor),
5397 (hildon_banner_init), (hildon_banner_set_text),
5398 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5399 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5400 FALSE, reset size requests of label and banner,
5401 (force_to_wrap_truncated): when the text is too wide, always enforce
5402 the maximum possible width instead of recalculating it from the
5403 layout; enforce the maximum banner height of 3 lines,
5404 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5405 nicer wrapping and no truncated chars if space gets tight.
5407 * src/hildon-banner-private.h: add has_been_wrapped and
5408 has_been_truncated fields.
5410 2008-04-07 Sven Herzberg <sven@imendio.com>
5412 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5413 local values in hildon_date_editor_size_allocate
5415 * src/hildon-date-editor.c: moved the real allocation code into the
5418 2008-04-07 Sven Herzberg <sven@imendio.com>
5420 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5421 local values in hildon_date_editor_size_allocate
5423 * src/hildon-date-editor.c: merged the two if() branches together
5425 2008-04-07 Sven Herzberg <sven@imendio.com>
5427 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5428 local values in hildon_date_editor_size_allocate
5430 * src/hildon-date-editor.c: changed the arguments of the if()
5433 2008-04-07 Sven Herzberg <sven@imendio.com>
5435 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5436 local values in hildon_date_editor_size_allocate
5438 * src/hildon-date-editor.c: split the calculation of the allocation
5439 from the real allocation
5441 2008-03-27 Michael Natterer <mitch@imendio.com>
5443 Fixes: NB#81696: The passcode is not overwritten even after
5446 * src/hildon-code-dialog.c
5447 (hildon_code_dialog_button_clicked)
5448 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5449 because that doesn't overwrite selected text. Instead, emit the
5450 "commit" signal on the entry's im_context so the entry's normal
5451 insert logic is triggered. Set the cursor to the end of the entry
5452 after each insert operation so that we *only* insert in the middle
5453 of the text if something was selected.
5455 2008-03-27 Michael Natterer <mitch@imendio.com>
5457 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5458 selector cannot be opened
5460 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5461 when the popup color selector is created. Please connect to this
5462 signal in order to set the dialog's help ID.
5464 2008-03-25 Sven Herzberg <sven@imendio.com>
5466 Fixes: MB#1212: Hide info banners (infoprints) on click
5468 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5469 extracted the close event simulation into an extra function
5470 (hildon_banner_button_press_event): simulate a close event and destroy
5471 the widget if the event wasn't handled
5472 (hildon_banner_class_init): added the button_press_event handler
5473 (hildon_banner_init): added button-press events to the widget
5475 2008-03-25 Sven Herzberg <sven@imendio.com>
5477 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5478 Patch from: Mohammad Anwari <mdamt@maemo.org>
5480 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5481 instead of the right in RTL mode
5482 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5483 breadcrumb button list in RTL mode
5484 * src/hildon-caption.c: mirror the appearance of the caption widget in
5486 * src/hildon-date-editor.c: mirror appearance of the date editor in
5488 * src/hildon-time-editor.c: mirror appearance of the time editor in
5490 * src/hildon-window.c: fix the position of the popup in RTL mode
5492 2008-03-25 Sven Herzberg <sven@imendio.com>
5494 Amendment to the fix of NB#22072. Fix compilation.
5496 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5498 2008-03-19 Sven Herzberg <sven@imendio.com>
5500 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5503 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5504 timeout id properly when the timeout will disappear this leaves no
5505 artifacts around in the destroy(); there will only be the timeout
5506 created by hildon_banner_ensure_timeout() and adding a new timeout
5507 will also work if the timeout gets removed because the timeout_handler
5510 2008-03-19 Michael Natterer <mitch@imendio.com>
5512 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5514 * src/hildon-volumebar.c
5515 * src/hildon-vvolumebar.c
5516 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5517 the widget becomes focussable at all.
5519 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5520 set the focus to wither the mute button or the volumebar.
5522 Remove own "can-focus" property and instead listen to
5523 notify::can-focus in order to update the widget's state.
5525 Implement GtkWidget::focus() and make sure we can also *leave* the
5526 widget, not only enter it, depending on volumebar orientation and
5527 requested focus direction.
5529 Clean up set_mute() to cooperate nicely with all the above.
5531 2008-03-04 Michael Natterer <mitch@imendio.com>
5533 Fixes: NB#78481: information banners are hidden under browser menu
5535 * src/hildon-banner.c: call gtk_window_present() on the banners so
5536 they are risen if they are already visible.
5538 2008-03-03 Sven Herzberg <sven@imendio.com>
5540 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5542 * examples/hildon-window-menu-example.c: (main): extended the window
5543 menu example to serve as a testcase for automatically added
5544 accelerator groups, too
5545 * src/hildon-window.c: (hildon_window_add_accel_group),
5546 (hildon_window_set_menu): added patch by Tommi Komulainen
5548 2008-03-03 Sven Herzberg <sven@imendio.com>
5550 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5552 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5553 knowledge about the border allocators used within GTK+
5555 2008-02-26 Sven Herzberg <sven@imendio.com>
5557 Fixes: MB#2981: Build with asserts broken
5559 * src/hildon-date-editor.c,
5560 * src/hildon-number-editor.c,
5561 * src/hildon-time-editor.c,
5562 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5563 the proper GType instance check
5565 2008-02-25 Sven Herzberg <sven@imendio.com>
5567 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5569 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5570 * examples/hildon-window-menu-example.c: (main): explicitly show
5572 * src/hildon-window.c:
5573 (hildon_window_set_main_menu): moved most of the code from set_menu()
5574 to this place; skipped the call to gtk_widget_show_all(); also didn't
5575 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5576 (hildon_window_set_menu): removed most of the code, just keep the
5577 questionable gtk_widget_show_all()
5578 * src/hildon-window.h: added the new function and deprecate the old
5581 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5587 * debian/changelog: Updating.
5589 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5592 * pkgconfig/Makefile.am:
5593 * pkgconfig/hildon.pc.in:
5596 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5597 use newly created API_MAJOR_VERSION.
5599 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5605 * debian/changelog: Updating.
5607 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5609 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5611 Add outer_border style property, we use it but don't define it (!).
5615 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5617 * examples/hildon-bread-crumb-trail-example.c (main):
5621 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5623 Fix logic for the bread crumb trail node removal.
5627 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5633 * debian/changelog: Updating.
5635 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5637 Patch by Alejandro to get/set passwords dialogs accesibility.
5639 * hildon-1/src/hildon-get-password-dialog.c:
5640 * hildon-1/src/hildon-set-password-dialog.c:
5641 Set atk_set_name to the passwd entries in order to allow
5642 accessibility by name on this entries.
5644 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5649 * debian/control: Updating gtk dep.
5651 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5653 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5654 USE_MAEMO_GTK is enabled.
5656 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5658 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5659 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5661 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5667 * debian/changelog: Updating.
5669 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5671 * examples/Makefile.am:
5672 * examples/hildon-logical-color-example.c:
5673 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5674 applied + adding a test case. Fixes: NB#71660.
5676 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5678 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5679 to be visible, fixes warning on map for windows without toolbars.
5681 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5683 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5684 2.11.0, add a check for that besides the MAEMO_GTK check.
5686 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5692 * debian/changelog: Updating.
5694 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5696 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5697 visibility. Fixes: NB#70842 and MB#615.
5699 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5701 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5702 set the separator as no-show-all so it doesn't unintentionally appear when
5703 someone does a show_all.
5705 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5707 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5708 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5709 toplevel item. Fixes: NB#62031
5711 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5713 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5714 fix the name of the function in the docs.
5716 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5722 * debian/changelog: Updating.
5724 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5726 * examples/hildon-banner-long-example.c: Adding a test-case for long
5729 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5731 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5733 * src/hildon-color-chooser-dialog.c:
5734 * src/hildon-color-chooser.c:
5735 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5736 memory leaks in font selector and color selector. Fixes: NB#70499 and
5739 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5741 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5743 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5745 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5746 little bit bigger. Fixes: #NB63694.
5748 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5754 * debian/changelog: Updating.
5756 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5759 * doc/hildon-docs.sgml:
5760 * doc/images/bread-crumb-trail.png:
5761 * doc/images/calendar-popup.png:
5762 * doc/images/caption.png:
5763 * doc/images/code-dialog.png:
5764 * doc/images/color-button.png:
5765 * doc/images/color-chooser-dialog.png:
5766 * doc/images/color-chooser.png:
5767 * doc/images/controlbar.png:
5768 * doc/images/date-editor.png:
5769 * doc/images/font-selection-dialog.png:
5770 * doc/images/get-password-dialog.png:
5771 * doc/images/hvolumebar.png:
5772 * doc/images/login-dialog.png:
5773 * doc/images/note.png:
5774 * doc/images/number-editor.png:
5775 * doc/images/range-editor.png:
5776 * doc/images/seekbar.png:
5777 * doc/images/set-password-dialog.png:
5778 * doc/images/sort-dialog.png:
5779 * doc/images/time-editor.png:
5780 * doc/images/time-picker.png:
5781 * doc/images/vvolumebar.png:
5782 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5783 Adding the bread-crumb-trial and helpers to the documentation.
5785 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5787 * examples/hildon-find-toolbar-example.c:
5788 * src/hildon-find-toolbar.c:
5789 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5790 actually continue firing the other handlers if connected. Adding a new
5792 hildon_find_toolbar_get_last_index that gets the index of the most
5793 recently added (last) item. Fixes: NB#52301.
5795 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5797 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5798 behaviour. Fixes: NB#68610.
5800 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5802 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5805 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5807 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5808 when realizing the banner. Should make the infonbanner effect a bit more
5811 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5813 * src/hildon-volumebar.c:
5814 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5815 hildon_volumebar_set_range_insensitive_message and
5816 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5818 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5820 * src/hildon-window.c: Fixing the border freeing on destroy.
5822 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5824 * src/hildon-code-dialog-private.h:
5825 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5826 kw keyboard support in HildonCodeDialog.
5828 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5834 * debian/changelog: Updating.
5836 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5838 * src/hildon-date-editor.c:
5839 * src/hildon-number-editor.c:
5840 * src/hildon-private.c:
5841 * src/hildon-private.h:
5842 * src/hildon-time-editor.c:
5843 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5844 handling in subclassed composite widgets. Fixes: NB#66628.
5846 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5848 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5849 from destroy_ callback as it introduces problems in async dbus signal
5850 handlers. Fixes NB#66673.
5852 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5854 * examples/hildon-hvolumebar-example.c:
5855 * src/hildon-volumebar.c: Improving the focus handling in the
5856 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5857 set_property accessor so that "mute" property can be actually set. I'm
5858 scared that nobody noticed it's totally broken.
5860 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5862 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5865 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5867 * src/hildon-calendar.c:
5868 * src/hildon-number-editor.c:
5869 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5870 matches the spec of 6 chars per second. Fixes: NB#60489.
5872 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5874 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5875 gtk_style_lookup_color sometime returns FALSE even though color was
5876 found and values were filled properly. Weird. Removing the warning for the
5879 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5881 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5882 expand vertically. Adding some extra space to the find toolbar buttons to
5883 make them thumbable. Fixes NB#66060.
5885 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5887 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5888 popup with "Ok" and "Cancel". Fixes NB#59299.
5890 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5892 * src/hildon-calendar.c: Process all window updates before executing next
5893 timeout. Fixes: NB#54146.
5895 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5901 * debian/changelog: Updating.
5903 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5905 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5906 the client event and ignore it, since we use the delete event to close
5909 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5911 * src/hildon-helper.c: Remove the bogus warning about color not being
5912 found. Fixes NB#58352.
5914 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5916 * examples/Makefile.am:
5917 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5918 HildonSeekbar widget inside a toolbar.
5920 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5922 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5923 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5924 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5925 don't want to be closed by non-temporary windows on map.
5927 Also use G_DEFINE_TYPE instead of manually typed code.
5929 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5936 * debian/rules: Updating.
5938 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5940 * examples/Makefile.am:
5941 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5942 bug NB#61128. Strangely it works.
5944 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5946 * src/hildon-date-editor.c: When the date editor entry has been changed
5947 but the numbers of characters < max, turn off the skip validation flag.
5948 Prevents a situation when we enter first a valid year and later re-write
5949 it with an invalid one. Fixes NB#60154.
5951 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5953 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5954 code dialog. Fixes NB#64355.
5956 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5958 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5959 switching the page. Fixes NB#49374.
5961 * examples/Makefile.am:
5962 * examples/hildon-wizard-dialog-example.c: Adding an example for
5963 HildonWizardDialog that shows how to handle manual sensitivity setting on
5966 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * src/hildon-version.h.in:
5971 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5973 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5975 * src/hildon-volumebar.c: Updating the docs.
5977 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5983 * debian/changelog: Updating.
5985 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5987 * src/hildon-find-toolbar.c:
5988 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5989 selected item: hildon_find_toolbar_set_active,
5990 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5991 hildon_find_toolbar_get_active_iter . They correspond to respective
5992 GtkComboBox functions.
5994 * examples/Makefile.am:
5995 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5998 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6000 * examples/Makefile.am:
6001 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6004 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6005 when font size > 32 and we pack a focusable widget inside. Actually using
6006 the default response would work too, but since we don't show default
6007 response state in any way (no theming) it would not be visible to the
6008 user. Fixes NB#63430.
6010 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6012 * src/hildon-date-editor.c: Adding the missing variable setter in the
6013 set_property handler. Fixes NB#54182.
6015 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6017 * src/hildon-window.h: Changing the long key press time from 1500ms to
6018 800ms as requested in NB#63700. I have a bad feeling about this, let's
6019 see... Fixes NB#63700.
6021 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6023 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6024 hildon_time_picker_map, hildon_time_picker_realize,
6025 hildon_time_picker_style_set): Split the contents of map to more
6026 appropriate functions; set window decorations on realize and update
6027 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6029 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6034 * debian/changelog: Updating.
6036 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6038 * src/Makefile.am: fixed installation of the header files
6040 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6046 * debian/changelog: Updating.
6048 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6050 * configure.ac: Removing some remaining of --enable-xan.
6052 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6054 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6055 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6057 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6058 2.10.12-osso6 because the move-focus signal needs to be available in
6061 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6063 * examples/Makefile.am:
6064 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6065 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6066 fine. Prolly NB#61128 is fixed now.
6068 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6070 * src/hildon-volumebar.c:
6071 * src/hildon-volumebar.h: Adding the
6072 hildon_volumebar_set_range_insensitive_message and
6073 hildon_volumebar_set_range_insensitive_messagef functions to set
6074 insensitive message on the slider of the volumebar. Fixes NB#61129.
6076 * examples/Makefile.am:
6077 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6078 test the new insensitive messsage functionality on HildonVolumebar.
6080 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6082 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6085 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6087 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6088 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6089 button on after clearing the trail.
6091 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6093 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6095 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6097 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6098 by splitting the installed headers in generated and non-generated groups. Use
6099 only the non-generated headers to create the hildon-enum-types.h file.
6101 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6103 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6105 * src/hildon-window.c: Hide the window before performing the destroy.
6106 Should make the app closing a little tiny bit more snappy.
6108 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6110 * src/hildon-seekbar.c: add gtkrange.h header
6111 * src/hildon-caption.c: remove unused variable
6113 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6115 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6118 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6124 * debian/changelog: Updating.
6126 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6128 * src/hildon-window.c (hildon_window_window_state_event,
6129 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6130 escape timeout on focus-out-event rather than notify::is-topmost; the
6131 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6133 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6135 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6136 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6138 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6140 * src/hildon-window: actually, you need to use the macro always, there's
6141 no private pointer in the instance structure. We should have cleaned this up
6142 when we had the chance...
6144 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6146 * src/hildon-window.c: do not get the private date from HildonWindow before
6147 it passes the g_return_if_fail check. Once it's passed the test, there's no
6148 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6149 if you are only going to access the data once. Whitespace cleanups.
6151 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6153 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6154 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6156 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6162 * debian/changelog: Updating.
6164 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6166 * src/hildon-window.c: When destroying the window, remove (if exists) the
6167 escape timeout handler. Fixes #NB59276.
6169 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6171 * src/hildon-banner.c: When realizing the widget, set the window
6172 transiency. Setting the transiency in the gobject constructor is not
6173 good, as the widget is not realized at that point. Fixes: #NB56624.
6175 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6177 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6178 Add padding for future expansions.
6180 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6182 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6183 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6184 will fake an activation on the previous to the last item of the trail, so
6185 the effect can be overrided by the developer as usual.
6186 Also change the callback for the back button to do the same thing, so its
6187 effect can be overrided too. Fixes: NB#58982
6189 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6191 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6192 HildonCaption. Fixes NB#52379.
6194 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6196 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6197 the internal state of the trail after the user has had the chance of executing
6198 his handler for the signal. Specifically, it may happen that the activated button
6199 is removed and the user still lets the default handler run. This would segfault
6202 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6204 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6205 scrollbar to the preview dialog. Fixes NB#54147.
6207 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6209 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6210 max/min year properties can be altered, so the client can modify it
6211 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6213 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6215 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6216 hildonlike by default. Fixing a problem with disappearing arrows when
6217 scrolling through months and years. Fixes NB#54127.
6219 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6221 * examples/hildon-date-editor-example.c: Adding error callback to the date
6224 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6230 * configure.ac: Updating.
6232 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6234 * configure.ac: Adding a special '--enable-xan' configure option that
6235 turns off the -Werror compilation setting. Usefull for development.
6237 * src/hildon-calendar.c:
6238 * src/hildon-number-editor.c:
6239 * src/hildon-time-picker.c: Adding the 5* multiplier to
6242 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6244 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6245 instead of g_object_ref + gtk_object_sink.
6247 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6253 * debian/changelog: Updating.
6255 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6257 * src/hildon-color-chooser-dialog.c:
6258 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6259 straight from Tommi labs.
6261 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6263 * examples/hildon-finger-example.c: Correcting the header file path.
6265 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6266 the changed signal. Fixes a small memory leak.
6268 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6272 * src/hildon-banner.c: Importing several usefull fixes from the
6273 ubuntu-mobile branch.
6275 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6277 * examples/Makefile.am:
6278 * examples/hildon-finger-example.c: Adding a finger-checking code
6281 * src/hildon-font-selection-dialog.c: Do not allocate the color
6282 structure using the g_new. Fixes NB#54061.
6284 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6286 * src/hildon-helper.c: Correcting tabs in file.
6288 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6290 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6291 control the visibility of the children.
6293 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6295 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6301 * debian/changelog: Updating.
6303 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6305 * src/hildon-bread-crumb-trail.c:
6306 (hildon_bread_crumb_trail_size_allocate):
6308 Make the back button always a square.
6310 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6312 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6313 from the .c file as it's a private file.
6315 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6317 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6318 uses slightly bigger height.
6320 * src/hildon-font-selection-dialog.c: Adding some checks before
6321 freeing memory in the font selection dialog.
6323 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6325 * src/hildon-font-selection-dialog.c: Adding a small check when
6328 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6329 buttons sensitivity on page switching.
6331 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6333 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6334 internal details of adding a bread crumb to the trail.
6336 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6342 * debian/changelog: Updating.
6344 * src/hildon-bread-crumb-trail.h:
6345 * src/hildon-bread-crumb.h: Changing the API guard to
6346 HILDON_ENABLE_UNSTABLE_API.
6348 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6356 * src/hildon-helper.h: Updating.
6358 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6366 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6370 * src/hildon-helper.h: Small fix to make the package actually compile.
6372 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6374 * src/hildon-bread-crumb-trail.h:
6375 * src/hildon-bread-crumb.h:
6377 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6378 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6380 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6382 * examples/hildon-bread-crumb-trail-example.c:
6384 * src/hildon-bread-crumb-trail.c:
6385 * src/hildon-bread-crumb-trail.h:
6386 * src/hildon-bread-crumb.c:
6387 * src/hildon-bread-crumb.h:
6388 * src/hildon-marshalers.list:
6389 * src/hildon-bread-crumb-widget.c:
6390 * src/hildon-bread-crumb-widget.h:
6392 Slight change in the widget design. The bread crumb trail API is
6393 unchanged, but HildonBreadCrumb is now an interface. A *private*
6394 implementation, hildon-bread-crumb-widget, is provided and used
6395 internally by the trail for the push_text/push_icon functions.
6397 The generic push API is still available, so anyone can implement
6398 and use its own bread crumb widget.
6400 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6402 * debian/rules: Fixing the shlibs.
6404 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6406 * src/hildon-banner.c: Fixing a problem with timed banners having
6407 their parrent destroyed before they are.
6409 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6411 * src/hildon-bread-crumb.c:
6412 * src/hildon-bread-crumb.h:
6414 Make the get_natural_size function a vfunc.
6416 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6418 * src/hildon-bread-crumb.c:
6419 * src/hildon-bread-crumb-trail.c:
6423 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6430 * debian/changelog: Updating for release.
6432 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6434 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6435 don't leak the pango layout.
6437 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6440 * examples/hildon-bread-crumb-trail-example.c:
6444 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6446 * debian/changelog: Removing the bug-fixed entries that were actually
6447 resolved as WONTFIX.
6449 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6452 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6454 * src/hildon-bread-crumb-trail.c:
6455 * src/hildon-bread-crumb-trail.h:
6456 * src/hildon-bread-crumb.c:
6457 * src/hildon-bread-crumb.h:
6461 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6463 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6464 until it's passed the type check.
6466 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6468 * examples/hildon-bread-crumb-trail-example.c
6472 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6474 * examples/Makefile.am
6475 * examples/hildon-bread-crumb-trail-example.c
6477 * src/hildon-bread-crumb-trail.c
6478 * src/hildon-bread-crumb-trail.h
6479 * src/hildon-bread-crumb.c
6480 * src/hildon-bread-crumb.h
6482 New HildonBreadCrumbTrail widget.
6484 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6486 * src/hildon-range-editor.c (hildon_range_editor_init),
6487 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6488 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6489 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6490 hildon_time_editor_class_init, hildon_time_editor_init),
6491 src/hildon-get-password-dialog.c (invalid_input,
6492 hildon_get_password_set_property, hildon_get_password_get_property,
6493 create_contents, hildon_get_password_dialog_set_max_characters),
6494 src/hildon-set-password-dialog.c (create_contents),
6495 src/hildon-date-editor.c (hildon_date_editor_init),
6496 src/hildon-login-dialog.c (hildon_login_dialog_init),
6497 src/hildon-number-editor.c (hildon_number_editor_init),
6498 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6499 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6500 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6501 configure option and adding the respective checks in the code.
6502 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6503 hildon_calendar_drag_data_received): fixed some build warnings.
6505 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6507 * debian/changelog: A 1.0.0 release notes.