1 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3 Patch by Mox Soini (ext-mox.soini@nokia.com)
5 * src/hildon-banner.c: (hildon_banner_show_animation):
6 use stylus size instead of obsolete note size.
7 * src/hildon-defines.h: Update icon sizes.
9 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
11 * src/hildon-touch-selector-entry.c:
12 (hildon_touch_selector_entry_init): Disable unsupported
14 (hildon_touch_selector_entry_get_text_column): Emit a warning
15 if an unsupported input modes is used and explicitile state
16 these modes in the documentation.
18 Fixes: NB#99802 (Hildon touch selector entry not working properly
19 for some of the input modes)
21 2009-02-05 Alejandro G. Castro <alex@igalia.com>
23 * src/hildon-pannable-area.c,
24 (hildon_pannable_area_init): Added the changed signal handlers of
27 Fixes: NB#100320 (HildonPannableArea does not listen to
28 GtkAdjustment "change" signals)
30 2009-02-04 Alberto Garcia <agarcia@igalia.com>
32 * doc/hildon-sections.txt
33 * src/hildon-window-private.h
35 * src/hildon-window.c (hildon_window_init)
36 (hildon_window_realize, hildon_window_unrealize)
37 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
38 (hildon_window_size_request, hildon_window_size_allocate)
39 (hildon_window_forall, hildon_window_show_all)
40 (hildon_window_destroy, +paint_edit_toolbar)
41 (+hildon_window_set_edit_toolbar):
42 New hildon_window_set_edit_toolbar() method, to add a
43 HildonEditToolbar to a window without having to pack it manually.
45 Reorganize hildon_window_size_allocate()
47 * src/hildon-edit-toolbar.c: Update documentation.
49 * examples/hildon-edit-toolbar-example.c (edit_window): Update
50 example to use the new API.
52 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
54 2009-02-04 Alberto Garcia <agarcia@igalia.com>
56 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
57 Remove from stack before calling parent's hide.
59 2009-02-04 Alberto Garcia <agarcia@igalia.com>
61 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
62 window is removed from the middle of the stack, update the
63 transiency of the previous one.
65 Fixes: NB#100487 (HildonStackableWindow transiency becomes
68 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
70 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
71 block/unblock the signal handler if it's not actually being used.
72 Fixes some critical warnings.
74 2009-02-02 Alberto Garcia <agarcia@igalia.com>
76 Based on a patch by Iván Gómez (igomez@igalia.com)
82 * src/hildon-pannable-area.c
83 * src/hildon-picker-dialog.c
84 * src/hildon-wizard-dialog.h
85 * src/hildon-wizard-dialog.c: Documentation updates.
87 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
88 gtk_dialog_add_button() instead of hildon_dialog_add_button().
90 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
92 * configure.ac: post release version bump.
93 * debian/changelog: version bump.
95 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
100 * configure.ac: Bump version.
101 * debian/changelog: Updates.
103 2009-01-29 Alberto Garcia <agarcia@igalia.com>
105 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
106 a stock icon nor change the relief of the back arrow.
108 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
111 2009-01-29 Alberto Garcia <agarcia@igalia.com>
113 * src/hildon-button.c (hildon_button_set_alignment): Use
114 priv->alignment if the button has no child yet.
116 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
118 * src/hildon-button.c: (hildon_button_init): Set the
119 button style during initialization to give it the proper
122 Fixes: NB#99713 (HildonButton value label color is wrong)
124 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
126 * src/hildon-touch-selector.c: Document
127 hildon_touch_selector_center_on_selected()
129 2009-01-28 Alberto Garcia <agarcia@igalia.com>
131 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
132 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
133 all menu items, but not the menu itself.
134 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
135 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
136 items after adding them to the menu so keyboard accelerators work.
137 (hildon_app_menu_show): Don't show the menu if it contains items
138 but none of them are visible.
140 * examples/hildon-app-menu-example.c (create_menu): Use
141 gtk_widget_show_all() to show all menu items.
143 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
145 * src/hildon-picker-dialog.c:
146 (-_update_title_on_selector_changed_cb),
147 (-_dialog_update_title): Removed.
148 (_select_on_selector_changed_cb), (_on_dialog_response),
149 (on_selector_columns_changed): Do not update the dialog title.
150 (setup_interaction_mode): Do not connect to
151 HildonTouchSelector::changed signal if there's a "done" button, as
152 the dialog title doesn't need to be updated.
154 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
157 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
159 Patch by Kristian Rietveld (kris@imendio.com)
161 * src/hildon-touch-selector.c: (_create_new_column): Use new
162 GtkTreeView::hildon-row-tapped signal to react to user interactions
163 instead of ::changed.
165 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
166 with some dynamic tree model)
168 2009-01-27 Alberto Garcia <agarcia@igalia.com>
170 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
171 (+screen_size_changed, +label_size_request)
172 (hildon_note_class_init): Make the Hildon information note have a
173 minimum height, and make its text hvae a maximum width.
175 Fixes: NB#98614 (Hildon information note (background) should have
176 minimum height and maximum text width)
178 2009-01-26 Alberto Garcia <agarcia@igalia.com>
180 * src/hildon-banner.h
181 * src/hildon-banner.c (hildon_banner_show_information)
182 (hildon_banner_show_informationf)
183 (hildon_banner_show_information_with_markup): Update documentation
184 to reflect that the icon_name parameter is not used anymore.
185 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
186 Remove all code from these functions and mark them as deprecated.
187 (hildon_banner_show_progress): Mark as deprecated.
189 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
191 2009-01-26 Alejandro G. Castro <alex@igalia.com>
193 * src/hildon-pannable-area.c,
194 (hildon_pannable_area_class_init),
196 (hildon_pannable_draw_vscroll),
197 (hildon_pannable_draw_hscroll),
198 (hildon_pannable_area_expose_event): Added a new way to render the
199 scrollbars of the pannable area avoiding using cairo at all. This
200 way we improve the performance of the pannable area rendering. The
201 cairo rendering procedure is still in the code, we can control
202 which one to use changing the value of the define
203 USE_CAIRO_SCROLLBARS.
205 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: post release version bump.
208 * debian/changelog: version bump.
210 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
215 * configure.ac: Bump version.
216 * debian/changelog: Updates.
218 2009-01-23 Alberto Garcia <agarcia@igalia.com>
220 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
221 banners instead of destroying them when they receive a button
224 2009-01-23 Alejandro G. Castro <alex@igalia.com>
226 Reverted commit 34028, it was causing regressions, probably the
227 topmost condition is not correct, we have to check it in more
228 detail. We have reponed the bug: NB#97458 (Pannable area prevents
229 propagation of button press events)
231 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
233 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
234 that the selection is not empty before attempting to retrieve the
235 current ampm selection.
237 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
239 * src/hildon-picker-button.c:
240 (hildon_picker_button_on_dialog_response): Directly update the
241 button contents when required instead of calling _selection_changed.
243 2009-01-23 Alberto Garcia <agarcia@igalia.com>
245 * src/hildon-program.c (hildon_program_update_top_most): Update
246 'is-topmost' property also when wm_hints is not set.
248 Fixes: NB#98383 (is-topmost signal is not emitted when task
249 switcher is clicked.)
251 2009-01-23 Alejandro G. Castro <alex@igalia.com>
253 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
257 * src/hildon-animation-actor.c,
258 * src/hildon-animation-actor.h: Added the animation actor class,
259 this widget represents an animation actor for WM-assisted
260 animation effects in the Hildon framework.
262 2009-01-23 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-window-stack-private.h
265 * src/hildon-window-stack.c
266 * src/hildon-stackable-window.c (hildon_stackable_window_show):
267 Avoid calling gtk_widget_show() again indirectly from
268 hildon_stackable_window_show()
270 2009-01-23 Alberto Garcia <agarcia@igalia.com>
272 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
275 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
277 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
278 (hildon_time_selector_init): Move the construction of the hours and
279 ampm columns to the constructor to preserve the order the columns
282 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
284 * src/hildon-picker-dialog.c:
285 (hildon_picker_dialog_class_init): Connect a realize method.
286 (+hildon_picker_dialog_realize): Setup the interaction mode here
288 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
289 yet, do it during the realize instead.
290 (_on_dialog_response):
291 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
292 if the widget is not realized, to avoid the dialog response before it
295 Avoid premature responses in the HildonPickerDialog that can cause it
296 to be hidden before it's even shown.
298 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
300 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
301 (on_selector_columns_changed), (requires_done_button),
302 (+prepare_action_area), (setup_interaction_mode),
303 (_hildon_picker_dialog_set_selector):
305 Split the interaction mode setup into preparation of the
306 action area (prepare_action_area()) and the connection of
307 the signals in setup_interaction_mode() and update the code to
310 2009-01-22 Alejandro G. Castro <alex@igalia.com>
312 * src/hildon-pannable-area.c,
313 (hildon_pannable_area_class_init): Reduced the amount of scrolls
314 per second to 15, we will check if this is ok regarding
317 2009-01-22 Alejandro G. Castro <alex@igalia.com>
319 * src/hildon-pannable-area.c,
320 (hildon_pannable_axis_scroll): Avoid resize if we already have
321 reached overshoot_max.
323 2009-01-22 Alejandro G. Castro <alex@igalia.com>
325 * src/hildon-pannable-area.c,
326 (hildon_pannable_area_init),
327 (hildon_pannable_area_realize),
328 (hildon_pannable_area_size_allocate),
329 (hildon_pannable_area_map),
330 (hildon_pannable_area_unmap),
331 (hildon_pannable_draw_vscroll),
332 (hildon_pannable_draw_hscroll),
333 (hildon_pannable_area_expose_event),
334 (hildon_pannable_area_refresh): Added a new GdkWindow to the
335 pannable are to avoid the expose events go to the window and
336 redraw the window. We save this way that part of the stack and the
337 paint_boxes. We had to change the positions of the elements when
340 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
342 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
343 * src/hildon-color-chooser-dialog.c:
344 (hildon_color_chooser_dialog_init):
345 * src/hildon-font-selection-dialog.c:
346 (hildon_font_selection_dialog_init),
347 (hildon_font_selection_dialog_show_preview):
348 * src/hildon-get-password-dialog.c:
349 * src/hildon-login-dialog.c:
350 * src/hildon-set-password-dialog.c:
351 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
352 * src/hildon-time-picker.c: (hildon_time_picker_init):
354 Remove obsolete logical string IDs and update to the appropriate ones.
356 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
358 2009-01-21 Alberto Garcia <agarcia@igalia.com>
360 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
361 that happens if the window hasn't been realized yet.
363 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
364 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
366 2009-01-20 Alberto Garcia <agarcia@igalia.com>
368 * src/hildon-app-menu.c (hildon_app_menu_class_init)
369 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
372 Fixes: NB#98537 (Device hangs in account settings dialog)
374 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: post release version bump.
377 * debian/changelog: version bump
379 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
384 * configure.ac: Bump version.
385 * debian/changelog: Updates.
387 2009-01-20 Alejandro G. Castro <alex@igalia.com>
389 Added a new function to the HildonTimeButton widget that allows to
390 change the step of the minutes in the selector associated with the
391 button: hildon_time_button_new_step
393 * src/hildon-time-button.c,
394 (hildon_time_button_init),
395 (hildon_time_button_new),
396 (hildon_time_button_new_step):
397 * src/hildon-time-button.h: Added the new function and refactored
399 * examples/hildon-time-button-example.c,
400 (main): We have replaced the function without parameters with the
401 function with the steps set to 5
403 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
405 2009-01-20 Alejandro G. Castro <alex@igalia.com>
407 * src/hildon-time-selector.c,
408 (hildon_time_selector_class_init),
409 (hildon_time_selector_constructor),
410 (hildon_time_selector_get_property),
411 (hildon_time_selector_set_property),
412 (_create_minutes_model),
413 (hildon_time_selector_new_step),
414 (hildon_time_selector_set_time),
415 * src/hildon-time-selector.h: Added a new property to the
416 HildonTimeSelector (minutes-step), we use that property to control
417 the steps between the minutes in the list of the selector. We have
418 added a new function to the API to create a widget changing the
419 step: hildon_time_selector_new_step.
421 2009-01-20 Alejandro G. Castro <alex@igalia.com>
423 * src/hildon-time-selector.c,
424 (hildon_time_selector_class_init),
425 (hildon_time_selector_constructor),
426 (hildon_time_selector_init): Overrided the construct function when
427 creating the time selector object. We have moved the minutes model
428 handling code from the init to the new construction function:
429 hildon_time_selector_constructor.
431 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
433 * examples/hildon-date-button-example.c: (main): Use the new
434 hildon_date_button_new_with_year_range() method in the example.
435 * src/hildon-date-button.c:
436 (+hildon_date_button_new_with_year_range): New public method
437 to conveniently create a HildonDateButton with a custom year range
438 in its HildonDateSelector.
439 * src/hildon-date-button.h: Add the new public method definition.
441 Fixes: NB#97908 (Not possible to change the year range in
442 HildonDateSelector/HildonDateButton)
444 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
446 * src/hildon-date-selector.c:
447 (+hildon_date_selector_set_property),
448 (+hildon_date_selector_get_property),
449 (hildon_date_selector_class_init): Install new properties "min-year"
450 and "max-year" to define boundaries for the year column.
451 (_create_year_model): Use the boundary properties to populate the model.
452 (+hildon_date_selector_new_with_year_range): New public method to
453 create a HildonDateSelector with a user defined year range.
454 (hildon_date_selector_select_current_date): Use the new boundaries to
455 calculate the iterator of current year.
456 * src/hildon-date-selector.h: Add the new public method definition.
458 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
460 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
461 Install a constructor method.
462 (+hildon_date_selector_construct_ui): construct the widget.
463 (+hildon_date_selector_constructor): new constructor.
464 (+hildon_date_selector_init): move out widget construction code to
467 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
469 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
470 that there's actually a month or year selected before obtaining them.
471 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
472 of the HildonTouchSelector::changed signal, as it was emitted on every
473 single item selection.
475 Fix some warnings and possible crashers due to the selection restoring.
477 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
479 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
480 the signal handlers only after creating the dialog instead of on every
483 2009-01-19 Alberto Garcia <agarcia@igalia.com>
485 * src/hildon-button.c (hildon_button_init)
486 * src/hildon-check-button.c (hildon_check_button_init)
487 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
488 focus when clicked by default.
490 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
492 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
495 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
497 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
498 Alejandro G. Castro (alex@igalia.com)
500 * src/hildon-picker-dialog.c:
501 (hildon_picker_dialog_class_init): install new "center-on-show"
503 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
504 (hildon_picker_dialog_set_property): add setter code for the new
506 (hildon_picker_dialog_get_property): add getter code for the new
508 (hildon_picker_dialog_show): Ensure visibility of selected items in the
509 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
512 Fixes: NB#92849 (Selected item is not always visible when
513 HildonTouchSelector is shown)
515 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
517 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
518 Alejandro G. Castro (alex@igalia.com)
520 * src/hildon-touch-selector.c:
521 (_create_new_column): Do not connect to the "realize" signal of the
523 (hildon_touch_selector_append_column): center on the selected items
524 when a new column is appended.
525 (hildon_touch_selector_select_iter): Factor out the code to select a
526 column to hildon_touch_selector_scroll_to().
527 (+search_nearest_element): Method to retrieve the nearest selected
528 element to the visible area of the pannable area in a column.
529 (+on_realize_cb): scroll to the initially selected item.
530 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
531 the pannable area is realized, otherwise delay this until it is.
532 (+_hildon_touch_selector_center_on_selected_items): Centers on the
533 selected items of a given column.
534 (+hildon_touch_selector_center_on_selected): Public method to center
535 all columns on the nearest selected item.
536 * src/hildon-touch-selector.h: Add definition for
537 hildon_touch_selector_center_on_selected().
539 Implement public API to ensure visibility of all selected items in
540 a HildonTouchSelector.
542 2009-01-16 Alejandro G. Castro <alex@igalia.com>
544 Fixed a problem in the fading when calling the scroll_to API, and
545 improve scrollbar fading handling.
547 * src/hildon-pannable-area.c,
548 (hildon_pannable_area_grab_notify): avoid the timeout when the
550 (hildon_pannable_area_button_press_cb),
551 (hildon_pannable_area_motion_notify_cb): Code style changes.
552 (hildon_pannable_area_button_release_cb): Review the conditions
553 when releasing the mouse button to avoid unrequired fading
555 (hildon_pannable_area_scroll_to): Do not calculate and set the
556 velocity if the scroll is not required.
558 2009-01-15 Alberto Garcia <agarcia@igalia.com>
560 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
561 Don't check whether the new selector is NULL: it cannot be.
562 Hold a reference to the selector while doing the replacement.
564 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
566 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
567 unnecessary size_request in a removed widget.
569 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
571 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
572 an unnecessary reference tracking that was leaking.
574 2009-01-15 Alejandro G. Castro <alex@igalia.com>
576 Added delayed motion notify event handling, this way we can
577 discard redrawing if more than 25 events arrive per second.
579 * src/hildon-pannable-area.c,
580 (hildon_pannable_area_init): Initialized the new private atributes
581 controlling this timeout
582 (hildon_pannable_area_dispose): Remove the timeout that controls
583 the motion notify events.
584 (hildon_pannable_area_scroll): Added a condition to control the
585 use of the acceleration.
586 (hildon_pannable_area_motion_event_scroll_timeout),
587 (hildon_pannable_area_motion_event_scroll): Added this two
588 functions, they handle the motion notify events inside the
590 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
591 to the scroll method with the new function.
592 (hildon_pannable_area_button_release_cb): We have to remove the
593 timeout handler and move to the last position if the last motion
594 events were not handled.
596 Fixes: NB#97028 (Pannable area updates on every motion event)
598 2009-01-15 Alejandro G. Castro <alex@igalia.com>
600 * src/hildon-pannable-area.c,
601 (hildon_pannable_area_get_topmost): Added a new parameter to
602 filter the the windows that do not include those events. Added
603 also a condition when finding the window to filter windows that do
604 not ask for those events.
605 (hildon_pannable_area_button_press_cb),
606 (hildon_pannable_area_button_release_cb),
607 (hildon_pannable_get_child_widget_at): Reviewed the call the the
608 topmost function, we have added the new parameter.
610 Fixes: NB#97458 (Pannable area prevents propagation of button
613 2009-01-15 Alejandro G. Castro <alex@igalia.com>
615 * src/hildon-pannable-area.c,
616 (hildon_pannable_area_initial_effect): Added controls before
617 launching the timeout and the idle functions.
618 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
619 of the method, in some situations it can return with TRUE and 0 in
621 (hildon_pannable_area_button_press_cb): We do not need to set
622 DELAY for fading out here.
624 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
626 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
628 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
629 post-cleaning if the selection is not NULL.
631 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
633 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
634 all items before restoring the selection.
636 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
638 * src/hildon-touch-selector.c:
639 (+hildon_touch_selector_unselect_all):
640 * src/hildon-touch-selector.h: New API to unselect all items in a
641 column of the touch selector.
643 2009-01-14 Alejandro G. Castro <alex@igalia.com>
645 * src/hildon-pannable-area.c,
646 (hildon_pannable_area_redraw): Added a call to the refresh
647 function inside the redraw because apparently in some cases the
648 change in the adjustment does not imply a size allocate.
650 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
651 despite the view not being scrollable)
653 2009-01-14 Alberto Garcia <agarcia@igalia.com>
655 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
656 leak. Check for NULL before attempting to set the window title.
658 2009-01-14 Alberto Garcia <agarcia@igalia.com>
660 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
661 whether to show or not the 'Done' button each time the dialog is
662 shown, as it depends on the HildonTouchSelector selection mode.
664 Fixes: NB#96226 (In multiple selection mode Done button is shown
665 sometimes in listpicker)
667 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
669 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
670 for the number of columns in the HildonTouchSelector more than once.
672 2009-01-14 Alberto Garcia <agarcia@igalia.com>
674 * src/hildon-touch-selector.c: Minor documentation fixes.
676 * src/hildon-picker-dialog.c (+_dialog_update_title)
677 (_select_on_selector_changed_cb)
678 (_update_title_on_selector_changed_cb)
679 (on_selector_columns_changed): Update dialog title when there's no
680 'Done' button and also when the number of columns in the selector
684 * src/hildon-picker-button.c (hildon_picker_button_finalize)
685 (+_selection_changed, hildon_picker_button_on_dialog_response)
686 (hildon_picker_button_selector_selection_changed)
687 (+hildon_picker_button_selector_columns_changed)
688 (hildon_picker_button_set_selector): Update button value and emit
689 'value-changed' when the number of columns in the selector
693 Fixes: NB#96225 (Dialog titles are not shown according to the
694 values selected in the list picker)
696 2009-01-13 Alberto Garcia <agarcia@igalia.com>
698 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
699 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
700 New "arrow-width" and "arrow-height" style properties to set the
701 size of the arrow button.
702 Set name of arrow button ("hildon-edit-toolbar-arrow").
704 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
707 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
709 * src/hildon-picker-button.c:
710 (hildon_picker_button_selector_selection_changed): Use
711 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
712 the dialog is present.
714 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
715 the selection is accepted in the dialog)
717 2009-01-13 Alberto Garcia <agarcia@igalia.com>
719 * src/hildon-color-chooser.h
720 * src/hildon-color-chooser-dialog.h:
721 Added G_BEGIN_DECLS and G_END_DECLS
723 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
725 (_clean_current_selection): plug a leak in the list.
727 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
729 * src/hildon-picker-dialog.c:
730 (+free_path_list): Method to free a GList of GtkTreePaths.
731 (_clean_current_selection), (_save_current_selection),
732 (_restore_current_selection): Save the current selection in
733 as a list of lists, to support multiple selection properly.
735 2009-01-12 Alberto Garcia <agarcia@igalia.com>
737 patch by Claudio Saavedra (csaavedra@igalia.com)
739 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
740 Store the press position.
741 (+hildon_text_view_button_release_event): If the release position is
742 close enough to the press position, move the cursor here. Otherwise,
744 (hildon_text_view_class_init): Override GtkTextView press, release, and
745 motion event handlers, disabling this way text selection through
746 pointer interaction, and allowing the container widget to handle the
749 Fixes: NB#95828 (HildonTextView functionality)
751 2009-01-12 Alberto Garcia <agarcia@igalia.com>
753 Based on a patch by Iván Gómez (igomez@igalia.com)
755 * src/hildon-button.[ch]
756 * src/hildon-calendar.c
757 * src/hildon-check-button.c
758 * src/hildon-date-editor.c
759 * src/hildon-date-selector.c
760 * src/hildon-picker-button.c
761 * src/hildon-time-editor.c
762 * src/hildon-time-selector.c
763 * src/hildon-touch-selector.[ch]:
764 Documentation updates
766 2009-01-12 Alejandro G. Castro <alex@igalia.com>
768 * src/hildon-pannable-area.c,
769 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
770 threshold, it was required due to X events handling.
772 2009-01-12 Alejandro G. Castro <alex@igalia.com>
774 * src/hildon-pannable-area.c,
775 (hildon_pannable_area_grab_notify),
776 (hildon_pannable_area_initial_effect),
777 (hildon_pannable_area_button_press_cb),
778 (hildon_pannable_area_button_release_cb),
779 (hildon_pannable_area_scroll_cb),
780 (hildon_pannable_area_scroll_to): Review the timeout management of
781 the scrollbar, the frecuency was incorrectly set.
783 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
785 * src/hildon-picker-button.c:
786 (+hildon_picker_button_on_dialog_response),
787 (hildon_picker_button_clicked): Present the dialog instead of
788 running it with gtk_dialog_run().
790 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
793 2009-01-07 Alberto Garcia <agarcia@igalia.com>
795 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
796 (hildon_app_menu_finalize): When a window is hidden it doesn't
797 emit notify::is-topmost, so make sure than the menu also
798 disappears in that case.
799 (parent_window_topmost_notify): Renamed from parent_window_hidden
801 Fixes: NB#94460 (stackable window's menu is not closed when its
804 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
806 * src/hildon-touch-selector-entry.c:
807 (+hildon_touch_selector_entry_set_input_mode),
808 (+hildon_touch_selector_entry_get_input_mode):
809 * src/hildon-touch-selector-entry.h: New methods to access the input
810 mode in the selector's entry.
812 Fixes: NB#93410 (API required for setting IM mode in
813 HildonTouchSelectorEntry)
815 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
817 * configure.ac: post release version bump.
818 * debian/changelog: version bump
820 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
825 * configure.ac: Bump version.
826 * debian/changelog: Updates.
828 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
830 * src/hildon-touch-selector.c:
831 (_hildon_touch_selector_has_multiple_selection): No need
832 to initialize the variables here.
834 2008-12-17 Alberto Garcia <agarcia@igalia.com>
836 * src/hildon-note-private.h
837 * src/hildon-note.c (event_box_press_event, hildon_note_init)
838 (hildon_note_finalize, hildon_note_rebuild): Close information
839 notes when they receive a button press.
841 Fixes: NB#89890 (Information notes does not get disappeared after
844 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
846 * src/hildon-wizard-dialog.c: (create_title): Remove translation
847 mark from the wizard title, as it's not really necessary. Also,
848 do not display the page title if not set.
850 2008-12-17 Alberto Garcia <agarcia@igalia.com>
852 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
853 (parent_window_hidden): Use the window's "is-topmost" property to
854 detect when to hide the menu.
856 2008-12-16 Alberto Garcia <agarcia@igalia.com>
858 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
859 (hildon_app_menu_finalize): If the parent window of the menu is
860 hidden, hide the menu too.
862 Fixes: NB#94460 (stackable window's menu is not closed when its
865 2008-12-16 Alberto Garcia <agarcia@igalia.com>
868 * debian/libhildon1-examples.install
870 * examples/Makefile.am:
871 Use dh_install to install all examples.
872 Use DEB_SRCDIR instead of defining SOURCE_DIR
874 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
876 * configure.ac: post release version bump.
877 * debian/changelog: version bump
879 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
884 * configure.ac: bump version
885 * debian/changelog: updates
886 * debian/control: bump gtk+ dependency
888 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
890 patch by Christian Dywan (christian@imendio.com)
892 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
893 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
895 2008-12-15 Alberto Garcia <agarcia@igalia.com>
897 * src/hildon-check-button.c (hildon_check_button_init)
898 (hildon_check_button_class_init, hildon_check_button_style_set)
899 (hildon_check_button_apply_style):
900 New "checkbox-size" style property.
902 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
903 larger / configurable size)
905 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
907 * configure.ac: post release version bump.
908 * debian/changelog: version bump
910 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
915 * configure.ac: bump version
916 * debian/changelog: updates
918 2008-12-12 Alberto Garcia <agarcia@igalia.com>
920 * doc/hildon-sections.txt
921 * src/hildon-pannable-area.c
922 * src/hildon-program.c
923 * src/hildon-time-editor.c
924 * src/hildon-touch-selector-entry.c:
926 More documentation updates.
928 2008-12-12 Alberto Garcia <agarcia@igalia.com>
930 * doc/hildon-sections.txt
931 * src/hildon-caption.c
932 * src/hildon-code-dialog.c
933 * src/hildon-color-button.c
934 * src/hildon-controlbar.c
935 * src/hildon-date-editor.c
936 * src/hildon-date-selector.c
937 * src/hildon-edit-toolbar.c
938 * src/hildon-find-toolbar.c
939 * src/hildon-font-selection-dialog.c
941 * src/hildon-program.c
942 * src/hildon-range-editor.c
943 * src/hildon-seekbar.c
944 * src/hildon-time-editor.c
945 * src/hildon-time-selector.c
946 * src/hildon-volumebar-range.c
947 * src/hildon-volumebar.c
948 * src/hildon-vvolumebar.c
949 * src/hildon-weekday-picker.c
950 * src/hildon-window.c
951 * src/hildon-wizard-dialog.c:
953 Lots of documentation fixes.
955 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
957 Patch contributed by Iván Gómez (igomez@igalia.com)
959 * src/hildon-check-button.c:
960 * src/hildon-date-button.c:
961 * src/hildon-date-selector.c:
962 * src/hildon-dialog.c:
963 * src/hildon-edit-toolbar.c:
964 * src/hildon-entry.c:
965 * src/hildon-picker-button.c:
966 * src/hildon-program.c:
967 * src/hildon-text-view.c:
968 * src/hildon-time-button.c:
969 * src/hildon-touch-selector-entry.c:
970 * src/hildon-window-stack.c:
972 Add more "since" tags to the new API.
974 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
976 * doc/hildon-sections.txt: Add below method.
977 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
978 version for the hildonized scale.
979 * src/hildon-gtk.h: Add the definition.
981 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
983 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
985 * doc/hildon-sections.txt: Add missing entries for new methods.
987 2008-12-12 Alejandro G. Castro <alex@igalia.com>
989 Added API to pannable are in order to get its adjustments. We
990 added two properties to manage the values we had in the private
993 * src/hildon-pannable-area.c:
994 (hildon_pannable_area_class_init): Added hadjustment and
995 vadjustment properties in order to expose horizontal and vertical
997 (hildon_pannable_area_get_property),
998 (hildon_pannable_area_set_property): Added code to handle the new
1000 (hildon_pannable_area_get_hadjustment),
1001 (hildon_pannable_area_get_vadjustment): API functions to get the
1003 * src/hildon-pannable-area.h:
1004 (hildon_pannable_area_get_hadjustment),
1005 (hildon_pannable_area_get_vadjustment): API functions to get the
1008 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1010 Fixed some leaks, after valgrinding.
1012 * src/hildon-touch-selector.c:
1013 (_default_print_func): Fixed a leak.
1014 (hildon_touch_selector_append_column): Fixed a leak.
1015 * src/hildon-date-button.c:
1016 (hildon_date_button_init): Fixed a leak.
1017 * src/hildon-date-selector.c
1018 (hildon_date_selector_finalize): Fixed a leak.
1020 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1022 Based on a patch by Christian Dywan (christian@imendio.com)
1024 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1026 * src/hildon-gtk.h: Add definition.
1028 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1030 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1032 * src/hildon-picker-button.c: (hildon_picker_button_init),
1033 (hildon_picker_button_new): Set the HildonButton::style property
1034 in the init method, to propagate the value to the derived classes.
1036 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1038 * src/hildon-button.c: (hildon_button_class_init): Do not make
1039 the "style" property a construct property.
1041 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1043 * src/hildon-wizard-dialog.h
1044 * src/hildon-wizard-dialog.c
1045 (hildon_wizard_dialog_set_forward_page_func)
1046 * src/hildon-pannable-area.h
1047 * src/hildon-pannable-area.c
1048 (hildon_pannable_area_set_size_request_policy):
1049 Documentation fixes.
1051 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1053 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1055 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1057 * doc/hildon-sections.txt: Added sections file.
1059 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1062 * src/*.[ch]: Updates.
1064 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1066 * examples/hildon-progress-indicator-example.c: new file
1067 * examples/Makefile.am: include the new example program
1069 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1071 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1073 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1075 * configure.ac: post release version bump
1076 * debian/changelog: version bump
1078 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1083 * configure.ac: bump version
1084 * debian/changelog: updates
1085 * debian/control: bump gtk+ dependency
1087 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1089 * src/hildon-dialog.c: Mark as deprecated.
1090 * src/hildon-dialog.h: Mark as deprecated.
1091 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1092 from HildonDialog and still work, even if
1093 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1094 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1096 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1097 maemo changes) instead)
1099 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1101 * src/hildon-pannable_area.h:
1102 * src/hildon-pannable_area.c:
1103 (hildon_pannable_area_class_init),
1104 (hildon_pannable_area_set_property),
1105 (hildon_pannable_area_get_property),
1106 (hildon_pannable_area_size_request),
1107 (hildon_pannable_area_get_size_request_policy),
1108 (hildon_pannable_area_set_size_request_policy): Added new API
1109 allowing applications to control the request policy. Now they can
1110 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1111 children allocation (HILDON_MOVEMENT_CHILDREN).
1113 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1117 (hildon_gtk_tree_view_set_ui_mode)
1118 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1119 mode of treeviews and iconviews.
1121 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1123 * src/hildon-touch-selector-entry.c:
1124 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1125 of a GtkEntry to get proper theming.
1127 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1128 widget, not GtkEntry)
1130 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1132 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1133 no HildonWizardDialogPageFunc.
1135 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1137 Patch contributed by Iván Gómez (igomez@igalia.com)
1139 * src/hildon-app-menu.c:
1140 * src/hildon-button.c:
1141 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1142 * src/hildon-stackable-window.c:
1143 * src/hildon-time-selector.c:
1144 * src/hildon-touch-selector.c:
1145 * src/hildon-window.c:
1147 Add more "since" tags to the new API in hildon 2.2.
1149 2008-12-05 Tim Janik <timj@imendio.com>
1151 Patch contributed by Christian Dywan (christian@imendio.com)
1153 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1154 HildonSizeType, which are supplied by Gtk+ now.
1156 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1158 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1159 (with maemo changes) instead)
1161 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1163 Patch contributed by Iván Gómez (igomez@igalia.com)
1165 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1168 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1170 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1171 (some_page_func), (main): Update the example to use a
1172 HildonWizardDialogPageFunc function.
1174 * src/hildon-wizard-dialog-private.h: Add private data for
1175 the HildonWizardDialogPageFunc function usage.
1177 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1178 (destroy), (hildon_wizard_dialog_init), (response),
1179 (hildon_wizard_dialog_set_forward_page_func):
1180 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1181 that applications can use to stop a HildonWizardDialog to jump to
1184 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1187 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1189 * src/hildon-program.h
1190 * src/hildon-program-private.h
1191 * src/hildon-program.c (hildon_program_init)
1192 (hildon_program_set_common_app_menu)
1193 (hildon_program_get_common_app_menu):
1194 New API for setting a common HildonAppMenu for all
1195 HildonStackableWindows registered with the HildonProgram.
1197 * src/hildon-stackable-window.c
1198 (hildon_stackable_window_toggle_menu):
1199 Use the common HildonAppMenu if a window doesn't have a specific
1202 * src/hildon-app-menu-private.h
1203 * src/hildon-app-menu.c
1204 (hildon_app_menu_get_parent_window):
1205 Function to obtain the window a HildonAppMenu is attached to.
1206 (hildon_app_menu_set_parent_window):
1207 Hide the menu if the parent window is set to NULL.
1209 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1211 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1212 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1213 search widget to popup.
1215 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1217 * configure.ac: post release version bump
1218 * debian/changelog: version bump
1220 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1225 * configure.ac: bump version
1226 * debian/changelog: updates
1228 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1230 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1232 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1233 (hildon_window_stack_window_realized)
1234 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1235 Set the leader GdkWindow when a window is stacked and realized,
1236 unset it when it's unstacked.
1237 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1239 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1241 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1243 * src/hildon-stackable-window.h
1244 * src/hildon-window-stack.h:
1245 Protect definition of HildonWindowStack using the preprocessor.
1247 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1249 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1250 Fix warning if all menu items are hidden.
1252 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1254 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1256 * src/hildon-controlbar.c:
1257 * src/hildon-hvolumebar.c:
1258 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1259 Multiple scale size defines updates.
1261 Fixes: NB#94322 (Scale Updates)
1263 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1265 * examples/hildon-app-menu-example.c (create_menu)
1266 Show items after adding them to the menu, as in the future the
1267 menu will no longer call gtk_widget_show() on the added items.
1269 * src/hildon-app-menu.c:
1270 Update example as explained above.
1272 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1274 * src/hildon-app-menu.c
1275 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1276 Make sure that all menu items have finger height.
1278 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1280 * src/hildon-picker-dialog.c:
1281 (_on_dialog_response), (_save_current_selection),
1282 (_restore_current_selection), (_clean_current_selection),
1283 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1284 Defined new functions in order to save the current internal selector
1285 selection previous open the dialog, in case that the use cancel the
1286 interaction, so the widget restores the previous selection.
1288 Fixes: NB#92032 (In calendar application, date values in 'new event'
1291 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1293 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-button.c: Add a reference to the button examples in
1296 hildon-button-example.c
1298 * examples/hildon-button-example.c: Added examples of the most
1299 common button layouts.
1301 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1303 * src/hildon-app-menu.c (hildon_app_menu_show)
1304 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1306 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1308 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1310 * src/hildon-picker-dialog.c:
1311 (hildon_picker_dialog_init): Initialize the signal id for
1312 HildonTouchSelector::columns-changed.
1313 (+on_selector_columns_changed): Set up the interaction mode everytime a
1314 column is added or removed from the HildonTouchSelector.
1315 (_hildon_picker_dialog_set_selector): Connect to
1316 HildonTouchSelector::columns-changed and keep track of it.
1318 Make sure to update the interaction mode of the dialog everytime a
1319 column is added or removed in the HildonTouchSelector.
1321 Fixes: NB#93228 (Done button is not shown always in listpicker)
1323 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1325 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1326 a new ::columns-changed signal.
1327 (hildon_touch_selector_append_column): Emit ::columns-changed.
1328 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1330 Add a ::columns-changed signal, emitted when the number of columns in a
1331 HildonTouchSelector changes.
1333 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1335 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1336 (_hildon_picker_dialog_set_selector): Factor out the code
1337 to set up the dialog interaction mode.
1339 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1341 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1342 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1343 to signal_changed_id.
1345 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1347 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1350 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1352 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1353 Updated the logical ids related to ampm format, as now it is required to
1354 show it correctly localized even on languages with no default
1355 abbreviations for am or pm
1356 (_check_am_pm_format): check correctly the 24h format gconf property
1358 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1360 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1362 * src/hildon-button.c: Documentation updates.
1364 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1366 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1367 * src/hildon-caption.c: (hildon_caption_class_init):
1368 * src/hildon-color-button.c: (hildon_color_button_class_init):
1369 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1370 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1371 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1372 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1374 Remove deprecated GTK+ marshalers and replace them with the ones
1375 provided by GLib, for those available, add a marshaler for
1376 BOOLEAN:VOID, which is not available in GLib, and use it.
1378 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1380 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1381 the text from the previous column if there is no
1382 HildonTouchSelectorColumn::text-property set.
1384 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1386 * src/hildon-button.h
1387 * src/hildon-button.c (hildon_button_set_property)
1388 (hildon_button_get_property, hildon_button_class_init)
1389 (hildon_button_set_style, hildon_button_get_style):
1390 New "style" property to change the visual appearance of the
1393 * src/hildon-picker-button.c (hildon_picker_button_new):
1394 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1396 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1397 HildonButton look like PickerButton)
1399 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1401 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1402 column while building the default string.
1404 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1406 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1407 scroll indicator by default.
1409 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1411 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1413 * src/hildon-main.c: Fix the documentation for hildon_init()
1415 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1417 * doc/hildon-docs.sgml
1421 * src/hildon-window-stack-private.h
1422 * src/hildon-window-stack.h
1423 * src/hildon-window-stack.c:
1424 New HildonWindowStack object, that adds support for multiple
1425 stacks of windows per process.
1427 * src/hildon-stackable-window-private.h
1428 * src/hildon-stackable-window.h
1429 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1430 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1431 (hildon_stackable_window_show, hildon_stackable_window_hide)
1432 (hildon_stackable_window_class_init)
1433 (hildon_stackable_window_init):
1434 Use HildonWindowStack for stack management.
1436 * src/hildon-program.c (hildon_program_pop_window_stack)
1437 (hildon_program_peek_window_stack)
1438 (hildon_program_go_to_root_window):
1439 Add a fallback implementation to the deprecated functions using
1442 * examples/hildon-stackable-window-example.c:
1443 Use the new HildonWindowStack API.
1445 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1447 * src/hildon-stackable-window-private.h
1448 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1449 (hildon_stackable_window_hide, hildon_stackable_window_init):
1450 Remove all window stack management.
1452 * src/hildon-program-private.h
1453 * src/hildon-program.h
1454 * src/hildon-program.c (hildon_program_init)
1455 (hildon_program_pop_window_stack)
1456 (hildon_program_peek_window_stack)
1457 (hildon_program_go_to_root_window):
1458 Remove all window stack management and mark functions as
1461 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1463 * src/hildon-app-menu.c (hildon_app_menu_realize):
1464 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1466 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1468 * configure.ac: post release version bump
1469 * debian/changelog: version bump
1471 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1476 * configure.ac: bump version
1477 * debian/changelog: updates
1479 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1481 Based on initial code by Christian Dywan (christian@imendio.com)
1483 * doc/hildon-docs.sgml: Add section for hildon-main.
1484 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1485 * src/Makefile.am: Add new hildon-main.[ch]
1486 * src/hildon-defines.h: Update the icon sizes.
1487 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1488 new library initialization files and register icon sizes.
1489 * src/hildon-main.h: New declarations.
1490 * src/hildon.h: Include hildon-main.h
1492 Add new initialization functions to the library. These methods
1493 will register the hildon specific icon sizes and can be used in the
1494 future for other hildon specific bits.
1496 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1498 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1500 * src/hildon-window.c: (hildon_window_realize),
1501 (hildon_window_notify), (-hildon_window_update_title): Do not set
1502 the application name in the window title.
1504 Fixes: NB#89754 (Applications shouldn't display their names in the
1507 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1509 * src/hildon-note-private.h:
1510 * src/hildon-note.c: (hildon_note_set_property),
1511 (hildon_note_get_property), (hildon_note_class_init),
1512 (hildon_note_init), (hildon_note_finalize),
1513 (hildon_note_new_confirmation_with_icon_name),
1514 (hildon_note_new_information_with_icon_name):
1516 No need to mark as deprecated the actual code. Revert
1517 to avoid missing symbols in widgets using deprecated API.
1519 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1521 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1523 * src/hildon-volumebar.h
1524 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1525 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1527 * src/hildon-helper.h
1528 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1529 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1531 * examples/Makefile.am:
1532 Deprecate hildon-insensitive-example
1534 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1536 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1538 * examples/hildon-pannable-area-buttons-scroll-example.c:
1539 Make all buttons finger height
1541 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1543 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1545 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1546 update the day model only if it is really required, and to avoid the
1547 full-reconstruction aproach. Now it only add or remove the required days.
1549 The purpose of this is avoid superfluous HildonTouchSelector::changed
1552 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1553 with strange parameters)
1555 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1557 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1559 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1560 the WINDOW_TYPE property.
1562 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1564 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1567 Fix dependency to allow parallel compilation with make -jX
1569 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1571 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1572 color frame and some minor tweaks to make it more consistent with
1575 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1576 highlighted but not visible)
1578 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1580 * examples/Makefile.am: Fixed typo in the Makefile.am.
1582 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1584 Reviewed the use of MAEMO_GTK define, now we add the define in the
1585 compilation line, and we also add it to the pc file.
1587 * configure.ac: Added MAEMO_GTK define to the compilation command
1588 and removed it from the config.h.
1590 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1591 do not have to take care about this define if the library was
1595 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1597 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1599 * examples/Makefile.am,
1600 * examples/hildon-pannable-area-buttons-scroll-example.c,
1601 * examples/hildon-pannable-area-gesture-signals-example.c,
1602 * examples/hildon-pannable-area-scroll-jump-example.c,
1603 * examples/hildon-pannable-area-tree-view-example.c:
1604 Renamed the pannable area examples, now they have more meaningful
1607 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1609 * src/hildon-touch-selector.c:
1610 (hildon_touch_selector_set_column_selection_mode): Used of
1611 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1612 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1613 to avoid re-seting the same selection mode.
1615 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1616 breaks HildonPickerDialog)
1618 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1620 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1621 conditional in the Makefile.am
1623 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1625 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1626 Remove unused methods.
1628 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1630 * src/hildon-button.c (hildon_button_init):
1631 Make button images center-aligned by default
1633 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1636 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1637 activated, we have to think about how to deal with both defines
1638 MAEMO_GTK and MAEMO_CHANGES.
1640 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1642 * examples/hildon-app-menu-example.c (create_menu): Make all
1643 buttons finger size.
1645 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1647 Fixed the compilation without maemo gtk adding ifdefs with
1648 MAEMO_GTK define to the code, we have to check this version more
1651 * examples/Makefile.am: Added control to avoid some examples that
1652 just make sense with maemo gtk.
1655 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1656 hildon modes with the define.
1658 * examples/hildon-edit-toolbar-example.c,
1659 (create_icon_view): Create the icon view without hildon-gtk
1660 helpers if we are not using maemo gtk.
1662 * src/hildon-touch-selector.c,
1663 (_create_new_column): Create the treeview without hildon-gtk
1664 helpers if we are not using maemo gtk.
1666 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1668 * src/hildon-pnnable-area.c,
1669 (hildon_pannable_area_dispose),
1670 (hildon_pannable_area_button_press_cb),
1671 (hildon_pannable_area_child_mapped),
1672 (hildon_pannable_area_add),
1673 (hildon_pannable_area_remove): Added code to control the position
1674 of the event_window when adding and removing children from the
1675 pannable. We have to raise the event window when the child is
1678 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1679 selection mode using custom widget inside pannable)
1681 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1683 * configure.ac: post release version bump
1684 * debian/changelog: version bump
1686 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1691 * configure.ac: bump version
1692 * debian/changelog: updates
1694 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1696 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1697 search mode, in order to avoid lose the focus on the treeview when
1698 a hw key (like enter) is pressed.
1700 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1701 in HildonDateSelector dialog)
1703 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1705 * debian/rules: Added --enable-maintainer-mode
1706 * Makefile.am: Added ACLOCAL_AMFLAGS
1708 This allows to properly regenerate the Makefiles if you modify the
1709 configure.ac or any Makefile.am.
1711 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1713 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1714 properties, not needed at all.
1716 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1718 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1720 * src/hildon-note.c: (hildon_note_set_property),
1721 (hildon_note_get_property), (hildon_note_class_init),
1722 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1723 (hildon_note_new_confirmation_add_buttons): Remove icons.
1724 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1725 (hildon_note_new_information_with_icon_name): Deprecate.
1726 (hildon_note_new_confirmation): Act directly, without calling
1727 the deprecated constructor.
1728 (hildon_note_new_information): Act directly, without calling
1729 the deprecated constructor.
1730 * src/hildon-note.h: Mark deprecate methods as such.
1731 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1732 not run tests on the deprecated methods if built with deprecation
1735 Fixes: NB#91688 (Never show icons in information notes/confirmation
1738 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1740 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1741 (hildon_app_menu_key_press): Remove leftover usage of the
1742 private structure in HildonAppMenu struct.
1743 * src/hildon-app-menu.h: Remove leftover private structure
1744 from the HildonAppMenu struct.
1746 Fixes a crasher when using the HildonAppMenu.
1748 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1750 * src/hildon-picker-dialog.c: Use appropriate logical id
1751 for the default "Done" text.
1753 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1755 * configure.ac: post release version bump
1756 * debian/changelog: version bump
1758 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1760 Modified the way to scroll to the current selection just when the touch
1761 selector is shown on the screen, avoiding a g_idle. Added too a property
1762 to configure this behaviour. See hildon_pannable_area_jump_to_child
1763 documentation for more information.
1765 * src/hildon-touch-selector.c
1766 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1767 Added 'initial-scroll' property
1768 (hildon_touch_selector_set_property): Added
1769 (hildon_touch_selector_map): Removed as not required anymore
1770 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1771 only a concrete column, instead of iterate along all the columns
1773 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1778 * configure.ac: bump version
1779 * debian/changelog: updates
1781 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1783 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1784 compilation time warnings.
1786 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1788 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1789 the default value for HildonPannableArea::mov-mode to
1790 HILDON_PANNABLE_AREA_MODE_VERT.
1792 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1794 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1796 Reverting following commit:
1798 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1800 * src/hildon-app-menu-private.h
1801 * src/hildon-app-menu.[ch]
1802 * src/hildon-button.[ch]
1803 * src/hildon-check-button.[ch]
1804 * src/hildon-entry.[ch]
1805 * src/hildon-pannable-area.[ch]
1806 * src/hildon-text-view.[ch]:
1807 Added private field to the object's structure.
1809 because it causes an ABI breakage. We will need to introduce these
1810 changes later at some point. See NB#91636 for an extensive
1811 explanation and status.
1813 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1815 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1817 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1818 remove special cases that are no longer necessary.
1820 Fixes: NB#91016 (Change toolbar sizes, simplification)
1822 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1824 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1825 is shown in the cancel note.
1827 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1829 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1830 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1831 (hildon_seekbar_init): Remove steppers, remove expose event.
1832 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1834 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1836 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1838 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1839 label font to "SmallSystemFont" for vertically arranged buttons.
1841 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1844 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1846 * src/hildon-check-button.c
1847 (hildon_check_button_set_active, hildon_check_button_clicked):
1848 Don't access private parts directly, use getters instead.
1850 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1852 * src/hildon-check-button.c (hildon_check_button_new):
1853 Align the contents of the check button to the left.
1855 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1857 * src/hildon-pannable-area.c,
1858 (hildon_pannable_area_scroll_to),
1859 (hildon_pannable_area_jump_to),
1860 (hildon_pannable_area_scroll_to_child),
1861 (hildon_pannable_area_jump_to_child): Replace the mapped
1862 precondition of these functions with the realized, it is the
1863 correct state of the widget in this case. Changed the
1864 documentation according to this modification.
1866 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1868 Added a new EXTRA_CFLAGS option to add the deprecated define to
1869 the compilation command. This way we can avoid using the define in
1870 the documentation compilation.
1872 * configure.ac: Defined EXTRA_CFLAGS.
1874 * examples/Makefile.am:
1876 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1878 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1880 * src/hildon-picker-dialog.c:
1881 Defined a utility macro with the desired touch selector height
1882 Removed currently unused separator, and title_label variables from
1884 (hildon_picker_dialog_init): Removed code related to the creation
1885 of unused private variables title_label and separator.
1886 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1887 to ensure correct visualization of the touch selector inside the dialog.
1888 * src/hildon-touch-selector.c
1889 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1890 ensure a concrete height of the widget.
1892 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1895 * tests/Makefile.am:
1897 Remove spurious whitespaces.
1899 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1901 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1902 compilation warning after the cancel button removal.
1904 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1906 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1908 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1909 Makefile.am, that way we can choose not to compile some examples
1910 and tests of the deprecated widgets.
1912 * examples/Makefile.am: Divided the sources in deprecated and
1915 * src/Makefile.am: Added undef statement of the deprecated
1916 symbol to the enums file generation process.
1918 * src/hildon-color-chooser-dialog.c
1919 * src/hildon-color-chooser-dialog.h
1920 * src/hildon-color-button.c
1921 * src/hildon-color-button.h
1922 * src/hildon-color-chooser.c
1923 * src/hildon-color-chooser.h
1924 * src/hildon-controlbar.c
1925 * src/hildon-controlbar.h
1926 * src/hildon-date-editor.c
1927 * src/hildon-date-editor.h
1928 * src/hildon-hvolumebar.c
1929 * src/hildon-hvolumebar.h
1930 * src/hildon-private.c
1931 * src/hildon-private.h
1932 * src/hildon-range-editor.c
1933 * src/hildon-range-editor.h
1934 * src/hildon-seekbar.c
1935 * src/hildon-seekbar.h
1936 * src/hildon-time-editor.c
1937 * src/hildon-time-editor.h
1938 * src/hildon-time-picker.c
1939 * src/hildon-time-picker.h
1940 * src/hildon-volumebar.c
1941 * src/hildon-volumebar.h
1942 * src/hildon-vvolumebar.c
1943 * src/hildon-vvolumebar.h
1944 * src/hildon-bread-crumb-trail.h
1945 * src/hildon-bread-crumb-trail.c
1946 * src/hildon-calendar-popup.c
1947 * src/hildon-calendar-popup.h
1948 * src/hildon-weekday-picker.c:
1949 * src/hildon-weekday-picker.h:
1950 * src/hildon-bread-crumb-widget.c:
1951 * src/hildon-bread-crumb-widget.h:
1952 * src/hildon-bread-crumb.c:
1953 * src/hildon-bread-crumb.h:
1954 * src/hildon-calendar.c:
1955 * src/hildon-calendar.h:
1956 * src/hildon-caption.c:
1957 * src/hildon-code-dialog.c:
1958 * src/hildon-code-dialog.h:
1959 * src/hildon-font-selection-dialog.c:
1960 * src/hildon-font-selection-dialog.h:
1961 * src/hildon-get-password-dialog.c:
1962 * src/hildon-get-password-dialog.h:
1963 * src/hildon-login-dialog.c:
1964 * src/hildon-login-dialog.h:
1965 * src/hildon-number-editor.c:
1966 * src/hildon-number-editor.h:
1967 * src/hildon-set-password-dialog.c:
1968 * src/hildon-set-password-dialog.h:
1969 * src/hildon-sort-dialog.c:
1970 * src/hildon-sort-dialog.h: This is the list of deprecated
1973 * src/hildon-touch-selector.c:
1974 * src/hildon-window.c: Added undef statement to avoid compilation
1977 * tests/Makefile.am: Divided the sources in deprecated and
1980 * tests/check_test.c,
1981 (configure_tests): Marked the deprecated code that was adding
1982 suites with deprecated tests.
1984 Fixes: NB#91135 (Deprecate legacy hildon widgets)
1986 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1988 * src/hildon-touch-selector.c: (_default_print_func): Do not
1989 duplicate a string returned by gtk_tree_model_get(), it is already
1992 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1995 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1997 * src/hildon-pannable-area.c
1998 (hildon_pannable_area_add_with_viewport): Reviewed the complete
1999 method, it had problems when adding a widget with viewport the
2000 second time. Now checks if it already has a viewport and uses it.
2002 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
2005 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2007 * src/hildon-pannable-area.c,
2008 (hildon_pannable_area_scroll_to),
2009 (hildon_pannable_area_jump_to),
2010 (hildon_pannable_area_scroll_to_child),
2011 (hildon_pannable_area_jump_to_child): Added a precondition to the
2012 scroll and jump to functions: the widget must be mapped before we
2013 can safely call these functions. We have also added documentation
2014 to the functions to explain how to use them in this situation.
2017 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2019 Reviewed the threading handling of the pannable widget, we have
2020 used the gdk_threads_add_timeout function instead of the usual
2021 glib handlers. This avoids some problems with the threads.
2023 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2024 (hildon_pannable_area_initial_effect),
2025 (hildon_pannable_area_scroll_indicator_fade),
2026 (hildon_pannable_area_button_press_cb),
2027 (hildon_pannable_area_timeout),
2028 (hildon_pannable_area_motion_notify_cb),
2029 (hildon_pannable_area_button_release_cb),
2030 (hildon_pannable_area_scroll_cb),
2031 (hildon_pannable_area_scroll_to): Removed the
2032 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2033 gdk_threads_add_timeout.
2035 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2037 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2042 * configure.ac: bump version
2043 * debian/changelog: updates
2045 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2047 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2048 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2049 * src/hildon-color-chooser-dialog.c:
2050 (hildon_color_chooser_dialog_init):
2051 * src/hildon-font-selection-dialog.c:
2052 (hildon_font_selection_dialog_init):
2053 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2055 Remove all cancel/close-like dialogs, as these are not going to be
2058 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-note.c: (hildon_note_rebuild),
2061 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2064 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2066 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2068 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2069 sure all buttons are shown, even the Cancel/Close-like ones.
2071 Fixes: NB#90861 (Custom Confirmation dialogs should be
2072 protected from cancel button removal)
2074 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2076 * debian/control: Change libhildon1-examples dependency from libhildon1
2078 * debian/libhildon1-examples.install
2080 * Makefile.am: Modified the final install directory for the examples on
2081 package libhildon1-examples
2082 * Makefile.static: Update clean target in order to remove all the binary
2085 Changes suggested by Claudio after review new libhildon1-examples package
2087 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2089 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2090 * src/hildon-touch-selector.c: Ditto.
2092 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2094 * debian/control: Added new package libhildon1-examples, in order to pack
2095 the current hildon examples as documentation
2096 * debian/rules: Not to compress .c files, modify some includes on the
2097 examples (as normally are compiled locally, but when installed it will
2098 require to include the installed libhildon1 library), and rename
2100 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2101 install all the example files on the new example package
2102 * examples/Makefile.static: Added static makefile that can be used to
2103 compile the examples, once installed the new example package
2104 * examples: Most of the examples were modified in order to grant that
2105 all use only '#include "hildon.h"', in order to be easy to prepare
2106 it on the example package
2108 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2111 * debian/libhildon1-dev.install
2112 * debian/libhildon1-doc.install:
2113 Move all gtk-doc files to a separate libhildon1-doc package.
2115 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2117 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2119 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2121 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2123 * debian/rules: Fixed a error in order to avoid unnecessary calls
2124 to autogen.sh on package building
2126 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2128 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2130 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2132 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2135 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2137 * src/hildon-picker-button.c
2138 (hildon_picker_button_finalize):
2139 Free priv->done_button_text
2141 * src/hildon-time-button.c
2142 (hildon_time_button_set_time)
2143 * src/hildon-picker-button.c
2144 (hildon_picker_button_clicked)
2145 (hildon_picker_button_selector_selection_changed)
2146 (hildon_picker_button_set_selector)
2147 * src/hildon-date-button.c
2148 (hildon_date_button_set_date):
2149 Free strings returned by hildon_touch_selector_get_current_text()
2151 * src/hildon-button.c (hildon_button_construct_child):
2152 Fix leaks in priv->image and priv->label_box
2154 Fixes: NB#90535 (Memory leak in picker button)
2156 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2158 * src/hildon-button.c: (hildon_button_get_property): Do not access
2159 private elements directly, use getters instead.
2161 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2163 * src/hildon-app-menu-private.h
2164 * src/hildon-app-menu.c
2165 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2166 Store the menu's parent window.
2168 * src/hildon-stackable-window.c
2169 (hildon_stackable_window_toggle_menu)
2170 (hildon_stackable_window_finalize):
2171 Set the menu's parent window when the menu is shown, unset it when
2174 * src/hildon-app-menu.c
2175 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2176 (hildon_app_menu_class_init):
2177 Send unhandled keyboard accelerators to the parent window.
2179 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2181 * src/hildon-stackable-window.c
2182 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2184 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2186 * configure.ac: post release version bump
2188 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2191 * configure.ac: Bump version
2192 * debian/changelog: Updates
2193 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2196 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2198 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2201 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2202 GtkMenu with Hildon style.
2204 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-picker-button.c:
2207 (hildon_picker_button_set_done_button_text): Set the dialog's
2208 done button text here as well.
2210 Fixes: NB#90232 (Picker button does not set the label on done button
2211 for the second time)
2213 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2215 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2218 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2220 * src/hildon-app-menu.c (hildon_app_menu_insert)
2221 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2222 the HildonAppMenu to be activatable using keyboard accelerators
2223 when the menu is not being shown.
2225 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2227 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2229 * src/hildon-stackable-window.c
2230 (hildon_stackable_window_show):
2231 Don't hide old windows automatically when new windows are shown:
2232 this is now a task for the window manager.
2233 (hildon_stackable_window_class_init)
2234 (hildon_stackable_window_hide):
2235 Remove windows from the stack everytime they're hidden.
2236 (hildon_stackable_window_realize):
2237 Don't change the _NET_WM_WINDOW_TYPE property. Use
2238 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2239 it as a stackable window.
2241 * src/hildon-program.c
2242 (hildon_program_pop_window_stack):
2243 Just hide the window to remove it from the stack.
2244 (hildon_program_go_to_root_window):
2245 Don't call gtk_widget_show(), this is now a task for the window
2248 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2250 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2252 * src/hildon-button.c
2253 (hildon_button_construct_child):
2254 Don't pack anything in the button until text or image are
2255 set. This allows adding a custom child after creating the button
2256 with hildon_button_new().
2257 (hildon_button_finalize, hildon_button_class_init)
2258 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2259 alignment and the label box even when they're not packed in the
2262 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2264 * src/hildon-touch-selector.h:
2265 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2266 currently the type definition was using GTK_TYPE_VBOX
2267 * src/hildon-touch-selector.c:
2268 Added some implementation notes in order to clarify that any other widget
2269 added without the column related API will not be included on the
2270 selection logic, and how the widget is freed, as some people ask about
2272 (hildon_touch_selector_remove): Reimplemented in order to free properly
2273 the column related data when you remove the private hbox.
2274 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2275 to get a proper HildonTouchSelectorColumn documentation
2277 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2279 * src/hildon-touch-selector-entry.c:
2280 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2281 text in the GtkEntry and there is no item selected. Fixes a
2284 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2286 * src/hildon-app-menu-private.h
2287 * src/hildon-app-menu.[ch]
2288 * src/hildon-button.[ch]
2289 * src/hildon-check-button.[ch]
2290 * src/hildon-entry.[ch]
2291 * src/hildon-pannable-area.[ch]
2292 * src/hildon-text-view.[ch]:
2293 Added private field to the object's structure.
2295 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2297 * configure.ac: post-release version bump
2299 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2303 * configure.ac: pre-release version bump
2305 * debian/changelog: updates.
2307 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2309 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2310 Disconnect the handler for HildonTouchSelector::changed.
2312 (hildon_picker_button_selector_selection_changed): Update the button
2313 value if the selection change was not triggered by the
2316 (hildon_picker_button_set_selector): connect to
2317 HildonTouchSelector::changed.
2319 Fixes: NB#89650 (Picker button is not updated, when selection in
2320 selector has changed)
2322 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2324 * src/hildon-picker-dialog.c
2325 (hildon_picker_dialog_realize): Removed as not required
2326 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2327 * src/hildon-picker-button.c
2328 (_current_selector_empty): New function, checks if the selector is empty
2329 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2330 if the current selector is empty, in order to avoid to show the dialog
2331 close the dialog in this case (and shows a g_warning).
2333 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2335 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2337 * src/hildon-pannable-area.c,
2338 (hildon_pannable_area_scroll): Added clause to stop movement when
2339 the child of pannable is smaller than one page.
2340 (hildon_pannable_area_scroll_to): Added conditions to avoid
2341 starting the scrolling movement if the child is smaller than one
2342 page, the complete child is in the screen, we do not have to move.
2344 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2346 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2348 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2349 this is managed automatically by the widget when the size of the
2352 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2354 * src/hildon-picker-button.c
2355 (hildon_picker_button_set_done_button_text): Make a copy of the
2356 text, and free the previous value.
2358 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2360 * src/hildon-touch-selector-entry.c:
2361 (hildon_touch_selector_entry_print_func): Return the selected row's
2362 text if the entry is empty.
2364 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2367 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2369 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2371 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2374 * src/hildon-check-button.h
2375 * src/hildon-check-button.c
2376 * examples/hildon-check-button-example.c:
2377 HildonCheckButton is now a new widget. 'toggled' signal added.
2379 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2381 * src/hildon-program-private.h
2382 * src/hildon-program.c (hildon_program_init)
2383 (hildon_program_finalize): Removed unused variables group_leader
2384 and name from HildonProgramPrivate.
2386 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2388 * src/hildon-check-button.c (hildon_check_button_set_active)
2389 (hildon_check_button_get_active, hildon_check_button_new): Use
2390 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2392 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2394 * src/hildon-touch-selector.h
2395 (hildon_touch_selector_set_column_attributes): added deprecation
2396 guard HILDON_DISABLE_DEPRECATED
2397 * src/hildon-time-selector.c
2398 (hildon_time_selector_set_time)
2399 (hildon_time_selector_get_time): Fixed a typo on documentation
2400 * src/hildon-touch-selector.c: update HildonTouchSelector and
2401 HildonTouchSelectorColumn documentation
2402 * src/hildon-touch-selector-entry.c: update "text-column" property
2404 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2405 to be added to the general documentation.
2407 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2409 * examples/hildon-pannable-area-example-4.c,
2411 * examples/hildon-pannable-area-example.c,
2412 (main): Modified the code in order to use the container add, with
2413 viewport treeviews could have problems if they are really big.
2415 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2417 * src/hildon-weekday-picker.c,
2418 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2419 the agreement regarding deprecation in the library.
2421 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2423 * examples/hildon-picker-button-multicolumn-example.c:
2424 (main): Use custom "done" button text.
2426 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2427 (hildon_picker_button_set_property),
2428 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2429 (hildon_picker_button_init),
2430 (+hildon_picker_button_get_done_button_text),
2431 (+hildon_picker_button_set_done_button_text): New methods to customize
2432 the "done" button label in the launched HildonPickerDialog. Also,
2435 * src/hildon-picker-button.h: add the public API.
2437 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2439 * src/hildon-date-selector.h:
2440 * src/hildon-picker-dialog.h:
2441 * src/hildon-time-selector.h:
2442 * src/hildon-touch-selector-column.h:
2443 * src/hildon-touch-selector.h:
2445 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2446 declarations. Fixes gtk-doc warnings.
2448 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2450 * src/hildon-picker-dialog.h
2451 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2452 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2454 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2455 long text is set as label for done button)
2457 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2459 * src/hildon-dialog.c (hildon_dialog_add_button):
2460 Set fixed width to all buttons in the HildonDialog.
2462 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2464 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2466 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2467 Set widget name using class name plus "-finger" or "-thumb".
2469 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2471 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2472 'clicked' when the state of the button is manually changed.
2474 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2476 * src/hildon-app-menu.c (hildon_app_menu_realize)
2477 (hildon_app_menu_unrealize, hildon_app_menu_init)
2478 (hildon_app_menu_class_init, item_visibility_changed):
2479 Change the menu layout when the size of the screen changes.
2480 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2481 Show warning only when changing the number of colums using the
2484 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2486 * debian/compat: Set to 5
2487 * debian/control: Update dependencies.
2488 * debian/libhildon1-dbg.install: Remove.
2489 * debian/libhildon1-dev.install: Update according to cdbs paths.
2490 * debian/libhildon1.install: Update according to cdbs paths.
2491 * debian/rules: Switch to cdbs.
2493 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2495 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2496 'item' variable renamed to 'filter'
2498 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2500 * src/hildon-app-menu.c (hildon_app_menu_insert)
2501 (hildon_app_menu_add_filter, remove_item_from_list)
2502 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2503 Don't leak hidden items when the menu is destroyed.
2505 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2507 * src/hildon-app-menu.c (hildon_app_menu_insert)
2508 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2509 (hildon_app_menu_set_columns, item_visibility_changed)
2510 (filter_visibility_changed, hildon_app_menu_repack_filters)
2511 (hildon_app_menu_repack_items):
2512 Repack items and filters separately.
2514 Don't repack all items, change only the ones that are needed to
2517 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2519 * src/Makefile.am: added hildon-touch-selector-column.h
2521 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2523 * src/hildon-touch-selector.c: added the property "text-column" to the
2524 class HildonTouchSelectorColumn, and related get/set functions
2525 (_default_printf_func): updated to use "text-column" property
2526 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2527 "text-column" in his documentation, as this is now included on
2528 HildonTouchSelectorColumn. The get/set_property can still be used,
2529 working as a wrapper to the concrete column "text-column" property
2530 (_text_column_modified): callback added in order to handle the signal
2531 "notify::text-column" of the concrete HildonTouchSelectorColumn
2532 (hildon_touch_selector_entry_get_text_column)
2533 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2534 modified in order to use the HildonTouchSelectorColumn "text-column"
2536 * src/hildon-time-selector.c:
2537 * src/hildon-date-selector.c:
2538 * examples/hildon-touch-selector-example.c
2539 * examples/hildon-touch-selector-multi-cells-example.c
2540 * examples/hildon-picker-button-multicolumn-example.c
2541 Set the right value to "text-column" property on the creation of a new
2542 column using hildon_touch_selector_append_column()
2544 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2546 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2548 * src/hildon-app-menu.c
2549 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2550 updating the layout of the menu, don't create all widgets again,
2551 just repack the items in their new places.
2553 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2555 * src/hildon-time-selector.c
2556 (hildon_time_selector_get_time)
2557 (hildon_time_selector_set_time)
2558 Added documentation of these public methods
2560 * src/hildon-date-button.h
2561 * src/hildon-touch-selector-column.h
2562 * src/hildon-time-button.h
2563 * src/hildon-picker-dialog.h
2564 * src/hildon-time-selector.h
2565 * src/hildon-picker-button.h
2566 * src/hildon-touch-selector.h
2567 * src/hildon-time-picker.h
2568 * src/hildon-date-selector.h
2569 * src/hildon-touch-selector-entry.h
2570 Modified in order to use hildon-widgets code style
2572 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2574 Added deprecated support to the compilation process using
2575 HILDON_DISABLE_DEPRECATED
2577 * configure.ac: Added the --disable-deprecated to the configure
2580 * src/hildon-weekday-picker.c:
2581 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2582 to use the deprecated support. We will update the other deprecated
2583 widgets status in a new patch.
2585 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2587 * configure.ac: Fixed typo with fatal warnings support, the
2588 variable name was not correct
2590 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2592 * src/hildon-app-menu.c
2593 * src/hildon-program.c: Update documentation.
2595 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2597 * configure.ac: Post-release version bump.
2599 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2604 * configure.ac: Pre-release version bump.
2605 * debian/changelog: Updates.
2607 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2609 * NEWS: Update news for previous releases.
2611 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2613 * examples/hildon-touch-selector-multi-cells-example.c:
2614 (create_selector): Update the example to use
2615 hildon_touch_selector_append_column() with a NULL renderer and set
2616 the renderers later.
2617 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2618 passed a NULL renderer. This is documented behavior now.
2620 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2621 This must be used if the developer wants full control on the layout of
2622 the renderers to be added to the column.
2624 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2626 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2628 * src/hildon-touch-selector.c: Documentation fixes.
2630 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2632 * src/hildon-wizard-dialog-private.h: Remove image and box.
2633 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2634 (hildon_wizard_dialog_set_property), (response): Completely remove
2635 image/icon support, and the containers required for the layout.
2637 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2639 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-app-menu.c: Updated documentation.
2643 * src/hildon-stackable-window.c
2644 (hildon_stackable_window_set_main_menu): Unref the old menu after
2645 ref'ing the new one.
2647 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2649 * src/hildon-stackable-window.c
2650 (hildon_stackable_window_set_main_menu): Unref the previous menu
2651 instead of destroying it.
2653 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2654 floating reference and set has_user_ref_count to FALSE to make
2655 HildonAppMenu act like a normal ref-counted widget and not a
2658 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2661 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2663 * src/hildon-touch-selector-column.h: new file
2664 * src/hildon-touch-selector.h
2665 * src/hildon-touch-selector.c
2666 Implemented GtkCellLayout interface, in order to allow to configure
2667 the cell layout on each individual selector column
2668 (hildon_touch_selector_set_column_attributes): marked as deprecated
2669 * examples/hildon-touch-selector-multi-cells-example.c
2670 Example of how to use the GtkCellLayout interface on the selector
2672 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2674 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2676 * src/hildon-app-menu.h
2677 * src/hildon-app-menu.c
2678 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2679 (hildon_app_menu_append, hildon_app_menu_prepend):
2680 New methods to prepend, insert and move items in the menu.
2682 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2684 * src/hildon-wizard-dialog.c:
2686 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2688 (create_title): Update logical IDs and related code.
2689 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2691 * src/hildon-wizard-dialog.h: Note that
2692 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2693 point, as it is not used anymore.
2695 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2697 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2699 * src/hildon-note.c:
2700 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2701 shown. Do not display an icon in confirmation notes nor information
2703 (hildon_note_set_button_text): Update logical ID for cancel button.
2705 Fixes: NB#88850 (Update HildonNote button strings + signals)
2707 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2709 * src/hildon-stackable-window.c
2710 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2712 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2714 * src/hildon-app-menu-private.h
2715 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2716 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2717 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2718 temporary property 'columns' to change the number of columns.
2720 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2722 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2724 * examples/hildon-note-example.c: (on_information_clicked),
2725 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2726 debugging information.
2727 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2729 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2730 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2731 in order to close: this will be handled by the WM from now on.
2733 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2735 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2737 * src/hildon-app-menu-private.h
2738 * src/hildon-app-menu.c
2739 (hildon_app_menu_append, hildon_app_menu_add_filter)
2740 (button_visibility_changed, hildon_app_menu_apply_style)
2741 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2742 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2743 layout everytime a button (item or filter) is shown or hidden.
2745 * src/hildon-stackable-window.c
2746 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2749 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2751 * src/hildon-touch-selector.c:
2752 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2753 that the treeview inside the touch selector is in fremantle hildon mode
2754 * examples/hildon-date-button-example.c
2755 * examples/hildon-picker-button-multicolumn-example.c
2756 * examples/hildon-touch-selector-entry-example.c
2757 * examples/hildon-touch-selector-example.c
2758 * examples/hildon-time-button-example.c
2759 * examples/hildon-picker-button-example.c:
2760 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2762 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2764 * examples/hildon-text-view-example.c: (main): Remove the
2765 gtkrc bits, now handled by the theme.
2767 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2769 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2772 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2774 * po/Makefile.am: Install properly the mo files.
2775 * po/en_GB.po: Update translation, to ease testing purposes.
2777 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2779 * examples/hildon-picker-button-example.c: (main): Select an item
2780 in the selector before setting it to the button.
2782 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2785 Update button's value if the selector has an item active.
2787 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2788 'value' with the selector)
2790 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2792 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2793 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2794 (hildon_picker_button_class_init): Plug the finalize method.
2795 (hildon_picker_button_set_selector): If there's a previously set
2796 selector, unref'it before setting a new one.
2798 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2799 HildonTouchSelector)
2801 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2803 * src/hildon-touch-selector-entry.c:
2804 (hildon_touch_selector_entry_changed): Check if there is no text
2805 selected before setting the entry text.
2808 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2810 * src/hildon-touch-selector.h
2811 * src/hildon-touch-selector.c
2812 (hildon_touch_selector_get_active)
2813 (hildon_touch_selector_set_active): New methods to set/get the
2814 index of the selected item.
2816 * src/hildon-picker-button.h
2817 * src/hildon-picker-button.c
2818 (hildon_picker_button_get_active)
2819 (hildon_picker_button_set_active): New methods to set/get the
2820 index of the selected item.
2822 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2824 * configure.ac: post-release version bump.
2826 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2830 * configure.ac: Pre-release version bump.
2831 * debian/changelog: Updates.
2832 * debian/control: Add myself as maintainer and depend on l10n
2835 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-window.c
2838 (hildon_window_set_main_menu)
2839 * src/hildon-stackable-window.c
2840 (hildon_stackable_window_set_main_menu):
2841 Updated documentation.
2843 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2845 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2846 Don't free selector->priv manually.
2849 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2852 (hildon_gtk_window_set_progress_indicator):
2853 * src/hildon-gtk.h: Added the new API
2854 hildon_gtk_window_set_progress_indicator, it changes the state of
2855 the window progress hint.
2857 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2859 * src/hildon-button.c
2860 * src/hildon-stackable-window.c: Minor documentation updates.
2862 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2864 * src/hildon-stackable-window.c: Updated documentation.
2866 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2868 * src/hildon-defines.h: Update margins definitions
2869 to the Fremantle sizes.
2872 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2874 * src/hildon-touch-selector.c,
2875 (_hildon_touch_selector_set_model): Cleaning the code after
2876 review, removed g_print and #if 0 from the code.
2878 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2880 * src/hildon-edit-toolbar.c: Update documentation.
2882 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2884 * src/hildon-check-button.h
2885 * src/hildon-check-button.c
2886 (hildon_check_button_set_label, hildon_check_button_get_label)
2887 * examples/hildon-check-button-example.c
2888 (button_clicked_cb):
2889 Removed deprecated methods.
2891 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2893 * src/hildon-text-view.c:
2894 Add sample code to the documentation.
2896 * src/hildon-entry.h
2897 * src/hildon-text-view.h:
2898 Minor cosmetic changes.
2900 * src/hildon-entry.c:
2901 Add sample code to the documentation.
2902 (hildon_entry_init, hildon_entry_refresh_contents):
2903 Don't allow NULL values in the placeholder.
2905 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2907 * doc/hildon-docs.sgml
2909 * examples/Makefile.am
2910 * examples/hildon-text-view-example.c
2912 * src/hildon-text-view.c
2913 * src/hildon-text-view.h
2915 New HildonTextView widget, with example.
2917 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2919 * po/POTFILES.in: Add missing files with translatable strings.
2920 Partially fixes NB#88287.
2922 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2924 * examples/hildon-pannable-area-example-2.c: (main): No need to
2925 set the cellrenderer height inside hildon touch lists, the theme does
2928 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2930 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2931 they are integrated in the theme.
2933 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2935 * examples/hildon-entry-example.c: Update the example adding
2936 widgets to modify the text and the placeholder of the HildonEntry.
2938 * src/hildon-entry.c: Show the placeholder everytime the widget
2939 is empty and loses the focus.
2941 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2943 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2945 * src/hildon-pannable-area.c,
2946 (hildon_pannable_area_size_request): Fixed bug in height
2947 requisition, avoid increasing size and add border twice.
2949 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2951 * configure.ac: postrelease version bump.
2953 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2957 * configure.ac: Prerelease version bump.
2958 * debian/changelog: update.
2959 * debian/rules: make -dbg package contain useful debugging symbols.
2961 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2963 * src/hildon-dialog.h
2964 * src/hildon-dialog.c
2965 (hildon_dialog_add_button, hildon_dialog_add_buttons):
2966 New methods to add buttons with finger size.
2967 (hildon_dialog_new_with_buttons):
2968 Create buttons with finger size.
2970 * examples/hildon-dialog-example.c (main): Use HildonDialog
2971 methods to add buttons.
2973 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2975 * src/hildon-entry.c: Updated HildonButton documentation.
2977 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2979 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2980 button value label with (FALSE, FALSE) to prevent NB#88126 from
2983 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2985 * examples/hildon-pannable-area-example.c,
2986 (main): Removed examples panning a vbox inside a pannable
2987 area. Check bug NB#87965
2989 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2991 Patch contributed by Kris Rietveld (kris@imendio.com)
2993 * src/hildon-pannable-area.c,
2994 (hildon_pannable_area_get_topmost): replaced the get_geometry with
2995 get_size and get_position, this saves an X server roundtrip.
2997 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2999 * doc/hildon-docs.sgml
3001 * examples/Makefile.am
3002 * examples/hildon-entry-example.c
3004 * src/hildon-entry.c
3005 * src/hildon-entry.h
3007 New HildonEntry widget, with example.
3009 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3011 * src/hildon-button.c (hildon_button_construct_child): Pack the
3012 image with expand == fill == FALSE. This is a workaround for a bug
3015 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3017 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3018 labels for the text column, to make it more look more dynamic.
3020 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3022 * src/hildon-time-selector.c
3023 Define gettext auxiliar macro N_
3024 (_create_minutes_model)
3025 (_create_hours_model)
3026 (_create_ampm_model): use of strftime in order to fill the model
3027 * src/hildon-date-selector.c
3028 (hildon_date_selector_finalize):
3029 (_locales_init): remove the logic related to get the name of the months
3030 using nl_langinfo, as it is not required anymore
3032 (_create_year_model)
3033 (_create_month_model)
3034 (_update_day_model): use of strftime in order to fill the model properly
3037 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3039 * src/hildon-button.h
3040 * src/hildon-button.c (hildon_button_get_image): New method to
3043 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3045 * src/hildon-touch-selector.c:
3046 (hildon_touch_selector_remove_column): Remove from the correct parent
3047 and also remove the list element and free it.
3050 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3052 * src/hildon-time-selector.c
3053 (_create_hours_model): change the range on 12h ampm format in order to use
3054 a 12-11 range instead of previous 01-12 range
3055 (hildon_time_selector_set_time): change the way to select the current time
3056 on 12h ampm format, due the change on the range
3057 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3060 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3062 * src/hildon-touch-selector.c
3063 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3064 in order to allow use this function on multiple row selection mode if
3065 the column is different that the first one
3068 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3070 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3071 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3073 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3075 * src/hildon-date-selector.h: clean some comments, now on the .c
3076 * src/hildon-date-selector.c
3077 (hildon_date_selector_select_month): first implementation
3078 (hildon_date_selector_select_day): added documentation, reimplemented
3079 using hildon_date_selector_select_current_date to avoid repeat code
3082 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3084 Reviewed interaction logic based on device experiences, refactored
3087 * src/hildon-pannable-area.c,
3088 (hildon_pannable_area_class_init): Updated default vmax speed.
3089 (hildon_pannable_area_calculate_velocity): Added this function, it
3090 avoids duplicate valocity calculation. Adjusted calculation to
3091 avoid problems with zero dist events.
3093 (hildon_pannable_area_motion_notify_cb): Now we use the
3094 calculate_velocity function.
3096 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3098 * src/hildon-date-selector.c
3099 (hildon_date_selector_select_current_date): fix the day range check
3100 as it failed using the last day of the current month
3103 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3105 * src/hildon-touch-selector.c
3106 (hildon_touch_selector_get_num_columns): added a parameter validation
3109 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3111 * examples/Makefile.am
3112 * examples/hildon-edit-toolbar-example.c: Example of the
3113 HildonEditToolbar widget.
3115 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3117 * configure.ac: postrelease version bump.
3119 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3123 * configure.ac: prerelease version bump.
3124 * debian/changelog: update.
3126 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3128 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3129 renderer to display stock icons in the touch list. Also, set the sizes
3130 to the recommended in the style guide.
3132 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3133 * src/hildon-touch-selector.h
3134 (hildon_touch_selector_set_active_iter): renamed, now is
3135 hildon_touch_selector_select_iter
3136 (hildon_touch_selector_get_active_iter): renamed, now is
3137 hildon_touch_selector_get_selected
3138 (hildon_touch_selector_unselect_iter): added
3139 * src/hildon-touch-selector.c
3140 Update after API modification (methods renamed)
3141 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3142 order to avoid problems selecting multiple elements on the column
3143 (hildon_touch_selector_unselect_iter): added the implementation
3144 * src/hildon-time-selector.c
3145 * src/hildon-date-selector.c
3146 * src/hildon-touch-selector-entry.c
3147 Update methods calls after hildon-touch-selector.h API modification (methods
3150 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3152 * src/hildon-stackable-window.c
3153 (hildon_stackable_window_finalize): Call the parent class's finalize.
3155 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3157 * examples/hildon-touch-selector-example.c: (create_selector): Use
3158 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3161 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3163 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3164 set a cell background color, to respect theming.
3166 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3168 * doc/hildon-docs.sgml
3171 * src/hildon-edit-toolbar.c
3172 * src/hildon-edit-toolbar.h
3173 * src/hildon.h: New HildonEditToolbar widget.
3175 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3177 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3180 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3181 * src/hildon-touch-selector.c
3182 (_create_new_column): use g_object_set instead of two g_object_set_property
3184 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3185 * src/hildon-touch-selector.c
3186 (_create_new_column): use of hildon_gtk_tree_view_new to create
3187 the treeview, instead of use directly g_object_new
3188 (_create_new_column): update the property name "vindicator-mode" for the
3189 new one "vscrollbar-policy"
3190 * examples/hildon-date-button-example.c
3191 * examples/hildon-picker-button-multicolumn-example.c
3192 * examples/hildon-touch-selector-entry-example.c
3193 * examples/hildon-touch-selector-example.c
3194 * examples/hildon-time-button-example.c
3195 * examples/hildon-picker-button-example.c
3196 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3197 to all the treeviews inside a pannable area.
3199 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3201 * src/hildon-button.h
3202 * src/hildon-button.c (hildon_button_init)
3203 (hildon_button_set_arrangement, hildon_button_set_alignment)
3204 (hildon_button_set_title_alignment)
3205 (hildon_button_set_value_alignment)
3206 (hildon_button_set_image_alignment)
3207 (hildon_button_construct_child): New methods to set the alignment
3208 of the individual components of the button (title, value,
3209 image). Also, new method to alter the xscale and yscale properties
3210 of the GtkAlignment inside the button, so more complex layouts can
3213 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3215 * src/hildon-button.c (hildon_button_style_set)
3216 (hildon_button_class_init, hildon_button_set_arrangement)
3217 (hildon_button_construct_child): Apply style properties
3218 correctly. Use the 'image-spacing' style property too.
3220 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3222 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3223 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3226 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3228 * src/hildon-pannable-area.c,
3229 (hildon_pannable_area_size_request): Fixed problem with
3230 pannable-area size_request.
3232 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3234 Added management for the grab-focus to a child widget, like a
3235 range, we need to fade out the scrollbar when releasing.
3237 * src/hildon-pannable-area.c,
3238 (hildon_pannable_area_init): Connected the grab-focus signal to
3240 (hildon_pannable_area_grab_notify): Added this function in order
3241 to manage the situation when the grab-focus ends. We have to
3242 fade-out the scrollbar.
3244 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3246 * src/hildon-app-menu.c: Minor documentation update.
3248 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3250 * src/hildon-app-menu.c
3251 * examples/hildon-app-menu-example.c (create_menu): Update
3252 examples and documentation to explain how to connect callbacks.
3254 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3256 * examples/hildon-button-example.c
3257 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3258 hildon_stackable_window_new instead of gtk_window_new
3260 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3262 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3263 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3264 (hildon_pannable_area_set_property),
3265 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3266 (hildon_pannable_area_unrealize),
3267 (hildon_pannable_area_size_request),
3268 (hildon_pannable_area_size_allocate),
3269 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3270 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3271 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3272 (hildon_pannable_area_initial_effect),
3273 (hildon_pannable_area_redraw),
3274 (hildon_pannable_area_scroll_indicator_fade),
3275 (hildon_pannable_area_expose_event),
3276 (hildon_pannable_area_get_topmost), (synth_crossing),
3277 (hildon_pannable_area_button_press_cb),
3278 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3279 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3280 (hildon_pannable_area_motion_notify_cb),
3281 (hildon_pannable_area_button_release_cb),
3282 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3283 (hildon_pannable_area_remove),
3284 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3285 chage the code layout to a more GtkWidget like. Review the use of
3288 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3290 * examples/hildon-pannable-area-example-4.c,
3291 (main): Modified the name of the hindicator_mode to
3294 * src/hildon-pannable-area.c,
3295 (hildon_pannable_area_class_init),
3296 (hildon_pannable_area_motion_notify_cb),
3297 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3298 we have reduced the amount of signals and managed reviewed its
3299 rationale. Changed the default decelerate value.
3301 (hildon_pannable_area_add),
3302 (hildon_pannable_area_redraw): Refactored functions.
3304 (hildon_pannable_area_init),
3305 (hildon_pannable_area_get_property),
3306 (hildon_pannable_area_set_property):
3307 (hildon_pannable_draw_vscroll),
3308 (hildon_pannable_draw_hscroll),
3309 (hildon_pannable_area_initial_effect),
3310 (hildon_pannable_area_expose_event),
3311 (hildon_pannable_area_scroll),
3312 (hildon_pannable_area_button_press_cb),
3313 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3314 and vindicator_mode with hscrollbar_policy and
3315 vscrollbar_policy. Replaced hscroll and vscroll with
3316 hscroll_visible and vscroll_visible.
3318 (hildon_pannable_area_refresh): Refactor the function, remove
3319 variables and check the calls to this function, added resize
3320 conditions in case the children change their layout.
3322 (hildon_pannable_area_size_request): Added more detailed
3323 size_request calculation.
3326 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3328 * src/hildon-color-chooser.c
3329 (init_borders): use the correct gtk_border_free instead of g_free, to
3330 avoid a crash when this widget is used (ie: the three color selection
3333 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3335 * src/hildon-check-button.c,
3336 (hildon_check_button_set_active): Fixed problem when setting the
3337 active value, the widget was not redrawn.
3339 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3341 * src/hildon-pannable-area.c,
3342 (hildon_pannable_area_refresh),
3343 (hildon_pannable_area_scroll),
3344 (hildon_pannable_area_motion_notify_cb): Small code style change.
3346 (hildon_pannable_area_class_init): Default initial_hint set to
3347 FALSE, it is not in the specs.
3349 (hildon_pannable_area_initial_effect),
3350 (hildon_pannable_area_expose_event),
3351 (hildon_pannable_area_map),
3352 (hildon_pannable_area_init): Moved the launching point of the
3353 initial effect, it was in map but the sizes where not correct in
3354 that method so we do not know if we have the reproduce it. Now it
3355 is placed in the expose_event method and uses a variable to
3356 reproduce it just once.
3358 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3360 * src/hildon-pannable-area.c,
3361 (hildon_pannable_draw_vscroll),
3362 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3363 position allowed for the scrollbars.
3365 (hildon_pannable_area_size_allocate): Small style change.
3367 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3369 * src/hildon-pannable-area.c,
3370 (hildon_pannable_area_scroll_indicator_fade),
3371 (hildon_pannable_area_button_press_cb),
3372 (hildon_pannable_area_button_release_cb),
3373 (hildon_pannable_area_scroll_cb),
3374 (hildon_pannable_area_expose_event),
3375 (hildon_pannable_area_init): Added the define parameter
3376 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3377 and refactor the fade variable.
3379 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3381 * src/hildon-pannable-area.c,
3382 (hildon_pannable_area_redraw),
3383 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3384 lines, we were reimplemeting the redraw code.
3386 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3388 * src/hildon-pannable-area.c,
3389 (hildon_pannable_area_scroll_cb),
3390 (hildon_pannable_area_realize),
3391 (hildon_pannable_area_class_init): Added scroll_event management
3392 for pannable area, now we can scroll the usual desktop method.
3394 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3395 initialization of the parameters should depend on idle_id.
3397 (hildon_pannable_area_init),
3398 (hildon_pannable_area_map): Small code style modifications
3400 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3402 * src/hildon-pannable-area.c
3403 (hildon_pannable_area_button_press_cb),
3404 (hildon_pannable_area_motion_notify_cb),
3405 (hildon_pannable_area_button_release_cb),
3406 (hildon_pannable_area_size_allocate),
3407 (hildon_pannable_area_scroll_to): Improved the timeouts
3408 management, we avoid creating them each time.
3410 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3412 * src/hildon-pannable-area.c:
3413 (hildon_pannable_area_refresh),
3414 (hildon_pannable_area_motion_notify_cb),
3415 (hildon_pannable_area_class_init):
3416 * src/hildon-pannable-area.h:
3417 * src/hildon-touch-selector.c
3418 (_create_new_column):
3419 * examples/hildon-pannable-area-example-4.c:
3420 (horizontal_movement),
3421 (vertical_movement),
3423 Replaced the names of enums in the HildonPannableArea:
3424 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3425 HILDON_MOVEMENT_MODE_*
3426 - HILDON_PANNABLE_AREA_MOV_* ->
3428 - Removed HildonPannableAreaIndicatorMode, now we
3431 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3433 * examples/hildon-pannable-area-touch-grid-example.c
3434 * examples/hildon-pannable-area-touch-list-example.c: Fix
3435 compilation warnings.
3437 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3439 * src/hildon-gtk.c (hildon_gtk_button_new)
3440 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3441 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3442 images overriding the value of the "gtk-button-images" setting.
3444 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3446 * src/hildon-check-button.c (hildon_check_button_new):
3447 Instead of using a custom container, display the label and the
3448 checkbox using the standard GtkButton API.
3450 * examples/hildon-check-button-example.c (main): Don't use
3451 hildon_check_button_set_label() anymore
3453 * src/hildon-check-button.h
3454 * src/hildon-check-button.c
3455 (hildon_check_button_set_label, hildon_check_button_get_label):
3456 Set as deprecated, now we're using gtk_button_{get,set}_label()
3458 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3460 * src/hildon-pannable-area.c,
3461 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3462 GtkTreeview first line we detected it after the inclusion of the
3463 GtkWindowImpl in gtk+. We now check if the window is visible, not
3464 just if the pointer is over the window.
3465 (hildon_pannable_axis_scroll),
3466 (hildon_pannable_area_expose_event): Small style changes.
3468 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3470 * src/hildon-button.c: Update documentation.
3472 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3474 * examples/hildon-button-example.c: Add a switch to show images in
3477 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3479 * doc/hildon-docs.sgml: Some docs reorganization.
3481 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3483 * examples/hildon-pannable-area-touch-list-example.c
3485 * examples/hildon-pannable-area-touch-grid-example.c
3486 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3487 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3488 Fix memory leak when setting the tree model.
3490 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3494 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3496 * doc/hildon.types: Remove duplicated hildon_window_get_type
3497 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3498 documentation comment.
3500 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3502 * doc/Makefile.am: Complete list of private headers.
3504 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3506 * doc/hildon-docs.sgml
3507 * src/hildon-app-menu.c
3508 * src/hildon-bread-crumb.c
3509 * src/hildon-button.c
3511 * src/hildon-program.c
3512 * src/hildon-stackable-window.c
3513 * src/hildon-window.c: Lots of documentation updates.
3515 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3517 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3519 * configure.ac: Require Gtk+ 2.12.9 at least
3521 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3523 * src/hildon-pannable-area.c
3524 (hildon_pannable_area_scroll_indicator_fade),
3525 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3526 to protect the return of this timeout callbacks, avoiding deadlocks.
3528 2008-08-12 Christian Dywan <christian@imendio.com>
3531 * src/hildon-*.h: Ensure a consistent include order,
3532 include <gtk/gtk.h> instead of particular files and
3533 only include the topmost header in the gtk stack. See NB #39857
3535 2008-08-12 Christian Dywan <christian@imendio.com>
3537 * src/hildon-picker-dialog.c
3538 * src/hildon-touch-selector.c: Fix warnings about unused and
3539 uninitialized variables.
3541 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3543 * examples/Makefile.am
3544 * examples/hildon-check-button-example.c: Example of the hildon
3547 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3549 * src/hildon-window.h
3550 * src/hildon-window.c (hildon_window_class_init)
3551 (hildon_window_unset_program): Don't make
3552 hildon_window_unset_program a virtual function anymore.
3554 * src/hildon-stackable-window.c: Update documentation
3556 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3559 * doc/hildon-docs.sgml
3560 * doc/visual_index.xml
3561 * src/hildon-defines.c
3563 * src/hildon-helper.c
3564 * src/hildon-range-editor.c: Lots of documentation fixes.
3566 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3568 * examples/hildon-picker-button-multicolumn-example.c
3569 (create_touch_selector): Fix compilation warning.
3571 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3573 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3574 (hildon_pannable_area_button_release_cb)
3575 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3577 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3579 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3582 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-bread-crumb-trail.h
3585 * src/hildon-date-editor.c
3586 * src/hildon-date-selector.c
3587 * src/hildon-pannable-area.c
3588 * src/hildon-picker-dialog.c
3589 * src/hildon-time-selector.c
3590 * src/hildon-touch-selector-entry.c
3591 * src/hildon-touch-selector.c
3592 * src/hildon-touch-selector.h: Misc documentation fixes
3594 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3596 * examples/hildon-date-editor-example.c (main): Updated date
3599 * examples/hildon-note-example.c (on_confirmation_clicked):
3600 Updated confirmation note example.
3602 * src/hildon-date-editor.c
3603 * src/hildon-note.c: Updated sample programs in documentation.
3606 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3608 * src/hildon-date-button.h:
3609 * src/hildon-picker-button.h:
3610 * src/hildon-time-button.c:
3611 * src/hildon-time-button.h:
3613 Some declarations changes to allow gtk-doc to document the widgets
3616 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3618 * src/hildon-date-button.c: Document the widget.
3619 * src/hildon-time-button.c: Document the widget.
3621 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3623 * src/hildon-picker-button.c: Document the widget.
3624 * src/hildon-touch-selector-entry.c: Document the widget.
3626 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3628 * doc/hildon-docs.sgml
3631 * src/hildon-check-button.h
3632 * src/hildon-check-button.c: New functions to create the Hildon
3636 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3638 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3640 * src/hildon-button.h
3641 * src/hildon-button.c
3642 (hildon_button_add_title_size_group)
3643 (hildon_button_add_value_size_group)
3644 (hildon_button_add_image_size_group)
3645 (hildon_button_add_size_groups): New functions to set size groups
3646 for the button labels and image.
3647 (hildon_button_new_full): Removed
3649 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3651 * src/hildon-time-selector.c
3652 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3653 in order to avoid a crash if gconf is not available
3655 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3657 * src/hildon-button.c (hildon_button_set_arrangement)
3658 (hildon_button_construct_child): Don't construct the button child
3659 before setting the arrangement.
3661 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3663 * src/hildon-program-private.h
3664 * src/hildon-program.c
3665 * src/hildon-program.h
3666 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3667 (hildon_program_peek_window_stack)
3668 (hildon_program_pop_window_stack)
3669 (hildon_program_go_to_root_window): HildonProgram now has a
3670 separate list for stackable windows. Functions are provided to
3671 manage that list with a stack-like API.
3673 * src/hildon-stackable-window.c: Stackable window management is
3674 now much simpler with the new HildonProgram API. Windows no
3675 longer need to be manually added to the program, they're
3676 automatically pushed to the top of the stack when shown.
3678 * examples/hildon-stackable-window-example.c: Updated example to
3679 reflect the API changes.
3681 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3683 * src/hildon-touch-selector.c: Comment out unimplemented
3684 hildon_touch_selector_insert_column() to avoid a compile warning.
3686 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3688 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3689 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3690 (hildon_touch_selector_set_column_selection_mode),
3691 (_hildon_touch_selector_set_model),
3692 (hildon_touch_selector_set_model):
3694 Complete review of HildonTouchSelector documentation.
3696 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3698 * doc/hildon-docs.sgml
3702 * src/hildon-gtk.c: Convenience functions for standard Gtk
3703 widgets, used to easily perform frequent operations.
3705 * src/hildon-button-helpers.h
3706 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3708 * src/hildon-helper.h
3709 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3710 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3712 * src/hildon-button.h
3713 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3715 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3717 * src/hildon-button.c (hildon_button_init)
3718 (hildon_button_set_arrangement, hildon_button_construct_child):
3719 Pack the image and the labels inside the same GtkAlignment so
3720 gtk_button_set_alignment() can be used
3722 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3724 * src/hildon-button.h
3725 * src/hildon-button.c
3726 (hildon_button_init, hildon_button_set_image)
3727 (hildon_button_set_image_position)
3728 (hildon_button_construct_child): New functions to add an image to
3731 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3733 * src/hildon-date-button.c
3734 * src/hildon-picker-button.c
3735 * src/hildon-time-button.c
3736 * src/hildon-button.c:
3737 (hildon_button_class_init): "size-flags" renamed to "size"
3738 (hildon_button_set_title): Hide the title label if set to NULL.
3740 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3742 HildonButtonFlags split into HildonButtonArrangement (to set the
3743 button layout) and HildonSizeType (which can be used for any
3746 * src/hildon-button.h
3747 * src/hildon-button.c
3748 (hildon_button_class_init)
3749 (hildon_button_set_arrangement)
3750 (hildon_button_set_property): New "size-flags"
3751 property. "arrangement-flags" renamed to "arrangement".
3752 (hildon_button_new, hildon_button_new_with_text)
3753 (hildon_button_new_full): Constructors updated to reflect type changes.
3755 * src/hildon-helper.h
3756 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3757 to set the size of a widget.
3761 * src/hildon-button-helpers.c
3762 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3764 * src/hildon-date-button.c
3765 * src/hildon-date-button.h
3766 * src/hildon-picker-button.c
3767 * src/hildon-picker-button.h
3768 * src/hildon-time-button.c
3769 * src/hildon-time-button.h: Updated widgets to reflect
3770 HildonButton API changes.
3772 * examples/hildon-button-example.c
3773 * examples/hildon-date-button-example.c
3774 * examples/hildon-picker-button-example.c
3775 * examples/hildon-picker-button-multicolumn-example.c
3776 * examples/hildon-time-button-example.c
3777 * examples/hildon-touch-selector-entry-example.c
3778 * examples/hildon-touch-selector-example.c: Updated examples to
3779 reflect HildonButton API changes.
3781 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3783 * doc/hildon-docs.sgml:
3785 * examples/Makefile.am:
3786 * examples/hildon-touch-selector-entry-example.c:
3788 * src/hildon-touch-selector-entry.c:
3789 * src/hildon-touch-selector-entry.h:
3792 Moved HildonTouchSelectorEntry from sandbox. Added its
3793 documentation and examples.
3795 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3797 * src/hildon-touch-selector.h:
3798 * examples/hildon-picker-button-multicolumn-example.c:
3799 (hildon_touch_selector_append_text_column): Add a gboolean
3800 parameter to determine if text must be centered in the column.
3802 * src/hildon-date-selector.c: (hildon_date_selector_init):
3803 * src/hildon-time-selector.c: (hildon_time_selector_init):
3804 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3805 (create_touch_selector): Update widgets and example to reflect
3808 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3810 * src/hildon-touch-selector.c:
3811 (hildon_touch_selector_set_active_iter): Set also the cursor in
3814 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3816 * doc/hildon-docs.sgml
3819 * src/hildon-toggle-button.c
3820 * src/hildon-toggle-button.h
3821 * src/hildon.h: Removed HildonToggleButton widget, a derived
3822 class is not necessary for this.
3824 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3826 * src/hildon-pannable-area.c,
3827 (hildon_pannable_area_realize),
3828 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3831 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3833 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3834 "done" button the default widget for the dialog.
3836 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3838 * src/hildon-touch-selector.c:
3839 (hildon_touch_selector_class_init),
3840 (hildon_touch_selector_get_property),
3841 (_hildon_touch_selector_set_model),
3842 (_hildon_touch_selector_has_multiple_selection),
3843 (hildon_touch_selector_has_multiple_selection):
3844 Add a "has-multiple-selection" property with a virtual
3845 has_multiple_selection() method to allow derived classes to
3846 override the default value for it. See the method and property
3847 documentation for details.
3849 * src/hildon-touch-selector.h: Add the new API.
3851 * src/hildon-picker-dialog.c: (requires_done_button): Call
3852 hildon_touch_selector_has_multiple_selection() instead of
3853 determining the need for a button itself.
3855 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3857 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3858 (_hildon_touch_selector_set_model),
3859 (hildon_touch_selector_set_model): Move working code to
3860 _hildon_touch_selector_set_mode(). Call the class method instead.
3862 * src/hildon-touch-selector.h: Add (*set_model) to
3863 HildonTouchSelectorClass.
3865 Make hildon_touch_selector_set_model() a virtual method, so that
3866 derived classes can extend it and do fancy stuff with the model.
3868 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3870 * configure.ac: Set back the tarname in AC_INIT to hildon.
3872 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3876 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3877 instead of libesd (NB#86876). Volume handling is still an open issue.
3879 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3882 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3885 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3886 derived class to ease placement of an entry widget in
3887 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3888 end, where the selector columns are packed now.
3890 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3892 * src/hildon-picker-button.c: Removed the simple _text() API.
3893 * src/hildon-picker-button.h: Likewise.
3895 * src/hildon-touch-selector.h:
3896 * src/hildon-touch-selector.c:
3897 (hildon_touch_selector_new_text),
3898 (hildon_touch_selector_append_text),
3899 (hildon_touch_selector_prepend_text),
3900 (hildon_touch_selector_insert_text):
3902 Moved the simple _text() API from HildonPickerButton to
3903 HildonTouchPicker, to provide better escalability and not to tie
3904 that API to HildonPickerButton.
3906 * examples/hildon-picker-button-example.c: (main): Example updated.
3908 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3910 * src/hildon-button.c: Updated documentation.
3912 * examples/hildon-button-example.c: Add the posibility to create
3913 the buttons using horizontal layout for title and value.
3915 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3917 * src/hildon-app-menu-private.h
3918 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3919 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3920 GtkSizeGroup for the filters, use the 'homogeneous' property of
3923 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3925 * examples/hildon-button-example.c: Updated example.
3927 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3929 * doc/hildon-docs.sgml:
3932 Update documentation.
3934 * examples/Makefile.am: Update renamed examples.
3936 * examples/hildon-picker-button-multicolumn-example.c:
3937 (create_touch_selector), (main): Update after the rename.
3939 * examples/hildon-touch-picker-example.c: Removed.
3940 * examples/hildon-touch-selector-example.c: (value_changed),
3941 (create_selector), (get_visible_content), (main): Renamed from
3942 hildon-touch-picker-example.c
3944 * src/Makefile.am: Updated renamed files.
3946 * src/hildon-date-button.c: (hildon_date_button_init),
3947 (hildon_date_button_get_date), (hildon_date_button_set_date):
3948 * src/hildon-date-selector.c: (hildon_date_selector_init),
3949 (_custom_print_func), (_update_day_model),
3950 (_manage_selector_change_cb),
3951 (hildon_date_selector_select_current_date),
3952 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3953 * src/hildon-date-selector.h:
3954 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3955 (hildon_picker_button_set_property),
3956 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3957 (hildon_picker_button_init), (hildon_picker_button_new_text),
3958 (hildon_picker_button_append_text),
3959 (hildon_picker_button_prepend_text),
3960 (hildon_picker_button_insert_text),
3961 (hildon_picker_button_set_selector),
3962 (hildon_picker_button_get_selector):
3963 * src/hildon-picker-button.h:
3964 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3965 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3966 (_update_title_on_selector_changed_cb), (requires_done_button),
3967 (_hildon_picker_dialog_set_selector),
3968 (hildon_picker_dialog_set_selector),
3969 (hildon_picker_dialog_get_selector):
3970 * src/hildon-picker-dialog.h:
3971 * src/hildon-time-button.c: (hildon_time_button_init),
3972 (hildon_time_button_get_time), (hildon_time_button_set_time):
3973 * src/hildon-time-selector.c: (hildon_time_selector_init),
3974 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3975 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3976 * src/hildon-time-selector.h:
3979 Massive code updates after the rename.
3981 * src/hildon-touch-picker.c: Removed.
3982 * src/hildon-touch-picker.h: Removed.
3984 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3985 (hildon_touch_selector_init), (hildon_touch_selector_map),
3986 (hildon_touch_selector_remove), (_default_print_func),
3987 (_selection_changed_cb), (_create_new_column),
3988 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3989 (hildon_touch_selector_append_text_column),
3990 (hildon_touch_selector_remove_column),
3991 (hildon_touch_selector_set_column_attributes),
3992 (hildon_touch_selector_insert_column),
3993 (hildon_touch_selector_get_num_columns),
3994 (hildon_touch_selector_get_column_selection_mode),
3995 (hildon_touch_selector_set_column_selection_mode),
3996 (hildon_touch_selector_set_print_func),
3997 (hildon_touch_selector_get_print_func),
3998 (hildon_touch_selector_get_active_iter),
3999 (hildon_touch_selector_set_active_iter),
4000 (hildon_touch_selector_get_selected_rows),
4001 (hildon_touch_selector_get_model),
4002 (hildon_touch_selector_set_model),
4003 (hildon_touch_selector_get_current_text),
4004 (_hildon_touch_selector_center_on_selected_items):
4005 * src/hildon-touch-selector.h: Renamed from
4006 hildon-touch-picker.[ch]
4008 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4009 references, code examples, and related documentation.
4011 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4013 * doc/hildon-docs.sgml
4016 * src/hildon-toggle-button.c
4017 * src/hildon-toggle-button.h
4018 * src/hildon.h: New HildonToggleButton widget.
4020 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4022 * src/hildon-button.c: Add API documentation.
4023 (hildon_button_set_size_groups): Check input parameters
4025 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4027 * src/hildon-pannable-area.c
4028 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4029 effect after reaching the movement thredshold. This way we start
4030 using the distance after passing the thredshold.
4032 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4034 * src/hildon-button.c: (hildon_button_set_property): Use the
4035 appropriate g_value_get_flags() method.
4037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4039 * doc/hildon-docs.sgml:
4042 Add the touch pickers, picker dialogs, and picker button widgets
4043 to the documentation.
4045 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4047 * src/hildon-button.c: (hildon_button_set_property),
4048 (hildon_button_class_init): Make "arrangement-flags" a proper
4049 G_TYPE_FLAGS derived property.
4051 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4053 * examples/Makefile.am: Add below examples.
4054 * examples/hildon-date-button-example.c:
4055 * examples/hildon-picker-button-example.c:
4056 * examples/hildon-picker-button-multicolumn-example.c:
4057 * examples/hildon-time-button-example.c:
4058 * examples/hildon-touch-picker-example.c:
4060 Add examples for the recently added touch pickers,
4061 picker dialogs, and picker button widgets.
4063 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4065 * src/hildon-button.c: Add some API documentation
4067 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4069 * src/hildon-button.h
4070 * src/hildon-button.c
4072 (hildon_button_new_with_text): New constructor to create a button
4073 with no text at all.
4074 (hildon_button_init, hildon_button_set_arrangement)
4075 (hildon_button_set_title, hildon_button_set_value)
4076 (hildon_button_set_text)
4077 (hildon_button_construct_child): Hide the value when it's not used
4078 so the rest of the text is properly aligned.
4079 Allow creating buttons with arbitrary widgets inside (not just
4080 title/value labels).
4082 * examples/hildon-button-example.c (vertical_buttons_window)
4083 (horizontal_buttons_window): Update example to use new API.
4085 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4087 * src/Makefile.am: Added HildonTimeButton.
4088 * src/hildon-time-button.c: Added missing LGPL header.
4089 * src/hildon-time-button.h: Added missing LGPL header.
4090 * src/hildon.h: Add hildon-time-button.h
4092 Copied HildonTimeButton from sandbox to trunk. Future work on this
4093 widget must take place in trunk.
4095 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4097 * src/Makefile.am: Added HildonDateButton.
4098 * src/hildon-date-button.c: Update includes.
4099 * src/hildon.h: Add hildon-date-button.h
4101 Copied HildonDateButton from sandbox to trunk. Future work on this
4102 widget must take place in trunk.
4104 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4106 * src/Makefile.am: Added HildonPickerButton.
4107 * src/hildon-picker-button.h: Update includes.
4108 * src/hildon.h: Add hildon-picker-button.h
4110 Copied HildonPickerButton from sandbox to trunk. Future work on
4111 this widget must take place in trunk.
4113 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4115 * src/Makefile.am: Added HildonPickerDialog.
4116 * src/hildon-picker-dialog.c: Update includes.
4117 * src/hildon.h: Add hildon-picker-dialog.h
4119 Copied HildonPickerDialog from sandbox to trunk. Future work
4120 on this widget must take place in trunk.
4122 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/Makefile.am: Added HildonTimeSelector.
4125 * src/hildon.h: Add hildon-time-selector.h
4127 Copied HildonTimeSelector widget from sandbox to trunk. Future
4128 work on this widget must happen in trunk.
4130 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4132 * src/Makefile.am: Added HildonDateSelector.
4133 * src/hildon.h: Add hildon-date-selector.h
4135 Copied HildonDateSelector widget from sandbox to trunk. Future
4136 work on this widget must happen in trunk.
4138 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4140 * src/Makefile.am: Added HildonTouchPicker.
4141 * src/hildon-touch-picker.c: Update includes.
4142 * src/hildon.h: Add hildon-touch-picker.h
4144 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4145 on this widget must happen in trunk.
4147 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4149 * src/hildon-pannable-area.c:
4150 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4152 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4154 * examples/hildon-app-menu-example.c (main): Let the window
4157 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4159 * src/hildon-pannable-area.c
4160 (hildon_pannable_area_class_init): Set the min value of the
4161 overshoot properties to zero, which points out that not
4162 overshooting allowed.
4164 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4166 Modified the procedure to get the widget at a point inside the
4167 pannable area when using the movement type signals. Now the user
4168 has to call a function to get the child, that way we just
4169 calculate the child in case the user really want to use it and not
4172 * src/hildon-marshalers.list: Modified the marshallers, now we do
4173 not have the widget as a parameter.
4175 * src/hildon-pannable-area.c
4176 (hildon_pannable_area_motion_notify_cb),
4177 (hildon_pannable_area_class_init),
4178 (hildon_pannable_get_child_widget_at): Removed the widget
4179 parameter from the signal callback. We have also refactored the
4180 emission of the signals.
4182 * src/hildon-pannable-area.h: Added a new method to the API to
4183 calculate a widget at a point inside the pannable area,
4184 hildon_pannable_get_child_widget_at.
4186 * examples/hildon-pannable-area-example-4.c
4187 (horizontal_movement): Modified the example to use the new API,
4188 added condition to control which widget is under the event. This
4189 way we can avoid scrolling laterally over other widgets.
4191 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4193 * src/hildon-pannable-area.c
4194 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4195 modes, we stop getting the pointer events due to returning the
4196 callback without properly calling the get pointer again. Fixed
4197 also an error using the hscroll and vscroll.
4199 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4201 * src/hildon-app-menu-private.h
4202 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4203 (hildon_app_menu_button_release, hildon_app_menu_init)
4204 (hildon_app_menu_class_init): Don't hide the menu on button
4205 release if the user didn't press outside first.
4207 * src/hildon-window.h
4208 * src/hildon-window.c (hildon_window_toggle_menu)
4209 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4210 hildon_window_toggle_menu a virtual function for the stackable
4211 window to override it.
4213 * src/hildon-stackable-window.h
4214 * src/hildon-stackable-window-private.h
4215 * src/hildon-stackable-window.c
4216 (hildon_stackable_window_realize)
4217 (hildon_stackable_window_finalize)
4218 (hildon_stackable_window_class_init)
4219 (hildon_stackable_window_init)
4220 (hildon_stackable_window_set_main_menu): New function to set the
4221 app menu of a HildonStackableWindow.
4223 * examples/hildon-app-menu-example.c: Remove the button to show
4224 the app menu, now it'll be shown when clicking on the title bar
4227 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4229 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4230 set the widget name if the arrangement flags do not specify
4233 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4235 * src/hildon-button.c: (hildon_button_set_property),
4236 (hildon_button_class_init), (hildon_button_new_full),
4237 (hildon_button_set_arrangement): Added "arrangement-flags"
4240 Make the HildonButtonFlags a construction-only property, to allow
4241 subclasses to set them properly.
4243 2008-07-21 Tim Janik <timj@imendio.com>
4245 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4246 insertion position after backspace, so additional digits are appended,
4249 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4251 * src/hildon-pannable-area.c,
4252 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4253 TODO list, it was complete and removed the g_debug and g_print
4256 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4258 Added the movement modes to the hildon-pannable-area, with this
4259 modes the developers can control in which directions the widget
4260 can scroll. They can also connect to signals in order to do
4261 something when that happens, allowing applications scroll. There
4262 is an example uploaded showing how to use it.
4264 * examples/Makefile.am:
4265 * examples/hildon-pannable-area-example-4.c: Added this example of
4266 an application using the modes.
4268 * src/hildon-marshalers.list: Added a new marshaller for the new
4271 * src/hildon-pannable-area.h: Added new enumerations and flags in
4272 order to control the movement modes and the new signals to warn
4273 about the movements in the area.
4275 * src/hildon-pannable-area.c:
4276 (hildon_pannable_axis_scroll),
4277 (hildon_pannable_area_scroll),
4278 (hildon_pannable_area_motion_notify_cb),
4279 (hildon_pannable_area_get_property),
4280 (hildon_pannable_area_set_property),
4281 (hildon_pannable_area_map),
4282 (hildon_pannable_area_class_init),
4283 (hildon_pannable_area_init),
4284 (hildon_pannable_area_jump_to): Added the modes to control the
4285 movement in the widget. We have added properties to control it,
4286 signals to warn about the movements and refactored some code.
4288 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4290 Changes required in order to allow vfast_factor set to zero to
4293 * src/hildon-pannable-area.c:
4294 (hildon_pannable_area_button_press_cb): Changed the condition, it
4295 is required for not allowing click when vfast_factor is zero.
4296 (hildon_pannable_area_timeout): Initialized velocity variables
4297 when we stop moving, it was less than 1 but not zero and we need
4298 to check zero in some situations.
4299 (hildon_pannable_area_class_init): Changed the default value of
4300 the speed factor, now the button_press is just sent in case the
4301 speed is 2 per cent of the max speed.
4302 (hildon_pannable_area_init): Initialization with 0.
4304 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4306 * src/hildon-pannable-area.c,
4307 (hildon_pannable_area_get_topmost): replaced
4308 gdk_window_get_children with gdk_window_peek_children, this way we
4309 do not have to free the list because it is not a copy.
4311 (hildon_pannable_axis_scroll),
4312 (hildon_pannable_area_scroll),
4313 (hildon_pannable_area_timeout),
4314 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4315 two parameters that were only used inside the
4316 hildon_pannable_area_scroll function.
4318 * examples/hildon-pannable-area-example.c,
4319 (get_sawtooth_label): Fixed small memory leak.
4321 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4323 More checks for the case where the overshoot is bigger than the
4326 * src/hildon-pannable-area.c:
4327 (hildon_pannable_draw_vscroll),
4328 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4329 to draw the slider of the scrollbar under the other scrollbar.
4330 (hildon_pannable_area_expose_event): added new checks to control
4331 the drawing of the overshooting area rectangle, in case it is too
4332 big for the area of the widget.
4333 (hildon_pannable_area_size_allocate): add more checks to avoid
4334 setting a position to the child widget outside the area.
4336 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4338 * src/hildon-pannable-area.c
4339 (hildon_pannable_area_size_allocate): Added conditions to control
4340 when overshooting is bigger than the allocated space for the
4341 children, this avoids negative allocations.
4343 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4345 * doc/hildon-docs.sgml
4347 * examples/Makefile.am
4348 * examples/hildon-button-example.c
4350 * src/hildon-button.c
4351 * src/hildon-button.h
4352 * src/hildon.h: Initial version of the new HildonButton widget,
4355 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4357 * src/hildon-pannable-area.c:
4358 (hildon_pannable_area_button_press_cb),
4359 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4360 (hildon_pannable_area_motion_notify_cb),
4361 (hildon_pannable_area_button_release_cb),
4362 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4363 (hildon_pannable_area_jump_to_child):
4365 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4367 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4369 * examples/Makefile.am
4370 * examples/hildon-pannable-area-touch-grid-example.c
4371 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4372 the Hildon Touch List and Hildon Touch Grid using the
4373 HildonPannableArea widget.
4375 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4377 * src/hildon-pannable-area.c,
4378 (hildon_pannable_area_button_press_cb),
4379 (hildon_pannable_area_refresh),
4380 (hildon_pannable_area_scroll),
4381 (hildon_pannable_area_motion_notify_cb),
4382 (hildon_pannable_area_button_release_cb),
4383 (hildon_pannable_area_expose_event),
4384 (hildon_pannable_area_add),
4385 (hildon_pannable_area_remove),
4386 (hildon_pannable_area_realize),
4387 (hildon_pannable_area_size_allocate),
4388 (hildon_pannable_area_class_init),
4389 (hildon_pannable_area_init),
4390 (hildon_pannable_area_scroll_to_child),
4391 (hildon_pannable_area_jump_to_child): Fixed the problem of
4392 removing the child from the GtkBin, we have rearranged the widget
4393 hierarchy, now there is no GtkAlignment which was not doing
4394 anything interesting but breaking some of the assumptions of
4395 GtkContainer. Now developers if they want to add a GtkAlignment
4396 they could, but it is not inside the area.
4398 We had to review the whole allocation/expose process, now it is
4399 improved and we save at least three signals which would be saving
4400 some time when rendering the widget. The allocation of the
4401 scrollbars is now made in the allocate method as usual.
4403 We have also added some conditions in order to control when there
4404 is no child of the pannable area. Maybe we will need more work
4407 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4409 * src/hildon-pannable-area.c,
4410 (hildon_pannable_area_dispose): Released the fade-out timeout when
4411 disposing the widget.
4413 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4415 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4416 zero, we are going to use that property in order to deactivate the
4418 (hildon_pannable_axis_scroll),
4419 (hildon_pannable_area_size_allocate): Added conditions to control
4420 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4421 call, now it is called in all situations and we can remove calls
4422 in the allocate method.
4423 (hildon_pannable_area_map): Control the situation when
4424 overshoot_max is zero, we do not need the timeout.
4425 (hildon_pannable_area_class_init): Added documentation in order to
4426 point out that setting zero to overshoot_max means deactivate
4429 NOTE: removed trailing whitespaces from my previous comments of
4432 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4434 * src/hildon-pannable-area.c
4435 (hildon_pannable_area_get_property),
4436 (hildon_pannable_area_set_property),
4437 (hildon_pannable_area_map),
4438 (hildon_pannable_area_class_init),
4439 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4440 to cause the widget give a hint about its panning abilities upon
4443 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4445 * src/hildon-pannable-area.c: Several documentation improvements.
4447 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4449 * src/hildon-program.c
4450 * src/hildon-stackable-window.c: Update documentation.
4452 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4454 * src/hildon-stackable-window.c (get_previous_window_if_last):
4455 Renamed get_last_window()
4456 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4457 (hildon_stackable_window_unset_program):
4459 (get_previous_window_if_last):
4460 Detect if the window hasn't been added to a HildonProgram.
4462 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4464 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4466 * src/hildon-pannable-area.c
4467 (hildon_pannable_area_button_press_cb),
4468 (hildon_pannable_axis_scroll),
4469 (hildon_pannable_area_scroll),
4470 (hildon_pannable_area_timeout),
4471 (hildon_pannable_calculate_vel_factor),
4472 (hildon_pannable_area_get_property),
4473 (hildon_pannable_area_set_property),
4474 (hildon_pannable_area_class_init),
4475 (hildon_pannable_area_init),
4476 (hildon_pannable_area_scroll_to),
4477 (hildon_pannable_area_jump_to),
4478 (hildon_pannable_area_scroll_to_child),
4479 (hildon_pannable_area_jump_to_child):
4480 * src/hildon-pannable-area.h: Added the new API functions:
4481 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4482 hildon_pannable_area_scroll_to_child,
4483 hildon_pannable_area_jump_to_child
4486 * examples/Makefile.am
4487 * examples/hildon-pannable-area-example-2.c
4488 * examples/hildon-pannable-area-example-3.c: Added these two new
4489 examples in order to test and show how the new APIs work.
4491 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4493 * examples/hildon-stackable-window-example.c (new_window):
4494 * src/Makefile.am (noinst_HEADERS):
4495 * src/hildon-program.c (hildon_program_go_to_root_window):
4496 * src/hildon-program.h:
4497 * src/hildon-stackable-window-private.h:
4498 * src/hildon-stackable-window.c:
4499 * src/hildon-stackable-window.h:
4500 Create hildon-stackable-window-private.h
4501 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4503 * examples/hildon-app-menu-example.c (create_menu):
4504 * examples/hildon-hvolumebar-insensitive-example.c (main):
4505 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4506 * examples/hildon-toolbar-seekbar-example.c (main):
4507 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4508 * src/hildon-banner.c (hildon_banner_set_property):
4509 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4510 Fix compilation warnings
4512 * src/hildon-window.c:
4515 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4517 * src/hildon-stackable-window.c
4518 (hildon_stackable_window_unset_program):
4519 Calculate correctly whether to show the previous window if the
4520 last one is removed from the stack.
4521 (hildon_stackable_window_go_to_root_window):
4522 Send delete events starting from the topmost window.
4523 Stop if one of the windows is not destroyed.
4525 (hildon_stackable_window_delete_event)
4526 (hildon_stackable_window_class_init):
4527 Ignore the delete event if the window is not the topmost one.
4529 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4531 * src/hildon-pannable-area.c
4532 (hildon_pannable_area_expose_event): Fixed a problem when
4533 selecting the background color of the scrollbars.
4535 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4537 * examples/hildon-stackable-window-example.c
4538 * src/hildon-stackable-window.c
4539 * src/hildon-stackable-window.h
4540 hildon_stackable_window_go_home() renamed to
4541 hildon_stackable_window_go_to_root_window()
4542 Send delete events to windows rather than closing them with
4543 gtk_widget_destroy()
4545 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4547 * src/hildon-pannable-area.c
4548 (hildon_pannable_area_button_release_cb): Fix overshooting in
4551 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4553 * src/hildon-pannable-area.c
4554 (hildon_pannable_area_init): Initially show the scroll indicators.
4555 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4557 Add initial effect showing the widget is pannable.
4559 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4561 * src/hildon-pannable-area.c
4562 (hildon_pannable_area_class_init)
4563 (hildon_pannable_area_set_property)
4564 (hildon_pannable_area_get_property)
4565 (hildon_pannable_area_button_press_cb):
4566 New 'velocity_fast_factor' property to decide which velocity is
4569 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4571 * src/hildon-pannable-area.c
4572 (hildon_pannable_draw_hscroll)
4573 (hildon_pannable_draw_vscroll):
4574 Use float variables to calculate the size of the scrollbars to
4575 avoid error propagation and resizing during scrolling.
4577 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4579 * src/hildon-pannable-area.c
4580 (hildon_pannable_draw_vscroll)
4581 (hildon_pannable_draw_hscroll):
4582 Define a minimum size for the scroll bars
4584 * src/hildon-stackable-window.c
4585 (hildon_stackable_window_go_home): Fix compilation warning
4586 (get_last_window): Minor optimizations
4587 (hildon_stackable_window_class_init): Fix initialization of
4590 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4592 * src/hildon-stackable-window.c: Fixed typos in doc
4594 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4596 * src/hildon-pannable-area.c
4597 (hildon_pannable_area_scroll):
4598 Calculate here whether we need to scroll instead of using the booleans
4599 that tell us whether to /draw/ the scrolling bars.
4601 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4603 * src/hildon-app-menu.h
4605 * src/hildon-app-menu.c
4606 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4607 multiple filter groups related code and API. Now we support only
4609 * examples/hildon-app-menu-example.c:
4611 Update to reflect API changes.
4613 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4615 * src/hildon-stackable-window.c
4616 (hildon_stackable_window_class_init):
4617 Add hildon_stackable_window_realize.
4618 (hildon_stackable_window_realize):
4619 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4620 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4621 to apply theming and behavior specific to HildonStackableWindow
4624 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-note.c (hildon_note_button_release):
4627 Close information notes also when tapping on them
4629 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4631 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4632 ELASTICITY, refactor and review, fix some issues with drawing
4635 * src/hildon-pannable-area.c:
4636 (hildon_pannable_area_button_press_cb): removed the conditions to
4637 avoid clicks when overshooting. It is not required
4639 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4640 define. Refatored and reviewed the code, now we do not need to
4641 manage velocity in motion_notify.
4643 (hildon_pannable_area_motion_notify_cb): We have moved the code
4644 that controls the area_scroll to the axis_scroll function and get
4645 rid of duplicated code.
4647 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4649 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4651 (hildon_pannable_draw_vscroll),
4652 (hildon_pannable_draw_hscroll): Fixed the problems with the
4653 scrollbar drawing, now we do not use two surfaces, it is easier
4654 and saves resources.
4656 (hildon_pannable_area_get_property): Style modification.
4658 (hildon_pannable_area_class_init): Changed some default values.
4660 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4662 * src/hildon-stackable-window.c: Fix some typos in the
4665 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4667 * src/hildon-dialog.c:
4668 Change indentation style
4671 (hildon_note_button_release):
4672 Use root coordinates to check if the release event happened
4675 * src/hildon-app-menu.c
4676 (hildon_app_menu_button_release):
4677 Remove unnecessary check
4679 * examples/hildon-app-menu-example.c
4681 Add cast to fix warning
4683 * src/hildon-app-menu.c
4684 (hildon_app_menu_class_init):
4685 New inner-border style property.
4686 Set all default spacings to 16
4687 (hildon_app_menu_init):
4688 Use vertical-spacing to set the space between filter buttons and
4689 regular menu buttons.
4690 Set the default container border using the inner-border value.
4692 * examples/hildon-app-menu-example.c
4694 Don't set the menu border explicitly, now we have the inner-border
4695 style property for that.
4697 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4699 * src/hildon-app-menu.c (hildon_app_menu_init):
4700 Make the window modal
4702 * src/hildon-note.c (hildon_note_map)
4703 * src/hildon-app-menu.c (hildon_app_menu_map):
4704 Destroy the grab window if we're unable to grab the pointer
4706 * src/hildon-app-menu-private.h
4707 * src/hildon-app-menu.c
4708 (hildon_app_menu_init, hildon_app_menu_finalize)
4709 (hildon_app_menu_map, hildon_app_menu_unmap)
4710 (hildon_app_menu_button_release)
4711 (grab_transfer_window_get):
4712 Bring back the grab window
4713 (hildon_app_menu_realize):
4714 Decorate the window, set WM hint for Matchbox
4716 * src/hildon-note.c (hildon_note_realize):
4717 * src/hildon-banner.c (hildon_banner_realize):
4718 Add WM hints for Matchbox
4720 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4722 * src/hildon-app-menu-private.h
4723 * src/hildon-app-menu.c
4724 (hildon_app_menu_init, hildon_app_menu_finalize)
4725 (hildon_app_menu_map, hildon_app_menu_unmap)
4726 (hildon_app_menu_button_release):
4727 Remove the grab window, it's not needed anymore
4729 * src/hildon-program.c
4730 Fixed typo in documentation
4732 * src/hildon-app-menu.h
4733 * src/hildon-app-menu.c
4734 * examples/hildon-app-menu-example.c
4735 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4737 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4740 Added new transfer_window and close_if_pressed_outside private
4742 (hildon_note_rebuild):
4743 Don't add a cancel button to the information note. It will be
4744 closed when tapping outside
4745 Remove the comment about the OK button in the documentation
4746 (hildon_note_realize):
4747 Set the notification type hint
4748 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4749 Grab/ungrab pointer and keyboard if the note has to be closed when
4751 (hildon_note_button_release):
4752 Close the note when tapping outside (if applicable)
4754 * src/hildon-app-menu.c
4755 Grab/ungrab pointer and keyboard on map/unmap
4756 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4757 Close the menu on button release, not button press
4759 * src/hildon-banner.c
4760 (hildon_banner_set_property)
4761 (hildon_banner_check_position):
4762 Make the banner use the full width of the screen
4763 (hildon_banner_show_information)
4764 (hildon_banner_show_information_with_markup):
4765 Don't display an icon by default
4767 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4769 Added fading scrollbars and adapted all the overshooting code to
4770 horizontal scrolling. We have also fixed bugs with overshooting
4771 and current fading implementation.
4773 * src/hildon-pannable-area.c
4774 (hildon_pannable_area_scroll_indicator_fade): Time out function
4775 used to change the transparency of the scrollbars.
4777 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4778 control and fixed a problem with fading, we now remove the fade
4779 timeout before adding a new one.
4781 (hildon_pannable_axis_scroll):
4782 (hildon_pannable_area_scroll):
4783 (hildon_pannable_area_timeout): Added this functions so we can use
4784 the scroll code both for vertical and horizontal.
4786 (hildon_pannable_area_motion_notify_cb):
4787 (hildon_pannable_area_button_release_cb): Added the horizontal
4788 scrolling control, fixed a problem with the overshooting timeout.
4790 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4791 painting of the scrolls.
4793 (hildon_pannable_draw_vscroll):
4794 (hildon_pannable_draw_hscroll):
4795 (hildon_pannable_area_expose_event):
4796 Draw both scrollbars and rectangles in the overshooting area.
4798 (hildon_pannable_area_get_property):
4799 (hildon_pannable_area_set_property):
4800 Modified the overshoot property to overshoot_max
4802 (hildon_pannable_area_map):
4803 Replaced the comments symbols.
4805 (hildon_pannable_area_size_allocate):
4806 (hildon_pannable_area_class_init):
4807 (hildon_pannable_area_init): Added horizontal scroll, fading
4808 effect properties, fixed a problem when overshooting in the bottom
4811 * examples/hildon-pannable-area-example.c:
4812 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4813 looks better in the example.
4815 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4817 * src/hildon-window.c
4818 * src/hildon-window.h
4819 (hildon_window_class_init)
4820 (hildon_window_unset_program)
4821 (hildon_window_unset_program_real):
4822 Make unset_program a virtual function
4824 * src/hildon-stackable-window.c
4825 * src/hildon-stackable-window.h
4826 Added hildon_stackable_window_go_home()
4828 * examples/Makefile.am
4829 * examples/hildon-stackable-window-example.c
4830 HildonStackableWindow example
4832 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4834 * hildon-pannable-area.c: Added the overshoot property and removed
4835 the OVERSHOOT define. Fixed an indent style error.
4836 (hildon_pannable_area_motion_notify_cb):
4837 (hildon_pannable_area_get_property):
4838 (hildon_pannable_area_set_property): Add overshoot property.
4840 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4843 (hildon_pannable_area_class_init): Installed the new property.
4845 * hildon-pannable-area-example.c: Added a sawtooth function, this
4846 way it is easier to check the movement in the pannable.
4847 (get_sawtooth_label): Added this function.
4848 (main): Now we get the labels from the new get_sawtooth_label
4851 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4853 * src/hildon-app-menu.h
4854 * src/hildon-app-menu.c
4855 Renamed API variables for consistency
4857 (hildon_app_menu_popup): Use also the default window size to
4858 decide where to place the menu
4860 (hildon_app_menu_init, hildon_app_menu_class_init): New
4861 external-border style property
4863 2008-05-26 Michael Natterer <mitch@imendio.com>
4865 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4866 widget_class->tap_and_hold_setup signal slot doesn't exist any
4867 longer, stop overriding it.
4869 (hildon_time_editor_init): g_signal_connect() to the
4870 tap-and-hold-setup signal instead.
4872 (hildon_time_editor_entry_keypress): add cast to fix warning.
4874 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4876 * doc/hildon-docs.sgml
4878 * examples/Makefile.am
4879 * examples/hildon-app-menu-example.c
4881 * src/hildon-app-menu-private.h
4882 * src/hildon-app-menu.c
4883 * src/hildon-app-menu.h
4885 New HildonAppMenu widget
4887 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4889 Rearranged the inheritance of the pannable area, now it inherits
4890 from GtkBin. This will allow us to control the event_window and
4891 the allocation process of the widget, required for some effects.
4893 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4894 GtkBin structures. * src/hildon-pannable-area.c: Added the
4895 event_window variable.
4896 (hildon_pannable_area_button_press_cb):
4897 (hildon_pannable_area_button_release_cb):
4898 (hildon_pannable_area_motion_notify_cb):
4899 Changed the signature of the method, now we override the event
4900 callback instead of connecting to the signal.
4902 (hildon_pannable_area_realize):
4903 (hildon_pannable_area_unrealize):
4904 (hildon_pannable_area_map):
4905 (hildon_pannable_area_unmap):
4906 (hildon_pannable_area_size_allocate):
4907 Added functions to control the widget construction. We add a
4908 INPUT_ONLY window and we put it over the widgets inside the
4909 container, this event_window handles the events.
4911 (hildon_pannable_area_class_init):
4912 Replaced the signal connections with overrides of the event
4915 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4917 Bouncing effect added when touching the borders, you can change
4918 the elasticity of the border changing the ELASTICITY define.
4920 * src/hildon-pannable-area.c: Added ELASTICITY define.
4921 (hildon_pannable_area_timeout): Added inverse velocity when
4922 touching the border of the child widget, that causes a bounce.
4924 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4926 Improved performance, we now do not go to the X server in order to
4927 get the list of window children. Apparently the effect is the
4928 same, we have to be careful and check if this breaks something in
4931 * src/hildon-pannable-area.c:
4932 (get_ordered_children): Removed this function.
4933 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4934 the children windows function with gdk_window_get_children.
4936 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4938 * src/hildon-pannable-area.c:
4939 (hildon_pannable_area_dispose): Fixed a crash when closing the
4940 window and kinetics is activated.
4942 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4944 * src/hildon-pannable-area.h
4945 * src/hildon-pannable-area.c
4946 Changed indentation style to meet the one used in Hildon
4948 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4950 Reviewed the interaction of the AUTO mode, now we use the time
4951 attribute of the events and calculate the velocity in the motion,
4952 doing a gimp like calculation. The velocity is calculated in each
4953 motion event using the last velocity and the current one, the
4954 SMOOTH_FACTOR controls the percentage of the new velocity we use.
4956 * src/hildon-pannable-area.c: Replaced the time based algorithm
4958 (hildon_pannable_area_motion_notify_cb): now we do not launch the
4959 timeout for the AUTO mode when we are still moving the cursor. We
4960 added also the velocity calculation in this function.
4961 (hildon_pannable_area_button_release_cb): launch the timeout in
4962 case we are in AUTO mode. There are still some constants here that
4963 come from the old implementation that should be reviewed and
4966 2008-05-15 Alberto Garcia <agarcia@igalia.com>
4968 * doc/hildon-docs.sgml
4971 * src/hildon-stackable-window.c
4972 * src/hildon-stackable-window.h
4974 New HildonStackableWindow widget
4976 * examples/hildon-dialog-example.c
4977 * examples/hildon-pannable-area-example.c
4980 2008-05-14 Alberto Garcia <agarcia@igalia.com>
4982 * src/hildon-dialog.c
4983 (hildon_dialog_new_with_buttons): New constructor.
4985 * examples/hildon-dialog-example.c
4986 (main): Update the example to use the new
4987 hildon_dialog_new_with_buttons().
4989 * examples/hildon-pannable-area-example.c
4990 (main): Update example.
4992 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4994 * doc/hildon-docs.sgml
4996 Added HildonPannableArea to the documentation.
4998 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
5000 * doc/visual_index.xml
5001 Fix reference to HildonLoginDialog in documentation
5003 * doc/hildon-docs.sgml
5005 * examples/Makefile.am
5006 * examples/hildon-dialog-example.c
5008 * src/hildon-dialog.c
5009 * src/hildon-dialog.h
5011 New HildonDialog widget.
5013 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5015 * src/hildon-pannable-area.c
5016 Merge latest changes (r4318, r4342) from libmokoui trunk
5018 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5020 * examples/Makefile.am
5021 * examples/hildon-pannable-area-example.c
5023 * src/hildon-pannable-area.c
5024 * src/hildon-pannable-area.h
5026 New HildonPannableArea widget.
5028 2008-04-15 18:05:19 <timj@imendio.com>
5030 * src/hildon-banner.c: revert the recent change, that introduced
5031 gtk_window_present() calls. this reopens:
5032 Bug 78481 - [freetest] information banners are hidden under browser menu
5033 But resolves another variant of:
5034 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5036 2008-04-15 13:21:13 <timj@imendio.com>
5038 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5039 recreated its layout, spotted by Kris. this fixes all remaining
5040 artefacts and stability issues with the banner code. in particular:
5041 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5043 2008-04-14 16:52:59 <timj@imendio.com>
5045 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5046 operating on unrealized widgets, fixes:
5047 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5049 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5051 2008-04-09 Kristian Rietveld <kris@imendio.com>
5053 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5054 makes banner disappear.
5055 Fixes: NB#79182: info banner flickering with certain message lengts.
5057 * src/hildon-banner.c (hildon_banner_constructor),
5058 (hildon_banner_init), (hildon_banner_set_text),
5059 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5060 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5061 FALSE, reset size requests of label and banner,
5062 (force_to_wrap_truncated): when the text is too wide, always enforce
5063 the maximum possible width instead of recalculating it from the
5064 layout; enforce the maximum banner height of 3 lines,
5065 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5066 nicer wrapping and no truncated chars if space gets tight.
5068 * src/hildon-banner-private.h: add has_been_wrapped and
5069 has_been_truncated fields.
5071 2008-04-07 Sven Herzberg <sven@imendio.com>
5073 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5074 local values in hildon_date_editor_size_allocate
5076 * src/hildon-date-editor.c: moved the real allocation code into the
5079 2008-04-07 Sven Herzberg <sven@imendio.com>
5081 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5082 local values in hildon_date_editor_size_allocate
5084 * src/hildon-date-editor.c: merged the two if() branches together
5086 2008-04-07 Sven Herzberg <sven@imendio.com>
5088 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5089 local values in hildon_date_editor_size_allocate
5091 * src/hildon-date-editor.c: changed the arguments of the if()
5094 2008-04-07 Sven Herzberg <sven@imendio.com>
5096 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5097 local values in hildon_date_editor_size_allocate
5099 * src/hildon-date-editor.c: split the calculation of the allocation
5100 from the real allocation
5102 2008-03-27 Michael Natterer <mitch@imendio.com>
5104 Fixes: NB#81696: The passcode is not overwritten even after
5107 * src/hildon-code-dialog.c
5108 (hildon_code_dialog_button_clicked)
5109 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5110 because that doesn't overwrite selected text. Instead, emit the
5111 "commit" signal on the entry's im_context so the entry's normal
5112 insert logic is triggered. Set the cursor to the end of the entry
5113 after each insert operation so that we *only* insert in the middle
5114 of the text if something was selected.
5116 2008-03-27 Michael Natterer <mitch@imendio.com>
5118 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5119 selector cannot be opened
5121 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5122 when the popup color selector is created. Please connect to this
5123 signal in order to set the dialog's help ID.
5125 2008-03-25 Sven Herzberg <sven@imendio.com>
5127 Fixes: MB#1212: Hide info banners (infoprints) on click
5129 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5130 extracted the close event simulation into an extra function
5131 (hildon_banner_button_press_event): simulate a close event and destroy
5132 the widget if the event wasn't handled
5133 (hildon_banner_class_init): added the button_press_event handler
5134 (hildon_banner_init): added button-press events to the widget
5136 2008-03-25 Sven Herzberg <sven@imendio.com>
5138 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5139 Patch from: Mohammad Anwari <mdamt@maemo.org>
5141 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5142 instead of the right in RTL mode
5143 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5144 breadcrumb button list in RTL mode
5145 * src/hildon-caption.c: mirror the appearance of the caption widget in
5147 * src/hildon-date-editor.c: mirror appearance of the date editor in
5149 * src/hildon-time-editor.c: mirror appearance of the time editor in
5151 * src/hildon-window.c: fix the position of the popup in RTL mode
5153 2008-03-25 Sven Herzberg <sven@imendio.com>
5155 Amendment to the fix of NB#22072. Fix compilation.
5157 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5159 2008-03-19 Sven Herzberg <sven@imendio.com>
5161 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5164 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5165 timeout id properly when the timeout will disappear this leaves no
5166 artifacts around in the destroy(); there will only be the timeout
5167 created by hildon_banner_ensure_timeout() and adding a new timeout
5168 will also work if the timeout gets removed because the timeout_handler
5171 2008-03-19 Michael Natterer <mitch@imendio.com>
5173 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5175 * src/hildon-volumebar.c
5176 * src/hildon-vvolumebar.c
5177 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5178 the widget becomes focussable at all.
5180 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5181 set the focus to wither the mute button or the volumebar.
5183 Remove own "can-focus" property and instead listen to
5184 notify::can-focus in order to update the widget's state.
5186 Implement GtkWidget::focus() and make sure we can also *leave* the
5187 widget, not only enter it, depending on volumebar orientation and
5188 requested focus direction.
5190 Clean up set_mute() to cooperate nicely with all the above.
5192 2008-03-04 Michael Natterer <mitch@imendio.com>
5194 Fixes: NB#78481: information banners are hidden under browser menu
5196 * src/hildon-banner.c: call gtk_window_present() on the banners so
5197 they are risen if they are already visible.
5199 2008-03-03 Sven Herzberg <sven@imendio.com>
5201 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5203 * examples/hildon-window-menu-example.c: (main): extended the window
5204 menu example to serve as a testcase for automatically added
5205 accelerator groups, too
5206 * src/hildon-window.c: (hildon_window_add_accel_group),
5207 (hildon_window_set_menu): added patch by Tommi Komulainen
5209 2008-03-03 Sven Herzberg <sven@imendio.com>
5211 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5213 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5214 knowledge about the border allocators used within GTK+
5216 2008-02-26 Sven Herzberg <sven@imendio.com>
5218 Fixes: MB#2981: Build with asserts broken
5220 * src/hildon-date-editor.c,
5221 * src/hildon-number-editor.c,
5222 * src/hildon-time-editor.c,
5223 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5224 the proper GType instance check
5226 2008-02-25 Sven Herzberg <sven@imendio.com>
5228 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5230 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5231 * examples/hildon-window-menu-example.c: (main): explicitly show
5233 * src/hildon-window.c:
5234 (hildon_window_set_main_menu): moved most of the code from set_menu()
5235 to this place; skipped the call to gtk_widget_show_all(); also didn't
5236 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5237 (hildon_window_set_menu): removed most of the code, just keep the
5238 questionable gtk_widget_show_all()
5239 * src/hildon-window.h: added the new function and deprecate the old
5242 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5248 * debian/changelog: Updating.
5250 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5253 * pkgconfig/Makefile.am:
5254 * pkgconfig/hildon.pc.in:
5257 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5258 use newly created API_MAJOR_VERSION.
5260 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5266 * debian/changelog: Updating.
5268 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5270 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5272 Add outer_border style property, we use it but don't define it (!).
5276 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5278 * examples/hildon-bread-crumb-trail-example.c (main):
5282 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5284 Fix logic for the bread crumb trail node removal.
5288 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5294 * debian/changelog: Updating.
5296 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5298 Patch by Alejandro to get/set passwords dialogs accesibility.
5300 * hildon-1/src/hildon-get-password-dialog.c:
5301 * hildon-1/src/hildon-set-password-dialog.c:
5302 Set atk_set_name to the passwd entries in order to allow
5303 accessibility by name on this entries.
5305 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5310 * debian/control: Updating gtk dep.
5312 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5314 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5315 USE_MAEMO_GTK is enabled.
5317 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5319 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5320 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5322 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5328 * debian/changelog: Updating.
5330 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5332 * examples/Makefile.am:
5333 * examples/hildon-logical-color-example.c:
5334 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5335 applied + adding a test case. Fixes: NB#71660.
5337 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5339 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5340 to be visible, fixes warning on map for windows without toolbars.
5342 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5344 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5345 2.11.0, add a check for that besides the MAEMO_GTK check.
5347 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5353 * debian/changelog: Updating.
5355 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5357 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5358 visibility. Fixes: NB#70842 and MB#615.
5360 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5362 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5363 set the separator as no-show-all so it doesn't unintentionally appear when
5364 someone does a show_all.
5366 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5368 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5369 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5370 toplevel item. Fixes: NB#62031
5372 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5374 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5375 fix the name of the function in the docs.
5377 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5383 * debian/changelog: Updating.
5385 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5387 * examples/hildon-banner-long-example.c: Adding a test-case for long
5390 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5392 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5394 * src/hildon-color-chooser-dialog.c:
5395 * src/hildon-color-chooser.c:
5396 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5397 memory leaks in font selector and color selector. Fixes: NB#70499 and
5400 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5402 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5404 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5406 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5407 little bit bigger. Fixes: #NB63694.
5409 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5415 * debian/changelog: Updating.
5417 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5420 * doc/hildon-docs.sgml:
5421 * doc/images/bread-crumb-trail.png:
5422 * doc/images/calendar-popup.png:
5423 * doc/images/caption.png:
5424 * doc/images/code-dialog.png:
5425 * doc/images/color-button.png:
5426 * doc/images/color-chooser-dialog.png:
5427 * doc/images/color-chooser.png:
5428 * doc/images/controlbar.png:
5429 * doc/images/date-editor.png:
5430 * doc/images/font-selection-dialog.png:
5431 * doc/images/get-password-dialog.png:
5432 * doc/images/hvolumebar.png:
5433 * doc/images/login-dialog.png:
5434 * doc/images/note.png:
5435 * doc/images/number-editor.png:
5436 * doc/images/range-editor.png:
5437 * doc/images/seekbar.png:
5438 * doc/images/set-password-dialog.png:
5439 * doc/images/sort-dialog.png:
5440 * doc/images/time-editor.png:
5441 * doc/images/time-picker.png:
5442 * doc/images/vvolumebar.png:
5443 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5444 Adding the bread-crumb-trial and helpers to the documentation.
5446 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5448 * examples/hildon-find-toolbar-example.c:
5449 * src/hildon-find-toolbar.c:
5450 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5451 actually continue firing the other handlers if connected. Adding a new
5453 hildon_find_toolbar_get_last_index that gets the index of the most
5454 recently added (last) item. Fixes: NB#52301.
5456 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5458 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5459 behaviour. Fixes: NB#68610.
5461 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5463 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5466 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5468 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5469 when realizing the banner. Should make the infonbanner effect a bit more
5472 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5474 * src/hildon-volumebar.c:
5475 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5476 hildon_volumebar_set_range_insensitive_message and
5477 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5479 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5481 * src/hildon-window.c: Fixing the border freeing on destroy.
5483 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5485 * src/hildon-code-dialog-private.h:
5486 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5487 kw keyboard support in HildonCodeDialog.
5489 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5495 * debian/changelog: Updating.
5497 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5499 * src/hildon-date-editor.c:
5500 * src/hildon-number-editor.c:
5501 * src/hildon-private.c:
5502 * src/hildon-private.h:
5503 * src/hildon-time-editor.c:
5504 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5505 handling in subclassed composite widgets. Fixes: NB#66628.
5507 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5509 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5510 from destroy_ callback as it introduces problems in async dbus signal
5511 handlers. Fixes NB#66673.
5513 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5515 * examples/hildon-hvolumebar-example.c:
5516 * src/hildon-volumebar.c: Improving the focus handling in the
5517 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5518 set_property accessor so that "mute" property can be actually set. I'm
5519 scared that nobody noticed it's totally broken.
5521 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5523 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5526 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5528 * src/hildon-calendar.c:
5529 * src/hildon-number-editor.c:
5530 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5531 matches the spec of 6 chars per second. Fixes: NB#60489.
5533 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5535 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5536 gtk_style_lookup_color sometime returns FALSE even though color was
5537 found and values were filled properly. Weird. Removing the warning for the
5540 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5542 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5543 expand vertically. Adding some extra space to the find toolbar buttons to
5544 make them thumbable. Fixes NB#66060.
5546 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5548 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5549 popup with "Ok" and "Cancel". Fixes NB#59299.
5551 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5553 * src/hildon-calendar.c: Process all window updates before executing next
5554 timeout. Fixes: NB#54146.
5556 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5562 * debian/changelog: Updating.
5564 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5566 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5567 the client event and ignore it, since we use the delete event to close
5570 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5572 * src/hildon-helper.c: Remove the bogus warning about color not being
5573 found. Fixes NB#58352.
5575 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5577 * examples/Makefile.am:
5578 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5579 HildonSeekbar widget inside a toolbar.
5581 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5583 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5584 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5585 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5586 don't want to be closed by non-temporary windows on map.
5588 Also use G_DEFINE_TYPE instead of manually typed code.
5590 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5597 * debian/rules: Updating.
5599 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5601 * examples/Makefile.am:
5602 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5603 bug NB#61128. Strangely it works.
5605 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5607 * src/hildon-date-editor.c: When the date editor entry has been changed
5608 but the numbers of characters < max, turn off the skip validation flag.
5609 Prevents a situation when we enter first a valid year and later re-write
5610 it with an invalid one. Fixes NB#60154.
5612 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5614 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5615 code dialog. Fixes NB#64355.
5617 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5619 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5620 switching the page. Fixes NB#49374.
5622 * examples/Makefile.am:
5623 * examples/hildon-wizard-dialog-example.c: Adding an example for
5624 HildonWizardDialog that shows how to handle manual sensitivity setting on
5627 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5631 * src/hildon-version.h.in:
5632 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5634 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5636 * src/hildon-volumebar.c: Updating the docs.
5638 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5644 * debian/changelog: Updating.
5646 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5648 * src/hildon-find-toolbar.c:
5649 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5650 selected item: hildon_find_toolbar_set_active,
5651 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5652 hildon_find_toolbar_get_active_iter . They correspond to respective
5653 GtkComboBox functions.
5655 * examples/Makefile.am:
5656 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5659 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5661 * examples/Makefile.am:
5662 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5665 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5666 when font size > 32 and we pack a focusable widget inside. Actually using
5667 the default response would work too, but since we don't show default
5668 response state in any way (no theming) it would not be visible to the
5669 user. Fixes NB#63430.
5671 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5673 * src/hildon-date-editor.c: Adding the missing variable setter in the
5674 set_property handler. Fixes NB#54182.
5676 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5678 * src/hildon-window.h: Changing the long key press time from 1500ms to
5679 800ms as requested in NB#63700. I have a bad feeling about this, let's
5680 see... Fixes NB#63700.
5682 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5684 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5685 hildon_time_picker_map, hildon_time_picker_realize,
5686 hildon_time_picker_style_set): Split the contents of map to more
5687 appropriate functions; set window decorations on realize and update
5688 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5690 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5695 * debian/changelog: Updating.
5697 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5699 * src/Makefile.am: fixed installation of the header files
5701 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5707 * debian/changelog: Updating.
5709 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5711 * configure.ac: Removing some remaining of --enable-xan.
5713 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5715 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5716 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5718 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5719 2.10.12-osso6 because the move-focus signal needs to be available in
5722 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5724 * examples/Makefile.am:
5725 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5726 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5727 fine. Prolly NB#61128 is fixed now.
5729 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5731 * src/hildon-volumebar.c:
5732 * src/hildon-volumebar.h: Adding the
5733 hildon_volumebar_set_range_insensitive_message and
5734 hildon_volumebar_set_range_insensitive_messagef functions to set
5735 insensitive message on the slider of the volumebar. Fixes NB#61129.
5737 * examples/Makefile.am:
5738 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5739 test the new insensitive messsage functionality on HildonVolumebar.
5741 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5743 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5746 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5748 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5749 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5750 button on after clearing the trail.
5752 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5754 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5756 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5758 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5759 by splitting the installed headers in generated and non-generated groups. Use
5760 only the non-generated headers to create the hildon-enum-types.h file.
5762 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5764 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5766 * src/hildon-window.c: Hide the window before performing the destroy.
5767 Should make the app closing a little tiny bit more snappy.
5769 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5771 * src/hildon-seekbar.c: add gtkrange.h header
5772 * src/hildon-caption.c: remove unused variable
5774 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5776 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5779 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5785 * debian/changelog: Updating.
5787 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5789 * src/hildon-window.c (hildon_window_window_state_event,
5790 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5791 escape timeout on focus-out-event rather than notify::is-topmost; the
5792 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5794 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5796 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5797 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5799 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5801 * src/hildon-window: actually, you need to use the macro always, there's
5802 no private pointer in the instance structure. We should have cleaned this up
5803 when we had the chance...
5805 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5807 * src/hildon-window.c: do not get the private date from HildonWindow before
5808 it passes the g_return_if_fail check. Once it's passed the test, there's no
5809 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5810 if you are only going to access the data once. Whitespace cleanups.
5812 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5814 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5815 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5817 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5823 * debian/changelog: Updating.
5825 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5827 * src/hildon-window.c: When destroying the window, remove (if exists) the
5828 escape timeout handler. Fixes #NB59276.
5830 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5832 * src/hildon-banner.c: When realizing the widget, set the window
5833 transiency. Setting the transiency in the gobject constructor is not
5834 good, as the widget is not realized at that point. Fixes: #NB56624.
5836 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5838 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5839 Add padding for future expansions.
5841 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5843 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5844 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5845 will fake an activation on the previous to the last item of the trail, so
5846 the effect can be overrided by the developer as usual.
5847 Also change the callback for the back button to do the same thing, so its
5848 effect can be overrided too. Fixes: NB#58982
5850 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5852 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5853 HildonCaption. Fixes NB#52379.
5855 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5857 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5858 the internal state of the trail after the user has had the chance of executing
5859 his handler for the signal. Specifically, it may happen that the activated button
5860 is removed and the user still lets the default handler run. This would segfault
5863 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5865 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5866 scrollbar to the preview dialog. Fixes NB#54147.
5868 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5870 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5871 max/min year properties can be altered, so the client can modify it
5872 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5874 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5876 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5877 hildonlike by default. Fixing a problem with disappearing arrows when
5878 scrolling through months and years. Fixes NB#54127.
5880 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5882 * examples/hildon-date-editor-example.c: Adding error callback to the date
5885 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5891 * configure.ac: Updating.
5893 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5895 * configure.ac: Adding a special '--enable-xan' configure option that
5896 turns off the -Werror compilation setting. Usefull for development.
5898 * src/hildon-calendar.c:
5899 * src/hildon-number-editor.c:
5900 * src/hildon-time-picker.c: Adding the 5* multiplier to
5903 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5905 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5906 instead of g_object_ref + gtk_object_sink.
5908 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5914 * debian/changelog: Updating.
5916 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5918 * src/hildon-color-chooser-dialog.c:
5919 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5920 straight from Tommi labs.
5922 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5924 * examples/hildon-finger-example.c: Correcting the header file path.
5926 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5927 the changed signal. Fixes a small memory leak.
5929 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5933 * src/hildon-banner.c: Importing several usefull fixes from the
5934 ubuntu-mobile branch.
5936 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5938 * examples/Makefile.am:
5939 * examples/hildon-finger-example.c: Adding a finger-checking code
5942 * src/hildon-font-selection-dialog.c: Do not allocate the color
5943 structure using the g_new. Fixes NB#54061.
5945 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5947 * src/hildon-helper.c: Correcting tabs in file.
5949 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
5951 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5952 control the visibility of the children.
5954 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5956 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5962 * debian/changelog: Updating.
5964 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5966 * src/hildon-bread-crumb-trail.c:
5967 (hildon_bread_crumb_trail_size_allocate):
5969 Make the back button always a square.
5971 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5973 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5974 from the .c file as it's a private file.
5976 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5978 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5979 uses slightly bigger height.
5981 * src/hildon-font-selection-dialog.c: Adding some checks before
5982 freeing memory in the font selection dialog.
5984 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5986 * src/hildon-font-selection-dialog.c: Adding a small check when
5989 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5990 buttons sensitivity on page switching.
5992 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
5994 * src/hildon-bread-crumb-trail.c: make the add method handle all the
5995 internal details of adding a bread crumb to the trail.
5997 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6003 * debian/changelog: Updating.
6005 * src/hildon-bread-crumb-trail.h:
6006 * src/hildon-bread-crumb.h: Changing the API guard to
6007 HILDON_ENABLE_UNSTABLE_API.
6009 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6017 * src/hildon-helper.h: Updating.
6019 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6027 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6031 * src/hildon-helper.h: Small fix to make the package actually compile.
6033 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6035 * src/hildon-bread-crumb-trail.h:
6036 * src/hildon-bread-crumb.h:
6038 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6039 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6041 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6043 * examples/hildon-bread-crumb-trail-example.c:
6045 * src/hildon-bread-crumb-trail.c:
6046 * src/hildon-bread-crumb-trail.h:
6047 * src/hildon-bread-crumb.c:
6048 * src/hildon-bread-crumb.h:
6049 * src/hildon-marshalers.list:
6050 * src/hildon-bread-crumb-widget.c:
6051 * src/hildon-bread-crumb-widget.h:
6053 Slight change in the widget design. The bread crumb trail API is
6054 unchanged, but HildonBreadCrumb is now an interface. A *private*
6055 implementation, hildon-bread-crumb-widget, is provided and used
6056 internally by the trail for the push_text/push_icon functions.
6058 The generic push API is still available, so anyone can implement
6059 and use its own bread crumb widget.
6061 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6063 * debian/rules: Fixing the shlibs.
6065 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6067 * src/hildon-banner.c: Fixing a problem with timed banners having
6068 their parrent destroyed before they are.
6070 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6072 * src/hildon-bread-crumb.c:
6073 * src/hildon-bread-crumb.h:
6075 Make the get_natural_size function a vfunc.
6077 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6079 * src/hildon-bread-crumb.c:
6080 * src/hildon-bread-crumb-trail.c:
6084 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6091 * debian/changelog: Updating for release.
6093 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6095 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6096 don't leak the pango layout.
6098 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6101 * examples/hildon-bread-crumb-trail-example.c:
6105 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6107 * debian/changelog: Removing the bug-fixed entries that were actually
6108 resolved as WONTFIX.
6110 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6113 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6115 * src/hildon-bread-crumb-trail.c:
6116 * src/hildon-bread-crumb-trail.h:
6117 * src/hildon-bread-crumb.c:
6118 * src/hildon-bread-crumb.h:
6122 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6124 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6125 until it's passed the type check.
6127 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6129 * examples/hildon-bread-crumb-trail-example.c
6133 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6135 * examples/Makefile.am
6136 * examples/hildon-bread-crumb-trail-example.c
6138 * src/hildon-bread-crumb-trail.c
6139 * src/hildon-bread-crumb-trail.h
6140 * src/hildon-bread-crumb.c
6141 * src/hildon-bread-crumb.h
6143 New HildonBreadCrumbTrail widget.
6145 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6147 * src/hildon-range-editor.c (hildon_range_editor_init),
6148 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6149 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6150 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6151 hildon_time_editor_class_init, hildon_time_editor_init),
6152 src/hildon-get-password-dialog.c (invalid_input,
6153 hildon_get_password_set_property, hildon_get_password_get_property,
6154 create_contents, hildon_get_password_dialog_set_max_characters),
6155 src/hildon-set-password-dialog.c (create_contents),
6156 src/hildon-date-editor.c (hildon_date_editor_init),
6157 src/hildon-login-dialog.c (hildon_login_dialog_init),
6158 src/hildon-number-editor.c (hildon_number_editor_init),
6159 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6160 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6161 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6162 configure option and adding the respective checks in the code.
6163 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6164 hildon_calendar_drag_data_received): fixed some build warnings.
6166 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6168 * debian/changelog: A 1.0.0 release notes.