1 2009-02-05 Claudio Saavedra <csaavedra@igalia.com>
3 * src/hildon-touch-selector-entry.c:
4 (hildon_touch_selector_entry_init): Disable unsupported
6 (hildon_touch_selector_entry_get_text_column): Emit a warning
7 if an unsupported input modes is used and explicitile state
8 these modes in the documentation.
10 Fixes: NB#99802 (Hildon touch selector entry not working properly
11 for some of the input modes)
13 2009-02-05 Alejandro G. Castro <alex@igalia.com>
15 * src/hildon-pannable-area.c,
16 (hildon_pannable_area_init): Added the changed signal handlers of
19 Fixes: NB#100320 (HildonPannableArea does not listen to
20 GtkAdjustment "change" signals)
22 2009-02-04 Alberto Garcia <agarcia@igalia.com>
24 * doc/hildon-sections.txt
25 * src/hildon-window-private.h
27 * src/hildon-window.c (hildon_window_init)
28 (hildon_window_realize, hildon_window_unrealize)
29 (hildon_window_map, hildon_window_unmap, hildon_window_expose)
30 (hildon_window_size_request, hildon_window_size_allocate)
31 (hildon_window_forall, hildon_window_show_all)
32 (hildon_window_destroy, +paint_edit_toolbar)
33 (+hildon_window_set_edit_toolbar):
34 New hildon_window_set_edit_toolbar() method, to add a
35 HildonEditToolbar to a window without having to pack it manually.
37 Reorganize hildon_window_size_allocate()
39 * src/hildon-edit-toolbar.c: Update documentation.
41 * examples/hildon-edit-toolbar-example.c (edit_window): Update
42 example to use the new API.
44 Fixes: NB#98039 (Wishlist: hildon_window_add_edit_toolbar())
46 2009-02-04 Alberto Garcia <agarcia@igalia.com>
48 * src/hildon-stackable-window.c (hildon_stackable_window_hide):
49 Remove from stack before calling parent's hide.
51 2009-02-04 Alberto Garcia <agarcia@igalia.com>
53 * src/hildon-window-stack.c (hildon_window_stack_remove): When a
54 window is removed from the middle of the stack, update the
55 transiency of the previous one.
57 Fixes: NB#100487 (HildonStackableWindow transiency becomes
60 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
62 * src/hildon-picker-dialog.c: (_restore_current_selection): Do not
63 block/unblock the signal handler if it's not actually being used.
64 Fixes some critical warnings.
66 2009-02-02 Alberto Garcia <agarcia@igalia.com>
68 Based on a patch by Iván Gómez (igomez@igalia.com)
74 * src/hildon-pannable-area.c
75 * src/hildon-picker-dialog.c
76 * src/hildon-wizard-dialog.h
77 * src/hildon-wizard-dialog.c: Documentation updates.
79 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
80 gtk_dialog_add_button() instead of hildon_dialog_add_button().
82 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
84 * configure.ac: post release version bump.
85 * debian/changelog: version bump.
87 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
92 * configure.ac: Bump version.
93 * debian/changelog: Updates.
95 2009-01-29 Alberto Garcia <agarcia@igalia.com>
97 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
98 a stock icon nor change the relief of the back arrow.
100 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
103 2009-01-29 Alberto Garcia <agarcia@igalia.com>
105 * src/hildon-button.c (hildon_button_set_alignment): Use
106 priv->alignment if the button has no child yet.
108 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
110 * src/hildon-button.c: (hildon_button_init): Set the
111 button style during initialization to give it the proper
114 Fixes: NB#99713 (HildonButton value label color is wrong)
116 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
118 * src/hildon-touch-selector.c: Document
119 hildon_touch_selector_center_on_selected()
121 2009-01-28 Alberto Garcia <agarcia@igalia.com>
123 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
124 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
125 all menu items, but not the menu itself.
126 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
127 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
128 items after adding them to the menu so keyboard accelerators work.
129 (hildon_app_menu_show): Don't show the menu if it contains items
130 but none of them are visible.
132 * examples/hildon-app-menu-example.c (create_menu): Use
133 gtk_widget_show_all() to show all menu items.
135 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
137 * src/hildon-picker-dialog.c:
138 (-_update_title_on_selector_changed_cb),
139 (-_dialog_update_title): Removed.
140 (_select_on_selector_changed_cb), (_on_dialog_response),
141 (on_selector_columns_changed): Do not update the dialog title.
142 (setup_interaction_mode): Do not connect to
143 HildonTouchSelector::changed signal if there's a "done" button, as
144 the dialog title doesn't need to be updated.
146 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
149 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
151 Patch by Kristian Rietveld (kris@imendio.com)
153 * src/hildon-touch-selector.c: (_create_new_column): Use new
154 GtkTreeView::hildon-row-tapped signal to react to user interactions
155 instead of ::changed.
157 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
158 with some dynamic tree model)
160 2009-01-27 Alberto Garcia <agarcia@igalia.com>
162 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
163 (+screen_size_changed, +label_size_request)
164 (hildon_note_class_init): Make the Hildon information note have a
165 minimum height, and make its text hvae a maximum width.
167 Fixes: NB#98614 (Hildon information note (background) should have
168 minimum height and maximum text width)
170 2009-01-26 Alberto Garcia <agarcia@igalia.com>
172 * src/hildon-banner.h
173 * src/hildon-banner.c (hildon_banner_show_information)
174 (hildon_banner_show_informationf)
175 (hildon_banner_show_information_with_markup): Update documentation
176 to reflect that the icon_name parameter is not used anymore.
177 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
178 Remove all code from these functions and mark them as deprecated.
179 (hildon_banner_show_progress): Mark as deprecated.
181 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
183 2009-01-26 Alejandro G. Castro <alex@igalia.com>
185 * src/hildon-pannable-area.c,
186 (hildon_pannable_area_class_init),
188 (hildon_pannable_draw_vscroll),
189 (hildon_pannable_draw_hscroll),
190 (hildon_pannable_area_expose_event): Added a new way to render the
191 scrollbars of the pannable area avoiding using cairo at all. This
192 way we improve the performance of the pannable area rendering. The
193 cairo rendering procedure is still in the code, we can control
194 which one to use changing the value of the define
195 USE_CAIRO_SCROLLBARS.
197 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
199 * configure.ac: post release version bump.
200 * debian/changelog: version bump.
202 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
207 * configure.ac: Bump version.
208 * debian/changelog: Updates.
210 2009-01-23 Alberto Garcia <agarcia@igalia.com>
212 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
213 banners instead of destroying them when they receive a button
216 2009-01-23 Alejandro G. Castro <alex@igalia.com>
218 Reverted commit 34028, it was causing regressions, probably the
219 topmost condition is not correct, we have to check it in more
220 detail. We have reponed the bug: NB#97458 (Pannable area prevents
221 propagation of button press events)
223 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
225 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
226 that the selection is not empty before attempting to retrieve the
227 current ampm selection.
229 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
231 * src/hildon-picker-button.c:
232 (hildon_picker_button_on_dialog_response): Directly update the
233 button contents when required instead of calling _selection_changed.
235 2009-01-23 Alberto Garcia <agarcia@igalia.com>
237 * src/hildon-program.c (hildon_program_update_top_most): Update
238 'is-topmost' property also when wm_hints is not set.
240 Fixes: NB#98383 (is-topmost signal is not emitted when task
241 switcher is clicked.)
243 2009-01-23 Alejandro G. Castro <alex@igalia.com>
245 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
249 * src/hildon-animation-actor.c,
250 * src/hildon-animation-actor.h: Added the animation actor class,
251 this widget represents an animation actor for WM-assisted
252 animation effects in the Hildon framework.
254 2009-01-23 Alberto Garcia <agarcia@igalia.com>
256 * src/hildon-window-stack-private.h
257 * src/hildon-window-stack.c
258 * src/hildon-stackable-window.c (hildon_stackable_window_show):
259 Avoid calling gtk_widget_show() again indirectly from
260 hildon_stackable_window_show()
262 2009-01-23 Alberto Garcia <agarcia@igalia.com>
264 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
267 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
269 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
270 (hildon_time_selector_init): Move the construction of the hours and
271 ampm columns to the constructor to preserve the order the columns
274 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
276 * src/hildon-picker-dialog.c:
277 (hildon_picker_dialog_class_init): Connect a realize method.
278 (+hildon_picker_dialog_realize): Setup the interaction mode here
280 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
281 yet, do it during the realize instead.
282 (_on_dialog_response):
283 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
284 if the widget is not realized, to avoid the dialog response before it
287 Avoid premature responses in the HildonPickerDialog that can cause it
288 to be hidden before it's even shown.
290 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
292 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
293 (on_selector_columns_changed), (requires_done_button),
294 (+prepare_action_area), (setup_interaction_mode),
295 (_hildon_picker_dialog_set_selector):
297 Split the interaction mode setup into preparation of the
298 action area (prepare_action_area()) and the connection of
299 the signals in setup_interaction_mode() and update the code to
302 2009-01-22 Alejandro G. Castro <alex@igalia.com>
304 * src/hildon-pannable-area.c,
305 (hildon_pannable_area_class_init): Reduced the amount of scrolls
306 per second to 15, we will check if this is ok regarding
309 2009-01-22 Alejandro G. Castro <alex@igalia.com>
311 * src/hildon-pannable-area.c,
312 (hildon_pannable_axis_scroll): Avoid resize if we already have
313 reached overshoot_max.
315 2009-01-22 Alejandro G. Castro <alex@igalia.com>
317 * src/hildon-pannable-area.c,
318 (hildon_pannable_area_init),
319 (hildon_pannable_area_realize),
320 (hildon_pannable_area_size_allocate),
321 (hildon_pannable_area_map),
322 (hildon_pannable_area_unmap),
323 (hildon_pannable_draw_vscroll),
324 (hildon_pannable_draw_hscroll),
325 (hildon_pannable_area_expose_event),
326 (hildon_pannable_area_refresh): Added a new GdkWindow to the
327 pannable are to avoid the expose events go to the window and
328 redraw the window. We save this way that part of the stack and the
329 paint_boxes. We had to change the positions of the elements when
332 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
334 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
335 * src/hildon-color-chooser-dialog.c:
336 (hildon_color_chooser_dialog_init):
337 * src/hildon-font-selection-dialog.c:
338 (hildon_font_selection_dialog_init),
339 (hildon_font_selection_dialog_show_preview):
340 * src/hildon-get-password-dialog.c:
341 * src/hildon-login-dialog.c:
342 * src/hildon-set-password-dialog.c:
343 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
344 * src/hildon-time-picker.c: (hildon_time_picker_init):
346 Remove obsolete logical string IDs and update to the appropriate ones.
348 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
350 2009-01-21 Alberto Garcia <agarcia@igalia.com>
352 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
353 that happens if the window hasn't been realized yet.
355 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
356 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
358 2009-01-20 Alberto Garcia <agarcia@igalia.com>
360 * src/hildon-app-menu.c (hildon_app_menu_class_init)
361 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
364 Fixes: NB#98537 (Device hangs in account settings dialog)
366 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
368 * configure.ac: post release version bump.
369 * debian/changelog: version bump
371 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
376 * configure.ac: Bump version.
377 * debian/changelog: Updates.
379 2009-01-20 Alejandro G. Castro <alex@igalia.com>
381 Added a new function to the HildonTimeButton widget that allows to
382 change the step of the minutes in the selector associated with the
383 button: hildon_time_button_new_step
385 * src/hildon-time-button.c,
386 (hildon_time_button_init),
387 (hildon_time_button_new),
388 (hildon_time_button_new_step):
389 * src/hildon-time-button.h: Added the new function and refactored
391 * examples/hildon-time-button-example.c,
392 (main): We have replaced the function without parameters with the
393 function with the steps set to 5
395 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
397 2009-01-20 Alejandro G. Castro <alex@igalia.com>
399 * src/hildon-time-selector.c,
400 (hildon_time_selector_class_init),
401 (hildon_time_selector_constructor),
402 (hildon_time_selector_get_property),
403 (hildon_time_selector_set_property),
404 (_create_minutes_model),
405 (hildon_time_selector_new_step),
406 (hildon_time_selector_set_time),
407 * src/hildon-time-selector.h: Added a new property to the
408 HildonTimeSelector (minutes-step), we use that property to control
409 the steps between the minutes in the list of the selector. We have
410 added a new function to the API to create a widget changing the
411 step: hildon_time_selector_new_step.
413 2009-01-20 Alejandro G. Castro <alex@igalia.com>
415 * src/hildon-time-selector.c,
416 (hildon_time_selector_class_init),
417 (hildon_time_selector_constructor),
418 (hildon_time_selector_init): Overrided the construct function when
419 creating the time selector object. We have moved the minutes model
420 handling code from the init to the new construction function:
421 hildon_time_selector_constructor.
423 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
425 * examples/hildon-date-button-example.c: (main): Use the new
426 hildon_date_button_new_with_year_range() method in the example.
427 * src/hildon-date-button.c:
428 (+hildon_date_button_new_with_year_range): New public method
429 to conveniently create a HildonDateButton with a custom year range
430 in its HildonDateSelector.
431 * src/hildon-date-button.h: Add the new public method definition.
433 Fixes: NB#97908 (Not possible to change the year range in
434 HildonDateSelector/HildonDateButton)
436 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
438 * src/hildon-date-selector.c:
439 (+hildon_date_selector_set_property),
440 (+hildon_date_selector_get_property),
441 (hildon_date_selector_class_init): Install new properties "min-year"
442 and "max-year" to define boundaries for the year column.
443 (_create_year_model): Use the boundary properties to populate the model.
444 (+hildon_date_selector_new_with_year_range): New public method to
445 create a HildonDateSelector with a user defined year range.
446 (hildon_date_selector_select_current_date): Use the new boundaries to
447 calculate the iterator of current year.
448 * src/hildon-date-selector.h: Add the new public method definition.
450 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
452 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
453 Install a constructor method.
454 (+hildon_date_selector_construct_ui): construct the widget.
455 (+hildon_date_selector_constructor): new constructor.
456 (+hildon_date_selector_init): move out widget construction code to
459 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
461 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
462 that there's actually a month or year selected before obtaining them.
463 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
464 of the HildonTouchSelector::changed signal, as it was emitted on every
465 single item selection.
467 Fix some warnings and possible crashers due to the selection restoring.
469 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
471 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
472 the signal handlers only after creating the dialog instead of on every
475 2009-01-19 Alberto Garcia <agarcia@igalia.com>
477 * src/hildon-button.c (hildon_button_init)
478 * src/hildon-check-button.c (hildon_check_button_init)
479 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
480 focus when clicked by default.
482 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
484 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
487 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
489 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
490 Alejandro G. Castro (alex@igalia.com)
492 * src/hildon-picker-dialog.c:
493 (hildon_picker_dialog_class_init): install new "center-on-show"
495 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
496 (hildon_picker_dialog_set_property): add setter code for the new
498 (hildon_picker_dialog_get_property): add getter code for the new
500 (hildon_picker_dialog_show): Ensure visibility of selected items in the
501 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
504 Fixes: NB#92849 (Selected item is not always visible when
505 HildonTouchSelector is shown)
507 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
509 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
510 Alejandro G. Castro (alex@igalia.com)
512 * src/hildon-touch-selector.c:
513 (_create_new_column): Do not connect to the "realize" signal of the
515 (hildon_touch_selector_append_column): center on the selected items
516 when a new column is appended.
517 (hildon_touch_selector_select_iter): Factor out the code to select a
518 column to hildon_touch_selector_scroll_to().
519 (+search_nearest_element): Method to retrieve the nearest selected
520 element to the visible area of the pannable area in a column.
521 (+on_realize_cb): scroll to the initially selected item.
522 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
523 the pannable area is realized, otherwise delay this until it is.
524 (+_hildon_touch_selector_center_on_selected_items): Centers on the
525 selected items of a given column.
526 (+hildon_touch_selector_center_on_selected): Public method to center
527 all columns on the nearest selected item.
528 * src/hildon-touch-selector.h: Add definition for
529 hildon_touch_selector_center_on_selected().
531 Implement public API to ensure visibility of all selected items in
532 a HildonTouchSelector.
534 2009-01-16 Alejandro G. Castro <alex@igalia.com>
536 Fixed a problem in the fading when calling the scroll_to API, and
537 improve scrollbar fading handling.
539 * src/hildon-pannable-area.c,
540 (hildon_pannable_area_grab_notify): avoid the timeout when the
542 (hildon_pannable_area_button_press_cb),
543 (hildon_pannable_area_motion_notify_cb): Code style changes.
544 (hildon_pannable_area_button_release_cb): Review the conditions
545 when releasing the mouse button to avoid unrequired fading
547 (hildon_pannable_area_scroll_to): Do not calculate and set the
548 velocity if the scroll is not required.
550 2009-01-15 Alberto Garcia <agarcia@igalia.com>
552 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
553 Don't check whether the new selector is NULL: it cannot be.
554 Hold a reference to the selector while doing the replacement.
556 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
558 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
559 unnecessary size_request in a removed widget.
561 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
563 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
564 an unnecessary reference tracking that was leaking.
566 2009-01-15 Alejandro G. Castro <alex@igalia.com>
568 Added delayed motion notify event handling, this way we can
569 discard redrawing if more than 25 events arrive per second.
571 * src/hildon-pannable-area.c,
572 (hildon_pannable_area_init): Initialized the new private atributes
573 controlling this timeout
574 (hildon_pannable_area_dispose): Remove the timeout that controls
575 the motion notify events.
576 (hildon_pannable_area_scroll): Added a condition to control the
577 use of the acceleration.
578 (hildon_pannable_area_motion_event_scroll_timeout),
579 (hildon_pannable_area_motion_event_scroll): Added this two
580 functions, they handle the motion notify events inside the
582 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
583 to the scroll method with the new function.
584 (hildon_pannable_area_button_release_cb): We have to remove the
585 timeout handler and move to the last position if the last motion
586 events were not handled.
588 Fixes: NB#97028 (Pannable area updates on every motion event)
590 2009-01-15 Alejandro G. Castro <alex@igalia.com>
592 * src/hildon-pannable-area.c,
593 (hildon_pannable_area_get_topmost): Added a new parameter to
594 filter the the windows that do not include those events. Added
595 also a condition when finding the window to filter windows that do
596 not ask for those events.
597 (hildon_pannable_area_button_press_cb),
598 (hildon_pannable_area_button_release_cb),
599 (hildon_pannable_get_child_widget_at): Reviewed the call the the
600 topmost function, we have added the new parameter.
602 Fixes: NB#97458 (Pannable area prevents propagation of button
605 2009-01-15 Alejandro G. Castro <alex@igalia.com>
607 * src/hildon-pannable-area.c,
608 (hildon_pannable_area_initial_effect): Added controls before
609 launching the timeout and the idle functions.
610 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
611 of the method, in some situations it can return with TRUE and 0 in
613 (hildon_pannable_area_button_press_cb): We do not need to set
614 DELAY for fading out here.
616 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
618 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
620 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
621 post-cleaning if the selection is not NULL.
623 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
625 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
626 all items before restoring the selection.
628 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
630 * src/hildon-touch-selector.c:
631 (+hildon_touch_selector_unselect_all):
632 * src/hildon-touch-selector.h: New API to unselect all items in a
633 column of the touch selector.
635 2009-01-14 Alejandro G. Castro <alex@igalia.com>
637 * src/hildon-pannable-area.c,
638 (hildon_pannable_area_redraw): Added a call to the refresh
639 function inside the redraw because apparently in some cases the
640 change in the adjustment does not imply a size allocate.
642 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
643 despite the view not being scrollable)
645 2009-01-14 Alberto Garcia <agarcia@igalia.com>
647 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
648 leak. Check for NULL before attempting to set the window title.
650 2009-01-14 Alberto Garcia <agarcia@igalia.com>
652 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
653 whether to show or not the 'Done' button each time the dialog is
654 shown, as it depends on the HildonTouchSelector selection mode.
656 Fixes: NB#96226 (In multiple selection mode Done button is shown
657 sometimes in listpicker)
659 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
661 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
662 for the number of columns in the HildonTouchSelector more than once.
664 2009-01-14 Alberto Garcia <agarcia@igalia.com>
666 * src/hildon-touch-selector.c: Minor documentation fixes.
668 * src/hildon-picker-dialog.c (+_dialog_update_title)
669 (_select_on_selector_changed_cb)
670 (_update_title_on_selector_changed_cb)
671 (on_selector_columns_changed): Update dialog title when there's no
672 'Done' button and also when the number of columns in the selector
676 * src/hildon-picker-button.c (hildon_picker_button_finalize)
677 (+_selection_changed, hildon_picker_button_on_dialog_response)
678 (hildon_picker_button_selector_selection_changed)
679 (+hildon_picker_button_selector_columns_changed)
680 (hildon_picker_button_set_selector): Update button value and emit
681 'value-changed' when the number of columns in the selector
685 Fixes: NB#96225 (Dialog titles are not shown according to the
686 values selected in the list picker)
688 2009-01-13 Alberto Garcia <agarcia@igalia.com>
690 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
691 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
692 New "arrow-width" and "arrow-height" style properties to set the
693 size of the arrow button.
694 Set name of arrow button ("hildon-edit-toolbar-arrow").
696 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
699 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
701 * src/hildon-picker-button.c:
702 (hildon_picker_button_selector_selection_changed): Use
703 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
704 the dialog is present.
706 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
707 the selection is accepted in the dialog)
709 2009-01-13 Alberto Garcia <agarcia@igalia.com>
711 * src/hildon-color-chooser.h
712 * src/hildon-color-chooser-dialog.h:
713 Added G_BEGIN_DECLS and G_END_DECLS
715 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
717 (_clean_current_selection): plug a leak in the list.
719 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
721 * src/hildon-picker-dialog.c:
722 (+free_path_list): Method to free a GList of GtkTreePaths.
723 (_clean_current_selection), (_save_current_selection),
724 (_restore_current_selection): Save the current selection in
725 as a list of lists, to support multiple selection properly.
727 2009-01-12 Alberto Garcia <agarcia@igalia.com>
729 patch by Claudio Saavedra (csaavedra@igalia.com)
731 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
732 Store the press position.
733 (+hildon_text_view_button_release_event): If the release position is
734 close enough to the press position, move the cursor here. Otherwise,
736 (hildon_text_view_class_init): Override GtkTextView press, release, and
737 motion event handlers, disabling this way text selection through
738 pointer interaction, and allowing the container widget to handle the
741 Fixes: NB#95828 (HildonTextView functionality)
743 2009-01-12 Alberto Garcia <agarcia@igalia.com>
745 Based on a patch by Iván Gómez (igomez@igalia.com)
747 * src/hildon-button.[ch]
748 * src/hildon-calendar.c
749 * src/hildon-check-button.c
750 * src/hildon-date-editor.c
751 * src/hildon-date-selector.c
752 * src/hildon-picker-button.c
753 * src/hildon-time-editor.c
754 * src/hildon-time-selector.c
755 * src/hildon-touch-selector.[ch]:
756 Documentation updates
758 2009-01-12 Alejandro G. Castro <alex@igalia.com>
760 * src/hildon-pannable-area.c,
761 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
762 threshold, it was required due to X events handling.
764 2009-01-12 Alejandro G. Castro <alex@igalia.com>
766 * src/hildon-pannable-area.c,
767 (hildon_pannable_area_grab_notify),
768 (hildon_pannable_area_initial_effect),
769 (hildon_pannable_area_button_press_cb),
770 (hildon_pannable_area_button_release_cb),
771 (hildon_pannable_area_scroll_cb),
772 (hildon_pannable_area_scroll_to): Review the timeout management of
773 the scrollbar, the frecuency was incorrectly set.
775 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
777 * src/hildon-picker-button.c:
778 (+hildon_picker_button_on_dialog_response),
779 (hildon_picker_button_clicked): Present the dialog instead of
780 running it with gtk_dialog_run().
782 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
785 2009-01-07 Alberto Garcia <agarcia@igalia.com>
787 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
788 (hildon_app_menu_finalize): When a window is hidden it doesn't
789 emit notify::is-topmost, so make sure than the menu also
790 disappears in that case.
791 (parent_window_topmost_notify): Renamed from parent_window_hidden
793 Fixes: NB#94460 (stackable window's menu is not closed when its
796 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
798 * src/hildon-touch-selector-entry.c:
799 (+hildon_touch_selector_entry_set_input_mode),
800 (+hildon_touch_selector_entry_get_input_mode):
801 * src/hildon-touch-selector-entry.h: New methods to access the input
802 mode in the selector's entry.
804 Fixes: NB#93410 (API required for setting IM mode in
805 HildonTouchSelectorEntry)
807 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
809 * configure.ac: post release version bump.
810 * debian/changelog: version bump
812 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
817 * configure.ac: Bump version.
818 * debian/changelog: Updates.
820 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
822 * src/hildon-touch-selector.c:
823 (_hildon_touch_selector_has_multiple_selection): No need
824 to initialize the variables here.
826 2008-12-17 Alberto Garcia <agarcia@igalia.com>
828 * src/hildon-note-private.h
829 * src/hildon-note.c (event_box_press_event, hildon_note_init)
830 (hildon_note_finalize, hildon_note_rebuild): Close information
831 notes when they receive a button press.
833 Fixes: NB#89890 (Information notes does not get disappeared after
836 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
838 * src/hildon-wizard-dialog.c: (create_title): Remove translation
839 mark from the wizard title, as it's not really necessary. Also,
840 do not display the page title if not set.
842 2008-12-17 Alberto Garcia <agarcia@igalia.com>
844 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
845 (parent_window_hidden): Use the window's "is-topmost" property to
846 detect when to hide the menu.
848 2008-12-16 Alberto Garcia <agarcia@igalia.com>
850 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
851 (hildon_app_menu_finalize): If the parent window of the menu is
852 hidden, hide the menu too.
854 Fixes: NB#94460 (stackable window's menu is not closed when its
857 2008-12-16 Alberto Garcia <agarcia@igalia.com>
860 * debian/libhildon1-examples.install
862 * examples/Makefile.am:
863 Use dh_install to install all examples.
864 Use DEB_SRCDIR instead of defining SOURCE_DIR
866 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
868 * configure.ac: post release version bump.
869 * debian/changelog: version bump
871 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
876 * configure.ac: bump version
877 * debian/changelog: updates
878 * debian/control: bump gtk+ dependency
880 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
882 patch by Christian Dywan (christian@imendio.com)
884 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
885 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
887 2008-12-15 Alberto Garcia <agarcia@igalia.com>
889 * src/hildon-check-button.c (hildon_check_button_init)
890 (hildon_check_button_class_init, hildon_check_button_style_set)
891 (hildon_check_button_apply_style):
892 New "checkbox-size" style property.
894 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
895 larger / configurable size)
897 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
899 * configure.ac: post release version bump.
900 * debian/changelog: version bump
902 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
907 * configure.ac: bump version
908 * debian/changelog: updates
910 2008-12-12 Alberto Garcia <agarcia@igalia.com>
912 * doc/hildon-sections.txt
913 * src/hildon-pannable-area.c
914 * src/hildon-program.c
915 * src/hildon-time-editor.c
916 * src/hildon-touch-selector-entry.c:
918 More documentation updates.
920 2008-12-12 Alberto Garcia <agarcia@igalia.com>
922 * doc/hildon-sections.txt
923 * src/hildon-caption.c
924 * src/hildon-code-dialog.c
925 * src/hildon-color-button.c
926 * src/hildon-controlbar.c
927 * src/hildon-date-editor.c
928 * src/hildon-date-selector.c
929 * src/hildon-edit-toolbar.c
930 * src/hildon-find-toolbar.c
931 * src/hildon-font-selection-dialog.c
933 * src/hildon-program.c
934 * src/hildon-range-editor.c
935 * src/hildon-seekbar.c
936 * src/hildon-time-editor.c
937 * src/hildon-time-selector.c
938 * src/hildon-volumebar-range.c
939 * src/hildon-volumebar.c
940 * src/hildon-vvolumebar.c
941 * src/hildon-weekday-picker.c
942 * src/hildon-window.c
943 * src/hildon-wizard-dialog.c:
945 Lots of documentation fixes.
947 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
949 Patch contributed by Iván Gómez (igomez@igalia.com)
951 * src/hildon-check-button.c:
952 * src/hildon-date-button.c:
953 * src/hildon-date-selector.c:
954 * src/hildon-dialog.c:
955 * src/hildon-edit-toolbar.c:
956 * src/hildon-entry.c:
957 * src/hildon-picker-button.c:
958 * src/hildon-program.c:
959 * src/hildon-text-view.c:
960 * src/hildon-time-button.c:
961 * src/hildon-touch-selector-entry.c:
962 * src/hildon-window-stack.c:
964 Add more "since" tags to the new API.
966 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
968 * doc/hildon-sections.txt: Add below method.
969 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
970 version for the hildonized scale.
971 * src/hildon-gtk.h: Add the definition.
973 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
975 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
977 * doc/hildon-sections.txt: Add missing entries for new methods.
979 2008-12-12 Alejandro G. Castro <alex@igalia.com>
981 Added API to pannable are in order to get its adjustments. We
982 added two properties to manage the values we had in the private
985 * src/hildon-pannable-area.c:
986 (hildon_pannable_area_class_init): Added hadjustment and
987 vadjustment properties in order to expose horizontal and vertical
989 (hildon_pannable_area_get_property),
990 (hildon_pannable_area_set_property): Added code to handle the new
992 (hildon_pannable_area_get_hadjustment),
993 (hildon_pannable_area_get_vadjustment): API functions to get the
995 * src/hildon-pannable-area.h:
996 (hildon_pannable_area_get_hadjustment),
997 (hildon_pannable_area_get_vadjustment): API functions to get the
1000 2008-12-12 Alejandro G. Castro <alex@igalia.com>
1002 Fixed some leaks, after valgrinding.
1004 * src/hildon-touch-selector.c:
1005 (_default_print_func): Fixed a leak.
1006 (hildon_touch_selector_append_column): Fixed a leak.
1007 * src/hildon-date-button.c:
1008 (hildon_date_button_init): Fixed a leak.
1009 * src/hildon-date-selector.c
1010 (hildon_date_selector_finalize): Fixed a leak.
1012 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
1014 Based on a patch by Christian Dywan (christian@imendio.com)
1016 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
1018 * src/hildon-gtk.h: Add definition.
1020 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
1022 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1024 * src/hildon-picker-button.c: (hildon_picker_button_init),
1025 (hildon_picker_button_new): Set the HildonButton::style property
1026 in the init method, to propagate the value to the derived classes.
1028 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1030 * src/hildon-button.c: (hildon_button_class_init): Do not make
1031 the "style" property a construct property.
1033 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1035 * src/hildon-wizard-dialog.h
1036 * src/hildon-wizard-dialog.c
1037 (hildon_wizard_dialog_set_forward_page_func)
1038 * src/hildon-pannable-area.h
1039 * src/hildon-pannable-area.c
1040 (hildon_pannable_area_set_size_request_policy):
1041 Documentation fixes.
1043 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1045 * doc/hildon-sections.txt: Fixed warning about unused symbols.
1047 2008-12-11 Alberto Garcia <agarcia@igalia.com>
1049 * doc/hildon-sections.txt: Added sections file.
1051 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
1054 * src/*.[ch]: Updates.
1056 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
1058 * examples/hildon-progress-indicator-example.c: new file
1059 * examples/Makefile.am: include the new example program
1061 2008-12-10 Alberto Garcia <agarcia@igalia.com>
1063 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1065 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1067 * configure.ac: post release version bump
1068 * debian/changelog: version bump
1070 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1075 * configure.ac: bump version
1076 * debian/changelog: updates
1077 * debian/control: bump gtk+ dependency
1079 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1081 * src/hildon-dialog.c: Mark as deprecated.
1082 * src/hildon-dialog.h: Mark as deprecated.
1083 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1084 from HildonDialog and still work, even if
1085 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1086 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1088 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1089 maemo changes) instead)
1091 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1093 * src/hildon-pannable_area.h:
1094 * src/hildon-pannable_area.c:
1095 (hildon_pannable_area_class_init),
1096 (hildon_pannable_area_set_property),
1097 (hildon_pannable_area_get_property),
1098 (hildon_pannable_area_size_request),
1099 (hildon_pannable_area_get_size_request_policy),
1100 (hildon_pannable_area_set_size_request_policy): Added new API
1101 allowing applications to control the request policy. Now they can
1102 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1103 children allocation (HILDON_MOVEMENT_CHILDREN).
1105 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1109 (hildon_gtk_tree_view_set_ui_mode)
1110 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1111 mode of treeviews and iconviews.
1113 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1115 * src/hildon-touch-selector-entry.c:
1116 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1117 of a GtkEntry to get proper theming.
1119 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1120 widget, not GtkEntry)
1122 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1124 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1125 no HildonWizardDialogPageFunc.
1127 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1129 Patch contributed by Iván Gómez (igomez@igalia.com)
1131 * src/hildon-app-menu.c:
1132 * src/hildon-button.c:
1133 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1134 * src/hildon-stackable-window.c:
1135 * src/hildon-time-selector.c:
1136 * src/hildon-touch-selector.c:
1137 * src/hildon-window.c:
1139 Add more "since" tags to the new API in hildon 2.2.
1141 2008-12-05 Tim Janik <timj@imendio.com>
1143 Patch contributed by Christian Dywan (christian@imendio.com)
1145 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1146 HildonSizeType, which are supplied by Gtk+ now.
1148 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1150 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1151 (with maemo changes) instead)
1153 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1155 Patch contributed by Iván Gómez (igomez@igalia.com)
1157 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1160 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1162 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1163 (some_page_func), (main): Update the example to use a
1164 HildonWizardDialogPageFunc function.
1166 * src/hildon-wizard-dialog-private.h: Add private data for
1167 the HildonWizardDialogPageFunc function usage.
1169 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1170 (destroy), (hildon_wizard_dialog_init), (response),
1171 (hildon_wizard_dialog_set_forward_page_func):
1172 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1173 that applications can use to stop a HildonWizardDialog to jump to
1176 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1179 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1181 * src/hildon-program.h
1182 * src/hildon-program-private.h
1183 * src/hildon-program.c (hildon_program_init)
1184 (hildon_program_set_common_app_menu)
1185 (hildon_program_get_common_app_menu):
1186 New API for setting a common HildonAppMenu for all
1187 HildonStackableWindows registered with the HildonProgram.
1189 * src/hildon-stackable-window.c
1190 (hildon_stackable_window_toggle_menu):
1191 Use the common HildonAppMenu if a window doesn't have a specific
1194 * src/hildon-app-menu-private.h
1195 * src/hildon-app-menu.c
1196 (hildon_app_menu_get_parent_window):
1197 Function to obtain the window a HildonAppMenu is attached to.
1198 (hildon_app_menu_set_parent_window):
1199 Hide the menu if the parent window is set to NULL.
1201 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1203 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1204 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1205 search widget to popup.
1207 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1209 * configure.ac: post release version bump
1210 * debian/changelog: version bump
1212 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1217 * configure.ac: bump version
1218 * debian/changelog: updates
1220 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1222 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1224 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1225 (hildon_window_stack_window_realized)
1226 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1227 Set the leader GdkWindow when a window is stacked and realized,
1228 unset it when it's unstacked.
1229 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1231 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1233 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1235 * src/hildon-stackable-window.h
1236 * src/hildon-window-stack.h:
1237 Protect definition of HildonWindowStack using the preprocessor.
1239 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1241 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1242 Fix warning if all menu items are hidden.
1244 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1246 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1248 * src/hildon-controlbar.c:
1249 * src/hildon-hvolumebar.c:
1250 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1251 Multiple scale size defines updates.
1253 Fixes: NB#94322 (Scale Updates)
1255 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1257 * examples/hildon-app-menu-example.c (create_menu)
1258 Show items after adding them to the menu, as in the future the
1259 menu will no longer call gtk_widget_show() on the added items.
1261 * src/hildon-app-menu.c:
1262 Update example as explained above.
1264 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1266 * src/hildon-app-menu.c
1267 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1268 Make sure that all menu items have finger height.
1270 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1272 * src/hildon-picker-dialog.c:
1273 (_on_dialog_response), (_save_current_selection),
1274 (_restore_current_selection), (_clean_current_selection),
1275 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1276 Defined new functions in order to save the current internal selector
1277 selection previous open the dialog, in case that the use cancel the
1278 interaction, so the widget restores the previous selection.
1280 Fixes: NB#92032 (In calendar application, date values in 'new event'
1283 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1285 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1287 * src/hildon-button.c: Add a reference to the button examples in
1288 hildon-button-example.c
1290 * examples/hildon-button-example.c: Added examples of the most
1291 common button layouts.
1293 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1295 * src/hildon-app-menu.c (hildon_app_menu_show)
1296 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1298 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1300 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1302 * src/hildon-picker-dialog.c:
1303 (hildon_picker_dialog_init): Initialize the signal id for
1304 HildonTouchSelector::columns-changed.
1305 (+on_selector_columns_changed): Set up the interaction mode everytime a
1306 column is added or removed from the HildonTouchSelector.
1307 (_hildon_picker_dialog_set_selector): Connect to
1308 HildonTouchSelector::columns-changed and keep track of it.
1310 Make sure to update the interaction mode of the dialog everytime a
1311 column is added or removed in the HildonTouchSelector.
1313 Fixes: NB#93228 (Done button is not shown always in listpicker)
1315 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1317 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1318 a new ::columns-changed signal.
1319 (hildon_touch_selector_append_column): Emit ::columns-changed.
1320 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1322 Add a ::columns-changed signal, emitted when the number of columns in a
1323 HildonTouchSelector changes.
1325 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1327 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1328 (_hildon_picker_dialog_set_selector): Factor out the code
1329 to set up the dialog interaction mode.
1331 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1334 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1335 to signal_changed_id.
1337 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1339 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1342 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1344 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1345 Updated the logical ids related to ampm format, as now it is required to
1346 show it correctly localized even on languages with no default
1347 abbreviations for am or pm
1348 (_check_am_pm_format): check correctly the 24h format gconf property
1350 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1352 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1354 * src/hildon-button.c: Documentation updates.
1356 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1358 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1359 * src/hildon-caption.c: (hildon_caption_class_init):
1360 * src/hildon-color-button.c: (hildon_color_button_class_init):
1361 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1362 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1363 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1364 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1366 Remove deprecated GTK+ marshalers and replace them with the ones
1367 provided by GLib, for those available, add a marshaler for
1368 BOOLEAN:VOID, which is not available in GLib, and use it.
1370 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1372 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1373 the text from the previous column if there is no
1374 HildonTouchSelectorColumn::text-property set.
1376 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1378 * src/hildon-button.h
1379 * src/hildon-button.c (hildon_button_set_property)
1380 (hildon_button_get_property, hildon_button_class_init)
1381 (hildon_button_set_style, hildon_button_get_style):
1382 New "style" property to change the visual appearance of the
1385 * src/hildon-picker-button.c (hildon_picker_button_new):
1386 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1388 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1389 HildonButton look like PickerButton)
1391 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1393 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1394 column while building the default string.
1396 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1398 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1399 scroll indicator by default.
1401 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1403 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1405 * src/hildon-main.c: Fix the documentation for hildon_init()
1407 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1409 * doc/hildon-docs.sgml
1413 * src/hildon-window-stack-private.h
1414 * src/hildon-window-stack.h
1415 * src/hildon-window-stack.c:
1416 New HildonWindowStack object, that adds support for multiple
1417 stacks of windows per process.
1419 * src/hildon-stackable-window-private.h
1420 * src/hildon-stackable-window.h
1421 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1422 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1423 (hildon_stackable_window_show, hildon_stackable_window_hide)
1424 (hildon_stackable_window_class_init)
1425 (hildon_stackable_window_init):
1426 Use HildonWindowStack for stack management.
1428 * src/hildon-program.c (hildon_program_pop_window_stack)
1429 (hildon_program_peek_window_stack)
1430 (hildon_program_go_to_root_window):
1431 Add a fallback implementation to the deprecated functions using
1434 * examples/hildon-stackable-window-example.c:
1435 Use the new HildonWindowStack API.
1437 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1439 * src/hildon-stackable-window-private.h
1440 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1441 (hildon_stackable_window_hide, hildon_stackable_window_init):
1442 Remove all window stack management.
1444 * src/hildon-program-private.h
1445 * src/hildon-program.h
1446 * src/hildon-program.c (hildon_program_init)
1447 (hildon_program_pop_window_stack)
1448 (hildon_program_peek_window_stack)
1449 (hildon_program_go_to_root_window):
1450 Remove all window stack management and mark functions as
1453 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1455 * src/hildon-app-menu.c (hildon_app_menu_realize):
1456 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1458 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1460 * configure.ac: post release version bump
1461 * debian/changelog: version bump
1463 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1468 * configure.ac: bump version
1469 * debian/changelog: updates
1471 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1473 Based on initial code by Christian Dywan (christian@imendio.com)
1475 * doc/hildon-docs.sgml: Add section for hildon-main.
1476 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1477 * src/Makefile.am: Add new hildon-main.[ch]
1478 * src/hildon-defines.h: Update the icon sizes.
1479 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1480 new library initialization files and register icon sizes.
1481 * src/hildon-main.h: New declarations.
1482 * src/hildon.h: Include hildon-main.h
1484 Add new initialization functions to the library. These methods
1485 will register the hildon specific icon sizes and can be used in the
1486 future for other hildon specific bits.
1488 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1490 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1492 * src/hildon-window.c: (hildon_window_realize),
1493 (hildon_window_notify), (-hildon_window_update_title): Do not set
1494 the application name in the window title.
1496 Fixes: NB#89754 (Applications shouldn't display their names in the
1499 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1501 * src/hildon-note-private.h:
1502 * src/hildon-note.c: (hildon_note_set_property),
1503 (hildon_note_get_property), (hildon_note_class_init),
1504 (hildon_note_init), (hildon_note_finalize),
1505 (hildon_note_new_confirmation_with_icon_name),
1506 (hildon_note_new_information_with_icon_name):
1508 No need to mark as deprecated the actual code. Revert
1509 to avoid missing symbols in widgets using deprecated API.
1511 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1513 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1515 * src/hildon-volumebar.h
1516 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1517 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1519 * src/hildon-helper.h
1520 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1521 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1523 * examples/Makefile.am:
1524 Deprecate hildon-insensitive-example
1526 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1528 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1530 * examples/hildon-pannable-area-buttons-scroll-example.c:
1531 Make all buttons finger height
1533 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1535 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1537 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1538 update the day model only if it is really required, and to avoid the
1539 full-reconstruction aproach. Now it only add or remove the required days.
1541 The purpose of this is avoid superfluous HildonTouchSelector::changed
1544 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1545 with strange parameters)
1547 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1549 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1551 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1552 the WINDOW_TYPE property.
1554 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1556 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1559 Fix dependency to allow parallel compilation with make -jX
1561 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1563 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1564 color frame and some minor tweaks to make it more consistent with
1567 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1568 highlighted but not visible)
1570 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1572 * examples/Makefile.am: Fixed typo in the Makefile.am.
1574 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1576 Reviewed the use of MAEMO_GTK define, now we add the define in the
1577 compilation line, and we also add it to the pc file.
1579 * configure.ac: Added MAEMO_GTK define to the compilation command
1580 and removed it from the config.h.
1582 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1583 do not have to take care about this define if the library was
1587 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1589 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1591 * examples/Makefile.am,
1592 * examples/hildon-pannable-area-buttons-scroll-example.c,
1593 * examples/hildon-pannable-area-gesture-signals-example.c,
1594 * examples/hildon-pannable-area-scroll-jump-example.c,
1595 * examples/hildon-pannable-area-tree-view-example.c:
1596 Renamed the pannable area examples, now they have more meaningful
1599 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1601 * src/hildon-touch-selector.c:
1602 (hildon_touch_selector_set_column_selection_mode): Used of
1603 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1604 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1605 to avoid re-seting the same selection mode.
1607 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1608 breaks HildonPickerDialog)
1610 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1612 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1613 conditional in the Makefile.am
1615 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1617 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1618 Remove unused methods.
1620 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1622 * src/hildon-button.c (hildon_button_init):
1623 Make button images center-aligned by default
1625 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1628 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1629 activated, we have to think about how to deal with both defines
1630 MAEMO_GTK and MAEMO_CHANGES.
1632 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1634 * examples/hildon-app-menu-example.c (create_menu): Make all
1635 buttons finger size.
1637 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1639 Fixed the compilation without maemo gtk adding ifdefs with
1640 MAEMO_GTK define to the code, we have to check this version more
1643 * examples/Makefile.am: Added control to avoid some examples that
1644 just make sense with maemo gtk.
1647 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1648 hildon modes with the define.
1650 * examples/hildon-edit-toolbar-example.c,
1651 (create_icon_view): Create the icon view without hildon-gtk
1652 helpers if we are not using maemo gtk.
1654 * src/hildon-touch-selector.c,
1655 (_create_new_column): Create the treeview without hildon-gtk
1656 helpers if we are not using maemo gtk.
1658 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1660 * src/hildon-pnnable-area.c,
1661 (hildon_pannable_area_dispose),
1662 (hildon_pannable_area_button_press_cb),
1663 (hildon_pannable_area_child_mapped),
1664 (hildon_pannable_area_add),
1665 (hildon_pannable_area_remove): Added code to control the position
1666 of the event_window when adding and removing children from the
1667 pannable. We have to raise the event window when the child is
1670 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1671 selection mode using custom widget inside pannable)
1673 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1675 * configure.ac: post release version bump
1676 * debian/changelog: version bump
1678 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1683 * configure.ac: bump version
1684 * debian/changelog: updates
1686 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1688 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1689 search mode, in order to avoid lose the focus on the treeview when
1690 a hw key (like enter) is pressed.
1692 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1693 in HildonDateSelector dialog)
1695 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1697 * debian/rules: Added --enable-maintainer-mode
1698 * Makefile.am: Added ACLOCAL_AMFLAGS
1700 This allows to properly regenerate the Makefiles if you modify the
1701 configure.ac or any Makefile.am.
1703 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1705 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1706 properties, not needed at all.
1708 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1712 * src/hildon-note.c: (hildon_note_set_property),
1713 (hildon_note_get_property), (hildon_note_class_init),
1714 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1715 (hildon_note_new_confirmation_add_buttons): Remove icons.
1716 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1717 (hildon_note_new_information_with_icon_name): Deprecate.
1718 (hildon_note_new_confirmation): Act directly, without calling
1719 the deprecated constructor.
1720 (hildon_note_new_information): Act directly, without calling
1721 the deprecated constructor.
1722 * src/hildon-note.h: Mark deprecate methods as such.
1723 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1724 not run tests on the deprecated methods if built with deprecation
1727 Fixes: NB#91688 (Never show icons in information notes/confirmation
1730 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1732 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1733 (hildon_app_menu_key_press): Remove leftover usage of the
1734 private structure in HildonAppMenu struct.
1735 * src/hildon-app-menu.h: Remove leftover private structure
1736 from the HildonAppMenu struct.
1738 Fixes a crasher when using the HildonAppMenu.
1740 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1742 * src/hildon-picker-dialog.c: Use appropriate logical id
1743 for the default "Done" text.
1745 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1747 * configure.ac: post release version bump
1748 * debian/changelog: version bump
1750 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1752 Modified the way to scroll to the current selection just when the touch
1753 selector is shown on the screen, avoiding a g_idle. Added too a property
1754 to configure this behaviour. See hildon_pannable_area_jump_to_child
1755 documentation for more information.
1757 * src/hildon-touch-selector.c
1758 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1759 Added 'initial-scroll' property
1760 (hildon_touch_selector_set_property): Added
1761 (hildon_touch_selector_map): Removed as not required anymore
1762 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1763 only a concrete column, instead of iterate along all the columns
1765 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1770 * configure.ac: bump version
1771 * debian/changelog: updates
1773 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1775 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1776 compilation time warnings.
1778 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1780 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1781 the default value for HildonPannableArea::mov-mode to
1782 HILDON_PANNABLE_AREA_MODE_VERT.
1784 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1786 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1788 Reverting following commit:
1790 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1792 * src/hildon-app-menu-private.h
1793 * src/hildon-app-menu.[ch]
1794 * src/hildon-button.[ch]
1795 * src/hildon-check-button.[ch]
1796 * src/hildon-entry.[ch]
1797 * src/hildon-pannable-area.[ch]
1798 * src/hildon-text-view.[ch]:
1799 Added private field to the object's structure.
1801 because it causes an ABI breakage. We will need to introduce these
1802 changes later at some point. See NB#91636 for an extensive
1803 explanation and status.
1805 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1807 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1809 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1810 remove special cases that are no longer necessary.
1812 Fixes: NB#91016 (Change toolbar sizes, simplification)
1814 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1816 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1817 is shown in the cancel note.
1819 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1821 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1822 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1823 (hildon_seekbar_init): Remove steppers, remove expose event.
1824 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1826 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1828 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1830 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1831 label font to "SmallSystemFont" for vertically arranged buttons.
1833 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1836 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1838 * src/hildon-check-button.c
1839 (hildon_check_button_set_active, hildon_check_button_clicked):
1840 Don't access private parts directly, use getters instead.
1842 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1844 * src/hildon-check-button.c (hildon_check_button_new):
1845 Align the contents of the check button to the left.
1847 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1849 * src/hildon-pannable-area.c,
1850 (hildon_pannable_area_scroll_to),
1851 (hildon_pannable_area_jump_to),
1852 (hildon_pannable_area_scroll_to_child),
1853 (hildon_pannable_area_jump_to_child): Replace the mapped
1854 precondition of these functions with the realized, it is the
1855 correct state of the widget in this case. Changed the
1856 documentation according to this modification.
1858 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1860 Added a new EXTRA_CFLAGS option to add the deprecated define to
1861 the compilation command. This way we can avoid using the define in
1862 the documentation compilation.
1864 * configure.ac: Defined EXTRA_CFLAGS.
1866 * examples/Makefile.am:
1868 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1870 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1872 * src/hildon-picker-dialog.c:
1873 Defined a utility macro with the desired touch selector height
1874 Removed currently unused separator, and title_label variables from
1876 (hildon_picker_dialog_init): Removed code related to the creation
1877 of unused private variables title_label and separator.
1878 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1879 to ensure correct visualization of the touch selector inside the dialog.
1880 * src/hildon-touch-selector.c
1881 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1882 ensure a concrete height of the widget.
1884 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1887 * tests/Makefile.am:
1889 Remove spurious whitespaces.
1891 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1893 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1894 compilation warning after the cancel button removal.
1896 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1898 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1900 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1901 Makefile.am, that way we can choose not to compile some examples
1902 and tests of the deprecated widgets.
1904 * examples/Makefile.am: Divided the sources in deprecated and
1907 * src/Makefile.am: Added undef statement of the deprecated
1908 symbol to the enums file generation process.
1910 * src/hildon-color-chooser-dialog.c
1911 * src/hildon-color-chooser-dialog.h
1912 * src/hildon-color-button.c
1913 * src/hildon-color-button.h
1914 * src/hildon-color-chooser.c
1915 * src/hildon-color-chooser.h
1916 * src/hildon-controlbar.c
1917 * src/hildon-controlbar.h
1918 * src/hildon-date-editor.c
1919 * src/hildon-date-editor.h
1920 * src/hildon-hvolumebar.c
1921 * src/hildon-hvolumebar.h
1922 * src/hildon-private.c
1923 * src/hildon-private.h
1924 * src/hildon-range-editor.c
1925 * src/hildon-range-editor.h
1926 * src/hildon-seekbar.c
1927 * src/hildon-seekbar.h
1928 * src/hildon-time-editor.c
1929 * src/hildon-time-editor.h
1930 * src/hildon-time-picker.c
1931 * src/hildon-time-picker.h
1932 * src/hildon-volumebar.c
1933 * src/hildon-volumebar.h
1934 * src/hildon-vvolumebar.c
1935 * src/hildon-vvolumebar.h
1936 * src/hildon-bread-crumb-trail.h
1937 * src/hildon-bread-crumb-trail.c
1938 * src/hildon-calendar-popup.c
1939 * src/hildon-calendar-popup.h
1940 * src/hildon-weekday-picker.c:
1941 * src/hildon-weekday-picker.h:
1942 * src/hildon-bread-crumb-widget.c:
1943 * src/hildon-bread-crumb-widget.h:
1944 * src/hildon-bread-crumb.c:
1945 * src/hildon-bread-crumb.h:
1946 * src/hildon-calendar.c:
1947 * src/hildon-calendar.h:
1948 * src/hildon-caption.c:
1949 * src/hildon-code-dialog.c:
1950 * src/hildon-code-dialog.h:
1951 * src/hildon-font-selection-dialog.c:
1952 * src/hildon-font-selection-dialog.h:
1953 * src/hildon-get-password-dialog.c:
1954 * src/hildon-get-password-dialog.h:
1955 * src/hildon-login-dialog.c:
1956 * src/hildon-login-dialog.h:
1957 * src/hildon-number-editor.c:
1958 * src/hildon-number-editor.h:
1959 * src/hildon-set-password-dialog.c:
1960 * src/hildon-set-password-dialog.h:
1961 * src/hildon-sort-dialog.c:
1962 * src/hildon-sort-dialog.h: This is the list of deprecated
1965 * src/hildon-touch-selector.c:
1966 * src/hildon-window.c: Added undef statement to avoid compilation
1969 * tests/Makefile.am: Divided the sources in deprecated and
1972 * tests/check_test.c,
1973 (configure_tests): Marked the deprecated code that was adding
1974 suites with deprecated tests.
1976 Fixes: NB#91135 (Deprecate legacy hildon widgets)
1978 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1980 * src/hildon-touch-selector.c: (_default_print_func): Do not
1981 duplicate a string returned by gtk_tree_model_get(), it is already
1984 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1987 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1989 * src/hildon-pannable-area.c
1990 (hildon_pannable_area_add_with_viewport): Reviewed the complete
1991 method, it had problems when adding a widget with viewport the
1992 second time. Now checks if it already has a viewport and uses it.
1994 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
1997 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1999 * src/hildon-pannable-area.c,
2000 (hildon_pannable_area_scroll_to),
2001 (hildon_pannable_area_jump_to),
2002 (hildon_pannable_area_scroll_to_child),
2003 (hildon_pannable_area_jump_to_child): Added a precondition to the
2004 scroll and jump to functions: the widget must be mapped before we
2005 can safely call these functions. We have also added documentation
2006 to the functions to explain how to use them in this situation.
2009 2008-10-28 Alejandro G. Castro <alex@igalia.com>
2011 Reviewed the threading handling of the pannable widget, we have
2012 used the gdk_threads_add_timeout function instead of the usual
2013 glib handlers. This avoids some problems with the threads.
2015 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
2016 (hildon_pannable_area_initial_effect),
2017 (hildon_pannable_area_scroll_indicator_fade),
2018 (hildon_pannable_area_button_press_cb),
2019 (hildon_pannable_area_timeout),
2020 (hildon_pannable_area_motion_notify_cb),
2021 (hildon_pannable_area_button_release_cb),
2022 (hildon_pannable_area_scroll_cb),
2023 (hildon_pannable_area_scroll_to): Removed the
2024 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
2025 gdk_threads_add_timeout.
2027 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
2029 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2034 * configure.ac: bump version
2035 * debian/changelog: updates
2037 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2039 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
2040 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
2041 * src/hildon-color-chooser-dialog.c:
2042 (hildon_color_chooser_dialog_init):
2043 * src/hildon-font-selection-dialog.c:
2044 (hildon_font_selection_dialog_init):
2045 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
2047 Remove all cancel/close-like dialogs, as these are not going to be
2050 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2052 * src/hildon-note.c: (hildon_note_rebuild),
2053 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
2056 Fixes: NB#90661 (Delete dialog is displayed without NO button)
2058 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
2060 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
2061 sure all buttons are shown, even the Cancel/Close-like ones.
2063 Fixes: NB#90861 (Custom Confirmation dialogs should be
2064 protected from cancel button removal)
2066 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2068 * debian/control: Change libhildon1-examples dependency from libhildon1
2070 * debian/libhildon1-examples.install
2072 * Makefile.am: Modified the final install directory for the examples on
2073 package libhildon1-examples
2074 * Makefile.static: Update clean target in order to remove all the binary
2077 Changes suggested by Claudio after review new libhildon1-examples package
2079 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2081 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2082 * src/hildon-touch-selector.c: Ditto.
2084 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2086 * debian/control: Added new package libhildon1-examples, in order to pack
2087 the current hildon examples as documentation
2088 * debian/rules: Not to compress .c files, modify some includes on the
2089 examples (as normally are compiled locally, but when installed it will
2090 require to include the installed libhildon1 library), and rename
2092 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2093 install all the example files on the new example package
2094 * examples/Makefile.static: Added static makefile that can be used to
2095 compile the examples, once installed the new example package
2096 * examples: Most of the examples were modified in order to grant that
2097 all use only '#include "hildon.h"', in order to be easy to prepare
2098 it on the example package
2100 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2103 * debian/libhildon1-dev.install
2104 * debian/libhildon1-doc.install:
2105 Move all gtk-doc files to a separate libhildon1-doc package.
2107 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2109 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2111 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2113 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2115 * debian/rules: Fixed a error in order to avoid unnecessary calls
2116 to autogen.sh on package building
2118 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2120 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2122 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2124 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2127 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2129 * src/hildon-picker-button.c
2130 (hildon_picker_button_finalize):
2131 Free priv->done_button_text
2133 * src/hildon-time-button.c
2134 (hildon_time_button_set_time)
2135 * src/hildon-picker-button.c
2136 (hildon_picker_button_clicked)
2137 (hildon_picker_button_selector_selection_changed)
2138 (hildon_picker_button_set_selector)
2139 * src/hildon-date-button.c
2140 (hildon_date_button_set_date):
2141 Free strings returned by hildon_touch_selector_get_current_text()
2143 * src/hildon-button.c (hildon_button_construct_child):
2144 Fix leaks in priv->image and priv->label_box
2146 Fixes: NB#90535 (Memory leak in picker button)
2148 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2150 * src/hildon-button.c: (hildon_button_get_property): Do not access
2151 private elements directly, use getters instead.
2153 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2155 * src/hildon-app-menu-private.h
2156 * src/hildon-app-menu.c
2157 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2158 Store the menu's parent window.
2160 * src/hildon-stackable-window.c
2161 (hildon_stackable_window_toggle_menu)
2162 (hildon_stackable_window_finalize):
2163 Set the menu's parent window when the menu is shown, unset it when
2166 * src/hildon-app-menu.c
2167 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2168 (hildon_app_menu_class_init):
2169 Send unhandled keyboard accelerators to the parent window.
2171 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2173 * src/hildon-stackable-window.c
2174 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2176 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2178 * configure.ac: post release version bump
2180 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2183 * configure.ac: Bump version
2184 * debian/changelog: Updates
2185 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2188 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2190 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2193 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2194 GtkMenu with Hildon style.
2196 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2198 * src/hildon-picker-button.c:
2199 (hildon_picker_button_set_done_button_text): Set the dialog's
2200 done button text here as well.
2202 Fixes: NB#90232 (Picker button does not set the label on done button
2203 for the second time)
2205 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2207 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2210 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2212 * src/hildon-app-menu.c (hildon_app_menu_insert)
2213 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2214 the HildonAppMenu to be activatable using keyboard accelerators
2215 when the menu is not being shown.
2217 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2219 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2221 * src/hildon-stackable-window.c
2222 (hildon_stackable_window_show):
2223 Don't hide old windows automatically when new windows are shown:
2224 this is now a task for the window manager.
2225 (hildon_stackable_window_class_init)
2226 (hildon_stackable_window_hide):
2227 Remove windows from the stack everytime they're hidden.
2228 (hildon_stackable_window_realize):
2229 Don't change the _NET_WM_WINDOW_TYPE property. Use
2230 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2231 it as a stackable window.
2233 * src/hildon-program.c
2234 (hildon_program_pop_window_stack):
2235 Just hide the window to remove it from the stack.
2236 (hildon_program_go_to_root_window):
2237 Don't call gtk_widget_show(), this is now a task for the window
2240 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2242 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2244 * src/hildon-button.c
2245 (hildon_button_construct_child):
2246 Don't pack anything in the button until text or image are
2247 set. This allows adding a custom child after creating the button
2248 with hildon_button_new().
2249 (hildon_button_finalize, hildon_button_class_init)
2250 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2251 alignment and the label box even when they're not packed in the
2254 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2256 * src/hildon-touch-selector.h:
2257 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2258 currently the type definition was using GTK_TYPE_VBOX
2259 * src/hildon-touch-selector.c:
2260 Added some implementation notes in order to clarify that any other widget
2261 added without the column related API will not be included on the
2262 selection logic, and how the widget is freed, as some people ask about
2264 (hildon_touch_selector_remove): Reimplemented in order to free properly
2265 the column related data when you remove the private hbox.
2266 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2267 to get a proper HildonTouchSelectorColumn documentation
2269 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2271 * src/hildon-touch-selector-entry.c:
2272 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2273 text in the GtkEntry and there is no item selected. Fixes a
2276 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2278 * src/hildon-app-menu-private.h
2279 * src/hildon-app-menu.[ch]
2280 * src/hildon-button.[ch]
2281 * src/hildon-check-button.[ch]
2282 * src/hildon-entry.[ch]
2283 * src/hildon-pannable-area.[ch]
2284 * src/hildon-text-view.[ch]:
2285 Added private field to the object's structure.
2287 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2289 * configure.ac: post-release version bump
2291 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2295 * configure.ac: pre-release version bump
2297 * debian/changelog: updates.
2299 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2301 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2302 Disconnect the handler for HildonTouchSelector::changed.
2304 (hildon_picker_button_selector_selection_changed): Update the button
2305 value if the selection change was not triggered by the
2308 (hildon_picker_button_set_selector): connect to
2309 HildonTouchSelector::changed.
2311 Fixes: NB#89650 (Picker button is not updated, when selection in
2312 selector has changed)
2314 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2316 * src/hildon-picker-dialog.c
2317 (hildon_picker_dialog_realize): Removed as not required
2318 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2319 * src/hildon-picker-button.c
2320 (_current_selector_empty): New function, checks if the selector is empty
2321 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2322 if the current selector is empty, in order to avoid to show the dialog
2323 close the dialog in this case (and shows a g_warning).
2325 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2327 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2329 * src/hildon-pannable-area.c,
2330 (hildon_pannable_area_scroll): Added clause to stop movement when
2331 the child of pannable is smaller than one page.
2332 (hildon_pannable_area_scroll_to): Added conditions to avoid
2333 starting the scrolling movement if the child is smaller than one
2334 page, the complete child is in the screen, we do not have to move.
2336 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2338 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2340 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2341 this is managed automatically by the widget when the size of the
2344 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2346 * src/hildon-picker-button.c
2347 (hildon_picker_button_set_done_button_text): Make a copy of the
2348 text, and free the previous value.
2350 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2352 * src/hildon-touch-selector-entry.c:
2353 (hildon_touch_selector_entry_print_func): Return the selected row's
2354 text if the entry is empty.
2356 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2359 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2361 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2363 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2366 * src/hildon-check-button.h
2367 * src/hildon-check-button.c
2368 * examples/hildon-check-button-example.c:
2369 HildonCheckButton is now a new widget. 'toggled' signal added.
2371 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2373 * src/hildon-program-private.h
2374 * src/hildon-program.c (hildon_program_init)
2375 (hildon_program_finalize): Removed unused variables group_leader
2376 and name from HildonProgramPrivate.
2378 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2380 * src/hildon-check-button.c (hildon_check_button_set_active)
2381 (hildon_check_button_get_active, hildon_check_button_new): Use
2382 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2384 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2386 * src/hildon-touch-selector.h
2387 (hildon_touch_selector_set_column_attributes): added deprecation
2388 guard HILDON_DISABLE_DEPRECATED
2389 * src/hildon-time-selector.c
2390 (hildon_time_selector_set_time)
2391 (hildon_time_selector_get_time): Fixed a typo on documentation
2392 * src/hildon-touch-selector.c: update HildonTouchSelector and
2393 HildonTouchSelectorColumn documentation
2394 * src/hildon-touch-selector-entry.c: update "text-column" property
2396 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2397 to be added to the general documentation.
2399 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2401 * examples/hildon-pannable-area-example-4.c,
2403 * examples/hildon-pannable-area-example.c,
2404 (main): Modified the code in order to use the container add, with
2405 viewport treeviews could have problems if they are really big.
2407 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2409 * src/hildon-weekday-picker.c,
2410 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2411 the agreement regarding deprecation in the library.
2413 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2415 * examples/hildon-picker-button-multicolumn-example.c:
2416 (main): Use custom "done" button text.
2418 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2419 (hildon_picker_button_set_property),
2420 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2421 (hildon_picker_button_init),
2422 (+hildon_picker_button_get_done_button_text),
2423 (+hildon_picker_button_set_done_button_text): New methods to customize
2424 the "done" button label in the launched HildonPickerDialog. Also,
2427 * src/hildon-picker-button.h: add the public API.
2429 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2431 * src/hildon-date-selector.h:
2432 * src/hildon-picker-dialog.h:
2433 * src/hildon-time-selector.h:
2434 * src/hildon-touch-selector-column.h:
2435 * src/hildon-touch-selector.h:
2437 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2438 declarations. Fixes gtk-doc warnings.
2440 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2442 * src/hildon-picker-dialog.h
2443 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2444 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2446 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2447 long text is set as label for done button)
2449 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2451 * src/hildon-dialog.c (hildon_dialog_add_button):
2452 Set fixed width to all buttons in the HildonDialog.
2454 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2456 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2458 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2459 Set widget name using class name plus "-finger" or "-thumb".
2461 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2463 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2464 'clicked' when the state of the button is manually changed.
2466 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2468 * src/hildon-app-menu.c (hildon_app_menu_realize)
2469 (hildon_app_menu_unrealize, hildon_app_menu_init)
2470 (hildon_app_menu_class_init, item_visibility_changed):
2471 Change the menu layout when the size of the screen changes.
2472 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2473 Show warning only when changing the number of colums using the
2476 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2478 * debian/compat: Set to 5
2479 * debian/control: Update dependencies.
2480 * debian/libhildon1-dbg.install: Remove.
2481 * debian/libhildon1-dev.install: Update according to cdbs paths.
2482 * debian/libhildon1.install: Update according to cdbs paths.
2483 * debian/rules: Switch to cdbs.
2485 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2487 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2488 'item' variable renamed to 'filter'
2490 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2492 * src/hildon-app-menu.c (hildon_app_menu_insert)
2493 (hildon_app_menu_add_filter, remove_item_from_list)
2494 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2495 Don't leak hidden items when the menu is destroyed.
2497 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2499 * src/hildon-app-menu.c (hildon_app_menu_insert)
2500 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2501 (hildon_app_menu_set_columns, item_visibility_changed)
2502 (filter_visibility_changed, hildon_app_menu_repack_filters)
2503 (hildon_app_menu_repack_items):
2504 Repack items and filters separately.
2506 Don't repack all items, change only the ones that are needed to
2509 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2511 * src/Makefile.am: added hildon-touch-selector-column.h
2513 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2515 * src/hildon-touch-selector.c: added the property "text-column" to the
2516 class HildonTouchSelectorColumn, and related get/set functions
2517 (_default_printf_func): updated to use "text-column" property
2518 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2519 "text-column" in his documentation, as this is now included on
2520 HildonTouchSelectorColumn. The get/set_property can still be used,
2521 working as a wrapper to the concrete column "text-column" property
2522 (_text_column_modified): callback added in order to handle the signal
2523 "notify::text-column" of the concrete HildonTouchSelectorColumn
2524 (hildon_touch_selector_entry_get_text_column)
2525 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2526 modified in order to use the HildonTouchSelectorColumn "text-column"
2528 * src/hildon-time-selector.c:
2529 * src/hildon-date-selector.c:
2530 * examples/hildon-touch-selector-example.c
2531 * examples/hildon-touch-selector-multi-cells-example.c
2532 * examples/hildon-picker-button-multicolumn-example.c
2533 Set the right value to "text-column" property on the creation of a new
2534 column using hildon_touch_selector_append_column()
2536 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2538 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2540 * src/hildon-app-menu.c
2541 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2542 updating the layout of the menu, don't create all widgets again,
2543 just repack the items in their new places.
2545 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2547 * src/hildon-time-selector.c
2548 (hildon_time_selector_get_time)
2549 (hildon_time_selector_set_time)
2550 Added documentation of these public methods
2552 * src/hildon-date-button.h
2553 * src/hildon-touch-selector-column.h
2554 * src/hildon-time-button.h
2555 * src/hildon-picker-dialog.h
2556 * src/hildon-time-selector.h
2557 * src/hildon-picker-button.h
2558 * src/hildon-touch-selector.h
2559 * src/hildon-time-picker.h
2560 * src/hildon-date-selector.h
2561 * src/hildon-touch-selector-entry.h
2562 Modified in order to use hildon-widgets code style
2564 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2566 Added deprecated support to the compilation process using
2567 HILDON_DISABLE_DEPRECATED
2569 * configure.ac: Added the --disable-deprecated to the configure
2572 * src/hildon-weekday-picker.c:
2573 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2574 to use the deprecated support. We will update the other deprecated
2575 widgets status in a new patch.
2577 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2579 * configure.ac: Fixed typo with fatal warnings support, the
2580 variable name was not correct
2582 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2584 * src/hildon-app-menu.c
2585 * src/hildon-program.c: Update documentation.
2587 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2589 * configure.ac: Post-release version bump.
2591 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2596 * configure.ac: Pre-release version bump.
2597 * debian/changelog: Updates.
2599 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2601 * NEWS: Update news for previous releases.
2603 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2605 * examples/hildon-touch-selector-multi-cells-example.c:
2606 (create_selector): Update the example to use
2607 hildon_touch_selector_append_column() with a NULL renderer and set
2608 the renderers later.
2609 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2610 passed a NULL renderer. This is documented behavior now.
2612 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2613 This must be used if the developer wants full control on the layout of
2614 the renderers to be added to the column.
2616 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2618 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2620 * src/hildon-touch-selector.c: Documentation fixes.
2622 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2624 * src/hildon-wizard-dialog-private.h: Remove image and box.
2625 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2626 (hildon_wizard_dialog_set_property), (response): Completely remove
2627 image/icon support, and the containers required for the layout.
2629 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2631 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2633 * src/hildon-app-menu.c: Updated documentation.
2635 * src/hildon-stackable-window.c
2636 (hildon_stackable_window_set_main_menu): Unref the old menu after
2637 ref'ing the new one.
2639 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-stackable-window.c
2642 (hildon_stackable_window_set_main_menu): Unref the previous menu
2643 instead of destroying it.
2645 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2646 floating reference and set has_user_ref_count to FALSE to make
2647 HildonAppMenu act like a normal ref-counted widget and not a
2650 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2653 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2655 * src/hildon-touch-selector-column.h: new file
2656 * src/hildon-touch-selector.h
2657 * src/hildon-touch-selector.c
2658 Implemented GtkCellLayout interface, in order to allow to configure
2659 the cell layout on each individual selector column
2660 (hildon_touch_selector_set_column_attributes): marked as deprecated
2661 * examples/hildon-touch-selector-multi-cells-example.c
2662 Example of how to use the GtkCellLayout interface on the selector
2664 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2666 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2668 * src/hildon-app-menu.h
2669 * src/hildon-app-menu.c
2670 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2671 (hildon_app_menu_append, hildon_app_menu_prepend):
2672 New methods to prepend, insert and move items in the menu.
2674 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2676 * src/hildon-wizard-dialog.c:
2678 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2680 (create_title): Update logical IDs and related code.
2681 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2683 * src/hildon-wizard-dialog.h: Note that
2684 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2685 point, as it is not used anymore.
2687 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2689 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2691 * src/hildon-note.c:
2692 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2693 shown. Do not display an icon in confirmation notes nor information
2695 (hildon_note_set_button_text): Update logical ID for cancel button.
2697 Fixes: NB#88850 (Update HildonNote button strings + signals)
2699 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2701 * src/hildon-stackable-window.c
2702 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2704 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2706 * src/hildon-app-menu-private.h
2707 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2708 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2709 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2710 temporary property 'columns' to change the number of columns.
2712 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2714 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2716 * examples/hildon-note-example.c: (on_information_clicked),
2717 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2718 debugging information.
2719 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2721 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2722 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2723 in order to close: this will be handled by the WM from now on.
2725 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2727 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2729 * src/hildon-app-menu-private.h
2730 * src/hildon-app-menu.c
2731 (hildon_app_menu_append, hildon_app_menu_add_filter)
2732 (button_visibility_changed, hildon_app_menu_apply_style)
2733 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2734 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2735 layout everytime a button (item or filter) is shown or hidden.
2737 * src/hildon-stackable-window.c
2738 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2741 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2743 * src/hildon-touch-selector.c:
2744 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2745 that the treeview inside the touch selector is in fremantle hildon mode
2746 * examples/hildon-date-button-example.c
2747 * examples/hildon-picker-button-multicolumn-example.c
2748 * examples/hildon-touch-selector-entry-example.c
2749 * examples/hildon-touch-selector-example.c
2750 * examples/hildon-time-button-example.c
2751 * examples/hildon-picker-button-example.c:
2752 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2754 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2756 * examples/hildon-text-view-example.c: (main): Remove the
2757 gtkrc bits, now handled by the theme.
2759 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2761 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2764 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2766 * po/Makefile.am: Install properly the mo files.
2767 * po/en_GB.po: Update translation, to ease testing purposes.
2769 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2771 * examples/hildon-picker-button-example.c: (main): Select an item
2772 in the selector before setting it to the button.
2774 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2776 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2777 Update button's value if the selector has an item active.
2779 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2780 'value' with the selector)
2782 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2784 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2785 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2786 (hildon_picker_button_class_init): Plug the finalize method.
2787 (hildon_picker_button_set_selector): If there's a previously set
2788 selector, unref'it before setting a new one.
2790 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2791 HildonTouchSelector)
2793 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2795 * src/hildon-touch-selector-entry.c:
2796 (hildon_touch_selector_entry_changed): Check if there is no text
2797 selected before setting the entry text.
2800 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2802 * src/hildon-touch-selector.h
2803 * src/hildon-touch-selector.c
2804 (hildon_touch_selector_get_active)
2805 (hildon_touch_selector_set_active): New methods to set/get the
2806 index of the selected item.
2808 * src/hildon-picker-button.h
2809 * src/hildon-picker-button.c
2810 (hildon_picker_button_get_active)
2811 (hildon_picker_button_set_active): New methods to set/get the
2812 index of the selected item.
2814 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2816 * configure.ac: post-release version bump.
2818 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2822 * configure.ac: Pre-release version bump.
2823 * debian/changelog: Updates.
2824 * debian/control: Add myself as maintainer and depend on l10n
2827 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2829 * src/hildon-window.c
2830 (hildon_window_set_main_menu)
2831 * src/hildon-stackable-window.c
2832 (hildon_stackable_window_set_main_menu):
2833 Updated documentation.
2835 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2837 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2838 Don't free selector->priv manually.
2841 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2844 (hildon_gtk_window_set_progress_indicator):
2845 * src/hildon-gtk.h: Added the new API
2846 hildon_gtk_window_set_progress_indicator, it changes the state of
2847 the window progress hint.
2849 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2851 * src/hildon-button.c
2852 * src/hildon-stackable-window.c: Minor documentation updates.
2854 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2856 * src/hildon-stackable-window.c: Updated documentation.
2858 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2860 * src/hildon-defines.h: Update margins definitions
2861 to the Fremantle sizes.
2864 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2866 * src/hildon-touch-selector.c,
2867 (_hildon_touch_selector_set_model): Cleaning the code after
2868 review, removed g_print and #if 0 from the code.
2870 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2872 * src/hildon-edit-toolbar.c: Update documentation.
2874 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2876 * src/hildon-check-button.h
2877 * src/hildon-check-button.c
2878 (hildon_check_button_set_label, hildon_check_button_get_label)
2879 * examples/hildon-check-button-example.c
2880 (button_clicked_cb):
2881 Removed deprecated methods.
2883 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2885 * src/hildon-text-view.c:
2886 Add sample code to the documentation.
2888 * src/hildon-entry.h
2889 * src/hildon-text-view.h:
2890 Minor cosmetic changes.
2892 * src/hildon-entry.c:
2893 Add sample code to the documentation.
2894 (hildon_entry_init, hildon_entry_refresh_contents):
2895 Don't allow NULL values in the placeholder.
2897 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2899 * doc/hildon-docs.sgml
2901 * examples/Makefile.am
2902 * examples/hildon-text-view-example.c
2904 * src/hildon-text-view.c
2905 * src/hildon-text-view.h
2907 New HildonTextView widget, with example.
2909 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2911 * po/POTFILES.in: Add missing files with translatable strings.
2912 Partially fixes NB#88287.
2914 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2916 * examples/hildon-pannable-area-example-2.c: (main): No need to
2917 set the cellrenderer height inside hildon touch lists, the theme does
2920 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2922 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2923 they are integrated in the theme.
2925 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2927 * examples/hildon-entry-example.c: Update the example adding
2928 widgets to modify the text and the placeholder of the HildonEntry.
2930 * src/hildon-entry.c: Show the placeholder everytime the widget
2931 is empty and loses the focus.
2933 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2935 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2937 * src/hildon-pannable-area.c,
2938 (hildon_pannable_area_size_request): Fixed bug in height
2939 requisition, avoid increasing size and add border twice.
2941 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2943 * configure.ac: postrelease version bump.
2945 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2949 * configure.ac: Prerelease version bump.
2950 * debian/changelog: update.
2951 * debian/rules: make -dbg package contain useful debugging symbols.
2953 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2955 * src/hildon-dialog.h
2956 * src/hildon-dialog.c
2957 (hildon_dialog_add_button, hildon_dialog_add_buttons):
2958 New methods to add buttons with finger size.
2959 (hildon_dialog_new_with_buttons):
2960 Create buttons with finger size.
2962 * examples/hildon-dialog-example.c (main): Use HildonDialog
2963 methods to add buttons.
2965 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2967 * src/hildon-entry.c: Updated HildonButton documentation.
2969 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2971 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2972 button value label with (FALSE, FALSE) to prevent NB#88126 from
2975 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2977 * examples/hildon-pannable-area-example.c,
2978 (main): Removed examples panning a vbox inside a pannable
2979 area. Check bug NB#87965
2981 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2983 Patch contributed by Kris Rietveld (kris@imendio.com)
2985 * src/hildon-pannable-area.c,
2986 (hildon_pannable_area_get_topmost): replaced the get_geometry with
2987 get_size and get_position, this saves an X server roundtrip.
2989 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2991 * doc/hildon-docs.sgml
2993 * examples/Makefile.am
2994 * examples/hildon-entry-example.c
2996 * src/hildon-entry.c
2997 * src/hildon-entry.h
2999 New HildonEntry widget, with example.
3001 2008-09-05 Alberto Garcia <agarcia@igalia.com>
3003 * src/hildon-button.c (hildon_button_construct_child): Pack the
3004 image with expand == fill == FALSE. This is a workaround for a bug
3007 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
3009 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
3010 labels for the text column, to make it more look more dynamic.
3012 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3014 * src/hildon-time-selector.c
3015 Define gettext auxiliar macro N_
3016 (_create_minutes_model)
3017 (_create_hours_model)
3018 (_create_ampm_model): use of strftime in order to fill the model
3019 * src/hildon-date-selector.c
3020 (hildon_date_selector_finalize):
3021 (_locales_init): remove the logic related to get the name of the months
3022 using nl_langinfo, as it is not required anymore
3024 (_create_year_model)
3025 (_create_month_model)
3026 (_update_day_model): use of strftime in order to fill the model properly
3029 2008-09-04 Alberto Garcia <agarcia@igalia.com>
3031 * src/hildon-button.h
3032 * src/hildon-button.c (hildon_button_get_image): New method to
3035 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
3037 * src/hildon-touch-selector.c:
3038 (hildon_touch_selector_remove_column): Remove from the correct parent
3039 and also remove the list element and free it.
3042 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
3044 * src/hildon-time-selector.c
3045 (_create_hours_model): change the range on 12h ampm format in order to use
3046 a 12-11 range instead of previous 01-12 range
3047 (hildon_time_selector_set_time): change the way to select the current time
3048 on 12h ampm format, due the change on the range
3049 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
3052 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
3054 * src/hildon-touch-selector.c
3055 (hildon_date_touch_selector_get_selected): fix the selection mode check,
3056 in order to allow use this function on multiple row selection mode if
3057 the column is different that the first one
3060 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
3062 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
3063 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3065 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3067 * src/hildon-date-selector.h: clean some comments, now on the .c
3068 * src/hildon-date-selector.c
3069 (hildon_date_selector_select_month): first implementation
3070 (hildon_date_selector_select_day): added documentation, reimplemented
3071 using hildon_date_selector_select_current_date to avoid repeat code
3074 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3076 Reviewed interaction logic based on device experiences, refactored
3079 * src/hildon-pannable-area.c,
3080 (hildon_pannable_area_class_init): Updated default vmax speed.
3081 (hildon_pannable_area_calculate_velocity): Added this function, it
3082 avoids duplicate valocity calculation. Adjusted calculation to
3083 avoid problems with zero dist events.
3085 (hildon_pannable_area_motion_notify_cb): Now we use the
3086 calculate_velocity function.
3088 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3090 * src/hildon-date-selector.c
3091 (hildon_date_selector_select_current_date): fix the day range check
3092 as it failed using the last day of the current month
3095 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3097 * src/hildon-touch-selector.c
3098 (hildon_touch_selector_get_num_columns): added a parameter validation
3101 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3103 * examples/Makefile.am
3104 * examples/hildon-edit-toolbar-example.c: Example of the
3105 HildonEditToolbar widget.
3107 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3109 * configure.ac: postrelease version bump.
3111 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3115 * configure.ac: prerelease version bump.
3116 * debian/changelog: update.
3118 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3120 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3121 renderer to display stock icons in the touch list. Also, set the sizes
3122 to the recommended in the style guide.
3124 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3125 * src/hildon-touch-selector.h
3126 (hildon_touch_selector_set_active_iter): renamed, now is
3127 hildon_touch_selector_select_iter
3128 (hildon_touch_selector_get_active_iter): renamed, now is
3129 hildon_touch_selector_get_selected
3130 (hildon_touch_selector_unselect_iter): added
3131 * src/hildon-touch-selector.c
3132 Update after API modification (methods renamed)
3133 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3134 order to avoid problems selecting multiple elements on the column
3135 (hildon_touch_selector_unselect_iter): added the implementation
3136 * src/hildon-time-selector.c
3137 * src/hildon-date-selector.c
3138 * src/hildon-touch-selector-entry.c
3139 Update methods calls after hildon-touch-selector.h API modification (methods
3142 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3144 * src/hildon-stackable-window.c
3145 (hildon_stackable_window_finalize): Call the parent class's finalize.
3147 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3149 * examples/hildon-touch-selector-example.c: (create_selector): Use
3150 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3153 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3155 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3156 set a cell background color, to respect theming.
3158 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3160 * doc/hildon-docs.sgml
3163 * src/hildon-edit-toolbar.c
3164 * src/hildon-edit-toolbar.h
3165 * src/hildon.h: New HildonEditToolbar widget.
3167 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3169 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3172 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3173 * src/hildon-touch-selector.c
3174 (_create_new_column): use g_object_set instead of two g_object_set_property
3176 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3177 * src/hildon-touch-selector.c
3178 (_create_new_column): use of hildon_gtk_tree_view_new to create
3179 the treeview, instead of use directly g_object_new
3180 (_create_new_column): update the property name "vindicator-mode" for the
3181 new one "vscrollbar-policy"
3182 * examples/hildon-date-button-example.c
3183 * examples/hildon-picker-button-multicolumn-example.c
3184 * examples/hildon-touch-selector-entry-example.c
3185 * examples/hildon-touch-selector-example.c
3186 * examples/hildon-time-button-example.c
3187 * examples/hildon-picker-button-example.c
3188 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3189 to all the treeviews inside a pannable area.
3191 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3193 * src/hildon-button.h
3194 * src/hildon-button.c (hildon_button_init)
3195 (hildon_button_set_arrangement, hildon_button_set_alignment)
3196 (hildon_button_set_title_alignment)
3197 (hildon_button_set_value_alignment)
3198 (hildon_button_set_image_alignment)
3199 (hildon_button_construct_child): New methods to set the alignment
3200 of the individual components of the button (title, value,
3201 image). Also, new method to alter the xscale and yscale properties
3202 of the GtkAlignment inside the button, so more complex layouts can
3205 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3207 * src/hildon-button.c (hildon_button_style_set)
3208 (hildon_button_class_init, hildon_button_set_arrangement)
3209 (hildon_button_construct_child): Apply style properties
3210 correctly. Use the 'image-spacing' style property too.
3212 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3214 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3215 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3218 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3220 * src/hildon-pannable-area.c,
3221 (hildon_pannable_area_size_request): Fixed problem with
3222 pannable-area size_request.
3224 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3226 Added management for the grab-focus to a child widget, like a
3227 range, we need to fade out the scrollbar when releasing.
3229 * src/hildon-pannable-area.c,
3230 (hildon_pannable_area_init): Connected the grab-focus signal to
3232 (hildon_pannable_area_grab_notify): Added this function in order
3233 to manage the situation when the grab-focus ends. We have to
3234 fade-out the scrollbar.
3236 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3238 * src/hildon-app-menu.c: Minor documentation update.
3240 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3242 * src/hildon-app-menu.c
3243 * examples/hildon-app-menu-example.c (create_menu): Update
3244 examples and documentation to explain how to connect callbacks.
3246 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3248 * examples/hildon-button-example.c
3249 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3250 hildon_stackable_window_new instead of gtk_window_new
3252 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3254 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3255 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3256 (hildon_pannable_area_set_property),
3257 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3258 (hildon_pannable_area_unrealize),
3259 (hildon_pannable_area_size_request),
3260 (hildon_pannable_area_size_allocate),
3261 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3262 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3263 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3264 (hildon_pannable_area_initial_effect),
3265 (hildon_pannable_area_redraw),
3266 (hildon_pannable_area_scroll_indicator_fade),
3267 (hildon_pannable_area_expose_event),
3268 (hildon_pannable_area_get_topmost), (synth_crossing),
3269 (hildon_pannable_area_button_press_cb),
3270 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3271 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3272 (hildon_pannable_area_motion_notify_cb),
3273 (hildon_pannable_area_button_release_cb),
3274 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3275 (hildon_pannable_area_remove),
3276 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3277 chage the code layout to a more GtkWidget like. Review the use of
3280 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3282 * examples/hildon-pannable-area-example-4.c,
3283 (main): Modified the name of the hindicator_mode to
3286 * src/hildon-pannable-area.c,
3287 (hildon_pannable_area_class_init),
3288 (hildon_pannable_area_motion_notify_cb),
3289 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3290 we have reduced the amount of signals and managed reviewed its
3291 rationale. Changed the default decelerate value.
3293 (hildon_pannable_area_add),
3294 (hildon_pannable_area_redraw): Refactored functions.
3296 (hildon_pannable_area_init),
3297 (hildon_pannable_area_get_property),
3298 (hildon_pannable_area_set_property):
3299 (hildon_pannable_draw_vscroll),
3300 (hildon_pannable_draw_hscroll),
3301 (hildon_pannable_area_initial_effect),
3302 (hildon_pannable_area_expose_event),
3303 (hildon_pannable_area_scroll),
3304 (hildon_pannable_area_button_press_cb),
3305 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3306 and vindicator_mode with hscrollbar_policy and
3307 vscrollbar_policy. Replaced hscroll and vscroll with
3308 hscroll_visible and vscroll_visible.
3310 (hildon_pannable_area_refresh): Refactor the function, remove
3311 variables and check the calls to this function, added resize
3312 conditions in case the children change their layout.
3314 (hildon_pannable_area_size_request): Added more detailed
3315 size_request calculation.
3318 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3320 * src/hildon-color-chooser.c
3321 (init_borders): use the correct gtk_border_free instead of g_free, to
3322 avoid a crash when this widget is used (ie: the three color selection
3325 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3327 * src/hildon-check-button.c,
3328 (hildon_check_button_set_active): Fixed problem when setting the
3329 active value, the widget was not redrawn.
3331 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3333 * src/hildon-pannable-area.c,
3334 (hildon_pannable_area_refresh),
3335 (hildon_pannable_area_scroll),
3336 (hildon_pannable_area_motion_notify_cb): Small code style change.
3338 (hildon_pannable_area_class_init): Default initial_hint set to
3339 FALSE, it is not in the specs.
3341 (hildon_pannable_area_initial_effect),
3342 (hildon_pannable_area_expose_event),
3343 (hildon_pannable_area_map),
3344 (hildon_pannable_area_init): Moved the launching point of the
3345 initial effect, it was in map but the sizes where not correct in
3346 that method so we do not know if we have the reproduce it. Now it
3347 is placed in the expose_event method and uses a variable to
3348 reproduce it just once.
3350 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3352 * src/hildon-pannable-area.c,
3353 (hildon_pannable_draw_vscroll),
3354 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3355 position allowed for the scrollbars.
3357 (hildon_pannable_area_size_allocate): Small style change.
3359 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3361 * src/hildon-pannable-area.c,
3362 (hildon_pannable_area_scroll_indicator_fade),
3363 (hildon_pannable_area_button_press_cb),
3364 (hildon_pannable_area_button_release_cb),
3365 (hildon_pannable_area_scroll_cb),
3366 (hildon_pannable_area_expose_event),
3367 (hildon_pannable_area_init): Added the define parameter
3368 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3369 and refactor the fade variable.
3371 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3373 * src/hildon-pannable-area.c,
3374 (hildon_pannable_area_redraw),
3375 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3376 lines, we were reimplemeting the redraw code.
3378 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3380 * src/hildon-pannable-area.c,
3381 (hildon_pannable_area_scroll_cb),
3382 (hildon_pannable_area_realize),
3383 (hildon_pannable_area_class_init): Added scroll_event management
3384 for pannable area, now we can scroll the usual desktop method.
3386 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3387 initialization of the parameters should depend on idle_id.
3389 (hildon_pannable_area_init),
3390 (hildon_pannable_area_map): Small code style modifications
3392 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3394 * src/hildon-pannable-area.c
3395 (hildon_pannable_area_button_press_cb),
3396 (hildon_pannable_area_motion_notify_cb),
3397 (hildon_pannable_area_button_release_cb),
3398 (hildon_pannable_area_size_allocate),
3399 (hildon_pannable_area_scroll_to): Improved the timeouts
3400 management, we avoid creating them each time.
3402 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3404 * src/hildon-pannable-area.c:
3405 (hildon_pannable_area_refresh),
3406 (hildon_pannable_area_motion_notify_cb),
3407 (hildon_pannable_area_class_init):
3408 * src/hildon-pannable-area.h:
3409 * src/hildon-touch-selector.c
3410 (_create_new_column):
3411 * examples/hildon-pannable-area-example-4.c:
3412 (horizontal_movement),
3413 (vertical_movement),
3415 Replaced the names of enums in the HildonPannableArea:
3416 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3417 HILDON_MOVEMENT_MODE_*
3418 - HILDON_PANNABLE_AREA_MOV_* ->
3420 - Removed HildonPannableAreaIndicatorMode, now we
3423 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3425 * examples/hildon-pannable-area-touch-grid-example.c
3426 * examples/hildon-pannable-area-touch-list-example.c: Fix
3427 compilation warnings.
3429 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3431 * src/hildon-gtk.c (hildon_gtk_button_new)
3432 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3433 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3434 images overriding the value of the "gtk-button-images" setting.
3436 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3438 * src/hildon-check-button.c (hildon_check_button_new):
3439 Instead of using a custom container, display the label and the
3440 checkbox using the standard GtkButton API.
3442 * examples/hildon-check-button-example.c (main): Don't use
3443 hildon_check_button_set_label() anymore
3445 * src/hildon-check-button.h
3446 * src/hildon-check-button.c
3447 (hildon_check_button_set_label, hildon_check_button_get_label):
3448 Set as deprecated, now we're using gtk_button_{get,set}_label()
3450 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3452 * src/hildon-pannable-area.c,
3453 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3454 GtkTreeview first line we detected it after the inclusion of the
3455 GtkWindowImpl in gtk+. We now check if the window is visible, not
3456 just if the pointer is over the window.
3457 (hildon_pannable_axis_scroll),
3458 (hildon_pannable_area_expose_event): Small style changes.
3460 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3462 * src/hildon-button.c: Update documentation.
3464 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3466 * examples/hildon-button-example.c: Add a switch to show images in
3469 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3471 * doc/hildon-docs.sgml: Some docs reorganization.
3473 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3475 * examples/hildon-pannable-area-touch-list-example.c
3477 * examples/hildon-pannable-area-touch-grid-example.c
3478 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3479 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3480 Fix memory leak when setting the tree model.
3482 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3486 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3488 * doc/hildon.types: Remove duplicated hildon_window_get_type
3489 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3490 documentation comment.
3492 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3494 * doc/Makefile.am: Complete list of private headers.
3496 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3498 * doc/hildon-docs.sgml
3499 * src/hildon-app-menu.c
3500 * src/hildon-bread-crumb.c
3501 * src/hildon-button.c
3503 * src/hildon-program.c
3504 * src/hildon-stackable-window.c
3505 * src/hildon-window.c: Lots of documentation updates.
3507 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3509 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3511 * configure.ac: Require Gtk+ 2.12.9 at least
3513 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3515 * src/hildon-pannable-area.c
3516 (hildon_pannable_area_scroll_indicator_fade),
3517 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3518 to protect the return of this timeout callbacks, avoiding deadlocks.
3520 2008-08-12 Christian Dywan <christian@imendio.com>
3523 * src/hildon-*.h: Ensure a consistent include order,
3524 include <gtk/gtk.h> instead of particular files and
3525 only include the topmost header in the gtk stack. See NB #39857
3527 2008-08-12 Christian Dywan <christian@imendio.com>
3529 * src/hildon-picker-dialog.c
3530 * src/hildon-touch-selector.c: Fix warnings about unused and
3531 uninitialized variables.
3533 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3535 * examples/Makefile.am
3536 * examples/hildon-check-button-example.c: Example of the hildon
3539 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3541 * src/hildon-window.h
3542 * src/hildon-window.c (hildon_window_class_init)
3543 (hildon_window_unset_program): Don't make
3544 hildon_window_unset_program a virtual function anymore.
3546 * src/hildon-stackable-window.c: Update documentation
3548 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3551 * doc/hildon-docs.sgml
3552 * doc/visual_index.xml
3553 * src/hildon-defines.c
3555 * src/hildon-helper.c
3556 * src/hildon-range-editor.c: Lots of documentation fixes.
3558 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3560 * examples/hildon-picker-button-multicolumn-example.c
3561 (create_touch_selector): Fix compilation warning.
3563 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3565 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3566 (hildon_pannable_area_button_release_cb)
3567 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3569 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3571 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3574 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3576 * src/hildon-bread-crumb-trail.h
3577 * src/hildon-date-editor.c
3578 * src/hildon-date-selector.c
3579 * src/hildon-pannable-area.c
3580 * src/hildon-picker-dialog.c
3581 * src/hildon-time-selector.c
3582 * src/hildon-touch-selector-entry.c
3583 * src/hildon-touch-selector.c
3584 * src/hildon-touch-selector.h: Misc documentation fixes
3586 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3588 * examples/hildon-date-editor-example.c (main): Updated date
3591 * examples/hildon-note-example.c (on_confirmation_clicked):
3592 Updated confirmation note example.
3594 * src/hildon-date-editor.c
3595 * src/hildon-note.c: Updated sample programs in documentation.
3598 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3600 * src/hildon-date-button.h:
3601 * src/hildon-picker-button.h:
3602 * src/hildon-time-button.c:
3603 * src/hildon-time-button.h:
3605 Some declarations changes to allow gtk-doc to document the widgets
3608 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-date-button.c: Document the widget.
3611 * src/hildon-time-button.c: Document the widget.
3613 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-picker-button.c: Document the widget.
3616 * src/hildon-touch-selector-entry.c: Document the widget.
3618 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3620 * doc/hildon-docs.sgml
3623 * src/hildon-check-button.h
3624 * src/hildon-check-button.c: New functions to create the Hildon
3628 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3630 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3632 * src/hildon-button.h
3633 * src/hildon-button.c
3634 (hildon_button_add_title_size_group)
3635 (hildon_button_add_value_size_group)
3636 (hildon_button_add_image_size_group)
3637 (hildon_button_add_size_groups): New functions to set size groups
3638 for the button labels and image.
3639 (hildon_button_new_full): Removed
3641 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3643 * src/hildon-time-selector.c
3644 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3645 in order to avoid a crash if gconf is not available
3647 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3649 * src/hildon-button.c (hildon_button_set_arrangement)
3650 (hildon_button_construct_child): Don't construct the button child
3651 before setting the arrangement.
3653 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3655 * src/hildon-program-private.h
3656 * src/hildon-program.c
3657 * src/hildon-program.h
3658 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3659 (hildon_program_peek_window_stack)
3660 (hildon_program_pop_window_stack)
3661 (hildon_program_go_to_root_window): HildonProgram now has a
3662 separate list for stackable windows. Functions are provided to
3663 manage that list with a stack-like API.
3665 * src/hildon-stackable-window.c: Stackable window management is
3666 now much simpler with the new HildonProgram API. Windows no
3667 longer need to be manually added to the program, they're
3668 automatically pushed to the top of the stack when shown.
3670 * examples/hildon-stackable-window-example.c: Updated example to
3671 reflect the API changes.
3673 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3675 * src/hildon-touch-selector.c: Comment out unimplemented
3676 hildon_touch_selector_insert_column() to avoid a compile warning.
3678 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3680 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3681 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3682 (hildon_touch_selector_set_column_selection_mode),
3683 (_hildon_touch_selector_set_model),
3684 (hildon_touch_selector_set_model):
3686 Complete review of HildonTouchSelector documentation.
3688 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3690 * doc/hildon-docs.sgml
3694 * src/hildon-gtk.c: Convenience functions for standard Gtk
3695 widgets, used to easily perform frequent operations.
3697 * src/hildon-button-helpers.h
3698 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3700 * src/hildon-helper.h
3701 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3702 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3704 * src/hildon-button.h
3705 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3707 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3709 * src/hildon-button.c (hildon_button_init)
3710 (hildon_button_set_arrangement, hildon_button_construct_child):
3711 Pack the image and the labels inside the same GtkAlignment so
3712 gtk_button_set_alignment() can be used
3714 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3716 * src/hildon-button.h
3717 * src/hildon-button.c
3718 (hildon_button_init, hildon_button_set_image)
3719 (hildon_button_set_image_position)
3720 (hildon_button_construct_child): New functions to add an image to
3723 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3725 * src/hildon-date-button.c
3726 * src/hildon-picker-button.c
3727 * src/hildon-time-button.c
3728 * src/hildon-button.c:
3729 (hildon_button_class_init): "size-flags" renamed to "size"
3730 (hildon_button_set_title): Hide the title label if set to NULL.
3732 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3734 HildonButtonFlags split into HildonButtonArrangement (to set the
3735 button layout) and HildonSizeType (which can be used for any
3738 * src/hildon-button.h
3739 * src/hildon-button.c
3740 (hildon_button_class_init)
3741 (hildon_button_set_arrangement)
3742 (hildon_button_set_property): New "size-flags"
3743 property. "arrangement-flags" renamed to "arrangement".
3744 (hildon_button_new, hildon_button_new_with_text)
3745 (hildon_button_new_full): Constructors updated to reflect type changes.
3747 * src/hildon-helper.h
3748 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3749 to set the size of a widget.
3753 * src/hildon-button-helpers.c
3754 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3756 * src/hildon-date-button.c
3757 * src/hildon-date-button.h
3758 * src/hildon-picker-button.c
3759 * src/hildon-picker-button.h
3760 * src/hildon-time-button.c
3761 * src/hildon-time-button.h: Updated widgets to reflect
3762 HildonButton API changes.
3764 * examples/hildon-button-example.c
3765 * examples/hildon-date-button-example.c
3766 * examples/hildon-picker-button-example.c
3767 * examples/hildon-picker-button-multicolumn-example.c
3768 * examples/hildon-time-button-example.c
3769 * examples/hildon-touch-selector-entry-example.c
3770 * examples/hildon-touch-selector-example.c: Updated examples to
3771 reflect HildonButton API changes.
3773 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3775 * doc/hildon-docs.sgml:
3777 * examples/Makefile.am:
3778 * examples/hildon-touch-selector-entry-example.c:
3780 * src/hildon-touch-selector-entry.c:
3781 * src/hildon-touch-selector-entry.h:
3784 Moved HildonTouchSelectorEntry from sandbox. Added its
3785 documentation and examples.
3787 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3789 * src/hildon-touch-selector.h:
3790 * examples/hildon-picker-button-multicolumn-example.c:
3791 (hildon_touch_selector_append_text_column): Add a gboolean
3792 parameter to determine if text must be centered in the column.
3794 * src/hildon-date-selector.c: (hildon_date_selector_init):
3795 * src/hildon-time-selector.c: (hildon_time_selector_init):
3796 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3797 (create_touch_selector): Update widgets and example to reflect
3800 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3802 * src/hildon-touch-selector.c:
3803 (hildon_touch_selector_set_active_iter): Set also the cursor in
3806 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3808 * doc/hildon-docs.sgml
3811 * src/hildon-toggle-button.c
3812 * src/hildon-toggle-button.h
3813 * src/hildon.h: Removed HildonToggleButton widget, a derived
3814 class is not necessary for this.
3816 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3818 * src/hildon-pannable-area.c,
3819 (hildon_pannable_area_realize),
3820 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3823 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3825 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3826 "done" button the default widget for the dialog.
3828 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3830 * src/hildon-touch-selector.c:
3831 (hildon_touch_selector_class_init),
3832 (hildon_touch_selector_get_property),
3833 (_hildon_touch_selector_set_model),
3834 (_hildon_touch_selector_has_multiple_selection),
3835 (hildon_touch_selector_has_multiple_selection):
3836 Add a "has-multiple-selection" property with a virtual
3837 has_multiple_selection() method to allow derived classes to
3838 override the default value for it. See the method and property
3839 documentation for details.
3841 * src/hildon-touch-selector.h: Add the new API.
3843 * src/hildon-picker-dialog.c: (requires_done_button): Call
3844 hildon_touch_selector_has_multiple_selection() instead of
3845 determining the need for a button itself.
3847 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3849 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3850 (_hildon_touch_selector_set_model),
3851 (hildon_touch_selector_set_model): Move working code to
3852 _hildon_touch_selector_set_mode(). Call the class method instead.
3854 * src/hildon-touch-selector.h: Add (*set_model) to
3855 HildonTouchSelectorClass.
3857 Make hildon_touch_selector_set_model() a virtual method, so that
3858 derived classes can extend it and do fancy stuff with the model.
3860 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3862 * configure.ac: Set back the tarname in AC_INIT to hildon.
3864 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3868 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3869 instead of libesd (NB#86876). Volume handling is still an open issue.
3871 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3874 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3876 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3877 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3878 derived class to ease placement of an entry widget in
3879 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3880 end, where the selector columns are packed now.
3882 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3884 * src/hildon-picker-button.c: Removed the simple _text() API.
3885 * src/hildon-picker-button.h: Likewise.
3887 * src/hildon-touch-selector.h:
3888 * src/hildon-touch-selector.c:
3889 (hildon_touch_selector_new_text),
3890 (hildon_touch_selector_append_text),
3891 (hildon_touch_selector_prepend_text),
3892 (hildon_touch_selector_insert_text):
3894 Moved the simple _text() API from HildonPickerButton to
3895 HildonTouchPicker, to provide better escalability and not to tie
3896 that API to HildonPickerButton.
3898 * examples/hildon-picker-button-example.c: (main): Example updated.
3900 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3902 * src/hildon-button.c: Updated documentation.
3904 * examples/hildon-button-example.c: Add the posibility to create
3905 the buttons using horizontal layout for title and value.
3907 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3909 * src/hildon-app-menu-private.h
3910 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3911 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3912 GtkSizeGroup for the filters, use the 'homogeneous' property of
3915 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3917 * examples/hildon-button-example.c: Updated example.
3919 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3921 * doc/hildon-docs.sgml:
3924 Update documentation.
3926 * examples/Makefile.am: Update renamed examples.
3928 * examples/hildon-picker-button-multicolumn-example.c:
3929 (create_touch_selector), (main): Update after the rename.
3931 * examples/hildon-touch-picker-example.c: Removed.
3932 * examples/hildon-touch-selector-example.c: (value_changed),
3933 (create_selector), (get_visible_content), (main): Renamed from
3934 hildon-touch-picker-example.c
3936 * src/Makefile.am: Updated renamed files.
3938 * src/hildon-date-button.c: (hildon_date_button_init),
3939 (hildon_date_button_get_date), (hildon_date_button_set_date):
3940 * src/hildon-date-selector.c: (hildon_date_selector_init),
3941 (_custom_print_func), (_update_day_model),
3942 (_manage_selector_change_cb),
3943 (hildon_date_selector_select_current_date),
3944 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3945 * src/hildon-date-selector.h:
3946 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3947 (hildon_picker_button_set_property),
3948 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3949 (hildon_picker_button_init), (hildon_picker_button_new_text),
3950 (hildon_picker_button_append_text),
3951 (hildon_picker_button_prepend_text),
3952 (hildon_picker_button_insert_text),
3953 (hildon_picker_button_set_selector),
3954 (hildon_picker_button_get_selector):
3955 * src/hildon-picker-button.h:
3956 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3957 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3958 (_update_title_on_selector_changed_cb), (requires_done_button),
3959 (_hildon_picker_dialog_set_selector),
3960 (hildon_picker_dialog_set_selector),
3961 (hildon_picker_dialog_get_selector):
3962 * src/hildon-picker-dialog.h:
3963 * src/hildon-time-button.c: (hildon_time_button_init),
3964 (hildon_time_button_get_time), (hildon_time_button_set_time):
3965 * src/hildon-time-selector.c: (hildon_time_selector_init),
3966 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3967 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3968 * src/hildon-time-selector.h:
3971 Massive code updates after the rename.
3973 * src/hildon-touch-picker.c: Removed.
3974 * src/hildon-touch-picker.h: Removed.
3976 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3977 (hildon_touch_selector_init), (hildon_touch_selector_map),
3978 (hildon_touch_selector_remove), (_default_print_func),
3979 (_selection_changed_cb), (_create_new_column),
3980 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3981 (hildon_touch_selector_append_text_column),
3982 (hildon_touch_selector_remove_column),
3983 (hildon_touch_selector_set_column_attributes),
3984 (hildon_touch_selector_insert_column),
3985 (hildon_touch_selector_get_num_columns),
3986 (hildon_touch_selector_get_column_selection_mode),
3987 (hildon_touch_selector_set_column_selection_mode),
3988 (hildon_touch_selector_set_print_func),
3989 (hildon_touch_selector_get_print_func),
3990 (hildon_touch_selector_get_active_iter),
3991 (hildon_touch_selector_set_active_iter),
3992 (hildon_touch_selector_get_selected_rows),
3993 (hildon_touch_selector_get_model),
3994 (hildon_touch_selector_set_model),
3995 (hildon_touch_selector_get_current_text),
3996 (_hildon_touch_selector_center_on_selected_items):
3997 * src/hildon-touch-selector.h: Renamed from
3998 hildon-touch-picker.[ch]
4000 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
4001 references, code examples, and related documentation.
4003 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4005 * doc/hildon-docs.sgml
4008 * src/hildon-toggle-button.c
4009 * src/hildon-toggle-button.h
4010 * src/hildon.h: New HildonToggleButton widget.
4012 2008-07-30 Alberto Garcia <agarcia@igalia.com>
4014 * src/hildon-button.c: Add API documentation.
4015 (hildon_button_set_size_groups): Check input parameters
4017 2008-07-30 Alejandro G. Castro <alex@igalia.com>
4019 * src/hildon-pannable-area.c
4020 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
4021 effect after reaching the movement thredshold. This way we start
4022 using the distance after passing the thredshold.
4024 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4026 * src/hildon-button.c: (hildon_button_set_property): Use the
4027 appropriate g_value_get_flags() method.
4029 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4031 * doc/hildon-docs.sgml:
4034 Add the touch pickers, picker dialogs, and picker button widgets
4035 to the documentation.
4037 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4039 * src/hildon-button.c: (hildon_button_set_property),
4040 (hildon_button_class_init): Make "arrangement-flags" a proper
4041 G_TYPE_FLAGS derived property.
4043 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4045 * examples/Makefile.am: Add below examples.
4046 * examples/hildon-date-button-example.c:
4047 * examples/hildon-picker-button-example.c:
4048 * examples/hildon-picker-button-multicolumn-example.c:
4049 * examples/hildon-time-button-example.c:
4050 * examples/hildon-touch-picker-example.c:
4052 Add examples for the recently added touch pickers,
4053 picker dialogs, and picker button widgets.
4055 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4057 * src/hildon-button.c: Add some API documentation
4059 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4061 * src/hildon-button.h
4062 * src/hildon-button.c
4064 (hildon_button_new_with_text): New constructor to create a button
4065 with no text at all.
4066 (hildon_button_init, hildon_button_set_arrangement)
4067 (hildon_button_set_title, hildon_button_set_value)
4068 (hildon_button_set_text)
4069 (hildon_button_construct_child): Hide the value when it's not used
4070 so the rest of the text is properly aligned.
4071 Allow creating buttons with arbitrary widgets inside (not just
4072 title/value labels).
4074 * examples/hildon-button-example.c (vertical_buttons_window)
4075 (horizontal_buttons_window): Update example to use new API.
4077 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4079 * src/Makefile.am: Added HildonTimeButton.
4080 * src/hildon-time-button.c: Added missing LGPL header.
4081 * src/hildon-time-button.h: Added missing LGPL header.
4082 * src/hildon.h: Add hildon-time-button.h
4084 Copied HildonTimeButton from sandbox to trunk. Future work on this
4085 widget must take place in trunk.
4087 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4089 * src/Makefile.am: Added HildonDateButton.
4090 * src/hildon-date-button.c: Update includes.
4091 * src/hildon.h: Add hildon-date-button.h
4093 Copied HildonDateButton from sandbox to trunk. Future work on this
4094 widget must take place in trunk.
4096 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4098 * src/Makefile.am: Added HildonPickerButton.
4099 * src/hildon-picker-button.h: Update includes.
4100 * src/hildon.h: Add hildon-picker-button.h
4102 Copied HildonPickerButton from sandbox to trunk. Future work on
4103 this widget must take place in trunk.
4105 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4107 * src/Makefile.am: Added HildonPickerDialog.
4108 * src/hildon-picker-dialog.c: Update includes.
4109 * src/hildon.h: Add hildon-picker-dialog.h
4111 Copied HildonPickerDialog from sandbox to trunk. Future work
4112 on this widget must take place in trunk.
4114 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4116 * src/Makefile.am: Added HildonTimeSelector.
4117 * src/hildon.h: Add hildon-time-selector.h
4119 Copied HildonTimeSelector widget from sandbox to trunk. Future
4120 work on this widget must happen in trunk.
4122 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4124 * src/Makefile.am: Added HildonDateSelector.
4125 * src/hildon.h: Add hildon-date-selector.h
4127 Copied HildonDateSelector 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 HildonTouchPicker.
4133 * src/hildon-touch-picker.c: Update includes.
4134 * src/hildon.h: Add hildon-touch-picker.h
4136 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4137 on this widget must happen in trunk.
4139 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4141 * src/hildon-pannable-area.c:
4142 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4144 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4146 * examples/hildon-app-menu-example.c (main): Let the window
4149 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4151 * src/hildon-pannable-area.c
4152 (hildon_pannable_area_class_init): Set the min value of the
4153 overshoot properties to zero, which points out that not
4154 overshooting allowed.
4156 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4158 Modified the procedure to get the widget at a point inside the
4159 pannable area when using the movement type signals. Now the user
4160 has to call a function to get the child, that way we just
4161 calculate the child in case the user really want to use it and not
4164 * src/hildon-marshalers.list: Modified the marshallers, now we do
4165 not have the widget as a parameter.
4167 * src/hildon-pannable-area.c
4168 (hildon_pannable_area_motion_notify_cb),
4169 (hildon_pannable_area_class_init),
4170 (hildon_pannable_get_child_widget_at): Removed the widget
4171 parameter from the signal callback. We have also refactored the
4172 emission of the signals.
4174 * src/hildon-pannable-area.h: Added a new method to the API to
4175 calculate a widget at a point inside the pannable area,
4176 hildon_pannable_get_child_widget_at.
4178 * examples/hildon-pannable-area-example-4.c
4179 (horizontal_movement): Modified the example to use the new API,
4180 added condition to control which widget is under the event. This
4181 way we can avoid scrolling laterally over other widgets.
4183 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4185 * src/hildon-pannable-area.c
4186 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4187 modes, we stop getting the pointer events due to returning the
4188 callback without properly calling the get pointer again. Fixed
4189 also an error using the hscroll and vscroll.
4191 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4193 * src/hildon-app-menu-private.h
4194 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4195 (hildon_app_menu_button_release, hildon_app_menu_init)
4196 (hildon_app_menu_class_init): Don't hide the menu on button
4197 release if the user didn't press outside first.
4199 * src/hildon-window.h
4200 * src/hildon-window.c (hildon_window_toggle_menu)
4201 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4202 hildon_window_toggle_menu a virtual function for the stackable
4203 window to override it.
4205 * src/hildon-stackable-window.h
4206 * src/hildon-stackable-window-private.h
4207 * src/hildon-stackable-window.c
4208 (hildon_stackable_window_realize)
4209 (hildon_stackable_window_finalize)
4210 (hildon_stackable_window_class_init)
4211 (hildon_stackable_window_init)
4212 (hildon_stackable_window_set_main_menu): New function to set the
4213 app menu of a HildonStackableWindow.
4215 * examples/hildon-app-menu-example.c: Remove the button to show
4216 the app menu, now it'll be shown when clicking on the title bar
4219 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4221 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4222 set the widget name if the arrangement flags do not specify
4225 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4227 * src/hildon-button.c: (hildon_button_set_property),
4228 (hildon_button_class_init), (hildon_button_new_full),
4229 (hildon_button_set_arrangement): Added "arrangement-flags"
4232 Make the HildonButtonFlags a construction-only property, to allow
4233 subclasses to set them properly.
4235 2008-07-21 Tim Janik <timj@imendio.com>
4237 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4238 insertion position after backspace, so additional digits are appended,
4241 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4243 * src/hildon-pannable-area.c,
4244 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4245 TODO list, it was complete and removed the g_debug and g_print
4248 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4250 Added the movement modes to the hildon-pannable-area, with this
4251 modes the developers can control in which directions the widget
4252 can scroll. They can also connect to signals in order to do
4253 something when that happens, allowing applications scroll. There
4254 is an example uploaded showing how to use it.
4256 * examples/Makefile.am:
4257 * examples/hildon-pannable-area-example-4.c: Added this example of
4258 an application using the modes.
4260 * src/hildon-marshalers.list: Added a new marshaller for the new
4263 * src/hildon-pannable-area.h: Added new enumerations and flags in
4264 order to control the movement modes and the new signals to warn
4265 about the movements in the area.
4267 * src/hildon-pannable-area.c:
4268 (hildon_pannable_axis_scroll),
4269 (hildon_pannable_area_scroll),
4270 (hildon_pannable_area_motion_notify_cb),
4271 (hildon_pannable_area_get_property),
4272 (hildon_pannable_area_set_property),
4273 (hildon_pannable_area_map),
4274 (hildon_pannable_area_class_init),
4275 (hildon_pannable_area_init),
4276 (hildon_pannable_area_jump_to): Added the modes to control the
4277 movement in the widget. We have added properties to control it,
4278 signals to warn about the movements and refactored some code.
4280 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4282 Changes required in order to allow vfast_factor set to zero to
4285 * src/hildon-pannable-area.c:
4286 (hildon_pannable_area_button_press_cb): Changed the condition, it
4287 is required for not allowing click when vfast_factor is zero.
4288 (hildon_pannable_area_timeout): Initialized velocity variables
4289 when we stop moving, it was less than 1 but not zero and we need
4290 to check zero in some situations.
4291 (hildon_pannable_area_class_init): Changed the default value of
4292 the speed factor, now the button_press is just sent in case the
4293 speed is 2 per cent of the max speed.
4294 (hildon_pannable_area_init): Initialization with 0.
4296 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4298 * src/hildon-pannable-area.c,
4299 (hildon_pannable_area_get_topmost): replaced
4300 gdk_window_get_children with gdk_window_peek_children, this way we
4301 do not have to free the list because it is not a copy.
4303 (hildon_pannable_axis_scroll),
4304 (hildon_pannable_area_scroll),
4305 (hildon_pannable_area_timeout),
4306 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4307 two parameters that were only used inside the
4308 hildon_pannable_area_scroll function.
4310 * examples/hildon-pannable-area-example.c,
4311 (get_sawtooth_label): Fixed small memory leak.
4313 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4315 More checks for the case where the overshoot is bigger than the
4318 * src/hildon-pannable-area.c:
4319 (hildon_pannable_draw_vscroll),
4320 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4321 to draw the slider of the scrollbar under the other scrollbar.
4322 (hildon_pannable_area_expose_event): added new checks to control
4323 the drawing of the overshooting area rectangle, in case it is too
4324 big for the area of the widget.
4325 (hildon_pannable_area_size_allocate): add more checks to avoid
4326 setting a position to the child widget outside the area.
4328 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4330 * src/hildon-pannable-area.c
4331 (hildon_pannable_area_size_allocate): Added conditions to control
4332 when overshooting is bigger than the allocated space for the
4333 children, this avoids negative allocations.
4335 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4337 * doc/hildon-docs.sgml
4339 * examples/Makefile.am
4340 * examples/hildon-button-example.c
4342 * src/hildon-button.c
4343 * src/hildon-button.h
4344 * src/hildon.h: Initial version of the new HildonButton widget,
4347 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4349 * src/hildon-pannable-area.c:
4350 (hildon_pannable_area_button_press_cb),
4351 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4352 (hildon_pannable_area_motion_notify_cb),
4353 (hildon_pannable_area_button_release_cb),
4354 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4355 (hildon_pannable_area_jump_to_child):
4357 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4359 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4361 * examples/Makefile.am
4362 * examples/hildon-pannable-area-touch-grid-example.c
4363 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4364 the Hildon Touch List and Hildon Touch Grid using the
4365 HildonPannableArea widget.
4367 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4369 * src/hildon-pannable-area.c,
4370 (hildon_pannable_area_button_press_cb),
4371 (hildon_pannable_area_refresh),
4372 (hildon_pannable_area_scroll),
4373 (hildon_pannable_area_motion_notify_cb),
4374 (hildon_pannable_area_button_release_cb),
4375 (hildon_pannable_area_expose_event),
4376 (hildon_pannable_area_add),
4377 (hildon_pannable_area_remove),
4378 (hildon_pannable_area_realize),
4379 (hildon_pannable_area_size_allocate),
4380 (hildon_pannable_area_class_init),
4381 (hildon_pannable_area_init),
4382 (hildon_pannable_area_scroll_to_child),
4383 (hildon_pannable_area_jump_to_child): Fixed the problem of
4384 removing the child from the GtkBin, we have rearranged the widget
4385 hierarchy, now there is no GtkAlignment which was not doing
4386 anything interesting but breaking some of the assumptions of
4387 GtkContainer. Now developers if they want to add a GtkAlignment
4388 they could, but it is not inside the area.
4390 We had to review the whole allocation/expose process, now it is
4391 improved and we save at least three signals which would be saving
4392 some time when rendering the widget. The allocation of the
4393 scrollbars is now made in the allocate method as usual.
4395 We have also added some conditions in order to control when there
4396 is no child of the pannable area. Maybe we will need more work
4399 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4401 * src/hildon-pannable-area.c,
4402 (hildon_pannable_area_dispose): Released the fade-out timeout when
4403 disposing the widget.
4405 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4407 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4408 zero, we are going to use that property in order to deactivate the
4410 (hildon_pannable_axis_scroll),
4411 (hildon_pannable_area_size_allocate): Added conditions to control
4412 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4413 call, now it is called in all situations and we can remove calls
4414 in the allocate method.
4415 (hildon_pannable_area_map): Control the situation when
4416 overshoot_max is zero, we do not need the timeout.
4417 (hildon_pannable_area_class_init): Added documentation in order to
4418 point out that setting zero to overshoot_max means deactivate
4421 NOTE: removed trailing whitespaces from my previous comments of
4424 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4426 * src/hildon-pannable-area.c
4427 (hildon_pannable_area_get_property),
4428 (hildon_pannable_area_set_property),
4429 (hildon_pannable_area_map),
4430 (hildon_pannable_area_class_init),
4431 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4432 to cause the widget give a hint about its panning abilities upon
4435 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4437 * src/hildon-pannable-area.c: Several documentation improvements.
4439 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4441 * src/hildon-program.c
4442 * src/hildon-stackable-window.c: Update documentation.
4444 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4446 * src/hildon-stackable-window.c (get_previous_window_if_last):
4447 Renamed get_last_window()
4448 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4449 (hildon_stackable_window_unset_program):
4451 (get_previous_window_if_last):
4452 Detect if the window hasn't been added to a HildonProgram.
4454 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4456 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4458 * src/hildon-pannable-area.c
4459 (hildon_pannable_area_button_press_cb),
4460 (hildon_pannable_axis_scroll),
4461 (hildon_pannable_area_scroll),
4462 (hildon_pannable_area_timeout),
4463 (hildon_pannable_calculate_vel_factor),
4464 (hildon_pannable_area_get_property),
4465 (hildon_pannable_area_set_property),
4466 (hildon_pannable_area_class_init),
4467 (hildon_pannable_area_init),
4468 (hildon_pannable_area_scroll_to),
4469 (hildon_pannable_area_jump_to),
4470 (hildon_pannable_area_scroll_to_child),
4471 (hildon_pannable_area_jump_to_child):
4472 * src/hildon-pannable-area.h: Added the new API functions:
4473 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4474 hildon_pannable_area_scroll_to_child,
4475 hildon_pannable_area_jump_to_child
4478 * examples/Makefile.am
4479 * examples/hildon-pannable-area-example-2.c
4480 * examples/hildon-pannable-area-example-3.c: Added these two new
4481 examples in order to test and show how the new APIs work.
4483 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4485 * examples/hildon-stackable-window-example.c (new_window):
4486 * src/Makefile.am (noinst_HEADERS):
4487 * src/hildon-program.c (hildon_program_go_to_root_window):
4488 * src/hildon-program.h:
4489 * src/hildon-stackable-window-private.h:
4490 * src/hildon-stackable-window.c:
4491 * src/hildon-stackable-window.h:
4492 Create hildon-stackable-window-private.h
4493 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4495 * examples/hildon-app-menu-example.c (create_menu):
4496 * examples/hildon-hvolumebar-insensitive-example.c (main):
4497 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4498 * examples/hildon-toolbar-seekbar-example.c (main):
4499 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4500 * src/hildon-banner.c (hildon_banner_set_property):
4501 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4502 Fix compilation warnings
4504 * src/hildon-window.c:
4507 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4509 * src/hildon-stackable-window.c
4510 (hildon_stackable_window_unset_program):
4511 Calculate correctly whether to show the previous window if the
4512 last one is removed from the stack.
4513 (hildon_stackable_window_go_to_root_window):
4514 Send delete events starting from the topmost window.
4515 Stop if one of the windows is not destroyed.
4517 (hildon_stackable_window_delete_event)
4518 (hildon_stackable_window_class_init):
4519 Ignore the delete event if the window is not the topmost one.
4521 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4523 * src/hildon-pannable-area.c
4524 (hildon_pannable_area_expose_event): Fixed a problem when
4525 selecting the background color of the scrollbars.
4527 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4529 * examples/hildon-stackable-window-example.c
4530 * src/hildon-stackable-window.c
4531 * src/hildon-stackable-window.h
4532 hildon_stackable_window_go_home() renamed to
4533 hildon_stackable_window_go_to_root_window()
4534 Send delete events to windows rather than closing them with
4535 gtk_widget_destroy()
4537 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4539 * src/hildon-pannable-area.c
4540 (hildon_pannable_area_button_release_cb): Fix overshooting in
4543 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4545 * src/hildon-pannable-area.c
4546 (hildon_pannable_area_init): Initially show the scroll indicators.
4547 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4549 Add initial effect showing the widget is pannable.
4551 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4553 * src/hildon-pannable-area.c
4554 (hildon_pannable_area_class_init)
4555 (hildon_pannable_area_set_property)
4556 (hildon_pannable_area_get_property)
4557 (hildon_pannable_area_button_press_cb):
4558 New 'velocity_fast_factor' property to decide which velocity is
4561 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4563 * src/hildon-pannable-area.c
4564 (hildon_pannable_draw_hscroll)
4565 (hildon_pannable_draw_vscroll):
4566 Use float variables to calculate the size of the scrollbars to
4567 avoid error propagation and resizing during scrolling.
4569 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4571 * src/hildon-pannable-area.c
4572 (hildon_pannable_draw_vscroll)
4573 (hildon_pannable_draw_hscroll):
4574 Define a minimum size for the scroll bars
4576 * src/hildon-stackable-window.c
4577 (hildon_stackable_window_go_home): Fix compilation warning
4578 (get_last_window): Minor optimizations
4579 (hildon_stackable_window_class_init): Fix initialization of
4582 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4584 * src/hildon-stackable-window.c: Fixed typos in doc
4586 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4588 * src/hildon-pannable-area.c
4589 (hildon_pannable_area_scroll):
4590 Calculate here whether we need to scroll instead of using the booleans
4591 that tell us whether to /draw/ the scrolling bars.
4593 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4595 * src/hildon-app-menu.h
4597 * src/hildon-app-menu.c
4598 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4599 multiple filter groups related code and API. Now we support only
4601 * examples/hildon-app-menu-example.c:
4603 Update to reflect API changes.
4605 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4607 * src/hildon-stackable-window.c
4608 (hildon_stackable_window_class_init):
4609 Add hildon_stackable_window_realize.
4610 (hildon_stackable_window_realize):
4611 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4612 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4613 to apply theming and behavior specific to HildonStackableWindow
4616 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4618 * src/hildon-note.c (hildon_note_button_release):
4619 Close information notes also when tapping on them
4621 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4623 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4624 ELASTICITY, refactor and review, fix some issues with drawing
4627 * src/hildon-pannable-area.c:
4628 (hildon_pannable_area_button_press_cb): removed the conditions to
4629 avoid clicks when overshooting. It is not required
4631 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4632 define. Refatored and reviewed the code, now we do not need to
4633 manage velocity in motion_notify.
4635 (hildon_pannable_area_motion_notify_cb): We have moved the code
4636 that controls the area_scroll to the axis_scroll function and get
4637 rid of duplicated code.
4639 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4641 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4643 (hildon_pannable_draw_vscroll),
4644 (hildon_pannable_draw_hscroll): Fixed the problems with the
4645 scrollbar drawing, now we do not use two surfaces, it is easier
4646 and saves resources.
4648 (hildon_pannable_area_get_property): Style modification.
4650 (hildon_pannable_area_class_init): Changed some default values.
4652 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4654 * src/hildon-stackable-window.c: Fix some typos in the
4657 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4659 * src/hildon-dialog.c:
4660 Change indentation style
4663 (hildon_note_button_release):
4664 Use root coordinates to check if the release event happened
4667 * src/hildon-app-menu.c
4668 (hildon_app_menu_button_release):
4669 Remove unnecessary check
4671 * examples/hildon-app-menu-example.c
4673 Add cast to fix warning
4675 * src/hildon-app-menu.c
4676 (hildon_app_menu_class_init):
4677 New inner-border style property.
4678 Set all default spacings to 16
4679 (hildon_app_menu_init):
4680 Use vertical-spacing to set the space between filter buttons and
4681 regular menu buttons.
4682 Set the default container border using the inner-border value.
4684 * examples/hildon-app-menu-example.c
4686 Don't set the menu border explicitly, now we have the inner-border
4687 style property for that.
4689 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4691 * src/hildon-app-menu.c (hildon_app_menu_init):
4692 Make the window modal
4694 * src/hildon-note.c (hildon_note_map)
4695 * src/hildon-app-menu.c (hildon_app_menu_map):
4696 Destroy the grab window if we're unable to grab the pointer
4698 * src/hildon-app-menu-private.h
4699 * src/hildon-app-menu.c
4700 (hildon_app_menu_init, hildon_app_menu_finalize)
4701 (hildon_app_menu_map, hildon_app_menu_unmap)
4702 (hildon_app_menu_button_release)
4703 (grab_transfer_window_get):
4704 Bring back the grab window
4705 (hildon_app_menu_realize):
4706 Decorate the window, set WM hint for Matchbox
4708 * src/hildon-note.c (hildon_note_realize):
4709 * src/hildon-banner.c (hildon_banner_realize):
4710 Add WM hints for Matchbox
4712 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4714 * src/hildon-app-menu-private.h
4715 * src/hildon-app-menu.c
4716 (hildon_app_menu_init, hildon_app_menu_finalize)
4717 (hildon_app_menu_map, hildon_app_menu_unmap)
4718 (hildon_app_menu_button_release):
4719 Remove the grab window, it's not needed anymore
4721 * src/hildon-program.c
4722 Fixed typo in documentation
4724 * src/hildon-app-menu.h
4725 * src/hildon-app-menu.c
4726 * examples/hildon-app-menu-example.c
4727 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4729 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4732 Added new transfer_window and close_if_pressed_outside private
4734 (hildon_note_rebuild):
4735 Don't add a cancel button to the information note. It will be
4736 closed when tapping outside
4737 Remove the comment about the OK button in the documentation
4738 (hildon_note_realize):
4739 Set the notification type hint
4740 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4741 Grab/ungrab pointer and keyboard if the note has to be closed when
4743 (hildon_note_button_release):
4744 Close the note when tapping outside (if applicable)
4746 * src/hildon-app-menu.c
4747 Grab/ungrab pointer and keyboard on map/unmap
4748 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4749 Close the menu on button release, not button press
4751 * src/hildon-banner.c
4752 (hildon_banner_set_property)
4753 (hildon_banner_check_position):
4754 Make the banner use the full width of the screen
4755 (hildon_banner_show_information)
4756 (hildon_banner_show_information_with_markup):
4757 Don't display an icon by default
4759 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4761 Added fading scrollbars and adapted all the overshooting code to
4762 horizontal scrolling. We have also fixed bugs with overshooting
4763 and current fading implementation.
4765 * src/hildon-pannable-area.c
4766 (hildon_pannable_area_scroll_indicator_fade): Time out function
4767 used to change the transparency of the scrollbars.
4769 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4770 control and fixed a problem with fading, we now remove the fade
4771 timeout before adding a new one.
4773 (hildon_pannable_axis_scroll):
4774 (hildon_pannable_area_scroll):
4775 (hildon_pannable_area_timeout): Added this functions so we can use
4776 the scroll code both for vertical and horizontal.
4778 (hildon_pannable_area_motion_notify_cb):
4779 (hildon_pannable_area_button_release_cb): Added the horizontal
4780 scrolling control, fixed a problem with the overshooting timeout.
4782 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4783 painting of the scrolls.
4785 (hildon_pannable_draw_vscroll):
4786 (hildon_pannable_draw_hscroll):
4787 (hildon_pannable_area_expose_event):
4788 Draw both scrollbars and rectangles in the overshooting area.
4790 (hildon_pannable_area_get_property):
4791 (hildon_pannable_area_set_property):
4792 Modified the overshoot property to overshoot_max
4794 (hildon_pannable_area_map):
4795 Replaced the comments symbols.
4797 (hildon_pannable_area_size_allocate):
4798 (hildon_pannable_area_class_init):
4799 (hildon_pannable_area_init): Added horizontal scroll, fading
4800 effect properties, fixed a problem when overshooting in the bottom
4803 * examples/hildon-pannable-area-example.c:
4804 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4805 looks better in the example.
4807 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4809 * src/hildon-window.c
4810 * src/hildon-window.h
4811 (hildon_window_class_init)
4812 (hildon_window_unset_program)
4813 (hildon_window_unset_program_real):
4814 Make unset_program a virtual function
4816 * src/hildon-stackable-window.c
4817 * src/hildon-stackable-window.h
4818 Added hildon_stackable_window_go_home()
4820 * examples/Makefile.am
4821 * examples/hildon-stackable-window-example.c
4822 HildonStackableWindow example
4824 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4826 * hildon-pannable-area.c: Added the overshoot property and removed
4827 the OVERSHOOT define. Fixed an indent style error.
4828 (hildon_pannable_area_motion_notify_cb):
4829 (hildon_pannable_area_get_property):
4830 (hildon_pannable_area_set_property): Add overshoot property.
4832 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4835 (hildon_pannable_area_class_init): Installed the new property.
4837 * hildon-pannable-area-example.c: Added a sawtooth function, this
4838 way it is easier to check the movement in the pannable.
4839 (get_sawtooth_label): Added this function.
4840 (main): Now we get the labels from the new get_sawtooth_label
4843 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4845 * src/hildon-app-menu.h
4846 * src/hildon-app-menu.c
4847 Renamed API variables for consistency
4849 (hildon_app_menu_popup): Use also the default window size to
4850 decide where to place the menu
4852 (hildon_app_menu_init, hildon_app_menu_class_init): New
4853 external-border style property
4855 2008-05-26 Michael Natterer <mitch@imendio.com>
4857 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4858 widget_class->tap_and_hold_setup signal slot doesn't exist any
4859 longer, stop overriding it.
4861 (hildon_time_editor_init): g_signal_connect() to the
4862 tap-and-hold-setup signal instead.
4864 (hildon_time_editor_entry_keypress): add cast to fix warning.
4866 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4868 * doc/hildon-docs.sgml
4870 * examples/Makefile.am
4871 * examples/hildon-app-menu-example.c
4873 * src/hildon-app-menu-private.h
4874 * src/hildon-app-menu.c
4875 * src/hildon-app-menu.h
4877 New HildonAppMenu widget
4879 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4881 Rearranged the inheritance of the pannable area, now it inherits
4882 from GtkBin. This will allow us to control the event_window and
4883 the allocation process of the widget, required for some effects.
4885 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4886 GtkBin structures. * src/hildon-pannable-area.c: Added the
4887 event_window variable.
4888 (hildon_pannable_area_button_press_cb):
4889 (hildon_pannable_area_button_release_cb):
4890 (hildon_pannable_area_motion_notify_cb):
4891 Changed the signature of the method, now we override the event
4892 callback instead of connecting to the signal.
4894 (hildon_pannable_area_realize):
4895 (hildon_pannable_area_unrealize):
4896 (hildon_pannable_area_map):
4897 (hildon_pannable_area_unmap):
4898 (hildon_pannable_area_size_allocate):
4899 Added functions to control the widget construction. We add a
4900 INPUT_ONLY window and we put it over the widgets inside the
4901 container, this event_window handles the events.
4903 (hildon_pannable_area_class_init):
4904 Replaced the signal connections with overrides of the event
4907 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4909 Bouncing effect added when touching the borders, you can change
4910 the elasticity of the border changing the ELASTICITY define.
4912 * src/hildon-pannable-area.c: Added ELASTICITY define.
4913 (hildon_pannable_area_timeout): Added inverse velocity when
4914 touching the border of the child widget, that causes a bounce.
4916 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4918 Improved performance, we now do not go to the X server in order to
4919 get the list of window children. Apparently the effect is the
4920 same, we have to be careful and check if this breaks something in
4923 * src/hildon-pannable-area.c:
4924 (get_ordered_children): Removed this function.
4925 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4926 the children windows function with gdk_window_get_children.
4928 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4930 * src/hildon-pannable-area.c:
4931 (hildon_pannable_area_dispose): Fixed a crash when closing the
4932 window and kinetics is activated.
4934 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4936 * src/hildon-pannable-area.h
4937 * src/hildon-pannable-area.c
4938 Changed indentation style to meet the one used in Hildon
4940 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4942 Reviewed the interaction of the AUTO mode, now we use the time
4943 attribute of the events and calculate the velocity in the motion,
4944 doing a gimp like calculation. The velocity is calculated in each
4945 motion event using the last velocity and the current one, the
4946 SMOOTH_FACTOR controls the percentage of the new velocity we use.
4948 * src/hildon-pannable-area.c: Replaced the time based algorithm
4950 (hildon_pannable_area_motion_notify_cb): now we do not launch the
4951 timeout for the AUTO mode when we are still moving the cursor. We
4952 added also the velocity calculation in this function.
4953 (hildon_pannable_area_button_release_cb): launch the timeout in
4954 case we are in AUTO mode. There are still some constants here that
4955 come from the old implementation that should be reviewed and
4958 2008-05-15 Alberto Garcia <agarcia@igalia.com>
4960 * doc/hildon-docs.sgml
4963 * src/hildon-stackable-window.c
4964 * src/hildon-stackable-window.h
4966 New HildonStackableWindow widget
4968 * examples/hildon-dialog-example.c
4969 * examples/hildon-pannable-area-example.c
4972 2008-05-14 Alberto Garcia <agarcia@igalia.com>
4974 * src/hildon-dialog.c
4975 (hildon_dialog_new_with_buttons): New constructor.
4977 * examples/hildon-dialog-example.c
4978 (main): Update the example to use the new
4979 hildon_dialog_new_with_buttons().
4981 * examples/hildon-pannable-area-example.c
4982 (main): Update example.
4984 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4986 * doc/hildon-docs.sgml
4988 Added HildonPannableArea to the documentation.
4990 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4992 * doc/visual_index.xml
4993 Fix reference to HildonLoginDialog in documentation
4995 * doc/hildon-docs.sgml
4997 * examples/Makefile.am
4998 * examples/hildon-dialog-example.c
5000 * src/hildon-dialog.c
5001 * src/hildon-dialog.h
5003 New HildonDialog widget.
5005 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5007 * src/hildon-pannable-area.c
5008 Merge latest changes (r4318, r4342) from libmokoui trunk
5010 2008-05-09 Alberto Garcia <agarcia@igalia.com>
5012 * examples/Makefile.am
5013 * examples/hildon-pannable-area-example.c
5015 * src/hildon-pannable-area.c
5016 * src/hildon-pannable-area.h
5018 New HildonPannableArea widget.
5020 2008-04-15 18:05:19 <timj@imendio.com>
5022 * src/hildon-banner.c: revert the recent change, that introduced
5023 gtk_window_present() calls. this reopens:
5024 Bug 78481 - [freetest] information banners are hidden under browser menu
5025 But resolves another variant of:
5026 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5028 2008-04-15 13:21:13 <timj@imendio.com>
5030 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
5031 recreated its layout, spotted by Kris. this fixes all remaining
5032 artefacts and stability issues with the banner code. in particular:
5033 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5035 2008-04-14 16:52:59 <timj@imendio.com>
5037 * src/hildon-banner.c: guard force_to_wrap_truncated() against
5038 operating on unrealized widgets, fixes:
5039 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
5041 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
5043 2008-04-09 Kristian Rietveld <kris@imendio.com>
5045 Fixes: NB#77775: Media Player, Save Now playing list, too long name
5046 makes banner disappear.
5047 Fixes: NB#79182: info banner flickering with certain message lengts.
5049 * src/hildon-banner.c (hildon_banner_constructor),
5050 (hildon_banner_init), (hildon_banner_set_text),
5051 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
5052 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
5053 FALSE, reset size requests of label and banner,
5054 (force_to_wrap_truncated): when the text is too wide, always enforce
5055 the maximum possible width instead of recalculating it from the
5056 layout; enforce the maximum banner height of 3 lines,
5057 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
5058 nicer wrapping and no truncated chars if space gets tight.
5060 * src/hildon-banner-private.h: add has_been_wrapped and
5061 has_been_truncated fields.
5063 2008-04-07 Sven Herzberg <sven@imendio.com>
5065 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5066 local values in hildon_date_editor_size_allocate
5068 * src/hildon-date-editor.c: moved the real allocation code into the
5071 2008-04-07 Sven Herzberg <sven@imendio.com>
5073 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5074 local values in hildon_date_editor_size_allocate
5076 * src/hildon-date-editor.c: merged the two if() branches together
5078 2008-04-07 Sven Herzberg <sven@imendio.com>
5080 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5081 local values in hildon_date_editor_size_allocate
5083 * src/hildon-date-editor.c: changed the arguments of the if()
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: split the calculation of the allocation
5092 from the real allocation
5094 2008-03-27 Michael Natterer <mitch@imendio.com>
5096 Fixes: NB#81696: The passcode is not overwritten even after
5099 * src/hildon-code-dialog.c
5100 (hildon_code_dialog_button_clicked)
5101 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5102 because that doesn't overwrite selected text. Instead, emit the
5103 "commit" signal on the entry's im_context so the entry's normal
5104 insert logic is triggered. Set the cursor to the end of the entry
5105 after each insert operation so that we *only* insert in the middle
5106 of the text if something was selected.
5108 2008-03-27 Michael Natterer <mitch@imendio.com>
5110 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5111 selector cannot be opened
5113 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5114 when the popup color selector is created. Please connect to this
5115 signal in order to set the dialog's help ID.
5117 2008-03-25 Sven Herzberg <sven@imendio.com>
5119 Fixes: MB#1212: Hide info banners (infoprints) on click
5121 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5122 extracted the close event simulation into an extra function
5123 (hildon_banner_button_press_event): simulate a close event and destroy
5124 the widget if the event wasn't handled
5125 (hildon_banner_class_init): added the button_press_event handler
5126 (hildon_banner_init): added button-press events to the widget
5128 2008-03-25 Sven Herzberg <sven@imendio.com>
5130 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5131 Patch from: Mohammad Anwari <mdamt@maemo.org>
5133 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5134 instead of the right in RTL mode
5135 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5136 breadcrumb button list in RTL mode
5137 * src/hildon-caption.c: mirror the appearance of the caption widget in
5139 * src/hildon-date-editor.c: mirror appearance of the date editor in
5141 * src/hildon-time-editor.c: mirror appearance of the time editor in
5143 * src/hildon-window.c: fix the position of the popup in RTL mode
5145 2008-03-25 Sven Herzberg <sven@imendio.com>
5147 Amendment to the fix of NB#22072. Fix compilation.
5149 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5151 2008-03-19 Sven Herzberg <sven@imendio.com>
5153 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5156 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5157 timeout id properly when the timeout will disappear this leaves no
5158 artifacts around in the destroy(); there will only be the timeout
5159 created by hildon_banner_ensure_timeout() and adding a new timeout
5160 will also work if the timeout gets removed because the timeout_handler
5163 2008-03-19 Michael Natterer <mitch@imendio.com>
5165 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5167 * src/hildon-volumebar.c
5168 * src/hildon-vvolumebar.c
5169 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5170 the widget becomes focussable at all.
5172 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5173 set the focus to wither the mute button or the volumebar.
5175 Remove own "can-focus" property and instead listen to
5176 notify::can-focus in order to update the widget's state.
5178 Implement GtkWidget::focus() and make sure we can also *leave* the
5179 widget, not only enter it, depending on volumebar orientation and
5180 requested focus direction.
5182 Clean up set_mute() to cooperate nicely with all the above.
5184 2008-03-04 Michael Natterer <mitch@imendio.com>
5186 Fixes: NB#78481: information banners are hidden under browser menu
5188 * src/hildon-banner.c: call gtk_window_present() on the banners so
5189 they are risen if they are already visible.
5191 2008-03-03 Sven Herzberg <sven@imendio.com>
5193 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5195 * examples/hildon-window-menu-example.c: (main): extended the window
5196 menu example to serve as a testcase for automatically added
5197 accelerator groups, too
5198 * src/hildon-window.c: (hildon_window_add_accel_group),
5199 (hildon_window_set_menu): added patch by Tommi Komulainen
5201 2008-03-03 Sven Herzberg <sven@imendio.com>
5203 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5205 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5206 knowledge about the border allocators used within GTK+
5208 2008-02-26 Sven Herzberg <sven@imendio.com>
5210 Fixes: MB#2981: Build with asserts broken
5212 * src/hildon-date-editor.c,
5213 * src/hildon-number-editor.c,
5214 * src/hildon-time-editor.c,
5215 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5216 the proper GType instance check
5218 2008-02-25 Sven Herzberg <sven@imendio.com>
5220 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5222 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5223 * examples/hildon-window-menu-example.c: (main): explicitly show
5225 * src/hildon-window.c:
5226 (hildon_window_set_main_menu): moved most of the code from set_menu()
5227 to this place; skipped the call to gtk_widget_show_all(); also didn't
5228 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5229 (hildon_window_set_menu): removed most of the code, just keep the
5230 questionable gtk_widget_show_all()
5231 * src/hildon-window.h: added the new function and deprecate the old
5234 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5240 * debian/changelog: Updating.
5242 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5245 * pkgconfig/Makefile.am:
5246 * pkgconfig/hildon.pc.in:
5249 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5250 use newly created API_MAJOR_VERSION.
5252 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5258 * debian/changelog: Updating.
5260 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5262 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5264 Add outer_border style property, we use it but don't define it (!).
5268 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5270 * examples/hildon-bread-crumb-trail-example.c (main):
5274 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5276 Fix logic for the bread crumb trail node removal.
5280 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5286 * debian/changelog: Updating.
5288 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5290 Patch by Alejandro to get/set passwords dialogs accesibility.
5292 * hildon-1/src/hildon-get-password-dialog.c:
5293 * hildon-1/src/hildon-set-password-dialog.c:
5294 Set atk_set_name to the passwd entries in order to allow
5295 accessibility by name on this entries.
5297 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5302 * debian/control: Updating gtk dep.
5304 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5306 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5307 USE_MAEMO_GTK is enabled.
5309 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5311 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5312 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5314 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5320 * debian/changelog: Updating.
5322 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5324 * examples/Makefile.am:
5325 * examples/hildon-logical-color-example.c:
5326 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5327 applied + adding a test case. Fixes: NB#71660.
5329 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5331 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5332 to be visible, fixes warning on map for windows without toolbars.
5334 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5336 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5337 2.11.0, add a check for that besides the MAEMO_GTK check.
5339 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5345 * debian/changelog: Updating.
5347 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5349 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5350 visibility. Fixes: NB#70842 and MB#615.
5352 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5354 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5355 set the separator as no-show-all so it doesn't unintentionally appear when
5356 someone does a show_all.
5358 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5360 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5361 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5362 toplevel item. Fixes: NB#62031
5364 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5366 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5367 fix the name of the function in the docs.
5369 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5375 * debian/changelog: Updating.
5377 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5379 * examples/hildon-banner-long-example.c: Adding a test-case for long
5382 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5384 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5386 * src/hildon-color-chooser-dialog.c:
5387 * src/hildon-color-chooser.c:
5388 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5389 memory leaks in font selector and color selector. Fixes: NB#70499 and
5392 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5394 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5396 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5398 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5399 little bit bigger. Fixes: #NB63694.
5401 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5407 * debian/changelog: Updating.
5409 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5412 * doc/hildon-docs.sgml:
5413 * doc/images/bread-crumb-trail.png:
5414 * doc/images/calendar-popup.png:
5415 * doc/images/caption.png:
5416 * doc/images/code-dialog.png:
5417 * doc/images/color-button.png:
5418 * doc/images/color-chooser-dialog.png:
5419 * doc/images/color-chooser.png:
5420 * doc/images/controlbar.png:
5421 * doc/images/date-editor.png:
5422 * doc/images/font-selection-dialog.png:
5423 * doc/images/get-password-dialog.png:
5424 * doc/images/hvolumebar.png:
5425 * doc/images/login-dialog.png:
5426 * doc/images/note.png:
5427 * doc/images/number-editor.png:
5428 * doc/images/range-editor.png:
5429 * doc/images/seekbar.png:
5430 * doc/images/set-password-dialog.png:
5431 * doc/images/sort-dialog.png:
5432 * doc/images/time-editor.png:
5433 * doc/images/time-picker.png:
5434 * doc/images/vvolumebar.png:
5435 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5436 Adding the bread-crumb-trial and helpers to the documentation.
5438 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5440 * examples/hildon-find-toolbar-example.c:
5441 * src/hildon-find-toolbar.c:
5442 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5443 actually continue firing the other handlers if connected. Adding a new
5445 hildon_find_toolbar_get_last_index that gets the index of the most
5446 recently added (last) item. Fixes: NB#52301.
5448 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5450 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5451 behaviour. Fixes: NB#68610.
5453 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5455 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5458 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5460 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5461 when realizing the banner. Should make the infonbanner effect a bit more
5464 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5466 * src/hildon-volumebar.c:
5467 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5468 hildon_volumebar_set_range_insensitive_message and
5469 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5471 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5473 * src/hildon-window.c: Fixing the border freeing on destroy.
5475 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5477 * src/hildon-code-dialog-private.h:
5478 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5479 kw keyboard support in HildonCodeDialog.
5481 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5487 * debian/changelog: Updating.
5489 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5491 * src/hildon-date-editor.c:
5492 * src/hildon-number-editor.c:
5493 * src/hildon-private.c:
5494 * src/hildon-private.h:
5495 * src/hildon-time-editor.c:
5496 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5497 handling in subclassed composite widgets. Fixes: NB#66628.
5499 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5501 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5502 from destroy_ callback as it introduces problems in async dbus signal
5503 handlers. Fixes NB#66673.
5505 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5507 * examples/hildon-hvolumebar-example.c:
5508 * src/hildon-volumebar.c: Improving the focus handling in the
5509 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5510 set_property accessor so that "mute" property can be actually set. I'm
5511 scared that nobody noticed it's totally broken.
5513 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5515 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5518 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5520 * src/hildon-calendar.c:
5521 * src/hildon-number-editor.c:
5522 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5523 matches the spec of 6 chars per second. Fixes: NB#60489.
5525 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5527 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5528 gtk_style_lookup_color sometime returns FALSE even though color was
5529 found and values were filled properly. Weird. Removing the warning for the
5532 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5534 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5535 expand vertically. Adding some extra space to the find toolbar buttons to
5536 make them thumbable. Fixes NB#66060.
5538 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5540 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5541 popup with "Ok" and "Cancel". Fixes NB#59299.
5543 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5545 * src/hildon-calendar.c: Process all window updates before executing next
5546 timeout. Fixes: NB#54146.
5548 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5554 * debian/changelog: Updating.
5556 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5558 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5559 the client event and ignore it, since we use the delete event to close
5562 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5564 * src/hildon-helper.c: Remove the bogus warning about color not being
5565 found. Fixes NB#58352.
5567 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5569 * examples/Makefile.am:
5570 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5571 HildonSeekbar widget inside a toolbar.
5573 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5575 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5576 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5577 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5578 don't want to be closed by non-temporary windows on map.
5580 Also use G_DEFINE_TYPE instead of manually typed code.
5582 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5589 * debian/rules: Updating.
5591 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5593 * examples/Makefile.am:
5594 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5595 bug NB#61128. Strangely it works.
5597 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5599 * src/hildon-date-editor.c: When the date editor entry has been changed
5600 but the numbers of characters < max, turn off the skip validation flag.
5601 Prevents a situation when we enter first a valid year and later re-write
5602 it with an invalid one. Fixes NB#60154.
5604 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5606 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5607 code dialog. Fixes NB#64355.
5609 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5611 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5612 switching the page. Fixes NB#49374.
5614 * examples/Makefile.am:
5615 * examples/hildon-wizard-dialog-example.c: Adding an example for
5616 HildonWizardDialog that shows how to handle manual sensitivity setting on
5619 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5623 * src/hildon-version.h.in:
5624 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5626 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5628 * src/hildon-volumebar.c: Updating the docs.
5630 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5636 * debian/changelog: Updating.
5638 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5640 * src/hildon-find-toolbar.c:
5641 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5642 selected item: hildon_find_toolbar_set_active,
5643 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5644 hildon_find_toolbar_get_active_iter . They correspond to respective
5645 GtkComboBox functions.
5647 * examples/Makefile.am:
5648 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5651 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5653 * examples/Makefile.am:
5654 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5657 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5658 when font size > 32 and we pack a focusable widget inside. Actually using
5659 the default response would work too, but since we don't show default
5660 response state in any way (no theming) it would not be visible to the
5661 user. Fixes NB#63430.
5663 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5665 * src/hildon-date-editor.c: Adding the missing variable setter in the
5666 set_property handler. Fixes NB#54182.
5668 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5670 * src/hildon-window.h: Changing the long key press time from 1500ms to
5671 800ms as requested in NB#63700. I have a bad feeling about this, let's
5672 see... Fixes NB#63700.
5674 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5676 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5677 hildon_time_picker_map, hildon_time_picker_realize,
5678 hildon_time_picker_style_set): Split the contents of map to more
5679 appropriate functions; set window decorations on realize and update
5680 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5682 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5687 * debian/changelog: Updating.
5689 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5691 * src/Makefile.am: fixed installation of the header files
5693 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5699 * debian/changelog: Updating.
5701 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5703 * configure.ac: Removing some remaining of --enable-xan.
5705 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5707 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5708 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5710 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5711 2.10.12-osso6 because the move-focus signal needs to be available in
5714 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5716 * examples/Makefile.am:
5717 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5718 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5719 fine. Prolly NB#61128 is fixed now.
5721 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5723 * src/hildon-volumebar.c:
5724 * src/hildon-volumebar.h: Adding the
5725 hildon_volumebar_set_range_insensitive_message and
5726 hildon_volumebar_set_range_insensitive_messagef functions to set
5727 insensitive message on the slider of the volumebar. Fixes NB#61129.
5729 * examples/Makefile.am:
5730 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5731 test the new insensitive messsage functionality on HildonVolumebar.
5733 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5735 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5738 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5740 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5741 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5742 button on after clearing the trail.
5744 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5746 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5748 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5750 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5751 by splitting the installed headers in generated and non-generated groups. Use
5752 only the non-generated headers to create the hildon-enum-types.h file.
5754 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5756 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5758 * src/hildon-window.c: Hide the window before performing the destroy.
5759 Should make the app closing a little tiny bit more snappy.
5761 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5763 * src/hildon-seekbar.c: add gtkrange.h header
5764 * src/hildon-caption.c: remove unused variable
5766 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5768 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5771 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5777 * debian/changelog: Updating.
5779 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5781 * src/hildon-window.c (hildon_window_window_state_event,
5782 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5783 escape timeout on focus-out-event rather than notify::is-topmost; the
5784 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5786 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5788 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5789 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5791 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5793 * src/hildon-window: actually, you need to use the macro always, there's
5794 no private pointer in the instance structure. We should have cleaned this up
5795 when we had the chance...
5797 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5799 * src/hildon-window.c: do not get the private date from HildonWindow before
5800 it passes the g_return_if_fail check. Once it's passed the test, there's no
5801 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5802 if you are only going to access the data once. Whitespace cleanups.
5804 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5806 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5807 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5809 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5815 * debian/changelog: Updating.
5817 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5819 * src/hildon-window.c: When destroying the window, remove (if exists) the
5820 escape timeout handler. Fixes #NB59276.
5822 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5824 * src/hildon-banner.c: When realizing the widget, set the window
5825 transiency. Setting the transiency in the gobject constructor is not
5826 good, as the widget is not realized at that point. Fixes: #NB56624.
5828 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5830 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5831 Add padding for future expansions.
5833 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5835 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5836 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5837 will fake an activation on the previous to the last item of the trail, so
5838 the effect can be overrided by the developer as usual.
5839 Also change the callback for the back button to do the same thing, so its
5840 effect can be overrided too. Fixes: NB#58982
5842 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5844 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5845 HildonCaption. Fixes NB#52379.
5847 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5849 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5850 the internal state of the trail after the user has had the chance of executing
5851 his handler for the signal. Specifically, it may happen that the activated button
5852 is removed and the user still lets the default handler run. This would segfault
5855 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5857 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5858 scrollbar to the preview dialog. Fixes NB#54147.
5860 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5862 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5863 max/min year properties can be altered, so the client can modify it
5864 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5866 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5868 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5869 hildonlike by default. Fixing a problem with disappearing arrows when
5870 scrolling through months and years. Fixes NB#54127.
5872 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5874 * examples/hildon-date-editor-example.c: Adding error callback to the date
5877 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5883 * configure.ac: Updating.
5885 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5887 * configure.ac: Adding a special '--enable-xan' configure option that
5888 turns off the -Werror compilation setting. Usefull for development.
5890 * src/hildon-calendar.c:
5891 * src/hildon-number-editor.c:
5892 * src/hildon-time-picker.c: Adding the 5* multiplier to
5895 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5897 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5898 instead of g_object_ref + gtk_object_sink.
5900 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5906 * debian/changelog: Updating.
5908 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5910 * src/hildon-color-chooser-dialog.c:
5911 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5912 straight from Tommi labs.
5914 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5916 * examples/hildon-finger-example.c: Correcting the header file path.
5918 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5919 the changed signal. Fixes a small memory leak.
5921 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5925 * src/hildon-banner.c: Importing several usefull fixes from the
5926 ubuntu-mobile branch.
5928 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5930 * examples/Makefile.am:
5931 * examples/hildon-finger-example.c: Adding a finger-checking code
5934 * src/hildon-font-selection-dialog.c: Do not allocate the color
5935 structure using the g_new. Fixes NB#54061.
5937 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5939 * src/hildon-helper.c: Correcting tabs in file.
5941 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
5943 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5944 control the visibility of the children.
5946 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5948 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5954 * debian/changelog: Updating.
5956 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5958 * src/hildon-bread-crumb-trail.c:
5959 (hildon_bread_crumb_trail_size_allocate):
5961 Make the back button always a square.
5963 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5965 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5966 from the .c file as it's a private file.
5968 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5970 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5971 uses slightly bigger height.
5973 * src/hildon-font-selection-dialog.c: Adding some checks before
5974 freeing memory in the font selection dialog.
5976 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5978 * src/hildon-font-selection-dialog.c: Adding a small check when
5981 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5982 buttons sensitivity on page switching.
5984 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
5986 * src/hildon-bread-crumb-trail.c: make the add method handle all the
5987 internal details of adding a bread crumb to the trail.
5989 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5995 * debian/changelog: Updating.
5997 * src/hildon-bread-crumb-trail.h:
5998 * src/hildon-bread-crumb.h: Changing the API guard to
5999 HILDON_ENABLE_UNSTABLE_API.
6001 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6009 * src/hildon-helper.h: Updating.
6011 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6019 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6023 * src/hildon-helper.h: Small fix to make the package actually compile.
6025 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6027 * src/hildon-bread-crumb-trail.h:
6028 * src/hildon-bread-crumb.h:
6030 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
6031 to define ENABLE_UNSTABLE_API in the code that includes these headers.
6033 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
6035 * examples/hildon-bread-crumb-trail-example.c:
6037 * src/hildon-bread-crumb-trail.c:
6038 * src/hildon-bread-crumb-trail.h:
6039 * src/hildon-bread-crumb.c:
6040 * src/hildon-bread-crumb.h:
6041 * src/hildon-marshalers.list:
6042 * src/hildon-bread-crumb-widget.c:
6043 * src/hildon-bread-crumb-widget.h:
6045 Slight change in the widget design. The bread crumb trail API is
6046 unchanged, but HildonBreadCrumb is now an interface. A *private*
6047 implementation, hildon-bread-crumb-widget, is provided and used
6048 internally by the trail for the push_text/push_icon functions.
6050 The generic push API is still available, so anyone can implement
6051 and use its own bread crumb widget.
6053 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6055 * debian/rules: Fixing the shlibs.
6057 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6059 * src/hildon-banner.c: Fixing a problem with timed banners having
6060 their parrent destroyed before they are.
6062 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
6064 * src/hildon-bread-crumb.c:
6065 * src/hildon-bread-crumb.h:
6067 Make the get_natural_size function a vfunc.
6069 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6071 * src/hildon-bread-crumb.c:
6072 * src/hildon-bread-crumb-trail.c:
6076 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6083 * debian/changelog: Updating for release.
6085 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6087 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6088 don't leak the pango layout.
6090 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6093 * examples/hildon-bread-crumb-trail-example.c:
6097 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6099 * debian/changelog: Removing the bug-fixed entries that were actually
6100 resolved as WONTFIX.
6102 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6105 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6107 * src/hildon-bread-crumb-trail.c:
6108 * src/hildon-bread-crumb-trail.h:
6109 * src/hildon-bread-crumb.c:
6110 * src/hildon-bread-crumb.h:
6114 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6116 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6117 until it's passed the type check.
6119 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6121 * examples/hildon-bread-crumb-trail-example.c
6125 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6127 * examples/Makefile.am
6128 * examples/hildon-bread-crumb-trail-example.c
6130 * src/hildon-bread-crumb-trail.c
6131 * src/hildon-bread-crumb-trail.h
6132 * src/hildon-bread-crumb.c
6133 * src/hildon-bread-crumb.h
6135 New HildonBreadCrumbTrail widget.
6137 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6139 * src/hildon-range-editor.c (hildon_range_editor_init),
6140 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6141 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6142 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6143 hildon_time_editor_class_init, hildon_time_editor_init),
6144 src/hildon-get-password-dialog.c (invalid_input,
6145 hildon_get_password_set_property, hildon_get_password_get_property,
6146 create_contents, hildon_get_password_dialog_set_max_characters),
6147 src/hildon-set-password-dialog.c (create_contents),
6148 src/hildon-date-editor.c (hildon_date_editor_init),
6149 src/hildon-login-dialog.c (hildon_login_dialog_init),
6150 src/hildon-number-editor.c (hildon_number_editor_init),
6151 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6152 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6153 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6154 configure option and adding the respective checks in the code.
6155 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6156 hildon_calendar_drag_data_received): fixed some build warnings.
6158 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6160 * debian/changelog: A 1.0.0 release notes.