1 2009-02-24 Alejandro G. Castro <alex@igalia.com>
3 * src/hildon-pannable-area.c,
4 (hildon_pannable_area_class_init),
5 (hildon_pannable_area_motion_notify_cb): Reviewed the default
6 panning parameters, increased SPS and deceleration factor. Added
7 also a margin to control fake directions.
9 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
11 Patch by Sven Herzberg (sven@imendio.com)
13 * configure.ac: Add missing AM_PROG_CC_C_0
14 * tests/Makefile.am: Use an appropriate variable name instead of TESTS.
16 See NB#101420 (Update unit tests and fix make check)
18 2009-02-23 Alejandro G. Castro <alex@igalia.com>
20 This patch was applied before but reverted because it caused
21 problems, we have changed the main condition and tested the
22 regressions we detected before and they work ok. We have done a
23 complete review of the topmost algorithm in order to get a more
26 * src/hildon-pannable-area.c,
27 (hildon_pannable_area_get_topmost): Added a new parameter to
28 filter the the windows that do not include those events.
29 (hildon_pannable_area_button_press_cb),
30 (hildon_pannable_area_button_release_cb),
31 (hildon_pannable_get_child_widget_at): Reviewed the call the the
32 topmost function, we have added the new parameter.
34 Fixes: NB#97458 (Pannable area prevents propagation of button
37 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
39 * src/hildon-picker-dialog.c (+selection_completed): Returns TRUE
40 if all columns in the selector have an item selected.
41 (_on_dialog_response): Stop "response" signal emission if there is
42 any selector column without selected items.
44 Fixes: NB#101889 (Picker dialog should not close when nothing is
45 selected in multiple selection list)
47 2009-02-23 Claudio Saavedra <csaavedra@igalia.com>
49 * src/hildon-font-selection-dialog.c
50 (hildon_font_selection_dialog_class_init),
51 (hildon_font_selection_dialog_init): Remove the preview
52 button and dialog, since previewing with default theming is likely
53 to be overcomplicated. The :preview property has now no effect.
54 Update documentation blurbs to inform about this.
56 Fixes: NB#92297 (Preview content is not clearly visible for
59 2009-02-20 Alejandro G. Castro <alex@igalia.com>
61 Reviewed the geometry that handles the children size and
62 scrollbar, now it tries a size and reviews the results depending
63 on the scrollbars visibility.
65 * src/hildon-pannable-area.c,
66 (hildon_pannable_area_realize): Fixed a typo.
67 (hildon_pannable_area_child_allocate_calculate): Added this
68 function to calculate the child allocation.
69 (hildon_pannable_area_size_allocate): Reviewed the allocation
71 (hildon_pannable_area_check_scrollbars),
72 (hildon_pannable_area_refresh): Refactored refresh function, this
73 way we can call the code handling the scrollbars without causing a
74 size_request, it is interesting in the allocate.
75 (hildon_pannable_area_init): Replace the callbacks of the
76 value_changed and changed signals to propertly deal with the
78 (hildon_pannable_area_grab_notify),
79 (hildon_pannable_area_initial_effect),
80 (hildon_pannable_area_launch_fade_timeout),
81 (hildon_pannable_area_adjust_changed),
82 (hildon_pannable_area_adjust_value_changed),
83 (hildon_pannable_area_redraw),
84 (hildon_pannable_area_button_press_cb),
85 (hildon_pannable_area_button_release_cb),
86 (hildon_pannable_area_scroll_cb),
87 (hildon_pannable_area_scroll_to): Refactor the fade timeout launch
88 code and use the new functions adjust_changed and
91 Fixes: NB#101603 (Focus is not even for the text entry boxes in
92 Contact editor dialog)
94 2009-02-20 Claudio Saavedra <csaavedra@igalia.com>
99 * configure.ac: Bump version.
100 * debian/changelog: Updates.
102 2009-02-20 Alejandro G. Castro <alex@igalia.com>
104 * src/hildon-pannable-area.c,
105 (hildon_pannable_area_get_topmost),
106 (hildon_pannable_area_button_press_cb),
107 (hildon_pannable_area_button_release_cb),
108 (hildon_pannable_get_child_widget_at): Reverted the patch for the
109 topmost function adding the event mask. We have to try a
110 differente approach because it is still causing problems (NB#9745,
113 2009-02-19 Alberto Garcia <agarcia@igalia.com>
115 * src/hildon-banner.c:
116 Update the maximum width of timed banners.
117 (force_to_wrap_truncated): Enforce the maximum text width if the
120 Fixes: NB#102413 (The text margins (wrapping) in information
121 banner should be HILDON_MARGIN_TRIPLE)
123 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
125 Patch by Gabriel Schulhof (gabriel.schulhof@nokia.com)
127 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll),
128 (hildon_pannable_draw_hscroll): Consider the adjustment's lower
129 bound when calculating the scroll indicator position.
131 Fixes: NB#102338 (HildonPannableArea scrolling indicator does not
132 treat ->lower correctly)
134 2009-02-19 Claudio Saavedra <csaavedra@igalia.com>
136 * src/hildon-caption.c (hildon_caption_class_init): Remove the
137 expose event handling, since it is not necessary to draw the focus
140 Fixes: NB#102467 (Do not show highlight on the text in
143 2009-02-18 Alberto Garcia <agarcia@igalia.com>
145 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Use the
146 full height of the toolbar for the button and the label.
148 2009-02-18 Alberto Garcia <agarcia@igalia.com>
150 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Add some
151 padding before the label and after the button.
153 2009-02-18 Alberto Garcia <agarcia@igalia.com>
155 * src/hildon-window.c (paint_edit_toolbar): Fix style detail.
157 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init):
158 Add a GtkVSeparator between the button and the back arrow.
159 Let the button have automatic size.
160 Set a name to the widget for theming handling.
162 Fixes: NB#101793 (Make edit toolbar the same height as window
163 title bar (use title area theming))
165 2009-02-18 Alberto Garcia <agarcia@igalia.com>
167 * src/hildon-helper.c (attach_new_color_element): Fix memory
170 Fixes: NB#102262 (memory leak in hildon_button_set_style())
172 2009-02-18 Alberto Garcia <agarcia@igalia.com>
174 * examples/hildon-button-example.c (common_buttons_window): Don't
177 2009-02-18 Alberto Garcia <agarcia@igalia.com>
179 * src/hildon-pannable-area.c (hildon_pannable_area_class_init):
180 Set default movement mode to HILDON_MOVEMENT_MODE_VERT.
182 2009-02-18 Alberto Garcia <agarcia@igalia.com>
184 * src/hildon-gtk.c: Check that the window is realized.
186 Fixes: NB#102225 (Crash setting the progress indicator to a non
189 2009-02-17 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-pannable-area.c (hildon_pannable_draw_vscroll)
192 (hildon_pannable_draw_hscroll): Make a copy of the graphic context
193 instead of modifying the one in the widget style.
195 Fixes: NB#101043 (Second row of all the command button are
196 displayed in transparent mode.)
198 2009-02-17 Alberto Garcia <agarcia@igalia.com>
200 * src/hildon-date-button.c
201 * src/hildon-time-button.c: Add gettext macros
203 2009-02-16 Claudio Saavedra <csaavedra@igalia.com>
205 * src/hildon-date-button.c (hildon_date_button_new):
206 * src/hildon-time-button.c (hildon_time_button_new_step):
207 Use new logical strings to set the button default title.
209 Fixes: NB#99915 (Date and Time options are not localised in Date
212 2009-02-16 Alejandro G. Castro <alex@igalia.com>
214 * src/hildon-pannable-area.c
215 (hildon_pannable_area_motion_notify_cb): Fixed typo in the name of
216 the PANNING_THRESHOLD.
218 2009-02-16 Alejandro G. Castro <alex@igalia.com>
220 * src/hildon-pannable-area.c,
221 (hildon_pannable_area_class_init): Increased the maximum speed.
222 (hildon_pannable_area_get_property),
223 (hildon_pannable_area_set_property),
224 (hildon_pannable_area_timeout): Added a new low friction mode, it
225 allows the user avoid friction when launching the widget fast
226 enough. It is interesting to traverse long lists.
228 2009-02-16 Alberto Garcia <agarcia@igalia.com>
230 * src/hildon-stackable-window.c (hildon_stackable_window_class_init)
231 (+hildon_stackable_window_delete_event): Ignore delete events if
232 the window is not the topmost one.
234 Fixes: NB#101698 (Back button long press and delete-event handling)
236 2009-02-16 Alejandro G. Castro <alex@igalia.com>
238 * src/hildon-pannable-area.c,
239 (hildon_pannable_area_motion_notify_cb): Removed the use of the
240 gtk-dnd-drag-threshold, it was too big. We have defined our own
241 dnd define and set a smaller value: PANNIG_THRESHOLD.
243 2009-02-16 Alberto Garcia <agarcia@igalia.com>
245 * src/hildon-banner.c (hildon_banner_show_animation): Don't allow
246 user-defined icons, use always the default one.
248 Fixes: NB#101916 (Do not allow custom icons on animation banner)
250 2009-02-13 Alejandro G. Castro <alex@igalia.com>
252 This patch was applied before but reverted because it caused
253 problems, we have changed the main condition and tested the
254 regressions we detected before and they work ok.
256 * src/hildon-pannable-area.c,
257 (hildon_pannable_area_get_topmost): Added a new parameter to
258 filter the the windows that do not include those events. Added
259 also a condition when finding the window to filter windows that do
260 not ask for those events.
261 (hildon_pannable_area_button_press_cb),
262 (hildon_pannable_area_button_release_cb),
263 (hildon_pannable_get_child_widget_at): Reviewed the call the the
264 topmost function, we have added the new parameter.
266 Fixes: NB#97458 (Pannable area prevents propagation of button
269 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
271 * tests/check-hildon-color-button.c (START_TEST): do not leak
274 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
276 * src/hildon-font-selection-dialog.c
277 (hildon_font_selection_dialog_get_preview_text): Return NULL
278 instead of FALSE on the g_return_val_if_fail().
280 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
282 * src/hildon-time-selector.c (hildon_time_selector_set_time):
283 * src/hildon-date-selector.c
284 (hildon_date_selector_select_current_date):
285 Do not compare unsigned integers to be greater than or equal 0,
286 because it's always TRUE.
288 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
290 * src/hildon-date-selector.c (hildon_date_selector_construct_ui),
291 (hildon_date_selector_constructor): Do not select the current
292 date until we are handle the "changed" signal, to avoid having bogus
293 elements in the days model.
295 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
297 * src/hildon-date-selector.c (_update_day_model): Use a gint variable
298 for num_days, since _month_days() can return a negative value.
300 2009-02-13 Claudio Saavedra <csaavedra@igalia.com>
302 * src/hildon-caption.c (hildon_caption_size_allocate):
303 * src/hildon-pannable-area.c (hildon_pannable_area_size_request):
304 * src/hildon-range-editor.c (hildon_range_editor_size_allocate):
306 Initialize allocation variables to 0, to avoid eventually using
307 unitialized variables.
309 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
311 * src/hildon-bread-crumb-trail.c
312 (hildon_bread_crumb_trail_size_allocate):
313 * src/hildon-calendar.c (hildon_calendar_set_background):
314 * src/hildon-caption.c (hildon_caption_hierarchy_changed):
315 * src/hildon-range-editor.c (hildon_range_editor_get_range):
316 * src/hildon-seekbar.c (hildon_seekbar_init):
317 * src/hildon-time-editor.c (hildon_time_editor_get_time):
318 * src/hildon-time-selector.c (hildon_time_selector_finalize):
319 * src/hildon-touch-selector-entry.c
320 (hildon_touch_selector_get_text_from_model):
321 * src/hildon-touch-selector.c (hildon_touch_selector_class_init):
322 * src/hildon-window.c (hildon_window_finalize):
324 Remove many unused variables.
326 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
328 * src/hildon-seekbar.c: (hildon_seekbar_init),
329 (hildon_seekbar_size_request), (hildon_seekbar_size_allocate):
331 Remove unnecessary g_assert() calls.
333 2009-02-12 Claudio Saavedra <csaavedra@igalia.com>
335 * src/hildon-caption.c: (hildon_caption_expose),
336 (hildon_caption_set_property), (hildon_caption_init),
337 (hildon_caption_set_focus), (hildon_caption_hierarchy_changed),
338 (hildon_caption_size_request), (hildon_caption_size_allocate),
339 (hildon_caption_forall), (hildon_caption_set_separator),
340 (hildon_caption_activate), (hildon_caption_set_child_expand),
341 (hildon_caption_set_label_text),
342 (hildon_caption_get_label_alignment):
344 Remove unnecessary g_assert() calls.
346 2009-02-12 Alberto Garcia <agarcia@igalia.com>
348 * src/hildon-banner.c
349 (hildon_banner_map, hildon_banner_init): Make banner temporary
350 before mapping it to avoid closing other temporary windows, but
351 make it non-temporary afterwards to avoid being closed by other
352 non-temporary windows.
353 (-hildon_banner_client_event, hildon_banner_init):
354 _GTK_DELETE_TEMPORARIES doesn't need to be handled anymore.
356 Fixes: NB#100445 (Hildon banner gets destroyed when a dialog is
359 2009-02-11 Alberto Garcia <agarcia@igalia.com>
361 * src/hildon-banner.h: Mark hildon_banner_show_animation() with a
364 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
366 * src/hildon-remote-texture.c
367 * src/hildon-remote-texture.h
368 * src/hildon-remote-texture-private.h
369 * examples/hildon-remote-texture-example.c:
370 Updates/fixes to remote-texture and its example.
372 2009-02-11 Claudio Saavedra <csaavedra@igalia.com>
374 Patch by Mox Soini (ext-mox.soini@nokia.com)
376 * src/hildon-code-dialog.c: Update logical id.
377 * src/hildon-set-password-dialog.c: Update logical id.
379 Fixes: NB#100646 (Logical strings is shown for ok in set
380 password,Password needed dialogs)
382 2009-02-11 Gordon Williams <gordon.williams@collabora.co.uk>
385 * src/hildon-remote-texture.c
386 * src/hildon-remote-texture.h
387 * src/hildon-remote-texture-private.h
389 Added remote texture widget (for Clutter shared memory textures)
391 * examples/hildon-remote-texture-example.c
392 * examples/Makefile.am
393 Added example file for remote texture usage
395 2009-02-10 Claudio Saavedra <csaavedra@igalia.com>
397 * configure.ac: post release version bump.
398 * debian/changelog: version bump.
400 2009-02-06 Claudio Saavedra <csaavedra@igalia.com>
405 * configure.ac: Bump version.
406 * debian/changelog: Updates.
408 2009-02-06 Alberto Garcia <agarcia@igalia.com>
410 * src/hildon-date-selector.c (hildon_date_selector_init)
411 (hildon_date_selector_constructor): Don't connect to the "changed"
412 signal until the selector is completely constructed.
414 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
416 * src/hildon-touch-selector.c: (_create_new_column),
417 (hildon_touch_selector_append_column),
418 (hildon_touch_selector_set_column_selection_mode),
419 (hildon_touch_selector_set_active),
420 (hildon_touch_selector_select_iter):
421 Emit the HildonTouchSelector::changed signal every time selection
422 is changed in any of the methods above. This behavior was already
423 documented but not fully functional.
425 Fixes: NB#93165 (HildonTouchSelector::changed not emitted when the
426 selection is programmatically changed)
428 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
430 * doc/hildon-sections.txt: Remove obsolete icon
431 sizes from here as well.
433 2009-02-05 Alberto Garcia <agarcia@igalia.com>
435 * examples/hildon-stackable-window-example.c (add_window): Remove
438 2009-02-05 Alberto Garcia <agarcia@igalia.com>
440 * src/hildon-app-menu.c
441 (hildon_app_menu_show): Check whether the parent window of a menu
442 is topmost before popping it up.
444 Fixes: NB#100468 (Application menu window is launched even when a
445 new secondary-window/dialog is pending to be shown/realized.)
447 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
449 * examples/hildon-icon-sizes-example.c: (main): Remove obsolete
452 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
454 Patch by Mox Soini (ext-mox.soini@nokia.com)
456 * src/hildon-banner.c: (hildon_banner_show_animation):
457 use stylus size instead of obsolete note size.
458 * src/hildon-defines.h: Update icon sizes.
460 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
462 * src/hildon-touch-selector-entry.c:
463 (hildon_touch_selector_entry_init): Disable unsupported
465 (hildon_touch_selector_entry_get_text_column): Emit a warning
466 if an unsupported input modes is used and explicitile state
467 these modes in the documentation.
469 Fixes: NB#99802 (Hildon touch selector entry not working properly
470 for some of the input modes)
472 2009-02-05 Alejandro G. Castro <alex@igalia.com>
474 * src/hildon-pannable-area.c,
475 (hildon_pannable_area_init): Added the changed signal handlers of
478 Fixes: NB#100320 (HildonPannableArea does not listen to
479 GtkAdjustment "change" signals)
481 2009-02-04 Alberto Garcia <agarcia@igalia.com>
483 * doc/hildon-sections.txt
484 * src/hildon-window-private.h
485 * src/hildon-window.h
486 * src/hildon-window.c (hildon_window_init)
487 (hildon_window_realize, hildon_window_unrealize)
488 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
489 (hildon_window_size_request, hildon_window_size_allocate)
490 (hildon_window_forall, hildon_window_show_all)
491 (hildon_window_destroy, +paint_edit_toolbar)
492 (+hildon_window_set_edit_toolbar):
493 New hildon_window_set_edit_toolbar() method, to add a
494 HildonEditToolbar to a window without having to pack it manually.
496 Reorganize hildon_window_size_allocate()
498 * src/hildon-edit-toolbar.c: Update documentation.
500 * examples/hildon-edit-toolbar-example.c (edit_window): Update
501 example to use the new API.
503 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
505 2009-02-04 Alberto Garcia <agarcia@igalia.com>
507 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
508 Remove from stack before calling parent's hide.
510 2009-02-04 Alberto Garcia <agarcia@igalia.com>
512 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
513 window is removed from the middle of the stack, update the
514 transiency of the previous one.
516 Fixes: NB#100487 (HildonStackableWindow transiency becomes
519 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
521 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
522 block/unblock the signal handler if it's not actually being used.
523 Fixes some critical warnings.
525 2009-02-02 Alberto Garcia <agarcia@igalia.com>
527 Based on a patch by Iván Gómez (igomez@igalia.com)
529 * src/hildon-banner.c
533 * src/hildon-pannable-area.c
534 * src/hildon-picker-dialog.c
535 * src/hildon-wizard-dialog.h
536 * src/hildon-wizard-dialog.c: Documentation updates.
538 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
539 gtk_dialog_add_button() instead of hildon_dialog_add_button().
541 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
543 * configure.ac: post release version bump.
544 * debian/changelog: version bump.
546 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
551 * configure.ac: Bump version.
552 * debian/changelog: Updates.
554 2009-01-29 Alberto Garcia <agarcia@igalia.com>
556 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
557 a stock icon nor change the relief of the back arrow.
559 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
562 2009-01-29 Alberto Garcia <agarcia@igalia.com>
564 * src/hildon-button.c (hildon_button_set_alignment): Use
565 priv->alignment if the button has no child yet.
567 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
569 * src/hildon-button.c: (hildon_button_init): Set the
570 button style during initialization to give it the proper
573 Fixes: NB#99713 (HildonButton value label color is wrong)
575 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
577 * src/hildon-touch-selector.c: Document
578 hildon_touch_selector_center_on_selected()
580 2009-01-28 Alberto Garcia <agarcia@igalia.com>
582 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
583 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
584 all menu items, but not the menu itself.
585 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
586 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
587 items after adding them to the menu so keyboard accelerators work.
588 (hildon_app_menu_show): Don't show the menu if it contains items
589 but none of them are visible.
591 * examples/hildon-app-menu-example.c (create_menu): Use
592 gtk_widget_show_all() to show all menu items.
594 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
596 * src/hildon-picker-dialog.c:
597 (-_update_title_on_selector_changed_cb),
598 (-_dialog_update_title): Removed.
599 (_select_on_selector_changed_cb), (_on_dialog_response),
600 (on_selector_columns_changed): Do not update the dialog title.
601 (setup_interaction_mode): Do not connect to
602 HildonTouchSelector::changed signal if there's a "done" button, as
603 the dialog title doesn't need to be updated.
605 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
608 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
610 Patch by Kristian Rietveld (kris@imendio.com)
612 * src/hildon-touch-selector.c: (_create_new_column): Use new
613 GtkTreeView::hildon-row-tapped signal to react to user interactions
614 instead of ::changed.
616 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
617 with some dynamic tree model)
619 2009-01-27 Alberto Garcia <agarcia@igalia.com>
621 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
622 (+screen_size_changed, +label_size_request)
623 (hildon_note_class_init): Make the Hildon information note have a
624 minimum height, and make its text hvae a maximum width.
626 Fixes: NB#98614 (Hildon information note (background) should have
627 minimum height and maximum text width)
629 2009-01-26 Alberto Garcia <agarcia@igalia.com>
631 * src/hildon-banner.h
632 * src/hildon-banner.c (hildon_banner_show_information)
633 (hildon_banner_show_informationf)
634 (hildon_banner_show_information_with_markup): Update documentation
635 to reflect that the icon_name parameter is not used anymore.
636 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
637 Remove all code from these functions and mark them as deprecated.
638 (hildon_banner_show_progress): Mark as deprecated.
640 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
642 2009-01-26 Alejandro G. Castro <alex@igalia.com>
644 * src/hildon-pannable-area.c,
645 (hildon_pannable_area_class_init),
647 (hildon_pannable_draw_vscroll),
648 (hildon_pannable_draw_hscroll),
649 (hildon_pannable_area_expose_event): Added a new way to render the
650 scrollbars of the pannable area avoiding using cairo at all. This
651 way we improve the performance of the pannable area rendering. The
652 cairo rendering procedure is still in the code, we can control
653 which one to use changing the value of the define
654 USE_CAIRO_SCROLLBARS.
656 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
658 * configure.ac: post release version bump.
659 * debian/changelog: version bump.
661 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
666 * configure.ac: Bump version.
667 * debian/changelog: Updates.
669 2009-01-23 Alberto Garcia <agarcia@igalia.com>
671 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
672 banners instead of destroying them when they receive a button
675 2009-01-23 Alejandro G. Castro <alex@igalia.com>
677 Reverted commit 34028, it was causing regressions, probably the
678 topmost condition is not correct, we have to check it in more
679 detail. We have reponed the bug: NB#97458 (Pannable area prevents
680 propagation of button press events)
682 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
684 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
685 that the selection is not empty before attempting to retrieve the
686 current ampm selection.
688 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
690 * src/hildon-picker-button.c:
691 (hildon_picker_button_on_dialog_response): Directly update the
692 button contents when required instead of calling _selection_changed.
694 2009-01-23 Alberto Garcia <agarcia@igalia.com>
696 * src/hildon-program.c (hildon_program_update_top_most): Update
697 'is-topmost' property also when wm_hints is not set.
699 Fixes: NB#98383 (is-topmost signal is not emitted when task
700 switcher is clicked.)
702 2009-01-23 Alejandro G. Castro <alex@igalia.com>
704 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
708 * src/hildon-animation-actor.c,
709 * src/hildon-animation-actor.h: Added the animation actor class,
710 this widget represents an animation actor for WM-assisted
711 animation effects in the Hildon framework.
713 2009-01-23 Alberto Garcia <agarcia@igalia.com>
715 * src/hildon-window-stack-private.h
716 * src/hildon-window-stack.c
717 * src/hildon-stackable-window.c (hildon_stackable_window_show):
718 Avoid calling gtk_widget_show() again indirectly from
719 hildon_stackable_window_show()
721 2009-01-23 Alberto Garcia <agarcia@igalia.com>
723 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
726 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
728 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
729 (hildon_time_selector_init): Move the construction of the hours and
730 ampm columns to the constructor to preserve the order the columns
733 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
735 * src/hildon-picker-dialog.c:
736 (hildon_picker_dialog_class_init): Connect a realize method.
737 (+hildon_picker_dialog_realize): Setup the interaction mode here
739 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
740 yet, do it during the realize instead.
741 (_on_dialog_response):
742 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
743 if the widget is not realized, to avoid the dialog response before it
746 Avoid premature responses in the HildonPickerDialog that can cause it
747 to be hidden before it's even shown.
749 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
751 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
752 (on_selector_columns_changed), (requires_done_button),
753 (+prepare_action_area), (setup_interaction_mode),
754 (_hildon_picker_dialog_set_selector):
756 Split the interaction mode setup into preparation of the
757 action area (prepare_action_area()) and the connection of
758 the signals in setup_interaction_mode() and update the code to
761 2009-01-22 Alejandro G. Castro <alex@igalia.com>
763 * src/hildon-pannable-area.c,
764 (hildon_pannable_area_class_init): Reduced the amount of scrolls
765 per second to 15, we will check if this is ok regarding
768 2009-01-22 Alejandro G. Castro <alex@igalia.com>
770 * src/hildon-pannable-area.c,
771 (hildon_pannable_axis_scroll): Avoid resize if we already have
772 reached overshoot_max.
774 2009-01-22 Alejandro G. Castro <alex@igalia.com>
776 * src/hildon-pannable-area.c,
777 (hildon_pannable_area_init),
778 (hildon_pannable_area_realize),
779 (hildon_pannable_area_size_allocate),
780 (hildon_pannable_area_map),
781 (hildon_pannable_area_unmap),
782 (hildon_pannable_draw_vscroll),
783 (hildon_pannable_draw_hscroll),
784 (hildon_pannable_area_expose_event),
785 (hildon_pannable_area_refresh): Added a new GdkWindow to the
786 pannable are to avoid the expose events go to the window and
787 redraw the window. We save this way that part of the stack and the
788 paint_boxes. We had to change the positions of the elements when
791 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
793 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
794 * src/hildon-color-chooser-dialog.c:
795 (hildon_color_chooser_dialog_init):
796 * src/hildon-font-selection-dialog.c:
797 (hildon_font_selection_dialog_init),
798 (hildon_font_selection_dialog_show_preview):
799 * src/hildon-get-password-dialog.c:
800 * src/hildon-login-dialog.c:
801 * src/hildon-set-password-dialog.c:
802 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
803 * src/hildon-time-picker.c: (hildon_time_picker_init):
805 Remove obsolete logical string IDs and update to the appropriate ones.
807 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
809 2009-01-21 Alberto Garcia <agarcia@igalia.com>
811 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
812 that happens if the window hasn't been realized yet.
814 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
815 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
817 2009-01-20 Alberto Garcia <agarcia@igalia.com>
819 * src/hildon-app-menu.c (hildon_app_menu_class_init)
820 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
823 Fixes: NB#98537 (Device hangs in account settings dialog)
825 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
827 * configure.ac: post release version bump.
828 * debian/changelog: version bump
830 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
835 * configure.ac: Bump version.
836 * debian/changelog: Updates.
838 2009-01-20 Alejandro G. Castro <alex@igalia.com>
840 Added a new function to the HildonTimeButton widget that allows to
841 change the step of the minutes in the selector associated with the
842 button: hildon_time_button_new_step
844 * src/hildon-time-button.c,
845 (hildon_time_button_init),
846 (hildon_time_button_new),
847 (hildon_time_button_new_step):
848 * src/hildon-time-button.h: Added the new function and refactored
850 * examples/hildon-time-button-example.c,
851 (main): We have replaced the function without parameters with the
852 function with the steps set to 5
854 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
856 2009-01-20 Alejandro G. Castro <alex@igalia.com>
858 * src/hildon-time-selector.c,
859 (hildon_time_selector_class_init),
860 (hildon_time_selector_constructor),
861 (hildon_time_selector_get_property),
862 (hildon_time_selector_set_property),
863 (_create_minutes_model),
864 (hildon_time_selector_new_step),
865 (hildon_time_selector_set_time),
866 * src/hildon-time-selector.h: Added a new property to the
867 HildonTimeSelector (minutes-step), we use that property to control
868 the steps between the minutes in the list of the selector. We have
869 added a new function to the API to create a widget changing the
870 step: hildon_time_selector_new_step.
872 2009-01-20 Alejandro G. Castro <alex@igalia.com>
874 * src/hildon-time-selector.c,
875 (hildon_time_selector_class_init),
876 (hildon_time_selector_constructor),
877 (hildon_time_selector_init): Overrided the construct function when
878 creating the time selector object. We have moved the minutes model
879 handling code from the init to the new construction function:
880 hildon_time_selector_constructor.
882 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
884 * examples/hildon-date-button-example.c: (main): Use the new
885 hildon_date_button_new_with_year_range() method in the example.
886 * src/hildon-date-button.c:
887 (+hildon_date_button_new_with_year_range): New public method
888 to conveniently create a HildonDateButton with a custom year range
889 in its HildonDateSelector.
890 * src/hildon-date-button.h: Add the new public method definition.
892 Fixes: NB#97908 (Not possible to change the year range in
893 HildonDateSelector/HildonDateButton)
895 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
897 * src/hildon-date-selector.c:
898 (+hildon_date_selector_set_property),
899 (+hildon_date_selector_get_property),
900 (hildon_date_selector_class_init): Install new properties "min-year"
901 and "max-year" to define boundaries for the year column.
902 (_create_year_model): Use the boundary properties to populate the model.
903 (+hildon_date_selector_new_with_year_range): New public method to
904 create a HildonDateSelector with a user defined year range.
905 (hildon_date_selector_select_current_date): Use the new boundaries to
906 calculate the iterator of current year.
907 * src/hildon-date-selector.h: Add the new public method definition.
909 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
911 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
912 Install a constructor method.
913 (+hildon_date_selector_construct_ui): construct the widget.
914 (+hildon_date_selector_constructor): new constructor.
915 (+hildon_date_selector_init): move out widget construction code to
918 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
920 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
921 that there's actually a month or year selected before obtaining them.
922 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
923 of the HildonTouchSelector::changed signal, as it was emitted on every
924 single item selection.
926 Fix some warnings and possible crashers due to the selection restoring.
928 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
930 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
931 the signal handlers only after creating the dialog instead of on every
934 2009-01-19 Alberto Garcia <agarcia@igalia.com>
936 * src/hildon-button.c (hildon_button_init)
937 * src/hildon-check-button.c (hildon_check_button_init)
938 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
939 focus when clicked by default.
941 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
943 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
946 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
948 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
949 Alejandro G. Castro (alex@igalia.com)
951 * src/hildon-picker-dialog.c:
952 (hildon_picker_dialog_class_init): install new "center-on-show"
954 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
955 (hildon_picker_dialog_set_property): add setter code for the new
957 (hildon_picker_dialog_get_property): add getter code for the new
959 (hildon_picker_dialog_show): Ensure visibility of selected items in the
960 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
963 Fixes: NB#92849 (Selected item is not always visible when
964 HildonTouchSelector is shown)
966 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
968 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
969 Alejandro G. Castro (alex@igalia.com)
971 * src/hildon-touch-selector.c:
972 (_create_new_column): Do not connect to the "realize" signal of the
974 (hildon_touch_selector_append_column): center on the selected items
975 when a new column is appended.
976 (hildon_touch_selector_select_iter): Factor out the code to select a
977 column to hildon_touch_selector_scroll_to().
978 (+search_nearest_element): Method to retrieve the nearest selected
979 element to the visible area of the pannable area in a column.
980 (+on_realize_cb): scroll to the initially selected item.
981 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
982 the pannable area is realized, otherwise delay this until it is.
983 (+_hildon_touch_selector_center_on_selected_items): Centers on the
984 selected items of a given column.
985 (+hildon_touch_selector_center_on_selected): Public method to center
986 all columns on the nearest selected item.
987 * src/hildon-touch-selector.h: Add definition for
988 hildon_touch_selector_center_on_selected().
990 Implement public API to ensure visibility of all selected items in
991 a HildonTouchSelector.
993 2009-01-16 Alejandro G. Castro <alex@igalia.com>
995 Fixed a problem in the fading when calling the scroll_to API, and
996 improve scrollbar fading handling.
998 * src/hildon-pannable-area.c,
999 (hildon_pannable_area_grab_notify): avoid the timeout when the
1001 (hildon_pannable_area_button_press_cb),
1002 (hildon_pannable_area_motion_notify_cb): Code style changes.
1003 (hildon_pannable_area_button_release_cb): Review the conditions
1004 when releasing the mouse button to avoid unrequired fading
1006 (hildon_pannable_area_scroll_to): Do not calculate and set the
1007 velocity if the scroll is not required.
1009 2009-01-15 Alberto Garcia <agarcia@igalia.com>
1011 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
1012 Don't check whether the new selector is NULL: it cannot be.
1013 Hold a reference to the selector while doing the replacement.
1015 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1017 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1018 unnecessary size_request in a removed widget.
1020 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
1022 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
1023 an unnecessary reference tracking that was leaking.
1025 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1027 Added delayed motion notify event handling, this way we can
1028 discard redrawing if more than 25 events arrive per second.
1030 * src/hildon-pannable-area.c,
1031 (hildon_pannable_area_init): Initialized the new private atributes
1032 controlling this timeout
1033 (hildon_pannable_area_dispose): Remove the timeout that controls
1034 the motion notify events.
1035 (hildon_pannable_area_scroll): Added a condition to control the
1036 use of the acceleration.
1037 (hildon_pannable_area_motion_event_scroll_timeout),
1038 (hildon_pannable_area_motion_event_scroll): Added this two
1039 functions, they handle the motion notify events inside the
1041 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
1042 to the scroll method with the new function.
1043 (hildon_pannable_area_button_release_cb): We have to remove the
1044 timeout handler and move to the last position if the last motion
1045 events were not handled.
1047 Fixes: NB#97028 (Pannable area updates on every motion event)
1049 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1051 * src/hildon-pannable-area.c,
1052 (hildon_pannable_area_get_topmost): Added a new parameter to
1053 filter the the windows that do not include those events. Added
1054 also a condition when finding the window to filter windows that do
1055 not ask for those events.
1056 (hildon_pannable_area_button_press_cb),
1057 (hildon_pannable_area_button_release_cb),
1058 (hildon_pannable_get_child_widget_at): Reviewed the call the the
1059 topmost function, we have added the new parameter.
1061 Fixes: NB#97458 (Pannable area prevents propagation of button
1064 2009-01-15 Alejandro G. Castro <alex@igalia.com>
1066 * src/hildon-pannable-area.c,
1067 (hildon_pannable_area_initial_effect): Added controls before
1068 launching the timeout and the idle functions.
1069 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
1070 of the method, in some situations it can return with TRUE and 0 in
1072 (hildon_pannable_area_button_press_cb): We do not need to set
1073 DELAY for fading out here.
1075 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
1077 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1079 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
1080 post-cleaning if the selection is not NULL.
1082 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1084 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
1085 all items before restoring the selection.
1087 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1089 * src/hildon-touch-selector.c:
1090 (+hildon_touch_selector_unselect_all):
1091 * src/hildon-touch-selector.h: New API to unselect all items in a
1092 column of the touch selector.
1094 2009-01-14 Alejandro G. Castro <alex@igalia.com>
1096 * src/hildon-pannable-area.c,
1097 (hildon_pannable_area_redraw): Added a call to the refresh
1098 function inside the redraw because apparently in some cases the
1099 change in the adjustment does not imply a size allocate.
1101 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
1102 despite the view not being scrollable)
1104 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1106 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
1107 leak. Check for NULL before attempting to set the window title.
1109 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1111 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
1112 whether to show or not the 'Done' button each time the dialog is
1113 shown, as it depends on the HildonTouchSelector selection mode.
1115 Fixes: NB#96226 (In multiple selection mode Done button is shown
1116 sometimes in listpicker)
1118 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
1120 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
1121 for the number of columns in the HildonTouchSelector more than once.
1123 2009-01-14 Alberto Garcia <agarcia@igalia.com>
1125 * src/hildon-touch-selector.c: Minor documentation fixes.
1127 * src/hildon-picker-dialog.c (+_dialog_update_title)
1128 (_select_on_selector_changed_cb)
1129 (_update_title_on_selector_changed_cb)
1130 (on_selector_columns_changed): Update dialog title when there's no
1131 'Done' button and also when the number of columns in the selector
1135 * src/hildon-picker-button.c (hildon_picker_button_finalize)
1136 (+_selection_changed, hildon_picker_button_on_dialog_response)
1137 (hildon_picker_button_selector_selection_changed)
1138 (+hildon_picker_button_selector_columns_changed)
1139 (hildon_picker_button_set_selector): Update button value and emit
1140 'value-changed' when the number of columns in the selector
1144 Fixes: NB#96225 (Dialog titles are not shown according to the
1145 values selected in the list picker)
1147 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1149 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
1150 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
1151 New "arrow-width" and "arrow-height" style properties to set the
1152 size of the arrow button.
1153 Set name of arrow button ("hildon-edit-toolbar-arrow").
1155 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
1156 graphics from theme)
1158 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1160 * src/hildon-picker-button.c:
1161 (hildon_picker_button_selector_selection_changed): Use
1162 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
1163 the dialog is present.
1165 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
1166 the selection is accepted in the dialog)
1168 2009-01-13 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-color-chooser.h
1171 * src/hildon-color-chooser-dialog.h:
1172 Added G_BEGIN_DECLS and G_END_DECLS
1174 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1176 (_clean_current_selection): plug a leak in the list.
1178 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
1180 * src/hildon-picker-dialog.c:
1181 (+free_path_list): Method to free a GList of GtkTreePaths.
1182 (_clean_current_selection), (_save_current_selection),
1183 (_restore_current_selection): Save the current selection in
1184 as a list of lists, to support multiple selection properly.
1186 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1188 patch by Claudio Saavedra (csaavedra@igalia.com)
1190 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
1191 Store the press position.
1192 (+hildon_text_view_button_release_event): If the release position is
1193 close enough to the press position, move the cursor here. Otherwise,
1195 (hildon_text_view_class_init): Override GtkTextView press, release, and
1196 motion event handlers, disabling this way text selection through
1197 pointer interaction, and allowing the container widget to handle the
1200 Fixes: NB#95828 (HildonTextView functionality)
1202 2009-01-12 Alberto Garcia <agarcia@igalia.com>
1204 Based on a patch by Iván Gómez (igomez@igalia.com)
1206 * src/hildon-button.[ch]
1207 * src/hildon-calendar.c
1208 * src/hildon-check-button.c
1209 * src/hildon-date-editor.c
1210 * src/hildon-date-selector.c
1211 * src/hildon-picker-button.c
1212 * src/hildon-time-editor.c
1213 * src/hildon-time-selector.c
1214 * src/hildon-touch-selector.[ch]:
1215 Documentation updates
1217 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1219 * src/hildon-pannable-area.c,
1220 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
1221 threshold, it was required due to X events handling.
1223 2009-01-12 Alejandro G. Castro <alex@igalia.com>
1225 * src/hildon-pannable-area.c,
1226 (hildon_pannable_area_grab_notify),
1227 (hildon_pannable_area_initial_effect),
1228 (hildon_pannable_area_button_press_cb),
1229 (hildon_pannable_area_button_release_cb),
1230 (hildon_pannable_area_scroll_cb),
1231 (hildon_pannable_area_scroll_to): Review the timeout management of
1232 the scrollbar, the frecuency was incorrectly set.
1234 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
1236 * src/hildon-picker-button.c:
1237 (+hildon_picker_button_on_dialog_response),
1238 (hildon_picker_button_clicked): Present the dialog instead of
1239 running it with gtk_dialog_run().
1241 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
1244 2009-01-07 Alberto Garcia <agarcia@igalia.com>
1246 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1247 (hildon_app_menu_finalize): When a window is hidden it doesn't
1248 emit notify::is-topmost, so make sure than the menu also
1249 disappears in that case.
1250 (parent_window_topmost_notify): Renamed from parent_window_hidden
1252 Fixes: NB#94460 (stackable window's menu is not closed when its
1255 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1257 * src/hildon-touch-selector-entry.c:
1258 (+hildon_touch_selector_entry_set_input_mode),
1259 (+hildon_touch_selector_entry_get_input_mode):
1260 * src/hildon-touch-selector-entry.h: New methods to access the input
1261 mode in the selector's entry.
1263 Fixes: NB#93410 (API required for setting IM mode in
1264 HildonTouchSelectorEntry)
1266 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1268 * configure.ac: post release version bump.
1269 * debian/changelog: version bump
1271 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
1276 * configure.ac: Bump version.
1277 * debian/changelog: Updates.
1279 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
1281 * src/hildon-touch-selector.c:
1282 (_hildon_touch_selector_has_multiple_selection): No need
1283 to initialize the variables here.
1285 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-note-private.h
1288 * src/hildon-note.c (event_box_press_event, hildon_note_init)
1289 (hildon_note_finalize, hildon_note_rebuild): Close information
1290 notes when they receive a button press.
1292 Fixes: NB#89890 (Information notes does not get disappeared after
1295 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
1297 * src/hildon-wizard-dialog.c: (create_title): Remove translation
1298 mark from the wizard title, as it's not really necessary. Also,
1299 do not display the page title if not set.
1301 2008-12-17 Alberto Garcia <agarcia@igalia.com>
1303 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1304 (parent_window_hidden): Use the window's "is-topmost" property to
1305 detect when to hide the menu.
1307 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1309 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
1310 (hildon_app_menu_finalize): If the parent window of the menu is
1311 hidden, hide the menu too.
1313 Fixes: NB#94460 (stackable window's menu is not closed when its
1316 2008-12-16 Alberto Garcia <agarcia@igalia.com>
1319 * debian/libhildon1-examples.install
1321 * examples/Makefile.am:
1322 Use dh_install to install all examples.
1323 Use DEB_SRCDIR instead of defining SOURCE_DIR
1325 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1327 * configure.ac: post release version bump.
1328 * debian/changelog: version bump
1330 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1335 * configure.ac: bump version
1336 * debian/changelog: updates
1337 * debian/control: bump gtk+ dependency
1339 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
1341 patch by Christian Dywan (christian@imendio.com)
1343 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
1344 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
1346 2008-12-15 Alberto Garcia <agarcia@igalia.com>
1348 * src/hildon-check-button.c (hildon_check_button_init)
1349 (hildon_check_button_class_init, hildon_check_button_style_set)
1350 (hildon_check_button_apply_style):
1351 New "checkbox-size" style property.
1353 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
1354 larger / configurable size)
1356 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1358 * configure.ac: post release version bump.
1359 * debian/changelog: version bump
1361 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
1366 * configure.ac: bump version
1367 * debian/changelog: updates
1369 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1371 * doc/hildon-sections.txt
1372 * src/hildon-pannable-area.c
1373 * src/hildon-program.c
1374 * src/hildon-time-editor.c
1375 * src/hildon-touch-selector-entry.c:
1377 More documentation updates.
1379 2008-12-12 Alberto Garcia <agarcia@igalia.com>
1381 * doc/hildon-sections.txt
1382 * src/hildon-caption.c
1383 * src/hildon-code-dialog.c
1384 * src/hildon-color-button.c
1385 * src/hildon-controlbar.c
1386 * src/hildon-date-editor.c
1387 * src/hildon-date-selector.c
1388 * src/hildon-edit-toolbar.c
1389 * src/hildon-find-toolbar.c
1390 * src/hildon-font-selection-dialog.c
1392 * src/hildon-program.c
1393 * src/hildon-range-editor.c
1394 * src/hildon-seekbar.c
1395 * src/hildon-time-editor.c
1396 * src/hildon-time-selector.c
1397 * src/hildon-volumebar-range.c
1398 * src/hildon-volumebar.c
1399 * src/hildon-vvolumebar.c
1400 * src/hildon-weekday-picker.c
1401 * src/hildon-window.c
1402 * src/hildon-wizard-dialog.c:
1404 Lots of documentation fixes.
1406 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1408 Patch contributed by Iván Gómez (igomez@igalia.com)
1410 * src/hildon-check-button.c:
1411 * src/hildon-date-button.c:
1412 * src/hildon-date-selector.c:
1413 * src/hildon-dialog.c:
1414 * src/hildon-edit-toolbar.c:
1415 * src/hildon-entry.c:
1416 * src/hildon-picker-button.c:
1417 * src/hildon-program.c:
1418 * src/hildon-text-view.c:
1419 * src/hildon-time-button.c:
1420 * src/hildon-touch-selector-entry.c:
1421 * src/hildon-window-stack.c:
1423 Add more "since" tags to the new API.
1425 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1427 * doc/hildon-sections.txt: Add below method.
1428 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
1429 version for the hildonized scale.
1430 * src/hildon-gtk.h: Add the definition.
1432 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1434 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1436 * doc/hildon-sections.txt: Add missing entries for new methods.
1438 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1440 Added API to pannable are in order to get its adjustments. We
1441 added two properties to manage the values we had in the private
1444 * src/hildon-pannable-area.c:
1445 (hildon_pannable_area_class_init): Added hadjustment and
1446 vadjustment properties in order to expose horizontal and vertical
1448 (hildon_pannable_area_get_property),
1449 (hildon_pannable_area_set_property): Added code to handle the new
1451 (hildon_pannable_area_get_hadjustment),
1452 (hildon_pannable_area_get_vadjustment): API functions to get the
1454 * src/hildon-pannable-area.h:
1455 (hildon_pannable_area_get_hadjustment),
1456 (hildon_pannable_area_get_vadjustment): API functions to get the
1459 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1461 Fixed some leaks, after valgrinding.
1463 * src/hildon-touch-selector.c:
1464 (_default_print_func): Fixed a leak.
1465 (hildon_touch_selector_append_column): Fixed a leak.
1466 * src/hildon-date-button.c:
1467 (hildon_date_button_init): Fixed a leak.
1468 * src/hildon-date-selector.c
1469 (hildon_date_selector_finalize): Fixed a leak.
1471 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1473 Based on a patch by Christian Dywan (christian@imendio.com)
1475 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1477 * src/hildon-gtk.h: Add definition.
1479 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1481 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1483 * src/hildon-picker-button.c: (hildon_picker_button_init),
1484 (hildon_picker_button_new): Set the HildonButton::style property
1485 in the init method, to propagate the value to the derived classes.
1487 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1489 * src/hildon-button.c: (hildon_button_class_init): Do not make
1490 the "style" property a construct property.
1492 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1494 * src/hildon-wizard-dialog.h
1495 * src/hildon-wizard-dialog.c
1496 (hildon_wizard_dialog_set_forward_page_func)
1497 * src/hildon-pannable-area.h
1498 * src/hildon-pannable-area.c
1499 (hildon_pannable_area_set_size_request_policy):
1500 Documentation fixes.
1502 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1504 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1506 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1508 * doc/hildon-sections.txt: Added sections file.
1510 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1513 * src/*.[ch]: Updates.
1515 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1517 * examples/hildon-progress-indicator-example.c: new file
1518 * examples/Makefile.am: include the new example program
1520 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1522 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1524 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1526 * configure.ac: post release version bump
1527 * debian/changelog: version bump
1529 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1534 * configure.ac: bump version
1535 * debian/changelog: updates
1536 * debian/control: bump gtk+ dependency
1538 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1540 * src/hildon-dialog.c: Mark as deprecated.
1541 * src/hildon-dialog.h: Mark as deprecated.
1542 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1543 from HildonDialog and still work, even if
1544 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1545 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1547 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1548 maemo changes) instead)
1550 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1552 * src/hildon-pannable_area.h:
1553 * src/hildon-pannable_area.c:
1554 (hildon_pannable_area_class_init),
1555 (hildon_pannable_area_set_property),
1556 (hildon_pannable_area_get_property),
1557 (hildon_pannable_area_size_request),
1558 (hildon_pannable_area_get_size_request_policy),
1559 (hildon_pannable_area_set_size_request_policy): Added new API
1560 allowing applications to control the request policy. Now they can
1561 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1562 children allocation (HILDON_MOVEMENT_CHILDREN).
1564 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1568 (hildon_gtk_tree_view_set_ui_mode)
1569 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1570 mode of treeviews and iconviews.
1572 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1574 * src/hildon-touch-selector-entry.c:
1575 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1576 of a GtkEntry to get proper theming.
1578 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1579 widget, not GtkEntry)
1581 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1583 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1584 no HildonWizardDialogPageFunc.
1586 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1588 Patch contributed by Iván Gómez (igomez@igalia.com)
1590 * src/hildon-app-menu.c:
1591 * src/hildon-button.c:
1592 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1593 * src/hildon-stackable-window.c:
1594 * src/hildon-time-selector.c:
1595 * src/hildon-touch-selector.c:
1596 * src/hildon-window.c:
1598 Add more "since" tags to the new API in hildon 2.2.
1600 2008-12-05 Tim Janik <timj@imendio.com>
1602 Patch contributed by Christian Dywan (christian@imendio.com)
1604 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1605 HildonSizeType, which are supplied by Gtk+ now.
1607 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1609 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1610 (with maemo changes) instead)
1612 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1614 Patch contributed by Iván Gómez (igomez@igalia.com)
1616 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1619 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1621 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1622 (some_page_func), (main): Update the example to use a
1623 HildonWizardDialogPageFunc function.
1625 * src/hildon-wizard-dialog-private.h: Add private data for
1626 the HildonWizardDialogPageFunc function usage.
1628 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1629 (destroy), (hildon_wizard_dialog_init), (response),
1630 (hildon_wizard_dialog_set_forward_page_func):
1631 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1632 that applications can use to stop a HildonWizardDialog to jump to
1635 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1638 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1640 * src/hildon-program.h
1641 * src/hildon-program-private.h
1642 * src/hildon-program.c (hildon_program_init)
1643 (hildon_program_set_common_app_menu)
1644 (hildon_program_get_common_app_menu):
1645 New API for setting a common HildonAppMenu for all
1646 HildonStackableWindows registered with the HildonProgram.
1648 * src/hildon-stackable-window.c
1649 (hildon_stackable_window_toggle_menu):
1650 Use the common HildonAppMenu if a window doesn't have a specific
1653 * src/hildon-app-menu-private.h
1654 * src/hildon-app-menu.c
1655 (hildon_app_menu_get_parent_window):
1656 Function to obtain the window a HildonAppMenu is attached to.
1657 (hildon_app_menu_set_parent_window):
1658 Hide the menu if the parent window is set to NULL.
1660 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1662 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1663 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1664 search widget to popup.
1666 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1668 * configure.ac: post release version bump
1669 * debian/changelog: version bump
1671 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1676 * configure.ac: bump version
1677 * debian/changelog: updates
1679 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1681 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1683 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1684 (hildon_window_stack_window_realized)
1685 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1686 Set the leader GdkWindow when a window is stacked and realized,
1687 unset it when it's unstacked.
1688 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1690 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1692 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1694 * src/hildon-stackable-window.h
1695 * src/hildon-window-stack.h:
1696 Protect definition of HildonWindowStack using the preprocessor.
1698 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1700 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1701 Fix warning if all menu items are hidden.
1703 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1705 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1707 * src/hildon-controlbar.c:
1708 * src/hildon-hvolumebar.c:
1709 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1710 Multiple scale size defines updates.
1712 Fixes: NB#94322 (Scale Updates)
1714 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1716 * examples/hildon-app-menu-example.c (create_menu)
1717 Show items after adding them to the menu, as in the future the
1718 menu will no longer call gtk_widget_show() on the added items.
1720 * src/hildon-app-menu.c:
1721 Update example as explained above.
1723 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1725 * src/hildon-app-menu.c
1726 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1727 Make sure that all menu items have finger height.
1729 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1731 * src/hildon-picker-dialog.c:
1732 (_on_dialog_response), (_save_current_selection),
1733 (_restore_current_selection), (_clean_current_selection),
1734 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1735 Defined new functions in order to save the current internal selector
1736 selection previous open the dialog, in case that the use cancel the
1737 interaction, so the widget restores the previous selection.
1739 Fixes: NB#92032 (In calendar application, date values in 'new event'
1742 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1744 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1746 * src/hildon-button.c: Add a reference to the button examples in
1747 hildon-button-example.c
1749 * examples/hildon-button-example.c: Added examples of the most
1750 common button layouts.
1752 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1754 * src/hildon-app-menu.c (hildon_app_menu_show)
1755 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1757 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1759 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1761 * src/hildon-picker-dialog.c:
1762 (hildon_picker_dialog_init): Initialize the signal id for
1763 HildonTouchSelector::columns-changed.
1764 (+on_selector_columns_changed): Set up the interaction mode everytime a
1765 column is added or removed from the HildonTouchSelector.
1766 (_hildon_picker_dialog_set_selector): Connect to
1767 HildonTouchSelector::columns-changed and keep track of it.
1769 Make sure to update the interaction mode of the dialog everytime a
1770 column is added or removed in the HildonTouchSelector.
1772 Fixes: NB#93228 (Done button is not shown always in listpicker)
1774 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1776 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1777 a new ::columns-changed signal.
1778 (hildon_touch_selector_append_column): Emit ::columns-changed.
1779 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1781 Add a ::columns-changed signal, emitted when the number of columns in a
1782 HildonTouchSelector changes.
1784 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1786 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1787 (_hildon_picker_dialog_set_selector): Factor out the code
1788 to set up the dialog interaction mode.
1790 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1792 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1793 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1794 to signal_changed_id.
1796 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1798 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1801 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1803 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1804 Updated the logical ids related to ampm format, as now it is required to
1805 show it correctly localized even on languages with no default
1806 abbreviations for am or pm
1807 (_check_am_pm_format): check correctly the 24h format gconf property
1809 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1811 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1813 * src/hildon-button.c: Documentation updates.
1815 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1817 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1818 * src/hildon-caption.c: (hildon_caption_class_init):
1819 * src/hildon-color-button.c: (hildon_color_button_class_init):
1820 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1821 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1822 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1823 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1825 Remove deprecated GTK+ marshalers and replace them with the ones
1826 provided by GLib, for those available, add a marshaler for
1827 BOOLEAN:VOID, which is not available in GLib, and use it.
1829 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1831 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1832 the text from the previous column if there is no
1833 HildonTouchSelectorColumn::text-property set.
1835 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1837 * src/hildon-button.h
1838 * src/hildon-button.c (hildon_button_set_property)
1839 (hildon_button_get_property, hildon_button_class_init)
1840 (hildon_button_set_style, hildon_button_get_style):
1841 New "style" property to change the visual appearance of the
1844 * src/hildon-picker-button.c (hildon_picker_button_new):
1845 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1847 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1848 HildonButton look like PickerButton)
1850 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1852 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1853 column while building the default string.
1855 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1857 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1858 scroll indicator by default.
1860 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1862 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1864 * src/hildon-main.c: Fix the documentation for hildon_init()
1866 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1868 * doc/hildon-docs.sgml
1872 * src/hildon-window-stack-private.h
1873 * src/hildon-window-stack.h
1874 * src/hildon-window-stack.c:
1875 New HildonWindowStack object, that adds support for multiple
1876 stacks of windows per process.
1878 * src/hildon-stackable-window-private.h
1879 * src/hildon-stackable-window.h
1880 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1881 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1882 (hildon_stackable_window_show, hildon_stackable_window_hide)
1883 (hildon_stackable_window_class_init)
1884 (hildon_stackable_window_init):
1885 Use HildonWindowStack for stack management.
1887 * src/hildon-program.c (hildon_program_pop_window_stack)
1888 (hildon_program_peek_window_stack)
1889 (hildon_program_go_to_root_window):
1890 Add a fallback implementation to the deprecated functions using
1893 * examples/hildon-stackable-window-example.c:
1894 Use the new HildonWindowStack API.
1896 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1898 * src/hildon-stackable-window-private.h
1899 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1900 (hildon_stackable_window_hide, hildon_stackable_window_init):
1901 Remove all window stack management.
1903 * src/hildon-program-private.h
1904 * src/hildon-program.h
1905 * src/hildon-program.c (hildon_program_init)
1906 (hildon_program_pop_window_stack)
1907 (hildon_program_peek_window_stack)
1908 (hildon_program_go_to_root_window):
1909 Remove all window stack management and mark functions as
1912 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1914 * src/hildon-app-menu.c (hildon_app_menu_realize):
1915 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1917 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1919 * configure.ac: post release version bump
1920 * debian/changelog: version bump
1922 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1927 * configure.ac: bump version
1928 * debian/changelog: updates
1930 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1932 Based on initial code by Christian Dywan (christian@imendio.com)
1934 * doc/hildon-docs.sgml: Add section for hildon-main.
1935 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1936 * src/Makefile.am: Add new hildon-main.[ch]
1937 * src/hildon-defines.h: Update the icon sizes.
1938 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1939 new library initialization files and register icon sizes.
1940 * src/hildon-main.h: New declarations.
1941 * src/hildon.h: Include hildon-main.h
1943 Add new initialization functions to the library. These methods
1944 will register the hildon specific icon sizes and can be used in the
1945 future for other hildon specific bits.
1947 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1949 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1951 * src/hildon-window.c: (hildon_window_realize),
1952 (hildon_window_notify), (-hildon_window_update_title): Do not set
1953 the application name in the window title.
1955 Fixes: NB#89754 (Applications shouldn't display their names in the
1958 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1960 * src/hildon-note-private.h:
1961 * src/hildon-note.c: (hildon_note_set_property),
1962 (hildon_note_get_property), (hildon_note_class_init),
1963 (hildon_note_init), (hildon_note_finalize),
1964 (hildon_note_new_confirmation_with_icon_name),
1965 (hildon_note_new_information_with_icon_name):
1967 No need to mark as deprecated the actual code. Revert
1968 to avoid missing symbols in widgets using deprecated API.
1970 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1972 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1974 * src/hildon-volumebar.h
1975 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1976 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1978 * src/hildon-helper.h
1979 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1980 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1982 * examples/Makefile.am:
1983 Deprecate hildon-insensitive-example
1985 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1987 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1989 * examples/hildon-pannable-area-buttons-scroll-example.c:
1990 Make all buttons finger height
1992 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1994 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1996 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1997 update the day model only if it is really required, and to avoid the
1998 full-reconstruction aproach. Now it only add or remove the required days.
2000 The purpose of this is avoid superfluous HildonTouchSelector::changed
2003 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
2004 with strange parameters)
2006 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
2008 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
2010 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
2011 the WINDOW_TYPE property.
2013 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
2015 2008-11-19 Alberto Garcia <agarcia@igalia.com>
2018 Fix dependency to allow parallel compilation with make -jX
2020 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
2022 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
2023 color frame and some minor tweaks to make it more consistent with
2026 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
2027 highlighted but not visible)
2029 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2031 * examples/Makefile.am: Fixed typo in the Makefile.am.
2033 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2035 Reviewed the use of MAEMO_GTK define, now we add the define in the
2036 compilation line, and we also add it to the pc file.
2038 * configure.ac: Added MAEMO_GTK define to the compilation command
2039 and removed it from the config.h.
2041 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
2042 do not have to take care about this define if the library was
2046 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
2048 2008-11-14 Alejandro G. Castro <alex@igalia.com>
2050 * examples/Makefile.am,
2051 * examples/hildon-pannable-area-buttons-scroll-example.c,
2052 * examples/hildon-pannable-area-gesture-signals-example.c,
2053 * examples/hildon-pannable-area-scroll-jump-example.c,
2054 * examples/hildon-pannable-area-tree-view-example.c:
2055 Renamed the pannable area examples, now they have more meaningful
2058 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
2060 * src/hildon-touch-selector.c:
2061 (hildon_touch_selector_set_column_selection_mode): Used of
2062 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
2063 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
2064 to avoid re-seting the same selection mode.
2066 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
2067 breaks HildonPickerDialog)
2069 2008-11-13 Alejandro G. Castro <alex@igalia.com>
2071 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
2072 conditional in the Makefile.am
2074 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
2076 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
2077 Remove unused methods.
2079 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2081 * src/hildon-button.c (hildon_button_init):
2082 Make button images center-aligned by default
2084 2008-11-12 Alejandro G. Castro <alex@igalia.com>
2087 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
2088 activated, we have to think about how to deal with both defines
2089 MAEMO_GTK and MAEMO_CHANGES.
2091 2008-11-12 Alberto Garcia <agarcia@igalia.com>
2093 * examples/hildon-app-menu-example.c (create_menu): Make all
2094 buttons finger size.
2096 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2098 Fixed the compilation without maemo gtk adding ifdefs with
2099 MAEMO_GTK define to the code, we have to check this version more
2102 * examples/Makefile.am: Added control to avoid some examples that
2103 just make sense with maemo gtk.
2106 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
2107 hildon modes with the define.
2109 * examples/hildon-edit-toolbar-example.c,
2110 (create_icon_view): Create the icon view without hildon-gtk
2111 helpers if we are not using maemo gtk.
2113 * src/hildon-touch-selector.c,
2114 (_create_new_column): Create the treeview without hildon-gtk
2115 helpers if we are not using maemo gtk.
2117 2008-11-11 Alejandro G. Castro <alex@igalia.com>
2119 * src/hildon-pnnable-area.c,
2120 (hildon_pannable_area_dispose),
2121 (hildon_pannable_area_button_press_cb),
2122 (hildon_pannable_area_child_mapped),
2123 (hildon_pannable_area_add),
2124 (hildon_pannable_area_remove): Added code to control the position
2125 of the event_window when adding and removing children from the
2126 pannable. We have to raise the event window when the child is
2129 Fixes: NB#89811 (Not able to select first image thumbnail in multi
2130 selection mode using custom widget inside pannable)
2132 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2134 * configure.ac: post release version bump
2135 * debian/changelog: version bump
2137 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
2142 * configure.ac: bump version
2143 * debian/changelog: updates
2145 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
2147 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
2148 search mode, in order to avoid lose the focus on the treeview when
2149 a hw key (like enter) is pressed.
2151 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
2152 in HildonDateSelector dialog)
2154 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
2156 * debian/rules: Added --enable-maintainer-mode
2157 * Makefile.am: Added ACLOCAL_AMFLAGS
2159 This allows to properly regenerate the Makefiles if you modify the
2160 configure.ac or any Makefile.am.
2162 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2164 * examples/hildon-app-menu-example.c: (main): Do not set RC style
2165 properties, not needed at all.
2167 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2169 * src/hildon-note-private.h: Add strings for the icon and stock_icon
2171 * src/hildon-note.c: (hildon_note_set_property),
2172 (hildon_note_get_property), (hildon_note_class_init),
2173 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
2174 (hildon_note_new_confirmation_add_buttons): Remove icons.
2175 (hildon_note_new_confirmation_with_icon_name): Deprecate.
2176 (hildon_note_new_information_with_icon_name): Deprecate.
2177 (hildon_note_new_confirmation): Act directly, without calling
2178 the deprecated constructor.
2179 (hildon_note_new_information): Act directly, without calling
2180 the deprecated constructor.
2181 * src/hildon-note.h: Mark deprecate methods as such.
2182 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
2183 not run tests on the deprecated methods if built with deprecation
2186 Fixes: NB#91688 (Never show icons in information notes/confirmation
2189 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
2191 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
2192 (hildon_app_menu_key_press): Remove leftover usage of the
2193 private structure in HildonAppMenu struct.
2194 * src/hildon-app-menu.h: Remove leftover private structure
2195 from the HildonAppMenu struct.
2197 Fixes a crasher when using the HildonAppMenu.
2199 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2201 * src/hildon-picker-dialog.c: Use appropriate logical id
2202 for the default "Done" text.
2204 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
2206 * configure.ac: post release version bump
2207 * debian/changelog: version bump
2209 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
2211 Modified the way to scroll to the current selection just when the touch
2212 selector is shown on the screen, avoiding a g_idle. Added too a property
2213 to configure this behaviour. See hildon_pannable_area_jump_to_child
2214 documentation for more information.
2216 * src/hildon-touch-selector.c
2217 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
2218 Added 'initial-scroll' property
2219 (hildon_touch_selector_set_property): Added
2220 (hildon_touch_selector_map): Removed as not required anymore
2221 (_hildon_touch_selector_on_selected_items): Modified in order to manage
2222 only a concrete column, instead of iterate along all the columns
2224 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2229 * configure.ac: bump version
2230 * debian/changelog: updates
2232 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2234 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
2235 compilation time warnings.
2237 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2239 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
2240 the default value for HildonPannableArea::mov-mode to
2241 HILDON_PANNABLE_AREA_MODE_VERT.
2243 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
2245 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2247 Reverting following commit:
2249 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2251 * src/hildon-app-menu-private.h
2252 * src/hildon-app-menu.[ch]
2253 * src/hildon-button.[ch]
2254 * src/hildon-check-button.[ch]
2255 * src/hildon-entry.[ch]
2256 * src/hildon-pannable-area.[ch]
2257 * src/hildon-text-view.[ch]:
2258 Added private field to the object's structure.
2260 because it causes an ABI breakage. We will need to introduce these
2261 changes later at some point. See NB#91636 for an extensive
2262 explanation and status.
2264 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
2266 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2268 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
2269 remove special cases that are no longer necessary.
2271 Fixes: NB#91016 (Change toolbar sizes, simplification)
2273 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2275 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
2276 is shown in the cancel note.
2278 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
2280 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
2281 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
2282 (hildon_seekbar_init): Remove steppers, remove expose event.
2283 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
2285 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
2287 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
2289 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
2290 label font to "SmallSystemFont" for vertically arranged buttons.
2292 Fixes: NB#90662 (HildonButton "value" and "detail" text is
2295 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2297 * src/hildon-check-button.c
2298 (hildon_check_button_set_active, hildon_check_button_clicked):
2299 Don't access private parts directly, use getters instead.
2301 2008-10-31 Alberto Garcia <agarcia@igalia.com>
2303 * src/hildon-check-button.c (hildon_check_button_new):
2304 Align the contents of the check button to the left.
2306 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2308 * src/hildon-pannable-area.c,
2309 (hildon_pannable_area_scroll_to),
2310 (hildon_pannable_area_jump_to),
2311 (hildon_pannable_area_scroll_to_child),
2312 (hildon_pannable_area_jump_to_child): Replace the mapped
2313 precondition of these functions with the realized, it is the
2314 correct state of the widget in this case. Changed the
2315 documentation according to this modification.
2317 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2319 Added a new EXTRA_CFLAGS option to add the deprecated define to
2320 the compilation command. This way we can avoid using the define in
2321 the documentation compilation.
2323 * configure.ac: Defined EXTRA_CFLAGS.
2325 * examples/Makefile.am:
2327 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
2329 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
2331 * src/hildon-picker-dialog.c:
2332 Defined a utility macro with the desired touch selector height
2333 Removed currently unused separator, and title_label variables from
2335 (hildon_picker_dialog_init): Removed code related to the creation
2336 of unused private variables title_label and separator.
2337 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
2338 to ensure correct visualization of the touch selector inside the dialog.
2339 * src/hildon-touch-selector.c
2340 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
2341 ensure a concrete height of the widget.
2343 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2346 * tests/Makefile.am:
2348 Remove spurious whitespaces.
2350 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
2353 compilation warning after the cancel button removal.
2355 2008-10-30 Alejandro G. Castro <alex@igalia.com>
2357 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
2359 * configure.ac: Added an AM_CONDITIONAL in order to use in the
2360 Makefile.am, that way we can choose not to compile some examples
2361 and tests of the deprecated widgets.
2363 * examples/Makefile.am: Divided the sources in deprecated and
2366 * src/Makefile.am: Added undef statement of the deprecated
2367 symbol to the enums file generation process.
2369 * src/hildon-color-chooser-dialog.c
2370 * src/hildon-color-chooser-dialog.h
2371 * src/hildon-color-button.c
2372 * src/hildon-color-button.h
2373 * src/hildon-color-chooser.c
2374 * src/hildon-color-chooser.h
2375 * src/hildon-controlbar.c
2376 * src/hildon-controlbar.h
2377 * src/hildon-date-editor.c
2378 * src/hildon-date-editor.h
2379 * src/hildon-hvolumebar.c
2380 * src/hildon-hvolumebar.h
2381 * src/hildon-private.c
2382 * src/hildon-private.h
2383 * src/hildon-range-editor.c
2384 * src/hildon-range-editor.h
2385 * src/hildon-seekbar.c
2386 * src/hildon-seekbar.h
2387 * src/hildon-time-editor.c
2388 * src/hildon-time-editor.h
2389 * src/hildon-time-picker.c
2390 * src/hildon-time-picker.h
2391 * src/hildon-volumebar.c
2392 * src/hildon-volumebar.h
2393 * src/hildon-vvolumebar.c
2394 * src/hildon-vvolumebar.h
2395 * src/hildon-bread-crumb-trail.h
2396 * src/hildon-bread-crumb-trail.c
2397 * src/hildon-calendar-popup.c
2398 * src/hildon-calendar-popup.h
2399 * src/hildon-weekday-picker.c:
2400 * src/hildon-weekday-picker.h:
2401 * src/hildon-bread-crumb-widget.c:
2402 * src/hildon-bread-crumb-widget.h:
2403 * src/hildon-bread-crumb.c:
2404 * src/hildon-bread-crumb.h:
2405 * src/hildon-calendar.c:
2406 * src/hildon-calendar.h:
2407 * src/hildon-caption.c:
2408 * src/hildon-code-dialog.c:
2409 * src/hildon-code-dialog.h:
2410 * src/hildon-font-selection-dialog.c:
2411 * src/hildon-font-selection-dialog.h:
2412 * src/hildon-get-password-dialog.c:
2413 * src/hildon-get-password-dialog.h:
2414 * src/hildon-login-dialog.c:
2415 * src/hildon-login-dialog.h:
2416 * src/hildon-number-editor.c:
2417 * src/hildon-number-editor.h:
2418 * src/hildon-set-password-dialog.c:
2419 * src/hildon-set-password-dialog.h:
2420 * src/hildon-sort-dialog.c:
2421 * src/hildon-sort-dialog.h: This is the list of deprecated
2424 * src/hildon-touch-selector.c:
2425 * src/hildon-window.c: Added undef statement to avoid compilation
2428 * tests/Makefile.am: Divided the sources in deprecated and
2431 * tests/check_test.c,
2432 (configure_tests): Marked the deprecated code that was adding
2433 suites with deprecated tests.
2435 Fixes: NB#91135 (Deprecate legacy hildon widgets)
2437 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-touch-selector.c: (_default_print_func): Do not
2440 duplicate a string returned by gtk_tree_model_get(), it is already
2443 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
2446 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2448 * src/hildon-pannable-area.c
2449 (hildon_pannable_area_add_with_viewport): Reviewed the complete
2450 method, it had problems when adding a widget with viewport the
2451 second time. Now checks if it already has a viewport and uses it.
2453 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2456 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2458 * src/hildon-pannable-area.c,
2459 (hildon_pannable_area_scroll_to),
2460 (hildon_pannable_area_jump_to),
2461 (hildon_pannable_area_scroll_to_child),
2462 (hildon_pannable_area_jump_to_child): Added a precondition to the
2463 scroll and jump to functions: the widget must be mapped before we
2464 can safely call these functions. We have also added documentation
2465 to the functions to explain how to use them in this situation.
2468 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2470 Reviewed the threading handling of the pannable widget, we have
2471 used the gdk_threads_add_timeout function instead of the usual
2472 glib handlers. This avoids some problems with the threads.
2474 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2475 (hildon_pannable_area_initial_effect),
2476 (hildon_pannable_area_scroll_indicator_fade),
2477 (hildon_pannable_area_button_press_cb),
2478 (hildon_pannable_area_timeout),
2479 (hildon_pannable_area_motion_notify_cb),
2480 (hildon_pannable_area_button_release_cb),
2481 (hildon_pannable_area_scroll_cb),
2482 (hildon_pannable_area_scroll_to): Removed the
2483 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2484 gdk_threads_add_timeout.
2486 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2488 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2493 * configure.ac: bump version
2494 * debian/changelog: updates
2496 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2498 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2499 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2500 * src/hildon-color-chooser-dialog.c:
2501 (hildon_color_chooser_dialog_init):
2502 * src/hildon-font-selection-dialog.c:
2503 (hildon_font_selection_dialog_init):
2504 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2506 Remove all cancel/close-like dialogs, as these are not going to be
2509 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2511 * src/hildon-note.c: (hildon_note_rebuild),
2512 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2515 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2517 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2519 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2520 sure all buttons are shown, even the Cancel/Close-like ones.
2522 Fixes: NB#90861 (Custom Confirmation dialogs should be
2523 protected from cancel button removal)
2525 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2527 * debian/control: Change libhildon1-examples dependency from libhildon1
2529 * debian/libhildon1-examples.install
2531 * Makefile.am: Modified the final install directory for the examples on
2532 package libhildon1-examples
2533 * Makefile.static: Update clean target in order to remove all the binary
2536 Changes suggested by Claudio after review new libhildon1-examples package
2538 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2540 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2541 * src/hildon-touch-selector.c: Ditto.
2543 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2545 * debian/control: Added new package libhildon1-examples, in order to pack
2546 the current hildon examples as documentation
2547 * debian/rules: Not to compress .c files, modify some includes on the
2548 examples (as normally are compiled locally, but when installed it will
2549 require to include the installed libhildon1 library), and rename
2551 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2552 install all the example files on the new example package
2553 * examples/Makefile.static: Added static makefile that can be used to
2554 compile the examples, once installed the new example package
2555 * examples: Most of the examples were modified in order to grant that
2556 all use only '#include "hildon.h"', in order to be easy to prepare
2557 it on the example package
2559 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2562 * debian/libhildon1-dev.install
2563 * debian/libhildon1-doc.install:
2564 Move all gtk-doc files to a separate libhildon1-doc package.
2566 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2568 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2570 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2572 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2574 * debian/rules: Fixed a error in order to avoid unnecessary calls
2575 to autogen.sh on package building
2577 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2579 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2581 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2583 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2586 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2588 * src/hildon-picker-button.c
2589 (hildon_picker_button_finalize):
2590 Free priv->done_button_text
2592 * src/hildon-time-button.c
2593 (hildon_time_button_set_time)
2594 * src/hildon-picker-button.c
2595 (hildon_picker_button_clicked)
2596 (hildon_picker_button_selector_selection_changed)
2597 (hildon_picker_button_set_selector)
2598 * src/hildon-date-button.c
2599 (hildon_date_button_set_date):
2600 Free strings returned by hildon_touch_selector_get_current_text()
2602 * src/hildon-button.c (hildon_button_construct_child):
2603 Fix leaks in priv->image and priv->label_box
2605 Fixes: NB#90535 (Memory leak in picker button)
2607 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2609 * src/hildon-button.c: (hildon_button_get_property): Do not access
2610 private elements directly, use getters instead.
2612 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2614 * src/hildon-app-menu-private.h
2615 * src/hildon-app-menu.c
2616 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2617 Store the menu's parent window.
2619 * src/hildon-stackable-window.c
2620 (hildon_stackable_window_toggle_menu)
2621 (hildon_stackable_window_finalize):
2622 Set the menu's parent window when the menu is shown, unset it when
2625 * src/hildon-app-menu.c
2626 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2627 (hildon_app_menu_class_init):
2628 Send unhandled keyboard accelerators to the parent window.
2630 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2632 * src/hildon-stackable-window.c
2633 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2635 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2637 * configure.ac: post release version bump
2639 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2642 * configure.ac: Bump version
2643 * debian/changelog: Updates
2644 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2647 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2649 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2652 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2653 GtkMenu with Hildon style.
2655 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2657 * src/hildon-picker-button.c:
2658 (hildon_picker_button_set_done_button_text): Set the dialog's
2659 done button text here as well.
2661 Fixes: NB#90232 (Picker button does not set the label on done button
2662 for the second time)
2664 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2666 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2669 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2671 * src/hildon-app-menu.c (hildon_app_menu_insert)
2672 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2673 the HildonAppMenu to be activatable using keyboard accelerators
2674 when the menu is not being shown.
2676 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2678 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2680 * src/hildon-stackable-window.c
2681 (hildon_stackable_window_show):
2682 Don't hide old windows automatically when new windows are shown:
2683 this is now a task for the window manager.
2684 (hildon_stackable_window_class_init)
2685 (hildon_stackable_window_hide):
2686 Remove windows from the stack everytime they're hidden.
2687 (hildon_stackable_window_realize):
2688 Don't change the _NET_WM_WINDOW_TYPE property. Use
2689 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2690 it as a stackable window.
2692 * src/hildon-program.c
2693 (hildon_program_pop_window_stack):
2694 Just hide the window to remove it from the stack.
2695 (hildon_program_go_to_root_window):
2696 Don't call gtk_widget_show(), this is now a task for the window
2699 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2701 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2703 * src/hildon-button.c
2704 (hildon_button_construct_child):
2705 Don't pack anything in the button until text or image are
2706 set. This allows adding a custom child after creating the button
2707 with hildon_button_new().
2708 (hildon_button_finalize, hildon_button_class_init)
2709 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2710 alignment and the label box even when they're not packed in the
2713 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2715 * src/hildon-touch-selector.h:
2716 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2717 currently the type definition was using GTK_TYPE_VBOX
2718 * src/hildon-touch-selector.c:
2719 Added some implementation notes in order to clarify that any other widget
2720 added without the column related API will not be included on the
2721 selection logic, and how the widget is freed, as some people ask about
2723 (hildon_touch_selector_remove): Reimplemented in order to free properly
2724 the column related data when you remove the private hbox.
2725 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2726 to get a proper HildonTouchSelectorColumn documentation
2728 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-touch-selector-entry.c:
2731 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2732 text in the GtkEntry and there is no item selected. Fixes a
2735 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2737 * src/hildon-app-menu-private.h
2738 * src/hildon-app-menu.[ch]
2739 * src/hildon-button.[ch]
2740 * src/hildon-check-button.[ch]
2741 * src/hildon-entry.[ch]
2742 * src/hildon-pannable-area.[ch]
2743 * src/hildon-text-view.[ch]:
2744 Added private field to the object's structure.
2746 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2748 * configure.ac: post-release version bump
2750 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2754 * configure.ac: pre-release version bump
2756 * debian/changelog: updates.
2758 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2760 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2761 Disconnect the handler for HildonTouchSelector::changed.
2763 (hildon_picker_button_selector_selection_changed): Update the button
2764 value if the selection change was not triggered by the
2767 (hildon_picker_button_set_selector): connect to
2768 HildonTouchSelector::changed.
2770 Fixes: NB#89650 (Picker button is not updated, when selection in
2771 selector has changed)
2773 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2775 * src/hildon-picker-dialog.c
2776 (hildon_picker_dialog_realize): Removed as not required
2777 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2778 * src/hildon-picker-button.c
2779 (_current_selector_empty): New function, checks if the selector is empty
2780 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2781 if the current selector is empty, in order to avoid to show the dialog
2782 close the dialog in this case (and shows a g_warning).
2784 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2786 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2788 * src/hildon-pannable-area.c,
2789 (hildon_pannable_area_scroll): Added clause to stop movement when
2790 the child of pannable is smaller than one page.
2791 (hildon_pannable_area_scroll_to): Added conditions to avoid
2792 starting the scrolling movement if the child is smaller than one
2793 page, the complete child is in the screen, we do not have to move.
2795 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2797 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2799 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2800 this is managed automatically by the widget when the size of the
2803 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2805 * src/hildon-picker-button.c
2806 (hildon_picker_button_set_done_button_text): Make a copy of the
2807 text, and free the previous value.
2809 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2811 * src/hildon-touch-selector-entry.c:
2812 (hildon_touch_selector_entry_print_func): Return the selected row's
2813 text if the entry is empty.
2815 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2818 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2820 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2822 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2825 * src/hildon-check-button.h
2826 * src/hildon-check-button.c
2827 * examples/hildon-check-button-example.c:
2828 HildonCheckButton is now a new widget. 'toggled' signal added.
2830 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2832 * src/hildon-program-private.h
2833 * src/hildon-program.c (hildon_program_init)
2834 (hildon_program_finalize): Removed unused variables group_leader
2835 and name from HildonProgramPrivate.
2837 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2839 * src/hildon-check-button.c (hildon_check_button_set_active)
2840 (hildon_check_button_get_active, hildon_check_button_new): Use
2841 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2843 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2845 * src/hildon-touch-selector.h
2846 (hildon_touch_selector_set_column_attributes): added deprecation
2847 guard HILDON_DISABLE_DEPRECATED
2848 * src/hildon-time-selector.c
2849 (hildon_time_selector_set_time)
2850 (hildon_time_selector_get_time): Fixed a typo on documentation
2851 * src/hildon-touch-selector.c: update HildonTouchSelector and
2852 HildonTouchSelectorColumn documentation
2853 * src/hildon-touch-selector-entry.c: update "text-column" property
2855 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2856 to be added to the general documentation.
2858 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2860 * examples/hildon-pannable-area-example-4.c,
2862 * examples/hildon-pannable-area-example.c,
2863 (main): Modified the code in order to use the container add, with
2864 viewport treeviews could have problems if they are really big.
2866 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2868 * src/hildon-weekday-picker.c,
2869 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2870 the agreement regarding deprecation in the library.
2872 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2874 * examples/hildon-picker-button-multicolumn-example.c:
2875 (main): Use custom "done" button text.
2877 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2878 (hildon_picker_button_set_property),
2879 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2880 (hildon_picker_button_init),
2881 (+hildon_picker_button_get_done_button_text),
2882 (+hildon_picker_button_set_done_button_text): New methods to customize
2883 the "done" button label in the launched HildonPickerDialog. Also,
2886 * src/hildon-picker-button.h: add the public API.
2888 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2890 * src/hildon-date-selector.h:
2891 * src/hildon-picker-dialog.h:
2892 * src/hildon-time-selector.h:
2893 * src/hildon-touch-selector-column.h:
2894 * src/hildon-touch-selector.h:
2896 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2897 declarations. Fixes gtk-doc warnings.
2899 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2901 * src/hildon-picker-dialog.h
2902 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2903 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2905 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2906 long text is set as label for done button)
2908 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2910 * src/hildon-dialog.c (hildon_dialog_add_button):
2911 Set fixed width to all buttons in the HildonDialog.
2913 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2915 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2917 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2918 Set widget name using class name plus "-finger" or "-thumb".
2920 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2922 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2923 'clicked' when the state of the button is manually changed.
2925 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2927 * src/hildon-app-menu.c (hildon_app_menu_realize)
2928 (hildon_app_menu_unrealize, hildon_app_menu_init)
2929 (hildon_app_menu_class_init, item_visibility_changed):
2930 Change the menu layout when the size of the screen changes.
2931 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2932 Show warning only when changing the number of colums using the
2935 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2937 * debian/compat: Set to 5
2938 * debian/control: Update dependencies.
2939 * debian/libhildon1-dbg.install: Remove.
2940 * debian/libhildon1-dev.install: Update according to cdbs paths.
2941 * debian/libhildon1.install: Update according to cdbs paths.
2942 * debian/rules: Switch to cdbs.
2944 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2946 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2947 'item' variable renamed to 'filter'
2949 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2951 * src/hildon-app-menu.c (hildon_app_menu_insert)
2952 (hildon_app_menu_add_filter, remove_item_from_list)
2953 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2954 Don't leak hidden items when the menu is destroyed.
2956 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2958 * src/hildon-app-menu.c (hildon_app_menu_insert)
2959 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2960 (hildon_app_menu_set_columns, item_visibility_changed)
2961 (filter_visibility_changed, hildon_app_menu_repack_filters)
2962 (hildon_app_menu_repack_items):
2963 Repack items and filters separately.
2965 Don't repack all items, change only the ones that are needed to
2968 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2970 * src/Makefile.am: added hildon-touch-selector-column.h
2972 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2974 * src/hildon-touch-selector.c: added the property "text-column" to the
2975 class HildonTouchSelectorColumn, and related get/set functions
2976 (_default_printf_func): updated to use "text-column" property
2977 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2978 "text-column" in his documentation, as this is now included on
2979 HildonTouchSelectorColumn. The get/set_property can still be used,
2980 working as a wrapper to the concrete column "text-column" property
2981 (_text_column_modified): callback added in order to handle the signal
2982 "notify::text-column" of the concrete HildonTouchSelectorColumn
2983 (hildon_touch_selector_entry_get_text_column)
2984 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2985 modified in order to use the HildonTouchSelectorColumn "text-column"
2987 * src/hildon-time-selector.c:
2988 * src/hildon-date-selector.c:
2989 * examples/hildon-touch-selector-example.c
2990 * examples/hildon-touch-selector-multi-cells-example.c
2991 * examples/hildon-picker-button-multicolumn-example.c
2992 Set the right value to "text-column" property on the creation of a new
2993 column using hildon_touch_selector_append_column()
2995 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2997 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2999 * src/hildon-app-menu.c
3000 (hildon_app_menu_construct_child, hildon_app_menu_init): When
3001 updating the layout of the menu, don't create all widgets again,
3002 just repack the items in their new places.
3004 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
3006 * src/hildon-time-selector.c
3007 (hildon_time_selector_get_time)
3008 (hildon_time_selector_set_time)
3009 Added documentation of these public methods
3011 * src/hildon-date-button.h
3012 * src/hildon-touch-selector-column.h
3013 * src/hildon-time-button.h
3014 * src/hildon-picker-dialog.h
3015 * src/hildon-time-selector.h
3016 * src/hildon-picker-button.h
3017 * src/hildon-touch-selector.h
3018 * src/hildon-time-picker.h
3019 * src/hildon-date-selector.h
3020 * src/hildon-touch-selector-entry.h
3021 Modified in order to use hildon-widgets code style
3023 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3025 Added deprecated support to the compilation process using
3026 HILDON_DISABLE_DEPRECATED
3028 * configure.ac: Added the --disable-deprecated to the configure
3031 * src/hildon-weekday-picker.c:
3032 * src/hildon-weekday-picker.h: Deprecated widget, example of how
3033 to use the deprecated support. We will update the other deprecated
3034 widgets status in a new patch.
3036 2008-09-30 Alejandro G. Castro <alex@igalia.com>
3038 * configure.ac: Fixed typo with fatal warnings support, the
3039 variable name was not correct
3041 2008-09-29 Alberto Garcia <agarcia@igalia.com>
3043 * src/hildon-app-menu.c
3044 * src/hildon-program.c: Update documentation.
3046 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3048 * configure.ac: Post-release version bump.
3050 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3055 * configure.ac: Pre-release version bump.
3056 * debian/changelog: Updates.
3058 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
3060 * NEWS: Update news for previous releases.
3062 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3064 * examples/hildon-touch-selector-multi-cells-example.c:
3065 (create_selector): Update the example to use
3066 hildon_touch_selector_append_column() with a NULL renderer and set
3067 the renderers later.
3068 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
3069 passed a NULL renderer. This is documented behavior now.
3071 Allow passing a NULL renderer to hildon_touch_selector_append_column().
3072 This must be used if the developer wants full control on the layout of
3073 the renderers to be added to the column.
3075 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3077 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3079 * src/hildon-touch-selector.c: Documentation fixes.
3081 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
3083 * src/hildon-wizard-dialog-private.h: Remove image and box.
3084 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
3085 (hildon_wizard_dialog_set_property), (response): Completely remove
3086 image/icon support, and the containers required for the layout.
3088 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
3090 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3092 * src/hildon-app-menu.c: Updated documentation.
3094 * src/hildon-stackable-window.c
3095 (hildon_stackable_window_set_main_menu): Unref the old menu after
3096 ref'ing the new one.
3098 2008-09-25 Alberto Garcia <agarcia@igalia.com>
3100 * src/hildon-stackable-window.c
3101 (hildon_stackable_window_set_main_menu): Unref the previous menu
3102 instead of destroying it.
3104 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
3105 floating reference and set has_user_ref_count to FALSE to make
3106 HildonAppMenu act like a normal ref-counted widget and not a
3109 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
3112 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
3114 * src/hildon-touch-selector-column.h: new file
3115 * src/hildon-touch-selector.h
3116 * src/hildon-touch-selector.c
3117 Implemented GtkCellLayout interface, in order to allow to configure
3118 the cell layout on each individual selector column
3119 (hildon_touch_selector_set_column_attributes): marked as deprecated
3120 * examples/hildon-touch-selector-multi-cells-example.c
3121 Example of how to use the GtkCellLayout interface on the selector
3123 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
3125 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3127 * src/hildon-app-menu.h
3128 * src/hildon-app-menu.c
3129 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
3130 (hildon_app_menu_append, hildon_app_menu_prepend):
3131 New methods to prepend, insert and move items in the menu.
3133 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3135 * src/hildon-wizard-dialog.c:
3137 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
3139 (create_title): Update logical IDs and related code.
3140 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
3142 * src/hildon-wizard-dialog.h: Note that
3143 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
3144 point, as it is not used anymore.
3146 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
3148 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3150 * src/hildon-note.c:
3151 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
3152 shown. Do not display an icon in confirmation notes nor information
3154 (hildon_note_set_button_text): Update logical ID for cancel button.
3156 Fixes: NB#88850 (Update HildonNote button strings + signals)
3158 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3160 * src/hildon-stackable-window.c
3161 (hildon_stackable_window_set_main_menu): Fix compilation warning.
3163 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3165 * src/hildon-app-menu-private.h
3166 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
3167 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
3168 (hildon_app_menu_init, hildon_app_menu_class_init): Added
3169 temporary property 'columns' to change the number of columns.
3171 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
3173 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
3175 * examples/hildon-note-example.c: (on_information_clicked),
3176 (on_confirmation_clicked), (on_progress_clicked), (main): Add
3177 debugging information.
3178 * src/hildon-note-private.h: Remove close_if_pressed_outside,
3180 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
3181 (hildon_note_rebuild): Remove special handling of tapping outside/inside
3182 in order to close: this will be handled by the WM from now on.
3184 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
3186 2008-09-24 Alberto Garcia <agarcia@igalia.com>
3188 * src/hildon-app-menu-private.h
3189 * src/hildon-app-menu.c
3190 (hildon_app_menu_append, hildon_app_menu_add_filter)
3191 (button_visibility_changed, hildon_app_menu_apply_style)
3192 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
3193 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
3194 layout everytime a button (item or filter) is shown or hidden.
3196 * src/hildon-stackable-window.c
3197 (hildon_stackable_window_set_main_menu): Destroy the old menu when
3200 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
3202 * src/hildon-touch-selector.c:
3203 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
3204 that the treeview inside the touch selector is in fremantle hildon mode
3205 * examples/hildon-date-button-example.c
3206 * examples/hildon-picker-button-multicolumn-example.c
3207 * examples/hildon-touch-selector-entry-example.c
3208 * examples/hildon-touch-selector-example.c
3209 * examples/hildon-time-button-example.c
3210 * examples/hildon-picker-button-example.c:
3211 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
3213 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
3215 * examples/hildon-text-view-example.c: (main): Remove the
3216 gtkrc bits, now handled by the theme.
3218 2008-09-22 Alberto Garcia <agarcia@igalia.com>
3220 * src/hildon-picker-button.c (hildon_picker_button_set_active):
3223 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3225 * po/Makefile.am: Install properly the mo files.
3226 * po/en_GB.po: Update translation, to ease testing purposes.
3228 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3230 * examples/hildon-picker-button-example.c: (main): Select an item
3231 in the selector before setting it to the button.
3233 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3235 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
3236 Update button's value if the selector has an item active.
3238 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
3239 'value' with the selector)
3241 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
3243 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
3244 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
3245 (hildon_picker_button_class_init): Plug the finalize method.
3246 (hildon_picker_button_set_selector): If there's a previously set
3247 selector, unref'it before setting a new one.
3249 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
3250 HildonTouchSelector)
3252 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
3254 * src/hildon-touch-selector-entry.c:
3255 (hildon_touch_selector_entry_changed): Check if there is no text
3256 selected before setting the entry text.
3259 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3261 * src/hildon-touch-selector.h
3262 * src/hildon-touch-selector.c
3263 (hildon_touch_selector_get_active)
3264 (hildon_touch_selector_set_active): New methods to set/get the
3265 index of the selected item.
3267 * src/hildon-picker-button.h
3268 * src/hildon-picker-button.c
3269 (hildon_picker_button_get_active)
3270 (hildon_picker_button_set_active): New methods to set/get the
3271 index of the selected item.
3273 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3275 * configure.ac: post-release version bump.
3277 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
3281 * configure.ac: Pre-release version bump.
3282 * debian/changelog: Updates.
3283 * debian/control: Add myself as maintainer and depend on l10n
3286 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3288 * src/hildon-window.c
3289 (hildon_window_set_main_menu)
3290 * src/hildon-stackable-window.c
3291 (hildon_stackable_window_set_main_menu):
3292 Updated documentation.
3294 2008-09-15 Alberto Garcia <agarcia@igalia.com>
3296 * src/hildon-date-selector.c (hildon_date_selector_finalize):
3297 Don't free selector->priv manually.
3300 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3303 (hildon_gtk_window_set_progress_indicator):
3304 * src/hildon-gtk.h: Added the new API
3305 hildon_gtk_window_set_progress_indicator, it changes the state of
3306 the window progress hint.
3308 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3310 * src/hildon-button.c
3311 * src/hildon-stackable-window.c: Minor documentation updates.
3313 2008-09-12 Alberto Garcia <agarcia@igalia.com>
3315 * src/hildon-stackable-window.c: Updated documentation.
3317 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
3319 * src/hildon-defines.h: Update margins definitions
3320 to the Fremantle sizes.
3323 2008-09-12 Alejandro G. Castro <alex@igalia.com>
3325 * src/hildon-touch-selector.c,
3326 (_hildon_touch_selector_set_model): Cleaning the code after
3327 review, removed g_print and #if 0 from the code.
3329 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3331 * src/hildon-edit-toolbar.c: Update documentation.
3333 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3335 * src/hildon-check-button.h
3336 * src/hildon-check-button.c
3337 (hildon_check_button_set_label, hildon_check_button_get_label)
3338 * examples/hildon-check-button-example.c
3339 (button_clicked_cb):
3340 Removed deprecated methods.
3342 2008-09-11 Alberto Garcia <agarcia@igalia.com>
3344 * src/hildon-text-view.c:
3345 Add sample code to the documentation.
3347 * src/hildon-entry.h
3348 * src/hildon-text-view.h:
3349 Minor cosmetic changes.
3351 * src/hildon-entry.c:
3352 Add sample code to the documentation.
3353 (hildon_entry_init, hildon_entry_refresh_contents):
3354 Don't allow NULL values in the placeholder.
3356 2008-09-10 Alberto Garcia <agarcia@igalia.com>
3358 * doc/hildon-docs.sgml
3360 * examples/Makefile.am
3361 * examples/hildon-text-view-example.c
3363 * src/hildon-text-view.c
3364 * src/hildon-text-view.h
3366 New HildonTextView widget, with example.
3368 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3370 * po/POTFILES.in: Add missing files with translatable strings.
3371 Partially fixes NB#88287.
3373 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3375 * examples/hildon-pannable-area-example-2.c: (main): No need to
3376 set the cellrenderer height inside hildon touch lists, the theme does
3379 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
3381 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
3382 they are integrated in the theme.
3384 2008-09-09 Alberto Garcia <agarcia@igalia.com>
3386 * examples/hildon-entry-example.c: Update the example adding
3387 widgets to modify the text and the placeholder of the HildonEntry.
3389 * src/hildon-entry.c: Show the placeholder everytime the widget
3390 is empty and loses the focus.
3392 2008-09-09 Alejandro G. Castro <alex@igalia.com>
3394 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
3396 * src/hildon-pannable-area.c,
3397 (hildon_pannable_area_size_request): Fixed bug in height
3398 requisition, avoid increasing size and add border twice.
3400 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3402 * configure.ac: postrelease version bump.
3404 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
3408 * configure.ac: Prerelease version bump.
3409 * debian/changelog: update.
3410 * debian/rules: make -dbg package contain useful debugging symbols.
3412 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3414 * src/hildon-dialog.h
3415 * src/hildon-dialog.c
3416 (hildon_dialog_add_button, hildon_dialog_add_buttons):
3417 New methods to add buttons with finger size.
3418 (hildon_dialog_new_with_buttons):
3419 Create buttons with finger size.
3421 * examples/hildon-dialog-example.c (main): Use HildonDialog
3422 methods to add buttons.
3424 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3426 * src/hildon-entry.c: Updated HildonButton documentation.
3428 2008-09-08 Alberto Garcia <agarcia@igalia.com>
3430 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
3431 button value label with (FALSE, FALSE) to prevent NB#88126 from
3434 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3436 * examples/hildon-pannable-area-example.c,
3437 (main): Removed examples panning a vbox inside a pannable
3438 area. Check bug NB#87965
3440 2008-09-08 Alejandro G. Castro <alex@igalia.com>
3442 Patch contributed by Kris Rietveld (kris@imendio.com)
3444 * src/hildon-pannable-area.c,
3445 (hildon_pannable_area_get_topmost): replaced the get_geometry with
3446 get_size and get_position, this saves an X server roundtrip.
3448 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3450 * doc/hildon-docs.sgml
3452 * examples/Makefile.am
3453 * examples/hildon-entry-example.c
3455 * src/hildon-entry.c
3456 * src/hildon-entry.h
3458 New HildonEntry widget, with example.
3460 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-button.c (hildon_button_construct_child): Pack the
3463 image with expand == fill == FALSE. This is a workaround for a bug
3466 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3468 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3469 labels for the text column, to make it more look more dynamic.
3471 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3473 * src/hildon-time-selector.c
3474 Define gettext auxiliar macro N_
3475 (_create_minutes_model)
3476 (_create_hours_model)
3477 (_create_ampm_model): use of strftime in order to fill the model
3478 * src/hildon-date-selector.c
3479 (hildon_date_selector_finalize):
3480 (_locales_init): remove the logic related to get the name of the months
3481 using nl_langinfo, as it is not required anymore
3483 (_create_year_model)
3484 (_create_month_model)
3485 (_update_day_model): use of strftime in order to fill the model properly
3488 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3490 * src/hildon-button.h
3491 * src/hildon-button.c (hildon_button_get_image): New method to
3494 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3496 * src/hildon-touch-selector.c:
3497 (hildon_touch_selector_remove_column): Remove from the correct parent
3498 and also remove the list element and free it.
3501 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3503 * src/hildon-time-selector.c
3504 (_create_hours_model): change the range on 12h ampm format in order to use
3505 a 12-11 range instead of previous 01-12 range
3506 (hildon_time_selector_set_time): change the way to select the current time
3507 on 12h ampm format, due the change on the range
3508 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3511 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3513 * src/hildon-touch-selector.c
3514 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3515 in order to allow use this function on multiple row selection mode if
3516 the column is different that the first one
3519 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3521 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3522 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3524 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3526 * src/hildon-date-selector.h: clean some comments, now on the .c
3527 * src/hildon-date-selector.c
3528 (hildon_date_selector_select_month): first implementation
3529 (hildon_date_selector_select_day): added documentation, reimplemented
3530 using hildon_date_selector_select_current_date to avoid repeat code
3533 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3535 Reviewed interaction logic based on device experiences, refactored
3538 * src/hildon-pannable-area.c,
3539 (hildon_pannable_area_class_init): Updated default vmax speed.
3540 (hildon_pannable_area_calculate_velocity): Added this function, it
3541 avoids duplicate valocity calculation. Adjusted calculation to
3542 avoid problems with zero dist events.
3544 (hildon_pannable_area_motion_notify_cb): Now we use the
3545 calculate_velocity function.
3547 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3549 * src/hildon-date-selector.c
3550 (hildon_date_selector_select_current_date): fix the day range check
3551 as it failed using the last day of the current month
3554 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3556 * src/hildon-touch-selector.c
3557 (hildon_touch_selector_get_num_columns): added a parameter validation
3560 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3562 * examples/Makefile.am
3563 * examples/hildon-edit-toolbar-example.c: Example of the
3564 HildonEditToolbar widget.
3566 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3568 * configure.ac: postrelease version bump.
3570 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3574 * configure.ac: prerelease version bump.
3575 * debian/changelog: update.
3577 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3579 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3580 renderer to display stock icons in the touch list. Also, set the sizes
3581 to the recommended in the style guide.
3583 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3584 * src/hildon-touch-selector.h
3585 (hildon_touch_selector_set_active_iter): renamed, now is
3586 hildon_touch_selector_select_iter
3587 (hildon_touch_selector_get_active_iter): renamed, now is
3588 hildon_touch_selector_get_selected
3589 (hildon_touch_selector_unselect_iter): added
3590 * src/hildon-touch-selector.c
3591 Update after API modification (methods renamed)
3592 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3593 order to avoid problems selecting multiple elements on the column
3594 (hildon_touch_selector_unselect_iter): added the implementation
3595 * src/hildon-time-selector.c
3596 * src/hildon-date-selector.c
3597 * src/hildon-touch-selector-entry.c
3598 Update methods calls after hildon-touch-selector.h API modification (methods
3601 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3603 * src/hildon-stackable-window.c
3604 (hildon_stackable_window_finalize): Call the parent class's finalize.
3606 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3608 * examples/hildon-touch-selector-example.c: (create_selector): Use
3609 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3612 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3614 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3615 set a cell background color, to respect theming.
3617 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3619 * doc/hildon-docs.sgml
3622 * src/hildon-edit-toolbar.c
3623 * src/hildon-edit-toolbar.h
3624 * src/hildon.h: New HildonEditToolbar widget.
3626 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3628 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3631 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3632 * src/hildon-touch-selector.c
3633 (_create_new_column): use g_object_set instead of two g_object_set_property
3635 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3636 * src/hildon-touch-selector.c
3637 (_create_new_column): use of hildon_gtk_tree_view_new to create
3638 the treeview, instead of use directly g_object_new
3639 (_create_new_column): update the property name "vindicator-mode" for the
3640 new one "vscrollbar-policy"
3641 * examples/hildon-date-button-example.c
3642 * examples/hildon-picker-button-multicolumn-example.c
3643 * examples/hildon-touch-selector-entry-example.c
3644 * examples/hildon-touch-selector-example.c
3645 * examples/hildon-time-button-example.c
3646 * examples/hildon-picker-button-example.c
3647 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3648 to all the treeviews inside a pannable area.
3650 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3652 * src/hildon-button.h
3653 * src/hildon-button.c (hildon_button_init)
3654 (hildon_button_set_arrangement, hildon_button_set_alignment)
3655 (hildon_button_set_title_alignment)
3656 (hildon_button_set_value_alignment)
3657 (hildon_button_set_image_alignment)
3658 (hildon_button_construct_child): New methods to set the alignment
3659 of the individual components of the button (title, value,
3660 image). Also, new method to alter the xscale and yscale properties
3661 of the GtkAlignment inside the button, so more complex layouts can
3664 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3666 * src/hildon-button.c (hildon_button_style_set)
3667 (hildon_button_class_init, hildon_button_set_arrangement)
3668 (hildon_button_construct_child): Apply style properties
3669 correctly. Use the 'image-spacing' style property too.
3671 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3673 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3674 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3677 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3679 * src/hildon-pannable-area.c,
3680 (hildon_pannable_area_size_request): Fixed problem with
3681 pannable-area size_request.
3683 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3685 Added management for the grab-focus to a child widget, like a
3686 range, we need to fade out the scrollbar when releasing.
3688 * src/hildon-pannable-area.c,
3689 (hildon_pannable_area_init): Connected the grab-focus signal to
3691 (hildon_pannable_area_grab_notify): Added this function in order
3692 to manage the situation when the grab-focus ends. We have to
3693 fade-out the scrollbar.
3695 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3697 * src/hildon-app-menu.c: Minor documentation update.
3699 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3701 * src/hildon-app-menu.c
3702 * examples/hildon-app-menu-example.c (create_menu): Update
3703 examples and documentation to explain how to connect callbacks.
3705 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3707 * examples/hildon-button-example.c
3708 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3709 hildon_stackable_window_new instead of gtk_window_new
3711 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3713 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3714 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3715 (hildon_pannable_area_set_property),
3716 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3717 (hildon_pannable_area_unrealize),
3718 (hildon_pannable_area_size_request),
3719 (hildon_pannable_area_size_allocate),
3720 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3721 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3722 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3723 (hildon_pannable_area_initial_effect),
3724 (hildon_pannable_area_redraw),
3725 (hildon_pannable_area_scroll_indicator_fade),
3726 (hildon_pannable_area_expose_event),
3727 (hildon_pannable_area_get_topmost), (synth_crossing),
3728 (hildon_pannable_area_button_press_cb),
3729 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3730 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3731 (hildon_pannable_area_motion_notify_cb),
3732 (hildon_pannable_area_button_release_cb),
3733 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3734 (hildon_pannable_area_remove),
3735 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3736 chage the code layout to a more GtkWidget like. Review the use of
3739 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3741 * examples/hildon-pannable-area-example-4.c,
3742 (main): Modified the name of the hindicator_mode to
3745 * src/hildon-pannable-area.c,
3746 (hildon_pannable_area_class_init),
3747 (hildon_pannable_area_motion_notify_cb),
3748 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3749 we have reduced the amount of signals and managed reviewed its
3750 rationale. Changed the default decelerate value.
3752 (hildon_pannable_area_add),
3753 (hildon_pannable_area_redraw): Refactored functions.
3755 (hildon_pannable_area_init),
3756 (hildon_pannable_area_get_property),
3757 (hildon_pannable_area_set_property):
3758 (hildon_pannable_draw_vscroll),
3759 (hildon_pannable_draw_hscroll),
3760 (hildon_pannable_area_initial_effect),
3761 (hildon_pannable_area_expose_event),
3762 (hildon_pannable_area_scroll),
3763 (hildon_pannable_area_button_press_cb),
3764 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3765 and vindicator_mode with hscrollbar_policy and
3766 vscrollbar_policy. Replaced hscroll and vscroll with
3767 hscroll_visible and vscroll_visible.
3769 (hildon_pannable_area_refresh): Refactor the function, remove
3770 variables and check the calls to this function, added resize
3771 conditions in case the children change their layout.
3773 (hildon_pannable_area_size_request): Added more detailed
3774 size_request calculation.
3777 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3779 * src/hildon-color-chooser.c
3780 (init_borders): use the correct gtk_border_free instead of g_free, to
3781 avoid a crash when this widget is used (ie: the three color selection
3784 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3786 * src/hildon-check-button.c,
3787 (hildon_check_button_set_active): Fixed problem when setting the
3788 active value, the widget was not redrawn.
3790 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3792 * src/hildon-pannable-area.c,
3793 (hildon_pannable_area_refresh),
3794 (hildon_pannable_area_scroll),
3795 (hildon_pannable_area_motion_notify_cb): Small code style change.
3797 (hildon_pannable_area_class_init): Default initial_hint set to
3798 FALSE, it is not in the specs.
3800 (hildon_pannable_area_initial_effect),
3801 (hildon_pannable_area_expose_event),
3802 (hildon_pannable_area_map),
3803 (hildon_pannable_area_init): Moved the launching point of the
3804 initial effect, it was in map but the sizes where not correct in
3805 that method so we do not know if we have the reproduce it. Now it
3806 is placed in the expose_event method and uses a variable to
3807 reproduce it just once.
3809 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3811 * src/hildon-pannable-area.c,
3812 (hildon_pannable_draw_vscroll),
3813 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3814 position allowed for the scrollbars.
3816 (hildon_pannable_area_size_allocate): Small style change.
3818 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3820 * src/hildon-pannable-area.c,
3821 (hildon_pannable_area_scroll_indicator_fade),
3822 (hildon_pannable_area_button_press_cb),
3823 (hildon_pannable_area_button_release_cb),
3824 (hildon_pannable_area_scroll_cb),
3825 (hildon_pannable_area_expose_event),
3826 (hildon_pannable_area_init): Added the define parameter
3827 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3828 and refactor the fade variable.
3830 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3832 * src/hildon-pannable-area.c,
3833 (hildon_pannable_area_redraw),
3834 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3835 lines, we were reimplemeting the redraw code.
3837 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3839 * src/hildon-pannable-area.c,
3840 (hildon_pannable_area_scroll_cb),
3841 (hildon_pannable_area_realize),
3842 (hildon_pannable_area_class_init): Added scroll_event management
3843 for pannable area, now we can scroll the usual desktop method.
3845 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3846 initialization of the parameters should depend on idle_id.
3848 (hildon_pannable_area_init),
3849 (hildon_pannable_area_map): Small code style modifications
3851 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3853 * src/hildon-pannable-area.c
3854 (hildon_pannable_area_button_press_cb),
3855 (hildon_pannable_area_motion_notify_cb),
3856 (hildon_pannable_area_button_release_cb),
3857 (hildon_pannable_area_size_allocate),
3858 (hildon_pannable_area_scroll_to): Improved the timeouts
3859 management, we avoid creating them each time.
3861 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3863 * src/hildon-pannable-area.c:
3864 (hildon_pannable_area_refresh),
3865 (hildon_pannable_area_motion_notify_cb),
3866 (hildon_pannable_area_class_init):
3867 * src/hildon-pannable-area.h:
3868 * src/hildon-touch-selector.c
3869 (_create_new_column):
3870 * examples/hildon-pannable-area-example-4.c:
3871 (horizontal_movement),
3872 (vertical_movement),
3874 Replaced the names of enums in the HildonPannableArea:
3875 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3876 HILDON_MOVEMENT_MODE_*
3877 - HILDON_PANNABLE_AREA_MOV_* ->
3879 - Removed HildonPannableAreaIndicatorMode, now we
3882 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3884 * examples/hildon-pannable-area-touch-grid-example.c
3885 * examples/hildon-pannable-area-touch-list-example.c: Fix
3886 compilation warnings.
3888 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3890 * src/hildon-gtk.c (hildon_gtk_button_new)
3891 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3892 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3893 images overriding the value of the "gtk-button-images" setting.
3895 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3897 * src/hildon-check-button.c (hildon_check_button_new):
3898 Instead of using a custom container, display the label and the
3899 checkbox using the standard GtkButton API.
3901 * examples/hildon-check-button-example.c (main): Don't use
3902 hildon_check_button_set_label() anymore
3904 * src/hildon-check-button.h
3905 * src/hildon-check-button.c
3906 (hildon_check_button_set_label, hildon_check_button_get_label):
3907 Set as deprecated, now we're using gtk_button_{get,set}_label()
3909 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3911 * src/hildon-pannable-area.c,
3912 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3913 GtkTreeview first line we detected it after the inclusion of the
3914 GtkWindowImpl in gtk+. We now check if the window is visible, not
3915 just if the pointer is over the window.
3916 (hildon_pannable_axis_scroll),
3917 (hildon_pannable_area_expose_event): Small style changes.
3919 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3921 * src/hildon-button.c: Update documentation.
3923 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3925 * examples/hildon-button-example.c: Add a switch to show images in
3928 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3930 * doc/hildon-docs.sgml: Some docs reorganization.
3932 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3934 * examples/hildon-pannable-area-touch-list-example.c
3936 * examples/hildon-pannable-area-touch-grid-example.c
3937 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3938 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3939 Fix memory leak when setting the tree model.
3941 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3945 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3947 * doc/hildon.types: Remove duplicated hildon_window_get_type
3948 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3949 documentation comment.
3951 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3953 * doc/Makefile.am: Complete list of private headers.
3955 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3957 * doc/hildon-docs.sgml
3958 * src/hildon-app-menu.c
3959 * src/hildon-bread-crumb.c
3960 * src/hildon-button.c
3962 * src/hildon-program.c
3963 * src/hildon-stackable-window.c
3964 * src/hildon-window.c: Lots of documentation updates.
3966 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3968 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3970 * configure.ac: Require Gtk+ 2.12.9 at least
3972 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3974 * src/hildon-pannable-area.c
3975 (hildon_pannable_area_scroll_indicator_fade),
3976 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3977 to protect the return of this timeout callbacks, avoiding deadlocks.
3979 2008-08-12 Christian Dywan <christian@imendio.com>
3982 * src/hildon-*.h: Ensure a consistent include order,
3983 include <gtk/gtk.h> instead of particular files and
3984 only include the topmost header in the gtk stack. See NB #39857
3986 2008-08-12 Christian Dywan <christian@imendio.com>
3988 * src/hildon-picker-dialog.c
3989 * src/hildon-touch-selector.c: Fix warnings about unused and
3990 uninitialized variables.
3992 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3994 * examples/Makefile.am
3995 * examples/hildon-check-button-example.c: Example of the hildon
3998 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4000 * src/hildon-window.h
4001 * src/hildon-window.c (hildon_window_class_init)
4002 (hildon_window_unset_program): Don't make
4003 hildon_window_unset_program a virtual function anymore.
4005 * src/hildon-stackable-window.c: Update documentation
4007 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4010 * doc/hildon-docs.sgml
4011 * doc/visual_index.xml
4012 * src/hildon-defines.c
4014 * src/hildon-helper.c
4015 * src/hildon-range-editor.c: Lots of documentation fixes.
4017 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4019 * examples/hildon-picker-button-multicolumn-example.c
4020 (create_touch_selector): Fix compilation warning.
4022 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4024 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
4025 (hildon_pannable_area_button_release_cb)
4026 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
4028 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4030 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
4033 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4035 * src/hildon-bread-crumb-trail.h
4036 * src/hildon-date-editor.c
4037 * src/hildon-date-selector.c
4038 * src/hildon-pannable-area.c
4039 * src/hildon-picker-dialog.c
4040 * src/hildon-time-selector.c
4041 * src/hildon-touch-selector-entry.c
4042 * src/hildon-touch-selector.c
4043 * src/hildon-touch-selector.h: Misc documentation fixes
4045 2008-08-11 Alberto Garcia <agarcia@igalia.com>
4047 * examples/hildon-date-editor-example.c (main): Updated date
4050 * examples/hildon-note-example.c (on_confirmation_clicked):
4051 Updated confirmation note example.
4053 * src/hildon-date-editor.c
4054 * src/hildon-note.c: Updated sample programs in documentation.
4057 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4059 * src/hildon-date-button.h:
4060 * src/hildon-picker-button.h:
4061 * src/hildon-time-button.c:
4062 * src/hildon-time-button.h:
4064 Some declarations changes to allow gtk-doc to document the widgets
4067 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4069 * src/hildon-date-button.c: Document the widget.
4070 * src/hildon-time-button.c: Document the widget.
4072 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
4074 * src/hildon-picker-button.c: Document the widget.
4075 * src/hildon-touch-selector-entry.c: Document the widget.
4077 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4079 * doc/hildon-docs.sgml
4082 * src/hildon-check-button.h
4083 * src/hildon-check-button.c: New functions to create the Hildon
4087 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
4089 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4091 * src/hildon-button.h
4092 * src/hildon-button.c
4093 (hildon_button_add_title_size_group)
4094 (hildon_button_add_value_size_group)
4095 (hildon_button_add_image_size_group)
4096 (hildon_button_add_size_groups): New functions to set size groups
4097 for the button labels and image.
4098 (hildon_button_new_full): Removed
4100 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
4102 * src/hildon-time-selector.c
4103 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
4104 in order to avoid a crash if gconf is not available
4106 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4108 * src/hildon-button.c (hildon_button_set_arrangement)
4109 (hildon_button_construct_child): Don't construct the button child
4110 before setting the arrangement.
4112 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4114 * src/hildon-program-private.h
4115 * src/hildon-program.c
4116 * src/hildon-program.h
4117 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
4118 (hildon_program_peek_window_stack)
4119 (hildon_program_pop_window_stack)
4120 (hildon_program_go_to_root_window): HildonProgram now has a
4121 separate list for stackable windows. Functions are provided to
4122 manage that list with a stack-like API.
4124 * src/hildon-stackable-window.c: Stackable window management is
4125 now much simpler with the new HildonProgram API. Windows no
4126 longer need to be manually added to the program, they're
4127 automatically pushed to the top of the stack when shown.
4129 * examples/hildon-stackable-window-example.c: Updated example to
4130 reflect the API changes.
4132 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4134 * src/hildon-touch-selector.c: Comment out unimplemented
4135 hildon_touch_selector_insert_column() to avoid a compile warning.
4137 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
4139 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4140 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
4141 (hildon_touch_selector_set_column_selection_mode),
4142 (_hildon_touch_selector_set_model),
4143 (hildon_touch_selector_set_model):
4145 Complete review of HildonTouchSelector documentation.
4147 2008-08-08 Alberto Garcia <agarcia@igalia.com>
4149 * doc/hildon-docs.sgml
4153 * src/hildon-gtk.c: Convenience functions for standard Gtk
4154 widgets, used to easily perform frequent operations.
4156 * src/hildon-button-helpers.h
4157 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
4159 * src/hildon-helper.h
4160 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
4161 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
4163 * src/hildon-button.h
4164 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
4166 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4168 * src/hildon-button.c (hildon_button_init)
4169 (hildon_button_set_arrangement, hildon_button_construct_child):
4170 Pack the image and the labels inside the same GtkAlignment so
4171 gtk_button_set_alignment() can be used
4173 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4175 * src/hildon-button.h
4176 * src/hildon-button.c
4177 (hildon_button_init, hildon_button_set_image)
4178 (hildon_button_set_image_position)
4179 (hildon_button_construct_child): New functions to add an image to
4182 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4184 * src/hildon-date-button.c
4185 * src/hildon-picker-button.c
4186 * src/hildon-time-button.c
4187 * src/hildon-button.c:
4188 (hildon_button_class_init): "size-flags" renamed to "size"
4189 (hildon_button_set_title): Hide the title label if set to NULL.
4191 2008-08-07 Alberto Garcia <agarcia@igalia.com>
4193 HildonButtonFlags split into HildonButtonArrangement (to set the
4194 button layout) and HildonSizeType (which can be used for any
4197 * src/hildon-button.h
4198 * src/hildon-button.c
4199 (hildon_button_class_init)
4200 (hildon_button_set_arrangement)
4201 (hildon_button_set_property): New "size-flags"
4202 property. "arrangement-flags" renamed to "arrangement".
4203 (hildon_button_new, hildon_button_new_with_text)
4204 (hildon_button_new_full): Constructors updated to reflect type changes.
4206 * src/hildon-helper.h
4207 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
4208 to set the size of a widget.
4212 * src/hildon-button-helpers.c
4213 * src/hildon-button-helpers.h: New hildon-button-helpers module.
4215 * src/hildon-date-button.c
4216 * src/hildon-date-button.h
4217 * src/hildon-picker-button.c
4218 * src/hildon-picker-button.h
4219 * src/hildon-time-button.c
4220 * src/hildon-time-button.h: Updated widgets to reflect
4221 HildonButton API changes.
4223 * examples/hildon-button-example.c
4224 * examples/hildon-date-button-example.c
4225 * examples/hildon-picker-button-example.c
4226 * examples/hildon-picker-button-multicolumn-example.c
4227 * examples/hildon-time-button-example.c
4228 * examples/hildon-touch-selector-entry-example.c
4229 * examples/hildon-touch-selector-example.c: Updated examples to
4230 reflect HildonButton API changes.
4232 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4234 * doc/hildon-docs.sgml:
4236 * examples/Makefile.am:
4237 * examples/hildon-touch-selector-entry-example.c:
4239 * src/hildon-touch-selector-entry.c:
4240 * src/hildon-touch-selector-entry.h:
4243 Moved HildonTouchSelectorEntry from sandbox. Added its
4244 documentation and examples.
4246 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4248 * src/hildon-touch-selector.h:
4249 * examples/hildon-picker-button-multicolumn-example.c:
4250 (hildon_touch_selector_append_text_column): Add a gboolean
4251 parameter to determine if text must be centered in the column.
4253 * src/hildon-date-selector.c: (hildon_date_selector_init):
4254 * src/hildon-time-selector.c: (hildon_time_selector_init):
4255 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
4256 (create_touch_selector): Update widgets and example to reflect
4259 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
4261 * src/hildon-touch-selector.c:
4262 (hildon_touch_selector_set_active_iter): Set also the cursor in
4265 2008-08-06 Alberto Garcia <agarcia@igalia.com>
4267 * doc/hildon-docs.sgml
4270 * src/hildon-toggle-button.c
4271 * src/hildon-toggle-button.h
4272 * src/hildon.h: Removed HildonToggleButton widget, a derived
4273 class is not necessary for this.
4275 2008-08-06 Alejandro G. Castro <alex@igalia.com>
4277 * src/hildon-pannable-area.c,
4278 (hildon_pannable_area_realize),
4279 (hildon_pannable_area_size_allocate): Code refactoring, add tests
4282 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
4285 "done" button the default widget for the dialog.
4287 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4289 * src/hildon-touch-selector.c:
4290 (hildon_touch_selector_class_init),
4291 (hildon_touch_selector_get_property),
4292 (_hildon_touch_selector_set_model),
4293 (_hildon_touch_selector_has_multiple_selection),
4294 (hildon_touch_selector_has_multiple_selection):
4295 Add a "has-multiple-selection" property with a virtual
4296 has_multiple_selection() method to allow derived classes to
4297 override the default value for it. See the method and property
4298 documentation for details.
4300 * src/hildon-touch-selector.h: Add the new API.
4302 * src/hildon-picker-dialog.c: (requires_done_button): Call
4303 hildon_touch_selector_has_multiple_selection() instead of
4304 determining the need for a button itself.
4306 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4308 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4309 (_hildon_touch_selector_set_model),
4310 (hildon_touch_selector_set_model): Move working code to
4311 _hildon_touch_selector_set_mode(). Call the class method instead.
4313 * src/hildon-touch-selector.h: Add (*set_model) to
4314 HildonTouchSelectorClass.
4316 Make hildon_touch_selector_set_model() a virtual method, so that
4317 derived classes can extend it and do fancy stuff with the model.
4319 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
4321 * configure.ac: Set back the tarname in AC_INIT to hildon.
4323 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
4327 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
4328 instead of libesd (NB#86876). Volume handling is still an open issue.
4330 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
4333 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4335 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
4336 (hildon_touch_selector_append_column): Make the widget a GtkVBox
4337 derived class to ease placement of an entry widget in
4338 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
4339 end, where the selector columns are packed now.
4341 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
4343 * src/hildon-picker-button.c: Removed the simple _text() API.
4344 * src/hildon-picker-button.h: Likewise.
4346 * src/hildon-touch-selector.h:
4347 * src/hildon-touch-selector.c:
4348 (hildon_touch_selector_new_text),
4349 (hildon_touch_selector_append_text),
4350 (hildon_touch_selector_prepend_text),
4351 (hildon_touch_selector_insert_text):
4353 Moved the simple _text() API from HildonPickerButton to
4354 HildonTouchPicker, to provide better escalability and not to tie
4355 that API to HildonPickerButton.
4357 * examples/hildon-picker-button-example.c: (main): Example updated.
4359 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4361 * src/hildon-button.c: Updated documentation.
4363 * examples/hildon-button-example.c: Add the posibility to create
4364 the buttons using horizontal layout for title and value.
4366 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4368 * src/hildon-app-menu-private.h
4369 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
4370 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
4371 GtkSizeGroup for the filters, use the 'homogeneous' property of
4374 2008-07-31 Alberto Garcia <agarcia@igalia.com>
4376 * examples/hildon-button-example.c: Updated example.
4378 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
4380 * doc/hildon-docs.sgml:
4383 Update documentation.
4385 * examples/Makefile.am: Update renamed examples.
4387 * examples/hildon-picker-button-multicolumn-example.c:
4388 (create_touch_selector), (main): Update after the rename.
4390 * examples/hildon-touch-picker-example.c: Removed.
4391 * examples/hildon-touch-selector-example.c: (value_changed),
4392 (create_selector), (get_visible_content), (main): Renamed from
4393 hildon-touch-picker-example.c
4395 * src/Makefile.am: Updated renamed files.
4397 * src/hildon-date-button.c: (hildon_date_button_init),
4398 (hildon_date_button_get_date), (hildon_date_button_set_date):
4399 * src/hildon-date-selector.c: (hildon_date_selector_init),
4400 (_custom_print_func), (_update_day_model),
4401 (_manage_selector_change_cb),
4402 (hildon_date_selector_select_current_date),
4403 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
4404 * src/hildon-date-selector.h:
4405 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
4406 (hildon_picker_button_set_property),
4407 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
4408 (hildon_picker_button_init), (hildon_picker_button_new_text),
4409 (hildon_picker_button_append_text),
4410 (hildon_picker_button_prepend_text),
4411 (hildon_picker_button_insert_text),
4412 (hildon_picker_button_set_selector),
4413 (hildon_picker_button_get_selector):
4414 * src/hildon-picker-button.h:
4415 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
4416 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
4417 (_update_title_on_selector_changed_cb), (requires_done_button),
4418 (_hildon_picker_dialog_set_selector),
4419 (hildon_picker_dialog_set_selector),
4420 (hildon_picker_dialog_get_selector):
4421 * src/hildon-picker-dialog.h:
4422 * src/hildon-time-button.c: (hildon_time_button_init),
4423 (hildon_time_button_get_time), (hildon_time_button_set_time):
4424 * src/hildon-time-selector.c: (hildon_time_selector_init),
4425 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
4426 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
4427 * src/hildon-time-selector.h:
4430 Massive code updates after the rename.
4432 * src/hildon-touch-picker.c: Removed.
4433 * src/hildon-touch-picker.h: Removed.
4435 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
4436 (hildon_touch_selector_init), (hildon_touch_selector_map),
4437 (hildon_touch_selector_remove), (_default_print_func),
4438 (_selection_changed_cb), (_create_new_column),
4439 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
4440 (hildon_touch_selector_append_text_column),
4441 (hildon_touch_selector_remove_column),
4442 (hildon_touch_selector_set_column_attributes),
4443 (hildon_touch_selector_insert_column),
4444 (hildon_touch_selector_get_num_columns),
4445 (hildon_touch_selector_get_column_selection_mode),
4446 (hildon_touch_selector_set_column_selection_mode),
4447 (hildon_touch_selector_set_print_func),
4448 (hildon_touch_selector_get_print_func),
4449 (hildon_touch_selector_get_active_iter),
4450 (hildon_touch_selector_set_active_iter),
4451 (hildon_touch_selector_get_selected_rows),
4452 (hildon_touch_selector_get_model),
4453 (hildon_touch_selector_set_model),
4454 (hildon_touch_selector_get_current_text),
4455 (_hildon_touch_selector_center_on_selected_items):
4456 * src/hildon-touch-selector.h: Renamed from
4457 hildon-touch-picker.[ch]
4459 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4460 references, code examples, and related documentation.
4462 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4464 * doc/hildon-docs.sgml
4467 * src/hildon-toggle-button.c
4468 * src/hildon-toggle-button.h
4469 * src/hildon.h: New HildonToggleButton widget.
4471 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4473 * src/hildon-button.c: Add API documentation.
4474 (hildon_button_set_size_groups): Check input parameters
4476 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4478 * src/hildon-pannable-area.c
4479 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4480 effect after reaching the movement thredshold. This way we start
4481 using the distance after passing the thredshold.
4483 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4485 * src/hildon-button.c: (hildon_button_set_property): Use the
4486 appropriate g_value_get_flags() method.
4488 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4490 * doc/hildon-docs.sgml:
4493 Add the touch pickers, picker dialogs, and picker button widgets
4494 to the documentation.
4496 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/hildon-button.c: (hildon_button_set_property),
4499 (hildon_button_class_init): Make "arrangement-flags" a proper
4500 G_TYPE_FLAGS derived property.
4502 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4504 * examples/Makefile.am: Add below examples.
4505 * examples/hildon-date-button-example.c:
4506 * examples/hildon-picker-button-example.c:
4507 * examples/hildon-picker-button-multicolumn-example.c:
4508 * examples/hildon-time-button-example.c:
4509 * examples/hildon-touch-picker-example.c:
4511 Add examples for the recently added touch pickers,
4512 picker dialogs, and picker button widgets.
4514 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4516 * src/hildon-button.c: Add some API documentation
4518 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4520 * src/hildon-button.h
4521 * src/hildon-button.c
4523 (hildon_button_new_with_text): New constructor to create a button
4524 with no text at all.
4525 (hildon_button_init, hildon_button_set_arrangement)
4526 (hildon_button_set_title, hildon_button_set_value)
4527 (hildon_button_set_text)
4528 (hildon_button_construct_child): Hide the value when it's not used
4529 so the rest of the text is properly aligned.
4530 Allow creating buttons with arbitrary widgets inside (not just
4531 title/value labels).
4533 * examples/hildon-button-example.c (vertical_buttons_window)
4534 (horizontal_buttons_window): Update example to use new API.
4536 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4538 * src/Makefile.am: Added HildonTimeButton.
4539 * src/hildon-time-button.c: Added missing LGPL header.
4540 * src/hildon-time-button.h: Added missing LGPL header.
4541 * src/hildon.h: Add hildon-time-button.h
4543 Copied HildonTimeButton from sandbox to trunk. Future work on this
4544 widget must take place in trunk.
4546 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4548 * src/Makefile.am: Added HildonDateButton.
4549 * src/hildon-date-button.c: Update includes.
4550 * src/hildon.h: Add hildon-date-button.h
4552 Copied HildonDateButton from sandbox to trunk. Future work on this
4553 widget must take place in trunk.
4555 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4557 * src/Makefile.am: Added HildonPickerButton.
4558 * src/hildon-picker-button.h: Update includes.
4559 * src/hildon.h: Add hildon-picker-button.h
4561 Copied HildonPickerButton from sandbox to trunk. Future work on
4562 this widget must take place in trunk.
4564 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4566 * src/Makefile.am: Added HildonPickerDialog.
4567 * src/hildon-picker-dialog.c: Update includes.
4568 * src/hildon.h: Add hildon-picker-dialog.h
4570 Copied HildonPickerDialog from sandbox to trunk. Future work
4571 on this widget must take place in trunk.
4573 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4575 * src/Makefile.am: Added HildonTimeSelector.
4576 * src/hildon.h: Add hildon-time-selector.h
4578 Copied HildonTimeSelector widget from sandbox to trunk. Future
4579 work on this widget must happen in trunk.
4581 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4583 * src/Makefile.am: Added HildonDateSelector.
4584 * src/hildon.h: Add hildon-date-selector.h
4586 Copied HildonDateSelector widget from sandbox to trunk. Future
4587 work on this widget must happen in trunk.
4589 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4591 * src/Makefile.am: Added HildonTouchPicker.
4592 * src/hildon-touch-picker.c: Update includes.
4593 * src/hildon.h: Add hildon-touch-picker.h
4595 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4596 on this widget must happen in trunk.
4598 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4600 * src/hildon-pannable-area.c:
4601 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4603 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4605 * examples/hildon-app-menu-example.c (main): Let the window
4608 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4610 * src/hildon-pannable-area.c
4611 (hildon_pannable_area_class_init): Set the min value of the
4612 overshoot properties to zero, which points out that not
4613 overshooting allowed.
4615 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4617 Modified the procedure to get the widget at a point inside the
4618 pannable area when using the movement type signals. Now the user
4619 has to call a function to get the child, that way we just
4620 calculate the child in case the user really want to use it and not
4623 * src/hildon-marshalers.list: Modified the marshallers, now we do
4624 not have the widget as a parameter.
4626 * src/hildon-pannable-area.c
4627 (hildon_pannable_area_motion_notify_cb),
4628 (hildon_pannable_area_class_init),
4629 (hildon_pannable_get_child_widget_at): Removed the widget
4630 parameter from the signal callback. We have also refactored the
4631 emission of the signals.
4633 * src/hildon-pannable-area.h: Added a new method to the API to
4634 calculate a widget at a point inside the pannable area,
4635 hildon_pannable_get_child_widget_at.
4637 * examples/hildon-pannable-area-example-4.c
4638 (horizontal_movement): Modified the example to use the new API,
4639 added condition to control which widget is under the event. This
4640 way we can avoid scrolling laterally over other widgets.
4642 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4644 * src/hildon-pannable-area.c
4645 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4646 modes, we stop getting the pointer events due to returning the
4647 callback without properly calling the get pointer again. Fixed
4648 also an error using the hscroll and vscroll.
4650 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4652 * src/hildon-app-menu-private.h
4653 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4654 (hildon_app_menu_button_release, hildon_app_menu_init)
4655 (hildon_app_menu_class_init): Don't hide the menu on button
4656 release if the user didn't press outside first.
4658 * src/hildon-window.h
4659 * src/hildon-window.c (hildon_window_toggle_menu)
4660 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4661 hildon_window_toggle_menu a virtual function for the stackable
4662 window to override it.
4664 * src/hildon-stackable-window.h
4665 * src/hildon-stackable-window-private.h
4666 * src/hildon-stackable-window.c
4667 (hildon_stackable_window_realize)
4668 (hildon_stackable_window_finalize)
4669 (hildon_stackable_window_class_init)
4670 (hildon_stackable_window_init)
4671 (hildon_stackable_window_set_main_menu): New function to set the
4672 app menu of a HildonStackableWindow.
4674 * examples/hildon-app-menu-example.c: Remove the button to show
4675 the app menu, now it'll be shown when clicking on the title bar
4678 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4680 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4681 set the widget name if the arrangement flags do not specify
4684 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4686 * src/hildon-button.c: (hildon_button_set_property),
4687 (hildon_button_class_init), (hildon_button_new_full),
4688 (hildon_button_set_arrangement): Added "arrangement-flags"
4691 Make the HildonButtonFlags a construction-only property, to allow
4692 subclasses to set them properly.
4694 2008-07-21 Tim Janik <timj@imendio.com>
4696 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4697 insertion position after backspace, so additional digits are appended,
4700 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4702 * src/hildon-pannable-area.c,
4703 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4704 TODO list, it was complete and removed the g_debug and g_print
4707 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4709 Added the movement modes to the hildon-pannable-area, with this
4710 modes the developers can control in which directions the widget
4711 can scroll. They can also connect to signals in order to do
4712 something when that happens, allowing applications scroll. There
4713 is an example uploaded showing how to use it.
4715 * examples/Makefile.am:
4716 * examples/hildon-pannable-area-example-4.c: Added this example of
4717 an application using the modes.
4719 * src/hildon-marshalers.list: Added a new marshaller for the new
4722 * src/hildon-pannable-area.h: Added new enumerations and flags in
4723 order to control the movement modes and the new signals to warn
4724 about the movements in the area.
4726 * src/hildon-pannable-area.c:
4727 (hildon_pannable_axis_scroll),
4728 (hildon_pannable_area_scroll),
4729 (hildon_pannable_area_motion_notify_cb),
4730 (hildon_pannable_area_get_property),
4731 (hildon_pannable_area_set_property),
4732 (hildon_pannable_area_map),
4733 (hildon_pannable_area_class_init),
4734 (hildon_pannable_area_init),
4735 (hildon_pannable_area_jump_to): Added the modes to control the
4736 movement in the widget. We have added properties to control it,
4737 signals to warn about the movements and refactored some code.
4739 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4741 Changes required in order to allow vfast_factor set to zero to
4744 * src/hildon-pannable-area.c:
4745 (hildon_pannable_area_button_press_cb): Changed the condition, it
4746 is required for not allowing click when vfast_factor is zero.
4747 (hildon_pannable_area_timeout): Initialized velocity variables
4748 when we stop moving, it was less than 1 but not zero and we need
4749 to check zero in some situations.
4750 (hildon_pannable_area_class_init): Changed the default value of
4751 the speed factor, now the button_press is just sent in case the
4752 speed is 2 per cent of the max speed.
4753 (hildon_pannable_area_init): Initialization with 0.
4755 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4757 * src/hildon-pannable-area.c,
4758 (hildon_pannable_area_get_topmost): replaced
4759 gdk_window_get_children with gdk_window_peek_children, this way we
4760 do not have to free the list because it is not a copy.
4762 (hildon_pannable_axis_scroll),
4763 (hildon_pannable_area_scroll),
4764 (hildon_pannable_area_timeout),
4765 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4766 two parameters that were only used inside the
4767 hildon_pannable_area_scroll function.
4769 * examples/hildon-pannable-area-example.c,
4770 (get_sawtooth_label): Fixed small memory leak.
4772 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4774 More checks for the case where the overshoot is bigger than the
4777 * src/hildon-pannable-area.c:
4778 (hildon_pannable_draw_vscroll),
4779 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4780 to draw the slider of the scrollbar under the other scrollbar.
4781 (hildon_pannable_area_expose_event): added new checks to control
4782 the drawing of the overshooting area rectangle, in case it is too
4783 big for the area of the widget.
4784 (hildon_pannable_area_size_allocate): add more checks to avoid
4785 setting a position to the child widget outside the area.
4787 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4789 * src/hildon-pannable-area.c
4790 (hildon_pannable_area_size_allocate): Added conditions to control
4791 when overshooting is bigger than the allocated space for the
4792 children, this avoids negative allocations.
4794 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4796 * doc/hildon-docs.sgml
4798 * examples/Makefile.am
4799 * examples/hildon-button-example.c
4801 * src/hildon-button.c
4802 * src/hildon-button.h
4803 * src/hildon.h: Initial version of the new HildonButton widget,
4806 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4808 * src/hildon-pannable-area.c:
4809 (hildon_pannable_area_button_press_cb),
4810 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4811 (hildon_pannable_area_motion_notify_cb),
4812 (hildon_pannable_area_button_release_cb),
4813 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4814 (hildon_pannable_area_jump_to_child):
4816 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4818 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4820 * examples/Makefile.am
4821 * examples/hildon-pannable-area-touch-grid-example.c
4822 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4823 the Hildon Touch List and Hildon Touch Grid using the
4824 HildonPannableArea widget.
4826 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4828 * src/hildon-pannable-area.c,
4829 (hildon_pannable_area_button_press_cb),
4830 (hildon_pannable_area_refresh),
4831 (hildon_pannable_area_scroll),
4832 (hildon_pannable_area_motion_notify_cb),
4833 (hildon_pannable_area_button_release_cb),
4834 (hildon_pannable_area_expose_event),
4835 (hildon_pannable_area_add),
4836 (hildon_pannable_area_remove),
4837 (hildon_pannable_area_realize),
4838 (hildon_pannable_area_size_allocate),
4839 (hildon_pannable_area_class_init),
4840 (hildon_pannable_area_init),
4841 (hildon_pannable_area_scroll_to_child),
4842 (hildon_pannable_area_jump_to_child): Fixed the problem of
4843 removing the child from the GtkBin, we have rearranged the widget
4844 hierarchy, now there is no GtkAlignment which was not doing
4845 anything interesting but breaking some of the assumptions of
4846 GtkContainer. Now developers if they want to add a GtkAlignment
4847 they could, but it is not inside the area.
4849 We had to review the whole allocation/expose process, now it is
4850 improved and we save at least three signals which would be saving
4851 some time when rendering the widget. The allocation of the
4852 scrollbars is now made in the allocate method as usual.
4854 We have also added some conditions in order to control when there
4855 is no child of the pannable area. Maybe we will need more work
4858 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4860 * src/hildon-pannable-area.c,
4861 (hildon_pannable_area_dispose): Released the fade-out timeout when
4862 disposing the widget.
4864 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4866 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4867 zero, we are going to use that property in order to deactivate the
4869 (hildon_pannable_axis_scroll),
4870 (hildon_pannable_area_size_allocate): Added conditions to control
4871 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4872 call, now it is called in all situations and we can remove calls
4873 in the allocate method.
4874 (hildon_pannable_area_map): Control the situation when
4875 overshoot_max is zero, we do not need the timeout.
4876 (hildon_pannable_area_class_init): Added documentation in order to
4877 point out that setting zero to overshoot_max means deactivate
4880 NOTE: removed trailing whitespaces from my previous comments of
4883 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4885 * src/hildon-pannable-area.c
4886 (hildon_pannable_area_get_property),
4887 (hildon_pannable_area_set_property),
4888 (hildon_pannable_area_map),
4889 (hildon_pannable_area_class_init),
4890 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4891 to cause the widget give a hint about its panning abilities upon
4894 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4896 * src/hildon-pannable-area.c: Several documentation improvements.
4898 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4900 * src/hildon-program.c
4901 * src/hildon-stackable-window.c: Update documentation.
4903 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4905 * src/hildon-stackable-window.c (get_previous_window_if_last):
4906 Renamed get_last_window()
4907 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4908 (hildon_stackable_window_unset_program):
4910 (get_previous_window_if_last):
4911 Detect if the window hasn't been added to a HildonProgram.
4913 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4915 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4917 * src/hildon-pannable-area.c
4918 (hildon_pannable_area_button_press_cb),
4919 (hildon_pannable_axis_scroll),
4920 (hildon_pannable_area_scroll),
4921 (hildon_pannable_area_timeout),
4922 (hildon_pannable_calculate_vel_factor),
4923 (hildon_pannable_area_get_property),
4924 (hildon_pannable_area_set_property),
4925 (hildon_pannable_area_class_init),
4926 (hildon_pannable_area_init),
4927 (hildon_pannable_area_scroll_to),
4928 (hildon_pannable_area_jump_to),
4929 (hildon_pannable_area_scroll_to_child),
4930 (hildon_pannable_area_jump_to_child):
4931 * src/hildon-pannable-area.h: Added the new API functions:
4932 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4933 hildon_pannable_area_scroll_to_child,
4934 hildon_pannable_area_jump_to_child
4937 * examples/Makefile.am
4938 * examples/hildon-pannable-area-example-2.c
4939 * examples/hildon-pannable-area-example-3.c: Added these two new
4940 examples in order to test and show how the new APIs work.
4942 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4944 * examples/hildon-stackable-window-example.c (new_window):
4945 * src/Makefile.am (noinst_HEADERS):
4946 * src/hildon-program.c (hildon_program_go_to_root_window):
4947 * src/hildon-program.h:
4948 * src/hildon-stackable-window-private.h:
4949 * src/hildon-stackable-window.c:
4950 * src/hildon-stackable-window.h:
4951 Create hildon-stackable-window-private.h
4952 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4954 * examples/hildon-app-menu-example.c (create_menu):
4955 * examples/hildon-hvolumebar-insensitive-example.c (main):
4956 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4957 * examples/hildon-toolbar-seekbar-example.c (main):
4958 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4959 * src/hildon-banner.c (hildon_banner_set_property):
4960 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4961 Fix compilation warnings
4963 * src/hildon-window.c:
4966 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4968 * src/hildon-stackable-window.c
4969 (hildon_stackable_window_unset_program):
4970 Calculate correctly whether to show the previous window if the
4971 last one is removed from the stack.
4972 (hildon_stackable_window_go_to_root_window):
4973 Send delete events starting from the topmost window.
4974 Stop if one of the windows is not destroyed.
4976 (hildon_stackable_window_delete_event)
4977 (hildon_stackable_window_class_init):
4978 Ignore the delete event if the window is not the topmost one.
4980 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4982 * src/hildon-pannable-area.c
4983 (hildon_pannable_area_expose_event): Fixed a problem when
4984 selecting the background color of the scrollbars.
4986 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4988 * examples/hildon-stackable-window-example.c
4989 * src/hildon-stackable-window.c
4990 * src/hildon-stackable-window.h
4991 hildon_stackable_window_go_home() renamed to
4992 hildon_stackable_window_go_to_root_window()
4993 Send delete events to windows rather than closing them with
4994 gtk_widget_destroy()
4996 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4998 * src/hildon-pannable-area.c
4999 (hildon_pannable_area_button_release_cb): Fix overshooting in
5002 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5004 * src/hildon-pannable-area.c
5005 (hildon_pannable_area_init): Initially show the scroll indicators.
5006 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
5008 Add initial effect showing the widget is pannable.
5010 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5012 * src/hildon-pannable-area.c
5013 (hildon_pannable_area_class_init)
5014 (hildon_pannable_area_set_property)
5015 (hildon_pannable_area_get_property)
5016 (hildon_pannable_area_button_press_cb):
5017 New 'velocity_fast_factor' property to decide which velocity is
5020 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
5022 * src/hildon-pannable-area.c
5023 (hildon_pannable_draw_hscroll)
5024 (hildon_pannable_draw_vscroll):
5025 Use float variables to calculate the size of the scrollbars to
5026 avoid error propagation and resizing during scrolling.
5028 2008-06-19 Alberto Garcia <agarcia@igalia.com>
5030 * src/hildon-pannable-area.c
5031 (hildon_pannable_draw_vscroll)
5032 (hildon_pannable_draw_hscroll):
5033 Define a minimum size for the scroll bars
5035 * src/hildon-stackable-window.c
5036 (hildon_stackable_window_go_home): Fix compilation warning
5037 (get_last_window): Minor optimizations
5038 (hildon_stackable_window_class_init): Fix initialization of
5041 2008-06-18 Alberto Garcia <agarcia@igalia.com>
5043 * src/hildon-stackable-window.c: Fixed typos in doc
5045 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
5047 * src/hildon-pannable-area.c
5048 (hildon_pannable_area_scroll):
5049 Calculate here whether we need to scroll instead of using the booleans
5050 that tell us whether to /draw/ the scrolling bars.
5052 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
5054 * src/hildon-app-menu.h
5056 * src/hildon-app-menu.c
5057 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
5058 multiple filter groups related code and API. Now we support only
5060 * examples/hildon-app-menu-example.c:
5062 Update to reflect API changes.
5064 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
5066 * src/hildon-stackable-window.c
5067 (hildon_stackable_window_class_init):
5068 Add hildon_stackable_window_realize.
5069 (hildon_stackable_window_realize):
5070 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
5071 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
5072 to apply theming and behavior specific to HildonStackableWindow
5075 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5077 * src/hildon-note.c (hildon_note_button_release):
5078 Close information notes also when tapping on them
5080 2008-06-12 Alejandro G. Castro <alex@igalia.com>
5082 Added BOUNCE_STEPS define to control the overshoot effect. Removed
5083 ELASTICITY, refactor and review, fix some issues with drawing
5086 * src/hildon-pannable-area.c:
5087 (hildon_pannable_area_button_press_cb): removed the conditions to
5088 avoid clicks when overshooting. It is not required
5090 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
5091 define. Refatored and reviewed the code, now we do not need to
5092 manage velocity in motion_notify.
5094 (hildon_pannable_area_motion_notify_cb): We have moved the code
5095 that controls the area_scroll to the axis_scroll function and get
5096 rid of duplicated code.
5098 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
5100 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
5102 (hildon_pannable_draw_vscroll),
5103 (hildon_pannable_draw_hscroll): Fixed the problems with the
5104 scrollbar drawing, now we do not use two surfaces, it is easier
5105 and saves resources.
5107 (hildon_pannable_area_get_property): Style modification.
5109 (hildon_pannable_area_class_init): Changed some default values.
5111 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
5113 * src/hildon-stackable-window.c: Fix some typos in the
5116 2008-06-12 Alberto Garcia <agarcia@igalia.com>
5118 * src/hildon-dialog.c:
5119 Change indentation style
5122 (hildon_note_button_release):
5123 Use root coordinates to check if the release event happened
5126 * src/hildon-app-menu.c
5127 (hildon_app_menu_button_release):
5128 Remove unnecessary check
5130 * examples/hildon-app-menu-example.c
5132 Add cast to fix warning
5134 * src/hildon-app-menu.c
5135 (hildon_app_menu_class_init):
5136 New inner-border style property.
5137 Set all default spacings to 16
5138 (hildon_app_menu_init):
5139 Use vertical-spacing to set the space between filter buttons and
5140 regular menu buttons.
5141 Set the default container border using the inner-border value.
5143 * examples/hildon-app-menu-example.c
5145 Don't set the menu border explicitly, now we have the inner-border
5146 style property for that.
5148 2008-06-11 Alberto Garcia <agarcia@igalia.com>
5150 * src/hildon-app-menu.c (hildon_app_menu_init):
5151 Make the window modal
5153 * src/hildon-note.c (hildon_note_map)
5154 * src/hildon-app-menu.c (hildon_app_menu_map):
5155 Destroy the grab window if we're unable to grab the pointer
5157 * src/hildon-app-menu-private.h
5158 * src/hildon-app-menu.c
5159 (hildon_app_menu_init, hildon_app_menu_finalize)
5160 (hildon_app_menu_map, hildon_app_menu_unmap)
5161 (hildon_app_menu_button_release)
5162 (grab_transfer_window_get):
5163 Bring back the grab window
5164 (hildon_app_menu_realize):
5165 Decorate the window, set WM hint for Matchbox
5167 * src/hildon-note.c (hildon_note_realize):
5168 * src/hildon-banner.c (hildon_banner_realize):
5169 Add WM hints for Matchbox
5171 2008-06-10 Alberto Garcia <agarcia@igalia.com>
5173 * src/hildon-app-menu-private.h
5174 * src/hildon-app-menu.c
5175 (hildon_app_menu_init, hildon_app_menu_finalize)
5176 (hildon_app_menu_map, hildon_app_menu_unmap)
5177 (hildon_app_menu_button_release):
5178 Remove the grab window, it's not needed anymore
5180 * src/hildon-program.c
5181 Fixed typo in documentation
5183 * src/hildon-app-menu.h
5184 * src/hildon-app-menu.c
5185 * examples/hildon-app-menu-example.c
5186 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
5188 2008-06-09 Alberto Garcia <agarcia@igalia.com>
5191 Added new transfer_window and close_if_pressed_outside private
5193 (hildon_note_rebuild):
5194 Don't add a cancel button to the information note. It will be
5195 closed when tapping outside
5196 Remove the comment about the OK button in the documentation
5197 (hildon_note_realize):
5198 Set the notification type hint
5199 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
5200 Grab/ungrab pointer and keyboard if the note has to be closed when
5202 (hildon_note_button_release):
5203 Close the note when tapping outside (if applicable)
5205 * src/hildon-app-menu.c
5206 Grab/ungrab pointer and keyboard on map/unmap
5207 (hildon_app_menu_button_release, hildon_app_menu_class_init):
5208 Close the menu on button release, not button press
5210 * src/hildon-banner.c
5211 (hildon_banner_set_property)
5212 (hildon_banner_check_position):
5213 Make the banner use the full width of the screen
5214 (hildon_banner_show_information)
5215 (hildon_banner_show_information_with_markup):
5216 Don't display an icon by default
5218 2008-06-09 Alejandro G. Castro <alex@igalia.com>
5220 Added fading scrollbars and adapted all the overshooting code to
5221 horizontal scrolling. We have also fixed bugs with overshooting
5222 and current fading implementation.
5224 * src/hildon-pannable-area.c
5225 (hildon_pannable_area_scroll_indicator_fade): Time out function
5226 used to change the transparency of the scrollbars.
5228 (hildon_pannable_area_button_press_cb): Added horizontal overshot
5229 control and fixed a problem with fading, we now remove the fade
5230 timeout before adding a new one.
5232 (hildon_pannable_axis_scroll):
5233 (hildon_pannable_area_scroll):
5234 (hildon_pannable_area_timeout): Added this functions so we can use
5235 the scroll code both for vertical and horizontal.
5237 (hildon_pannable_area_motion_notify_cb):
5238 (hildon_pannable_area_button_release_cb): Added the horizontal
5239 scrolling control, fixed a problem with the overshooting timeout.
5241 (rgb_from_gdkcolor): Added this function, it is used in the cairo
5242 painting of the scrolls.
5244 (hildon_pannable_draw_vscroll):
5245 (hildon_pannable_draw_hscroll):
5246 (hildon_pannable_area_expose_event):
5247 Draw both scrollbars and rectangles in the overshooting area.
5249 (hildon_pannable_area_get_property):
5250 (hildon_pannable_area_set_property):
5251 Modified the overshoot property to overshoot_max
5253 (hildon_pannable_area_map):
5254 Replaced the comments symbols.
5256 (hildon_pannable_area_size_allocate):
5257 (hildon_pannable_area_class_init):
5258 (hildon_pannable_area_init): Added horizontal scroll, fading
5259 effect properties, fixed a problem when overshooting in the bottom
5262 * examples/hildon-pannable-area-example.c:
5263 (get_sawtooth_label): Now we use smaller sawtooths, the effect
5264 looks better in the example.
5266 2008-06-03 Alberto Garcia <agarcia@igalia.com>
5268 * src/hildon-window.c
5269 * src/hildon-window.h
5270 (hildon_window_class_init)
5271 (hildon_window_unset_program)
5272 (hildon_window_unset_program_real):
5273 Make unset_program a virtual function
5275 * src/hildon-stackable-window.c
5276 * src/hildon-stackable-window.h
5277 Added hildon_stackable_window_go_home()
5279 * examples/Makefile.am
5280 * examples/hildon-stackable-window-example.c
5281 HildonStackableWindow example
5283 2008-06-03 Alejandro G. Castro <alex@igalia.com>
5285 * hildon-pannable-area.c: Added the overshoot property and removed
5286 the OVERSHOOT define. Fixed an indent style error.
5287 (hildon_pannable_area_motion_notify_cb):
5288 (hildon_pannable_area_get_property):
5289 (hildon_pannable_area_set_property): Add overshoot property.
5291 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
5294 (hildon_pannable_area_class_init): Installed the new property.
5296 * hildon-pannable-area-example.c: Added a sawtooth function, this
5297 way it is easier to check the movement in the pannable.
5298 (get_sawtooth_label): Added this function.
5299 (main): Now we get the labels from the new get_sawtooth_label
5302 2008-05-26 Alberto Garcia <agarcia@igalia.com>
5304 * src/hildon-app-menu.h
5305 * src/hildon-app-menu.c
5306 Renamed API variables for consistency
5308 (hildon_app_menu_popup): Use also the default window size to
5309 decide where to place the menu
5311 (hildon_app_menu_init, hildon_app_menu_class_init): New
5312 external-border style property
5314 2008-05-26 Michael Natterer <mitch@imendio.com>
5316 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
5317 widget_class->tap_and_hold_setup signal slot doesn't exist any
5318 longer, stop overriding it.
5320 (hildon_time_editor_init): g_signal_connect() to the
5321 tap-and-hold-setup signal instead.
5323 (hildon_time_editor_entry_keypress): add cast to fix warning.
5325 2008-05-23 Alberto Garcia <agarcia@igalia.com>
5327 * doc/hildon-docs.sgml
5329 * examples/Makefile.am
5330 * examples/hildon-app-menu-example.c
5332 * src/hildon-app-menu-private.h
5333 * src/hildon-app-menu.c
5334 * src/hildon-app-menu.h
5336 New HildonAppMenu widget
5338 2008-05-21 Alejandro G. Castro <alex@igalia.com>
5340 Rearranged the inheritance of the pannable area, now it inherits
5341 from GtkBin. This will allow us to control the event_window and
5342 the allocation process of the widget, required for some effects.
5344 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
5345 GtkBin structures. * src/hildon-pannable-area.c: Added the
5346 event_window variable.
5347 (hildon_pannable_area_button_press_cb):
5348 (hildon_pannable_area_button_release_cb):
5349 (hildon_pannable_area_motion_notify_cb):
5350 Changed the signature of the method, now we override the event
5351 callback instead of connecting to the signal.
5353 (hildon_pannable_area_realize):
5354 (hildon_pannable_area_unrealize):
5355 (hildon_pannable_area_map):
5356 (hildon_pannable_area_unmap):
5357 (hildon_pannable_area_size_allocate):
5358 Added functions to control the widget construction. We add a
5359 INPUT_ONLY window and we put it over the widgets inside the
5360 container, this event_window handles the events.
5362 (hildon_pannable_area_class_init):
5363 Replaced the signal connections with overrides of the event
5366 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5368 Bouncing effect added when touching the borders, you can change
5369 the elasticity of the border changing the ELASTICITY define.
5371 * src/hildon-pannable-area.c: Added ELASTICITY define.
5372 (hildon_pannable_area_timeout): Added inverse velocity when
5373 touching the border of the child widget, that causes a bounce.
5375 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5377 Improved performance, we now do not go to the X server in order to
5378 get the list of window children. Apparently the effect is the
5379 same, we have to be careful and check if this breaks something in
5382 * src/hildon-pannable-area.c:
5383 (get_ordered_children): Removed this function.
5384 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
5385 the children windows function with gdk_window_get_children.
5387 2008-05-20 Alejandro G. Castro <alex@igalia.com>
5389 * src/hildon-pannable-area.c:
5390 (hildon_pannable_area_dispose): Fixed a crash when closing the
5391 window and kinetics is activated.
5393 2008-05-19 Alberto Garcia <agarcia@igalia.com>
5395 * src/hildon-pannable-area.h
5396 * src/hildon-pannable-area.c
5397 Changed indentation style to meet the one used in Hildon
5399 2008-05-19 Alejandro G. Castro <alex@igalia.com>
5401 Reviewed the interaction of the AUTO mode, now we use the time
5402 attribute of the events and calculate the velocity in the motion,
5403 doing a gimp like calculation. The velocity is calculated in each
5404 motion event using the last velocity and the current one, the
5405 SMOOTH_FACTOR controls the percentage of the new velocity we use.
5407 * src/hildon-pannable-area.c: Replaced the time based algorithm
5409 (hildon_pannable_area_motion_notify_cb): now we do not launch the
5410 timeout for the AUTO mode when we are still moving the cursor. We
5411 added also the velocity calculation in this function.
5412 (hildon_pannable_area_button_release_cb): launch the timeout in
5413 case we are in AUTO mode. There are still some constants here that
5414 come from the old implementation that should be reviewed and
5417 2008-05-15 Alberto Garcia <agarcia@igalia.com>
5419 * doc/hildon-docs.sgml
5422 * src/hildon-stackable-window.c
5423 * src/hildon-stackable-window.h
5425 New HildonStackableWindow widget
5427 * examples/hildon-dialog-example.c
5428 * examples/hildon-pannable-area-example.c
5431 2008-05-14 Alberto Garcia <agarcia@igalia.com>
5433 * src/hildon-dialog.c
5434 (hildon_dialog_new_with_buttons): New constructor.
5436 * examples/hildon-dialog-example.c
5437 (main): Update the example to use the new
5438 hildon_dialog_new_with_buttons().
5440 * examples/hildon-pannable-area-example.c
5441 (main): Update example.
5443 2008-05-13 Alberto Garcia <agarcia@igalia.com>
5445 * doc/hildon-docs.sgml
5447 Added HildonPannableArea to the documentation.
5449 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5451 * doc/visual_index.xml
5452 Fix reference to HildonLoginDialog in documentation
5454 * doc/hildon-docs.sgml
5456 * examples/Makefile.am
5457 * examples/hildon-dialog-example.c
5459 * src/hildon-dialog.c
5460 * src/hildon-dialog.h
5462 New HildonDialog widget.
5464 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5466 * src/hildon-pannable-area.c
5467 Merge latest changes (r4318, r4342) from libmokoui trunk
5469 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5471 * examples/Makefile.am
5472 * examples/hildon-pannable-area-example.c
5474 * src/hildon-pannable-area.c
5475 * src/hildon-pannable-area.h
5477 New HildonPannableArea widget.
5479 2008-04-15 18:05:19 <timj@imendio.com>
5481 * src/hildon-banner.c: revert the recent change, that introduced
5482 gtk_window_present() calls. this reopens:
5483 Bug 78481 - [freetest] information banners are hidden under browser menu
5484 But resolves another variant of:
5485 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5487 2008-04-15 13:21:13 <timj@imendio.com>
5489 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5490 recreated its layout, spotted by Kris. this fixes all remaining
5491 artefacts and stability issues with the banner code. in particular:
5492 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5494 2008-04-14 16:52:59 <timj@imendio.com>
5496 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5497 operating on unrealized widgets, fixes:
5498 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5500 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5502 2008-04-09 Kristian Rietveld <kris@imendio.com>
5504 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5505 makes banner disappear.
5506 Fixes: NB#79182: info banner flickering with certain message lengts.
5508 * src/hildon-banner.c (hildon_banner_constructor),
5509 (hildon_banner_init), (hildon_banner_set_text),
5510 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5511 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5512 FALSE, reset size requests of label and banner,
5513 (force_to_wrap_truncated): when the text is too wide, always enforce
5514 the maximum possible width instead of recalculating it from the
5515 layout; enforce the maximum banner height of 3 lines,
5516 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5517 nicer wrapping and no truncated chars if space gets tight.
5519 * src/hildon-banner-private.h: add has_been_wrapped and
5520 has_been_truncated fields.
5522 2008-04-07 Sven Herzberg <sven@imendio.com>
5524 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5525 local values in hildon_date_editor_size_allocate
5527 * src/hildon-date-editor.c: moved the real allocation code into the
5530 2008-04-07 Sven Herzberg <sven@imendio.com>
5532 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5533 local values in hildon_date_editor_size_allocate
5535 * src/hildon-date-editor.c: merged the two if() branches together
5537 2008-04-07 Sven Herzberg <sven@imendio.com>
5539 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5540 local values in hildon_date_editor_size_allocate
5542 * src/hildon-date-editor.c: changed the arguments of the if()
5545 2008-04-07 Sven Herzberg <sven@imendio.com>
5547 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5548 local values in hildon_date_editor_size_allocate
5550 * src/hildon-date-editor.c: split the calculation of the allocation
5551 from the real allocation
5553 2008-03-27 Michael Natterer <mitch@imendio.com>
5555 Fixes: NB#81696: The passcode is not overwritten even after
5558 * src/hildon-code-dialog.c
5559 (hildon_code_dialog_button_clicked)
5560 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5561 because that doesn't overwrite selected text. Instead, emit the
5562 "commit" signal on the entry's im_context so the entry's normal
5563 insert logic is triggered. Set the cursor to the end of the entry
5564 after each insert operation so that we *only* insert in the middle
5565 of the text if something was selected.
5567 2008-03-27 Michael Natterer <mitch@imendio.com>
5569 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5570 selector cannot be opened
5572 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5573 when the popup color selector is created. Please connect to this
5574 signal in order to set the dialog's help ID.
5576 2008-03-25 Sven Herzberg <sven@imendio.com>
5578 Fixes: MB#1212: Hide info banners (infoprints) on click
5580 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5581 extracted the close event simulation into an extra function
5582 (hildon_banner_button_press_event): simulate a close event and destroy
5583 the widget if the event wasn't handled
5584 (hildon_banner_class_init): added the button_press_event handler
5585 (hildon_banner_init): added button-press events to the widget
5587 2008-03-25 Sven Herzberg <sven@imendio.com>
5589 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5590 Patch from: Mohammad Anwari <mdamt@maemo.org>
5592 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5593 instead of the right in RTL mode
5594 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5595 breadcrumb button list in RTL mode
5596 * src/hildon-caption.c: mirror the appearance of the caption widget in
5598 * src/hildon-date-editor.c: mirror appearance of the date editor in
5600 * src/hildon-time-editor.c: mirror appearance of the time editor in
5602 * src/hildon-window.c: fix the position of the popup in RTL mode
5604 2008-03-25 Sven Herzberg <sven@imendio.com>
5606 Amendment to the fix of NB#22072. Fix compilation.
5608 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5610 2008-03-19 Sven Herzberg <sven@imendio.com>
5612 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5615 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5616 timeout id properly when the timeout will disappear this leaves no
5617 artifacts around in the destroy(); there will only be the timeout
5618 created by hildon_banner_ensure_timeout() and adding a new timeout
5619 will also work if the timeout gets removed because the timeout_handler
5622 2008-03-19 Michael Natterer <mitch@imendio.com>
5624 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5626 * src/hildon-volumebar.c
5627 * src/hildon-vvolumebar.c
5628 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5629 the widget becomes focussable at all.
5631 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5632 set the focus to wither the mute button or the volumebar.
5634 Remove own "can-focus" property and instead listen to
5635 notify::can-focus in order to update the widget's state.
5637 Implement GtkWidget::focus() and make sure we can also *leave* the
5638 widget, not only enter it, depending on volumebar orientation and
5639 requested focus direction.
5641 Clean up set_mute() to cooperate nicely with all the above.
5643 2008-03-04 Michael Natterer <mitch@imendio.com>
5645 Fixes: NB#78481: information banners are hidden under browser menu
5647 * src/hildon-banner.c: call gtk_window_present() on the banners so
5648 they are risen if they are already visible.
5650 2008-03-03 Sven Herzberg <sven@imendio.com>
5652 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5654 * examples/hildon-window-menu-example.c: (main): extended the window
5655 menu example to serve as a testcase for automatically added
5656 accelerator groups, too
5657 * src/hildon-window.c: (hildon_window_add_accel_group),
5658 (hildon_window_set_menu): added patch by Tommi Komulainen
5660 2008-03-03 Sven Herzberg <sven@imendio.com>
5662 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5664 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5665 knowledge about the border allocators used within GTK+
5667 2008-02-26 Sven Herzberg <sven@imendio.com>
5669 Fixes: MB#2981: Build with asserts broken
5671 * src/hildon-date-editor.c,
5672 * src/hildon-number-editor.c,
5673 * src/hildon-time-editor.c,
5674 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5675 the proper GType instance check
5677 2008-02-25 Sven Herzberg <sven@imendio.com>
5679 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5681 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5682 * examples/hildon-window-menu-example.c: (main): explicitly show
5684 * src/hildon-window.c:
5685 (hildon_window_set_main_menu): moved most of the code from set_menu()
5686 to this place; skipped the call to gtk_widget_show_all(); also didn't
5687 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5688 (hildon_window_set_menu): removed most of the code, just keep the
5689 questionable gtk_widget_show_all()
5690 * src/hildon-window.h: added the new function and deprecate the old
5693 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5699 * debian/changelog: Updating.
5701 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5704 * pkgconfig/Makefile.am:
5705 * pkgconfig/hildon.pc.in:
5708 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5709 use newly created API_MAJOR_VERSION.
5711 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5717 * debian/changelog: Updating.
5719 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5721 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5723 Add outer_border style property, we use it but don't define it (!).
5727 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5729 * examples/hildon-bread-crumb-trail-example.c (main):
5733 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5735 Fix logic for the bread crumb trail node removal.
5739 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5745 * debian/changelog: Updating.
5747 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5749 Patch by Alejandro to get/set passwords dialogs accesibility.
5751 * hildon-1/src/hildon-get-password-dialog.c:
5752 * hildon-1/src/hildon-set-password-dialog.c:
5753 Set atk_set_name to the passwd entries in order to allow
5754 accessibility by name on this entries.
5756 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5761 * debian/control: Updating gtk dep.
5763 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5765 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5766 USE_MAEMO_GTK is enabled.
5768 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5770 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5771 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5773 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5779 * debian/changelog: Updating.
5781 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5783 * examples/Makefile.am:
5784 * examples/hildon-logical-color-example.c:
5785 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5786 applied + adding a test case. Fixes: NB#71660.
5788 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5790 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5791 to be visible, fixes warning on map for windows without toolbars.
5793 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5795 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5796 2.11.0, add a check for that besides the MAEMO_GTK check.
5798 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5804 * debian/changelog: Updating.
5806 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5808 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5809 visibility. Fixes: NB#70842 and MB#615.
5811 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5813 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5814 set the separator as no-show-all so it doesn't unintentionally appear when
5815 someone does a show_all.
5817 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5819 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5820 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5821 toplevel item. Fixes: NB#62031
5823 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5825 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5826 fix the name of the function in the docs.
5828 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5834 * debian/changelog: Updating.
5836 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5838 * examples/hildon-banner-long-example.c: Adding a test-case for long
5841 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5843 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5845 * src/hildon-color-chooser-dialog.c:
5846 * src/hildon-color-chooser.c:
5847 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5848 memory leaks in font selector and color selector. Fixes: NB#70499 and
5851 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5853 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5855 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5857 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5858 little bit bigger. Fixes: #NB63694.
5860 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5866 * debian/changelog: Updating.
5868 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5871 * doc/hildon-docs.sgml:
5872 * doc/images/bread-crumb-trail.png:
5873 * doc/images/calendar-popup.png:
5874 * doc/images/caption.png:
5875 * doc/images/code-dialog.png:
5876 * doc/images/color-button.png:
5877 * doc/images/color-chooser-dialog.png:
5878 * doc/images/color-chooser.png:
5879 * doc/images/controlbar.png:
5880 * doc/images/date-editor.png:
5881 * doc/images/font-selection-dialog.png:
5882 * doc/images/get-password-dialog.png:
5883 * doc/images/hvolumebar.png:
5884 * doc/images/login-dialog.png:
5885 * doc/images/note.png:
5886 * doc/images/number-editor.png:
5887 * doc/images/range-editor.png:
5888 * doc/images/seekbar.png:
5889 * doc/images/set-password-dialog.png:
5890 * doc/images/sort-dialog.png:
5891 * doc/images/time-editor.png:
5892 * doc/images/time-picker.png:
5893 * doc/images/vvolumebar.png:
5894 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5895 Adding the bread-crumb-trial and helpers to the documentation.
5897 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5899 * examples/hildon-find-toolbar-example.c:
5900 * src/hildon-find-toolbar.c:
5901 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5902 actually continue firing the other handlers if connected. Adding a new
5904 hildon_find_toolbar_get_last_index that gets the index of the most
5905 recently added (last) item. Fixes: NB#52301.
5907 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5909 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5910 behaviour. Fixes: NB#68610.
5912 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5914 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5917 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5919 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5920 when realizing the banner. Should make the infonbanner effect a bit more
5923 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5925 * src/hildon-volumebar.c:
5926 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5927 hildon_volumebar_set_range_insensitive_message and
5928 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5930 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5932 * src/hildon-window.c: Fixing the border freeing on destroy.
5934 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5936 * src/hildon-code-dialog-private.h:
5937 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5938 kw keyboard support in HildonCodeDialog.
5940 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5946 * debian/changelog: Updating.
5948 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5950 * src/hildon-date-editor.c:
5951 * src/hildon-number-editor.c:
5952 * src/hildon-private.c:
5953 * src/hildon-private.h:
5954 * src/hildon-time-editor.c:
5955 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5956 handling in subclassed composite widgets. Fixes: NB#66628.
5958 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5960 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5961 from destroy_ callback as it introduces problems in async dbus signal
5962 handlers. Fixes NB#66673.
5964 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5966 * examples/hildon-hvolumebar-example.c:
5967 * src/hildon-volumebar.c: Improving the focus handling in the
5968 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5969 set_property accessor so that "mute" property can be actually set. I'm
5970 scared that nobody noticed it's totally broken.
5972 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5974 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5977 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5979 * src/hildon-calendar.c:
5980 * src/hildon-number-editor.c:
5981 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5982 matches the spec of 6 chars per second. Fixes: NB#60489.
5984 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5986 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5987 gtk_style_lookup_color sometime returns FALSE even though color was
5988 found and values were filled properly. Weird. Removing the warning for the
5991 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5993 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5994 expand vertically. Adding some extra space to the find toolbar buttons to
5995 make them thumbable. Fixes NB#66060.
5997 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5999 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
6000 popup with "Ok" and "Cancel". Fixes NB#59299.
6002 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6004 * src/hildon-calendar.c: Process all window updates before executing next
6005 timeout. Fixes: NB#54146.
6007 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6013 * debian/changelog: Updating.
6015 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6017 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
6018 the client event and ignore it, since we use the delete event to close
6021 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6023 * src/hildon-helper.c: Remove the bogus warning about color not being
6024 found. Fixes NB#58352.
6026 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6028 * examples/Makefile.am:
6029 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
6030 HildonSeekbar widget inside a toolbar.
6032 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
6034 * src/hildon-banner.c (hildon_banner_init): mark the banners as
6035 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
6036 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
6037 don't want to be closed by non-temporary windows on map.
6039 Also use G_DEFINE_TYPE instead of manually typed code.
6041 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6048 * debian/rules: Updating.
6050 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6052 * examples/Makefile.am:
6053 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
6054 bug NB#61128. Strangely it works.
6056 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6058 * src/hildon-date-editor.c: When the date editor entry has been changed
6059 but the numbers of characters < max, turn off the skip validation flag.
6060 Prevents a situation when we enter first a valid year and later re-write
6061 it with an invalid one. Fixes NB#60154.
6063 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6065 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
6066 code dialog. Fixes NB#64355.
6068 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6070 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
6071 switching the page. Fixes NB#49374.
6073 * examples/Makefile.am:
6074 * examples/hildon-wizard-dialog-example.c: Adding an example for
6075 HildonWizardDialog that shows how to handle manual sensitivity setting on
6078 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6082 * src/hildon-version.h.in:
6083 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
6085 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6087 * src/hildon-volumebar.c: Updating the docs.
6089 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * debian/changelog: Updating.
6097 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6099 * src/hildon-find-toolbar.c:
6100 * src/hildon-find-toolbar.h: Adding a few new functions to control the
6101 selected item: hildon_find_toolbar_set_active,
6102 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
6103 hildon_find_toolbar_get_active_iter . They correspond to respective
6104 GtkComboBox functions.
6106 * examples/Makefile.am:
6107 * examples/hildon-find-toolbar-example.c: Adding the example to test the
6110 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6112 * examples/Makefile.am:
6113 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
6116 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
6117 when font size > 32 and we pack a focusable widget inside. Actually using
6118 the default response would work too, but since we don't show default
6119 response state in any way (no theming) it would not be visible to the
6120 user. Fixes NB#63430.
6122 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6124 * src/hildon-date-editor.c: Adding the missing variable setter in the
6125 set_property handler. Fixes NB#54182.
6127 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6129 * src/hildon-window.h: Changing the long key press time from 1500ms to
6130 800ms as requested in NB#63700. I have a bad feeling about this, let's
6131 see... Fixes NB#63700.
6133 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
6135 * src/hildon-time-picker.c (hildon_time_picker_class_init,
6136 hildon_time_picker_map, hildon_time_picker_realize,
6137 hildon_time_picker_style_set): Split the contents of map to more
6138 appropriate functions; set window decorations on realize and update
6139 arrows' size requisitions on style-set. Avoids unnecessary resizing.
6141 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
6146 * debian/changelog: Updating.
6148 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
6150 * src/Makefile.am: fixed installation of the header files
6152 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6158 * debian/changelog: Updating.
6160 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6162 * configure.ac: Removing some remaining of --enable-xan.
6164 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
6166 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
6167 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
6169 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
6170 2.10.12-osso6 because the move-focus signal needs to be available in
6173 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6175 * examples/Makefile.am:
6176 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
6177 that makes a HildonVolumebar insensitive before mapping it. Seems to work
6178 fine. Prolly NB#61128 is fixed now.
6180 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6182 * src/hildon-volumebar.c:
6183 * src/hildon-volumebar.h: Adding the
6184 hildon_volumebar_set_range_insensitive_message and
6185 hildon_volumebar_set_range_insensitive_messagef functions to set
6186 insensitive message on the slider of the volumebar. Fixes NB#61129.
6188 * examples/Makefile.am:
6189 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
6190 test the new insensitive messsage functionality on HildonVolumebar.
6192 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
6194 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
6197 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
6199 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
6200 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
6201 button on after clearing the trail.
6203 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6205 * src/hildon-code-dialog.c: Removing the separator from the dialog.
6207 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6209 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
6210 by splitting the installed headers in generated and non-generated groups. Use
6211 only the non-generated headers to create the hildon-enum-types.h file.
6213 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
6215 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6217 * src/hildon-window.c: Hide the window before performing the destroy.
6218 Should make the app closing a little tiny bit more snappy.
6220 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
6222 * src/hildon-seekbar.c: add gtkrange.h header
6223 * src/hildon-caption.c: remove unused variable
6225 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
6227 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
6230 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6236 * debian/changelog: Updating.
6238 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
6240 * src/hildon-window.c (hildon_window_window_state_event,
6241 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
6242 escape timeout on focus-out-event rather than notify::is-topmost; the
6243 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
6245 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6247 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
6248 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
6250 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6252 * src/hildon-window: actually, you need to use the macro always, there's
6253 no private pointer in the instance structure. We should have cleaned this up
6254 when we had the chance...
6256 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
6258 * src/hildon-window.c: do not get the private date from HildonWindow before
6259 it passes the g_return_if_fail check. Once it's passed the test, there's no
6260 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
6261 if you are only going to access the data once. Whitespace cleanups.
6263 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
6265 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
6266 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
6268 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6274 * debian/changelog: Updating.
6276 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6278 * src/hildon-window.c: When destroying the window, remove (if exists) the
6279 escape timeout handler. Fixes #NB59276.
6281 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6283 * src/hildon-banner.c: When realizing the widget, set the window
6284 transiency. Setting the transiency in the gobject constructor is not
6285 good, as the widget is not realized at that point. Fixes: #NB56624.
6287 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6289 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
6290 Add padding for future expansions.
6292 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6294 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
6295 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
6296 will fake an activation on the previous to the last item of the trail, so
6297 the effect can be overrided by the developer as usual.
6298 Also change the callback for the back button to do the same thing, so its
6299 effect can be overrided too. Fixes: NB#58982
6301 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6303 * src/hildon-caption.c: Implementing the proper focus grabbing in the
6304 HildonCaption. Fixes NB#52379.
6306 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
6308 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
6309 the internal state of the trail after the user has had the chance of executing
6310 his handler for the signal. Specifically, it may happen that the activated button
6311 is removed and the user still lets the default handler run. This would segfault
6314 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6316 * src/hildon-font-selection-dialog.c: When the font is really big, add the
6317 scrollbar to the preview dialog. Fixes NB#54147.
6319 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6321 * src/hildon-date-editor.c: Changing the default max year to 2037. The
6322 max/min year properties can be altered, so the client can modify it
6323 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
6325 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6327 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
6328 hildonlike by default. Fixing a problem with disappearing arrows when
6329 scrolling through months and years. Fixes NB#54127.
6331 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6333 * examples/hildon-date-editor-example.c: Adding error callback to the date
6336 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6342 * configure.ac: Updating.
6344 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6346 * configure.ac: Adding a special '--enable-xan' configure option that
6347 turns off the -Werror compilation setting. Usefull for development.
6349 * src/hildon-calendar.c:
6350 * src/hildon-number-editor.c:
6351 * src/hildon-time-picker.c: Adding the 5* multiplier to
6354 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
6356 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
6357 instead of g_object_ref + gtk_object_sink.
6359 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6365 * debian/changelog: Updating.
6367 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6369 * src/hildon-color-chooser-dialog.c:
6370 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
6371 straight from Tommi labs.
6373 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6375 * examples/hildon-finger-example.c: Correcting the header file path.
6377 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
6378 the changed signal. Fixes a small memory leak.
6380 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6384 * src/hildon-banner.c: Importing several usefull fixes from the
6385 ubuntu-mobile branch.
6387 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6389 * examples/Makefile.am:
6390 * examples/hildon-finger-example.c: Adding a finger-checking code
6393 * src/hildon-font-selection-dialog.c: Do not allocate the color
6394 structure using the g_new. Fixes NB#54061.
6396 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6398 * src/hildon-helper.c: Correcting tabs in file.
6400 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
6402 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
6403 control the visibility of the children.
6405 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
6407 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6413 * debian/changelog: Updating.
6415 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6417 * src/hildon-bread-crumb-trail.c:
6418 (hildon_bread_crumb_trail_size_allocate):
6420 Make the back button always a square.
6422 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
6424 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
6425 from the .c file as it's a private file.
6427 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6429 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
6430 uses slightly bigger height.
6432 * src/hildon-font-selection-dialog.c: Adding some checks before
6433 freeing memory in the font selection dialog.
6435 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6437 * src/hildon-font-selection-dialog.c: Adding a small check when
6440 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
6441 buttons sensitivity on page switching.
6443 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
6445 * src/hildon-bread-crumb-trail.c: make the add method handle all the
6446 internal details of adding a bread crumb to the trail.
6448 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6454 * debian/changelog: Updating.
6456 * src/hildon-bread-crumb-trail.h:
6457 * src/hildon-bread-crumb.h: Changing the API guard to
6458 HILDON_ENABLE_UNSTABLE_API.
6460 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6468 * src/hildon-helper.h: Updating.
6470 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6478 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6482 * src/hildon-helper.h: Small fix to make the package actually compile.
6484 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6486 * src/hildon-bread-crumb-trail.h:
6487 * src/hildon-bread-crumb.h:
6489 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6490 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6492 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6494 * examples/hildon-bread-crumb-trail-example.c:
6496 * src/hildon-bread-crumb-trail.c:
6497 * src/hildon-bread-crumb-trail.h:
6498 * src/hildon-bread-crumb.c:
6499 * src/hildon-bread-crumb.h:
6500 * src/hildon-marshalers.list:
6501 * src/hildon-bread-crumb-widget.c:
6502 * src/hildon-bread-crumb-widget.h:
6504 Slight change in the widget design. The bread crumb trail API is
6505 unchanged, but HildonBreadCrumb is now an interface. A *private*
6506 implementation, hildon-bread-crumb-widget, is provided and used
6507 internally by the trail for the push_text/push_icon functions.
6509 The generic push API is still available, so anyone can implement
6510 and use its own bread crumb widget.
6512 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6514 * debian/rules: Fixing the shlibs.
6516 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6518 * src/hildon-banner.c: Fixing a problem with timed banners having
6519 their parrent destroyed before they are.
6521 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6523 * src/hildon-bread-crumb.c:
6524 * src/hildon-bread-crumb.h:
6526 Make the get_natural_size function a vfunc.
6528 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6530 * src/hildon-bread-crumb.c:
6531 * src/hildon-bread-crumb-trail.c:
6535 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6542 * debian/changelog: Updating for release.
6544 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6546 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6547 don't leak the pango layout.
6549 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6552 * examples/hildon-bread-crumb-trail-example.c:
6556 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6558 * debian/changelog: Removing the bug-fixed entries that were actually
6559 resolved as WONTFIX.
6561 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6564 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6566 * src/hildon-bread-crumb-trail.c:
6567 * src/hildon-bread-crumb-trail.h:
6568 * src/hildon-bread-crumb.c:
6569 * src/hildon-bread-crumb.h:
6573 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6575 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6576 until it's passed the type check.
6578 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6580 * examples/hildon-bread-crumb-trail-example.c
6584 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6586 * examples/Makefile.am
6587 * examples/hildon-bread-crumb-trail-example.c
6589 * src/hildon-bread-crumb-trail.c
6590 * src/hildon-bread-crumb-trail.h
6591 * src/hildon-bread-crumb.c
6592 * src/hildon-bread-crumb.h
6594 New HildonBreadCrumbTrail widget.
6596 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6598 * src/hildon-range-editor.c (hildon_range_editor_init),
6599 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6600 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6601 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6602 hildon_time_editor_class_init, hildon_time_editor_init),
6603 src/hildon-get-password-dialog.c (invalid_input,
6604 hildon_get_password_set_property, hildon_get_password_get_property,
6605 create_contents, hildon_get_password_dialog_set_max_characters),
6606 src/hildon-set-password-dialog.c (create_contents),
6607 src/hildon-date-editor.c (hildon_date_editor_init),
6608 src/hildon-login-dialog.c (hildon_login_dialog_init),
6609 src/hildon-number-editor.c (hildon_number_editor_init),
6610 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6611 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6612 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6613 configure option and adding the respective checks in the code.
6614 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6615 hildon_calendar_drag_data_received): fixed some build warnings.
6617 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6619 * debian/changelog: A 1.0.0 release notes.