1 2009-02-02 Alberto Garcia <agarcia@igalia.com>
3 Based on a patch by Iván Gómez (igomez@igalia.com)
9 * src/hildon-pannable-area.c
10 * src/hildon-picker-dialog.c
11 * src/hildon-wizard-dialog.h
12 * src/hildon-wizard-dialog.c: Documentation updates.
14 * src/hildon-picker-dialog.c (hildon_picker_dialog_init): Use
15 gtk_dialog_add_button() instead of hildon_dialog_add_button().
17 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
19 * configure.ac: post release version bump.
20 * debian/changelog: version bump.
22 2009-02-02 Claudio Saavedra <csaavedra@igalia.com>
27 * configure.ac: Bump version.
28 * debian/changelog: Updates.
30 2009-01-29 Alberto Garcia <agarcia@igalia.com>
32 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init): Don't use
33 a stock icon nor change the relief of the back arrow.
35 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
38 2009-01-29 Alberto Garcia <agarcia@igalia.com>
40 * src/hildon-button.c (hildon_button_set_alignment): Use
41 priv->alignment if the button has no child yet.
43 2009-01-29 Claudio Saavedra <csaavedra@igalia.com>
45 * src/hildon-button.c: (hildon_button_init): Set the
46 button style during initialization to give it the proper
49 Fixes: NB#99713 (HildonButton value label color is wrong)
51 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
53 * src/hildon-touch-selector.c: Document
54 hildon_touch_selector_center_on_selected()
56 2009-01-28 Alberto Garcia <agarcia@igalia.com>
58 * src/hildon-app-menu.c (+hildon_app_menu_show_all)
59 (+hildon_app_menu_hide_all, hildon_app_menu_class_init): Show/hide
60 all menu items, but not the menu itself.
61 (hildon_app_menu_repack_filters, hildon_app_menu_repack_items)
62 (hildon_app_menu_insert, hildon_app_menu_add_filter): Realize menu
63 items after adding them to the menu so keyboard accelerators work.
64 (hildon_app_menu_show): Don't show the menu if it contains items
65 but none of them are visible.
67 * examples/hildon-app-menu-example.c (create_menu): Use
68 gtk_widget_show_all() to show all menu items.
70 2009-01-28 Claudio Saavedra <csaavedra@igalia.com>
72 * src/hildon-picker-dialog.c:
73 (-_update_title_on_selector_changed_cb),
74 (-_dialog_update_title): Removed.
75 (_select_on_selector_changed_cb), (_on_dialog_response),
76 (on_selector_columns_changed): Do not update the dialog title.
77 (setup_interaction_mode): Do not connect to
78 HildonTouchSelector::changed signal if there's a "done" button, as
79 the dialog title doesn't need to be updated.
81 Fixes: NB#97468 (HildonPickerDialog doesn't need to show selected
84 2009-01-27 Claudio Saavedra <csaavedra@igalia.com>
86 Patch by Kristian Rietveld (kris@imendio.com)
88 * src/hildon-touch-selector.c: (_create_new_column): Use new
89 GtkTreeView::hildon-row-tapped signal to react to user interactions
92 Fixes: NB#91657 (HildonPickerDialog closes immediatly when used
93 with some dynamic tree model)
95 2009-01-27 Alberto Garcia <agarcia@igalia.com>
97 * src/hildon-note.c (hildon_note_realize, +hildon_note_unrealize)
98 (+screen_size_changed, +label_size_request)
99 (hildon_note_class_init): Make the Hildon information note have a
100 minimum height, and make its text hvae a maximum width.
102 Fixes: NB#98614 (Hildon information note (background) should have
103 minimum height and maximum text width)
105 2009-01-26 Alberto Garcia <agarcia@igalia.com>
107 * src/hildon-banner.h
108 * src/hildon-banner.c (hildon_banner_show_information)
109 (hildon_banner_show_informationf)
110 (hildon_banner_show_information_with_markup): Update documentation
111 to reflect that the icon_name parameter is not used anymore.
112 (hildon_banner_set_icon, hildon_banner_set_icon_from_file):
113 Remove all code from these functions and mark them as deprecated.
114 (hildon_banner_show_progress): Mark as deprecated.
116 Fixes: NB#98855 (HildonBanner uses qgn_note_infoprint)
118 2009-01-26 Alejandro G. Castro <alex@igalia.com>
120 * src/hildon-pannable-area.c,
121 (hildon_pannable_area_class_init),
123 (hildon_pannable_draw_vscroll),
124 (hildon_pannable_draw_hscroll),
125 (hildon_pannable_area_expose_event): Added a new way to render the
126 scrollbars of the pannable area avoiding using cairo at all. This
127 way we improve the performance of the pannable area rendering. The
128 cairo rendering procedure is still in the code, we can control
129 which one to use changing the value of the define
130 USE_CAIRO_SCROLLBARS.
132 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
134 * configure.ac: post release version bump.
135 * debian/changelog: version bump.
137 2009-01-26 Claudio Saavedra <csaavedra@igalia.com>
142 * configure.ac: Bump version.
143 * debian/changelog: Updates.
145 2009-01-23 Alberto Garcia <agarcia@igalia.com>
147 * src/hildon-banner.c (hildon_banner_button_press_event): Hide
148 banners instead of destroying them when they receive a button
151 2009-01-23 Alejandro G. Castro <alex@igalia.com>
153 Reverted commit 34028, it was causing regressions, probably the
154 topmost condition is not correct, we have to check it in more
155 detail. We have reponed the bug: NB#97458 (Pannable area prevents
156 propagation of button press events)
158 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
160 * src/hildon-time-selector.c: (_manage_ampm_selection_cb): Verify
161 that the selection is not empty before attempting to retrieve the
162 current ampm selection.
164 2009-01-23 Claudio Saavedra <csaavedra@igalia.com>
166 * src/hildon-picker-button.c:
167 (hildon_picker_button_on_dialog_response): Directly update the
168 button contents when required instead of calling _selection_changed.
170 2009-01-23 Alberto Garcia <agarcia@igalia.com>
172 * src/hildon-program.c (hildon_program_update_top_most): Update
173 'is-topmost' property also when wm_hints is not set.
175 Fixes: NB#98383 (is-topmost signal is not emitted when task
176 switcher is clicked.)
178 2009-01-23 Alejandro G. Castro <alex@igalia.com>
180 Patch contributed by: Artem Egorkine <ext-artem.egorkine@nokia.com>
184 * src/hildon-animation-actor.c,
185 * src/hildon-animation-actor.h: Added the animation actor class,
186 this widget represents an animation actor for WM-assisted
187 animation effects in the Hildon framework.
189 2009-01-23 Alberto Garcia <agarcia@igalia.com>
191 * src/hildon-window-stack-private.h
192 * src/hildon-window-stack.c
193 * src/hildon-stackable-window.c (hildon_stackable_window_show):
194 Avoid calling gtk_widget_show() again indirectly from
195 hildon_stackable_window_show()
197 2009-01-23 Alberto Garcia <agarcia@igalia.com>
199 * src/hildon-time-selector.c (hildon_time_selector_init): Remove
202 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
204 * src/hildon-time-selector.c: (hildon_time_selector_constructor),
205 (hildon_time_selector_init): Move the construction of the hours and
206 ampm columns to the constructor to preserve the order the columns
209 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
211 * src/hildon-picker-dialog.c:
212 (hildon_picker_dialog_class_init): Connect a realize method.
213 (+hildon_picker_dialog_realize): Setup the interaction mode here
215 (hildon_picker_dialog_show): Do not call setup_interaction_mode()
216 yet, do it during the realize instead.
217 (_on_dialog_response):
218 (_hildon_picker_dialog_set_selector): Do not call setup_interaction_mode()
219 if the widget is not realized, to avoid the dialog response before it
222 Avoid premature responses in the HildonPickerDialog that can cause it
223 to be hidden before it's even shown.
225 2009-01-22 Claudio Saavedra <csaavedra@igalia.com>
227 * src/hildon-picker-dialog.c: (hildon_picker_dialog_show),
228 (on_selector_columns_changed), (requires_done_button),
229 (+prepare_action_area), (setup_interaction_mode),
230 (_hildon_picker_dialog_set_selector):
232 Split the interaction mode setup into preparation of the
233 action area (prepare_action_area()) and the connection of
234 the signals in setup_interaction_mode() and update the code to
237 2009-01-22 Alejandro G. Castro <alex@igalia.com>
239 * src/hildon-pannable-area.c,
240 (hildon_pannable_area_class_init): Reduced the amount of scrolls
241 per second to 15, we will check if this is ok regarding
244 2009-01-22 Alejandro G. Castro <alex@igalia.com>
246 * src/hildon-pannable-area.c,
247 (hildon_pannable_axis_scroll): Avoid resize if we already have
248 reached overshoot_max.
250 2009-01-22 Alejandro G. Castro <alex@igalia.com>
252 * src/hildon-pannable-area.c,
253 (hildon_pannable_area_init),
254 (hildon_pannable_area_realize),
255 (hildon_pannable_area_size_allocate),
256 (hildon_pannable_area_map),
257 (hildon_pannable_area_unmap),
258 (hildon_pannable_draw_vscroll),
259 (hildon_pannable_draw_hscroll),
260 (hildon_pannable_area_expose_event),
261 (hildon_pannable_area_refresh): Added a new GdkWindow to the
262 pannable are to avoid the expose events go to the window and
263 redraw the window. We save this way that part of the stack and the
264 paint_boxes. We had to change the positions of the elements when
267 2009-01-21 Claudio Saavedra <csaavedra@igalia.com>
269 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
270 * src/hildon-color-chooser-dialog.c:
271 (hildon_color_chooser_dialog_init):
272 * src/hildon-font-selection-dialog.c:
273 (hildon_font_selection_dialog_init),
274 (hildon_font_selection_dialog_show_preview):
275 * src/hildon-get-password-dialog.c:
276 * src/hildon-login-dialog.c:
277 * src/hildon-set-password-dialog.c:
278 * src/hildon-sort-dialog.c: (hildon_sort_dialog_init):
279 * src/hildon-time-picker.c: (hildon_time_picker_init):
281 Remove obsolete logical string IDs and update to the appropriate ones.
283 Fixes: NB#98609 (Use wdgt_ strings for all hildon dialog buttons)
285 2009-01-21 Alberto Garcia <agarcia@igalia.com>
287 * src/hildon-window.c (hildon_window_update_topmost): Fix warning
288 that happens if the window hasn't been realized yet.
290 Fixes: NB#95395 (prestarted applications show GLIB WARNING ** Gdk
291 - gdkdrawable-x11.c:878 drawable is not a pixmap or window)
293 2009-01-20 Alberto Garcia <agarcia@igalia.com>
295 * src/hildon-app-menu.c (hildon_app_menu_class_init)
296 (+hildon_app_menu_grab_notify): Hide the app menu if it's shadowed
299 Fixes: NB#98537 (Device hangs in account settings dialog)
301 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
303 * configure.ac: post release version bump.
304 * debian/changelog: version bump
306 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
311 * configure.ac: Bump version.
312 * debian/changelog: Updates.
314 2009-01-20 Alejandro G. Castro <alex@igalia.com>
316 Added a new function to the HildonTimeButton widget that allows to
317 change the step of the minutes in the selector associated with the
318 button: hildon_time_button_new_step
320 * src/hildon-time-button.c,
321 (hildon_time_button_init),
322 (hildon_time_button_new),
323 (hildon_time_button_new_step):
324 * src/hildon-time-button.h: Added the new function and refactored
326 * examples/hildon-time-button-example.c,
327 (main): We have replaced the function without parameters with the
328 function with the steps set to 5
330 Fixes: NB#98317 (Provide parametarized API for TimePicker widget)
332 2009-01-20 Alejandro G. Castro <alex@igalia.com>
334 * src/hildon-time-selector.c,
335 (hildon_time_selector_class_init),
336 (hildon_time_selector_constructor),
337 (hildon_time_selector_get_property),
338 (hildon_time_selector_set_property),
339 (_create_minutes_model),
340 (hildon_time_selector_new_step),
341 (hildon_time_selector_set_time),
342 * src/hildon-time-selector.h: Added a new property to the
343 HildonTimeSelector (minutes-step), we use that property to control
344 the steps between the minutes in the list of the selector. We have
345 added a new function to the API to create a widget changing the
346 step: hildon_time_selector_new_step.
348 2009-01-20 Alejandro G. Castro <alex@igalia.com>
350 * src/hildon-time-selector.c,
351 (hildon_time_selector_class_init),
352 (hildon_time_selector_constructor),
353 (hildon_time_selector_init): Overrided the construct function when
354 creating the time selector object. We have moved the minutes model
355 handling code from the init to the new construction function:
356 hildon_time_selector_constructor.
358 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
360 * examples/hildon-date-button-example.c: (main): Use the new
361 hildon_date_button_new_with_year_range() method in the example.
362 * src/hildon-date-button.c:
363 (+hildon_date_button_new_with_year_range): New public method
364 to conveniently create a HildonDateButton with a custom year range
365 in its HildonDateSelector.
366 * src/hildon-date-button.h: Add the new public method definition.
368 Fixes: NB#97908 (Not possible to change the year range in
369 HildonDateSelector/HildonDateButton)
371 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
373 * src/hildon-date-selector.c:
374 (+hildon_date_selector_set_property),
375 (+hildon_date_selector_get_property),
376 (hildon_date_selector_class_init): Install new properties "min-year"
377 and "max-year" to define boundaries for the year column.
378 (_create_year_model): Use the boundary properties to populate the model.
379 (+hildon_date_selector_new_with_year_range): New public method to
380 create a HildonDateSelector with a user defined year range.
381 (hildon_date_selector_select_current_date): Use the new boundaries to
382 calculate the iterator of current year.
383 * src/hildon-date-selector.h: Add the new public method definition.
385 2009-01-20 Claudio Saavedra <csaavedra@igalia.com>
387 * src/hildon-date-selector.c: (+hildon_date_selector_class_init):
388 Install a constructor method.
389 (+hildon_date_selector_construct_ui): construct the widget.
390 (+hildon_date_selector_constructor): new constructor.
391 (+hildon_date_selector_init): move out widget construction code to
394 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
396 * src/hildon-date-selector.c: (hildon_date_selector_get_date): Check
397 that there's actually a month or year selected before obtaining them.
398 * src/hildon-picker-dialog.c: (_restore_current_selection): Block emission
399 of the HildonTouchSelector::changed signal, as it was emitted on every
400 single item selection.
402 Fix some warnings and possible crashers due to the selection restoring.
404 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
406 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Connect
407 the signal handlers only after creating the dialog instead of on every
410 2009-01-19 Alberto Garcia <agarcia@igalia.com>
412 * src/hildon-button.c (hildon_button_init)
413 * src/hildon-check-button.c (hildon_check_button_init)
414 * src/hildon-gtk.c (button_common_init): Don't let buttons get the
415 focus when clicked by default.
417 2009-01-19 Claudio Saavedra <csaavedra@igalia.com>
419 * src/hildon-date-button.c: (hildon_date_button_init): Remove an unneeded
422 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
424 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
425 Alejandro G. Castro (alex@igalia.com)
427 * src/hildon-picker-dialog.c:
428 (hildon_picker_dialog_class_init): install new "center-on-show"
430 (hildon_picker_dialog_init): initialize center_on_show to TRUE.
431 (hildon_picker_dialog_set_property): add setter code for the new
433 (hildon_picker_dialog_get_property): add getter code for the new
435 (hildon_picker_dialog_show): Ensure visibility of selected items in the
436 HildonTouchSelector when "center-on-show" is TRUE, which is enabled by
439 Fixes: NB#92849 (Selected item is not always visible when
440 HildonTouchSelector is shown)
442 2009-01-16 Claudio Saavedra <csaavedra@igalia.com>
444 Based on a patch by Alejandro Pinheiro (apinheiro@igalia.com) and
445 Alejandro G. Castro (alex@igalia.com)
447 * src/hildon-touch-selector.c:
448 (_create_new_column): Do not connect to the "realize" signal of the
450 (hildon_touch_selector_append_column): center on the selected items
451 when a new column is appended.
452 (hildon_touch_selector_select_iter): Factor out the code to select a
453 column to hildon_touch_selector_scroll_to().
454 (+search_nearest_element): Method to retrieve the nearest selected
455 element to the visible area of the pannable area in a column.
456 (+on_realize_cb): scroll to the initially selected item.
457 (+hildon_touch_selector_scroll_to): Scroll to the given GtkTreePath if
458 the pannable area is realized, otherwise delay this until it is.
459 (+_hildon_touch_selector_center_on_selected_items): Centers on the
460 selected items of a given column.
461 (+hildon_touch_selector_center_on_selected): Public method to center
462 all columns on the nearest selected item.
463 * src/hildon-touch-selector.h: Add definition for
464 hildon_touch_selector_center_on_selected().
466 Implement public API to ensure visibility of all selected items in
467 a HildonTouchSelector.
469 2009-01-16 Alejandro G. Castro <alex@igalia.com>
471 Fixed a problem in the fading when calling the scroll_to API, and
472 improve scrollbar fading handling.
474 * src/hildon-pannable-area.c,
475 (hildon_pannable_area_grab_notify): avoid the timeout when the
477 (hildon_pannable_area_button_press_cb),
478 (hildon_pannable_area_motion_notify_cb): Code style changes.
479 (hildon_pannable_area_button_release_cb): Review the conditions
480 when releasing the mouse button to avoid unrequired fading
482 (hildon_pannable_area_scroll_to): Do not calculate and set the
483 velocity if the scroll is not required.
485 2009-01-15 Alberto Garcia <agarcia@igalia.com>
487 * src/hildon-picker-dialog.c (_hildon_picker_dialog_set_selector):
488 Don't check whether the new selector is NULL: it cannot be.
489 Hold a reference to the selector while doing the replacement.
491 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
493 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
494 unnecessary size_request in a removed widget.
496 2009-01-15 Claudio Saavedra <csaavedra@igalia.com>
498 * src/hildon-picker-dialog.c: (_hildon_picker_dialog_set_selector): Remove
499 an unnecessary reference tracking that was leaking.
501 2009-01-15 Alejandro G. Castro <alex@igalia.com>
503 Added delayed motion notify event handling, this way we can
504 discard redrawing if more than 25 events arrive per second.
506 * src/hildon-pannable-area.c,
507 (hildon_pannable_area_init): Initialized the new private atributes
508 controlling this timeout
509 (hildon_pannable_area_dispose): Remove the timeout that controls
510 the motion notify events.
511 (hildon_pannable_area_scroll): Added a condition to control the
512 use of the acceleration.
513 (hildon_pannable_area_motion_event_scroll_timeout),
514 (hildon_pannable_area_motion_event_scroll): Added this two
515 functions, they handle the motion notify events inside the
517 (hildon_pannable_area_motion_notify_cb): Replaced the direct call
518 to the scroll method with the new function.
519 (hildon_pannable_area_button_release_cb): We have to remove the
520 timeout handler and move to the last position if the last motion
521 events were not handled.
523 Fixes: NB#97028 (Pannable area updates on every motion event)
525 2009-01-15 Alejandro G. Castro <alex@igalia.com>
527 * src/hildon-pannable-area.c,
528 (hildon_pannable_area_get_topmost): Added a new parameter to
529 filter the the windows that do not include those events. Added
530 also a condition when finding the window to filter windows that do
531 not ask for those events.
532 (hildon_pannable_area_button_press_cb),
533 (hildon_pannable_area_button_release_cb),
534 (hildon_pannable_get_child_widget_at): Reviewed the call the the
535 topmost function, we have added the new parameter.
537 Fixes: NB#97458 (Pannable area prevents propagation of button
540 2009-01-15 Alejandro G. Castro <alex@igalia.com>
542 * src/hildon-pannable-area.c,
543 (hildon_pannable_area_initial_effect): Added controls before
544 launching the timeout and the idle functions.
545 (hildon_pannable_area_scroll_indicator_fade): Reviewed the logic
546 of the method, in some situations it can return with TRUE and 0 in
548 (hildon_pannable_area_button_press_cb): We do not need to set
549 DELAY for fading out here.
551 Fixes: NB#95709 (Invalid casts in HildonPannableArea(?))
553 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
555 * src/hildon-picker-dialog.c: (_clean_current_selection): Only perform
556 post-cleaning if the selection is not NULL.
558 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
560 * src/hildon-picker-dialog.c: (_restore_current_selection): Unselect
561 all items before restoring the selection.
563 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
565 * src/hildon-touch-selector.c:
566 (+hildon_touch_selector_unselect_all):
567 * src/hildon-touch-selector.h: New API to unselect all items in a
568 column of the touch selector.
570 2009-01-14 Alejandro G. Castro <alex@igalia.com>
572 * src/hildon-pannable-area.c,
573 (hildon_pannable_area_redraw): Added a call to the refresh
574 function inside the redraw because apparently in some cases the
575 change in the adjustment does not imply a size allocate.
577 Fixes: NB#96837 (HildonPannableArea - scroll indicator shown
578 despite the view not being scrollable)
580 2009-01-14 Alberto Garcia <agarcia@igalia.com>
582 * src/hildon-picker-dialog.c (_dialog_update_title): Fix memory
583 leak. Check for NULL before attempting to set the window title.
585 2009-01-14 Alberto Garcia <agarcia@igalia.com>
587 * src/hildon-picker-dialog.c (hildon_picker_dialog_show): Decide
588 whether to show or not the 'Done' button each time the dialog is
589 shown, as it depends on the HildonTouchSelector selection mode.
591 Fixes: NB#96226 (In multiple selection mode Done button is shown
592 sometimes in listpicker)
594 2009-01-14 Claudio Saavedra <csaavedra@igalia.com>
596 * src/hildon-picker-dialog.c: (_save_current_selection): Do not query
597 for the number of columns in the HildonTouchSelector more than once.
599 2009-01-14 Alberto Garcia <agarcia@igalia.com>
601 * src/hildon-touch-selector.c: Minor documentation fixes.
603 * src/hildon-picker-dialog.c (+_dialog_update_title)
604 (_select_on_selector_changed_cb)
605 (_update_title_on_selector_changed_cb)
606 (on_selector_columns_changed): Update dialog title when there's no
607 'Done' button and also when the number of columns in the selector
611 * src/hildon-picker-button.c (hildon_picker_button_finalize)
612 (+_selection_changed, hildon_picker_button_on_dialog_response)
613 (hildon_picker_button_selector_selection_changed)
614 (+hildon_picker_button_selector_columns_changed)
615 (hildon_picker_button_set_selector): Update button value and emit
616 'value-changed' when the number of columns in the selector
620 Fixes: NB#96225 (Dialog titles are not shown according to the
621 values selected in the list picker)
623 2009-01-13 Alberto Garcia <agarcia@igalia.com>
625 * src/hildon-edit-toolbar.c (hildon_edit_toolbar_init)
626 (hildon_edit_toolbar_class_init, hildon_edit_toolbar_style_set):
627 New "arrow-width" and "arrow-height" style properties to set the
628 size of the arrow button.
629 Set name of arrow button ("hildon-edit-toolbar-arrow").
631 Fixes: NB#94970 (Hildon Edit Mode Toolbar should use back button
634 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
636 * src/hildon-picker-button.c:
637 (hildon_picker_button_selector_selection_changed): Use
638 GTK_WIDGET_VISIBLE instead of gtk_window_is_active() to check whether
639 the dialog is present.
641 Fixes: NB#96202 (FKB causes HildonPickerButton's value update before
642 the selection is accepted in the dialog)
644 2009-01-13 Alberto Garcia <agarcia@igalia.com>
646 * src/hildon-color-chooser.h
647 * src/hildon-color-chooser-dialog.h:
648 Added G_BEGIN_DECLS and G_END_DECLS
650 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
652 (_clean_current_selection): plug a leak in the list.
654 2009-01-13 Claudio Saavedra <csaavedra@igalia.com>
656 * src/hildon-picker-dialog.c:
657 (+free_path_list): Method to free a GList of GtkTreePaths.
658 (_clean_current_selection), (_save_current_selection),
659 (_restore_current_selection): Save the current selection in
660 as a list of lists, to support multiple selection properly.
662 2009-01-12 Alberto Garcia <agarcia@igalia.com>
664 patch by Claudio Saavedra (csaavedra@igalia.com)
666 * src/hildon-text-view.c: (+hildon_text_view_button_press_event):
667 Store the press position.
668 (+hildon_text_view_button_release_event): If the release position is
669 close enough to the press position, move the cursor here. Otherwise,
671 (hildon_text_view_class_init): Override GtkTextView press, release, and
672 motion event handlers, disabling this way text selection through
673 pointer interaction, and allowing the container widget to handle the
676 Fixes: NB#95828 (HildonTextView functionality)
678 2009-01-12 Alberto Garcia <agarcia@igalia.com>
680 Based on a patch by Iván Gómez (igomez@igalia.com)
682 * src/hildon-button.[ch]
683 * src/hildon-calendar.c
684 * src/hildon-check-button.c
685 * src/hildon-date-editor.c
686 * src/hildon-date-selector.c
687 * src/hildon-picker-button.c
688 * src/hildon-time-editor.c
689 * src/hildon-time-selector.c
690 * src/hildon-touch-selector.[ch]:
691 Documentation updates
693 2009-01-12 Alejandro G. Castro <alex@igalia.com>
695 * src/hildon-pannable-area.c,
696 (hildon_pannable_area_motion_notify_cb): Remove the extra DND
697 threshold, it was required due to X events handling.
699 2009-01-12 Alejandro G. Castro <alex@igalia.com>
701 * src/hildon-pannable-area.c,
702 (hildon_pannable_area_grab_notify),
703 (hildon_pannable_area_initial_effect),
704 (hildon_pannable_area_button_press_cb),
705 (hildon_pannable_area_button_release_cb),
706 (hildon_pannable_area_scroll_cb),
707 (hildon_pannable_area_scroll_to): Review the timeout management of
708 the scrollbar, the frecuency was incorrectly set.
710 2009-01-09 Claudio Saavedra <csaavedra@igalia.com>
712 * src/hildon-picker-button.c:
713 (+hildon_picker_button_on_dialog_response),
714 (hildon_picker_button_clicked): Present the dialog instead of
715 running it with gtk_dialog_run().
717 Fixes: NB#97015 (HildonPickerButton shouldn't gtk_dialog_run() the
720 2009-01-07 Alberto Garcia <agarcia@igalia.com>
722 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
723 (hildon_app_menu_finalize): When a window is hidden it doesn't
724 emit notify::is-topmost, so make sure than the menu also
725 disappears in that case.
726 (parent_window_topmost_notify): Renamed from parent_window_hidden
728 Fixes: NB#94460 (stackable window's menu is not closed when its
731 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
733 * src/hildon-touch-selector-entry.c:
734 (+hildon_touch_selector_entry_set_input_mode),
735 (+hildon_touch_selector_entry_get_input_mode):
736 * src/hildon-touch-selector-entry.h: New methods to access the input
737 mode in the selector's entry.
739 Fixes: NB#93410 (API required for setting IM mode in
740 HildonTouchSelectorEntry)
742 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
744 * configure.ac: post release version bump.
745 * debian/changelog: version bump
747 2009-01-07 Claudio Saavedra <csaavedra@igalia.com>
752 * configure.ac: Bump version.
753 * debian/changelog: Updates.
755 2008-12-19 Claudio Saavedra <csaavedra@igalia.com>
757 * src/hildon-touch-selector.c:
758 (_hildon_touch_selector_has_multiple_selection): No need
759 to initialize the variables here.
761 2008-12-17 Alberto Garcia <agarcia@igalia.com>
763 * src/hildon-note-private.h
764 * src/hildon-note.c (event_box_press_event, hildon_note_init)
765 (hildon_note_finalize, hildon_note_rebuild): Close information
766 notes when they receive a button press.
768 Fixes: NB#89890 (Information notes does not get disappeared after
771 2008-12-17 Claudio Saavedra <csaavedra@igalia.com>
773 * src/hildon-wizard-dialog.c: (create_title): Remove translation
774 mark from the wizard title, as it's not really necessary. Also,
775 do not display the page title if not set.
777 2008-12-17 Alberto Garcia <agarcia@igalia.com>
779 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
780 (parent_window_hidden): Use the window's "is-topmost" property to
781 detect when to hide the menu.
783 2008-12-16 Alberto Garcia <agarcia@igalia.com>
785 * src/hildon-app-menu.c (hildon_app_menu_set_parent_window)
786 (hildon_app_menu_finalize): If the parent window of the menu is
787 hidden, hide the menu too.
789 Fixes: NB#94460 (stackable window's menu is not closed when its
792 2008-12-16 Alberto Garcia <agarcia@igalia.com>
795 * debian/libhildon1-examples.install
797 * examples/Makefile.am:
798 Use dh_install to install all examples.
799 Use DEB_SRCDIR instead of defining SOURCE_DIR
801 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
803 * configure.ac: post release version bump.
804 * debian/changelog: version bump
806 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
811 * configure.ac: bump version
812 * debian/changelog: updates
813 * debian/control: bump gtk+ dependency
815 2008-12-16 Claudio Saavedra <csaavedra@igalia.com>
817 patch by Christian Dywan (christian@imendio.com)
819 * src/hildon-gtk.c: (hildon_gtk_hscale_new),
820 (hildon_gtk_vscale_new): Use the appropriate GtkScale property.
822 2008-12-15 Alberto Garcia <agarcia@igalia.com>
824 * src/hildon-check-button.c (hildon_check_button_init)
825 (hildon_check_button_class_init, hildon_check_button_style_set)
826 (hildon_check_button_apply_style):
827 New "checkbox-size" style property.
829 Fixes: NB#95714 (GtkCellView in HildonCheckButton should be
830 larger / configurable size)
832 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
834 * configure.ac: post release version bump.
835 * debian/changelog: version bump
837 2008-12-15 Claudio Saavedra <csaavedra@igalia.com>
842 * configure.ac: bump version
843 * debian/changelog: updates
845 2008-12-12 Alberto Garcia <agarcia@igalia.com>
847 * doc/hildon-sections.txt
848 * src/hildon-pannable-area.c
849 * src/hildon-program.c
850 * src/hildon-time-editor.c
851 * src/hildon-touch-selector-entry.c:
853 More documentation updates.
855 2008-12-12 Alberto Garcia <agarcia@igalia.com>
857 * doc/hildon-sections.txt
858 * src/hildon-caption.c
859 * src/hildon-code-dialog.c
860 * src/hildon-color-button.c
861 * src/hildon-controlbar.c
862 * src/hildon-date-editor.c
863 * src/hildon-date-selector.c
864 * src/hildon-edit-toolbar.c
865 * src/hildon-find-toolbar.c
866 * src/hildon-font-selection-dialog.c
868 * src/hildon-program.c
869 * src/hildon-range-editor.c
870 * src/hildon-seekbar.c
871 * src/hildon-time-editor.c
872 * src/hildon-time-selector.c
873 * src/hildon-volumebar-range.c
874 * src/hildon-volumebar.c
875 * src/hildon-vvolumebar.c
876 * src/hildon-weekday-picker.c
877 * src/hildon-window.c
878 * src/hildon-wizard-dialog.c:
880 Lots of documentation fixes.
882 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
884 Patch contributed by Iván Gómez (igomez@igalia.com)
886 * src/hildon-check-button.c:
887 * src/hildon-date-button.c:
888 * src/hildon-date-selector.c:
889 * src/hildon-dialog.c:
890 * src/hildon-edit-toolbar.c:
891 * src/hildon-entry.c:
892 * src/hildon-picker-button.c:
893 * src/hildon-program.c:
894 * src/hildon-text-view.c:
895 * src/hildon-time-button.c:
896 * src/hildon-touch-selector-entry.c:
897 * src/hildon-window-stack.c:
899 Add more "since" tags to the new API.
901 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
903 * doc/hildon-sections.txt: Add below method.
904 * src/hildon-gtk.c: (+hildon_gtk_vscale_new): New vertical
905 version for the hildonized scale.
906 * src/hildon-gtk.h: Add the definition.
908 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
910 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
912 * doc/hildon-sections.txt: Add missing entries for new methods.
914 2008-12-12 Alejandro G. Castro <alex@igalia.com>
916 Added API to pannable are in order to get its adjustments. We
917 added two properties to manage the values we had in the private
920 * src/hildon-pannable-area.c:
921 (hildon_pannable_area_class_init): Added hadjustment and
922 vadjustment properties in order to expose horizontal and vertical
924 (hildon_pannable_area_get_property),
925 (hildon_pannable_area_set_property): Added code to handle the new
927 (hildon_pannable_area_get_hadjustment),
928 (hildon_pannable_area_get_vadjustment): API functions to get the
930 * src/hildon-pannable-area.h:
931 (hildon_pannable_area_get_hadjustment),
932 (hildon_pannable_area_get_vadjustment): API functions to get the
935 2008-12-12 Alejandro G. Castro <alex@igalia.com>
937 Fixed some leaks, after valgrinding.
939 * src/hildon-touch-selector.c:
940 (_default_print_func): Fixed a leak.
941 (hildon_touch_selector_append_column): Fixed a leak.
942 * src/hildon-date-button.c:
943 (hildon_date_button_init): Fixed a leak.
944 * src/hildon-date-selector.c
945 (hildon_date_selector_finalize): Fixed a leak.
947 2008-12-12 Claudio Saavedra <csaavedra@igalia.com>
949 Based on a patch by Christian Dywan (christian@imendio.com)
951 * src/hildon-gtk.c: (+hildon_gtk_hscale_new): Create a hildonized style
953 * src/hildon-gtk.h: Add definition.
955 Fixes: NB#93744 (Tapping should jump to location on GtkScale)
957 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
959 * src/hildon-picker-button.c: (hildon_picker_button_init),
960 (hildon_picker_button_new): Set the HildonButton::style property
961 in the init method, to propagate the value to the derived classes.
963 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
965 * src/hildon-button.c: (hildon_button_class_init): Do not make
966 the "style" property a construct property.
968 2008-12-11 Alberto Garcia <agarcia@igalia.com>
970 * src/hildon-wizard-dialog.h
971 * src/hildon-wizard-dialog.c
972 (hildon_wizard_dialog_set_forward_page_func)
973 * src/hildon-pannable-area.h
974 * src/hildon-pannable-area.c
975 (hildon_pannable_area_set_size_request_policy):
978 2008-12-11 Alberto Garcia <agarcia@igalia.com>
980 * doc/hildon-sections.txt: Fixed warning about unused symbols.
982 2008-12-11 Alberto Garcia <agarcia@igalia.com>
984 * doc/hildon-sections.txt: Added sections file.
986 2008-12-11 Claudio Saavedra <csaavedra@igalia.com>
989 * src/*.[ch]: Updates.
991 2008-12-10 Thomas Thurman <thomas.thurman@collabora.co.uk>
993 * examples/hildon-progress-indicator-example.c: new file
994 * examples/Makefile.am: include the new example program
996 2008-12-10 Alberto Garcia <agarcia@igalia.com>
998 * src/hildon-wizard-dialog.c (destroy): Fix compilation warning
1000 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1002 * configure.ac: post release version bump
1003 * debian/changelog: version bump
1005 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1010 * configure.ac: bump version
1011 * debian/changelog: updates
1012 * debian/control: bump gtk+ dependency
1014 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1016 * src/hildon-dialog.c: Mark as deprecated.
1017 * src/hildon-dialog.h: Mark as deprecated.
1018 * src/hildon-picker-dialog.h: Allow HildonPickerDialog to derive
1019 from HildonDialog and still work, even if
1020 HILDON_DISABLE_DEPRECATED is defined. This is required as we can't currently
1021 break the ABI and simply make HildonPickerDialog derive from GtkDialog.
1023 Fixes: NB#90867 (Deprecate HildonDialog and use GtkDialog (with
1024 maemo changes) instead)
1026 2008-12-09 Alejandro G. Castro <alex@igalia.com>
1028 * src/hildon-pannable_area.h:
1029 * src/hildon-pannable_area.c:
1030 (hildon_pannable_area_class_init),
1031 (hildon_pannable_area_set_property),
1032 (hildon_pannable_area_get_property),
1033 (hildon_pannable_area_size_request),
1034 (hildon_pannable_area_get_size_request_policy),
1035 (hildon_pannable_area_set_size_request_policy): Added new API
1036 allowing applications to control the request policy. Now they can
1037 choose to use the minimum (HILDON_MOVEMENT_MINIMUM) size or the
1038 children allocation (HILDON_MOVEMENT_CHILDREN).
1040 2008-12-09 Alberto Garcia <agarcia@igalia.com>
1044 (hildon_gtk_tree_view_set_ui_mode)
1045 (hildon_gtk_icon_view_set_ui_mode): New functions to change the UI
1046 mode of treeviews and iconviews.
1048 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1050 * src/hildon-touch-selector-entry.c:
1051 (hildon_touch_selector_entry_init): Use a HildonEntry instead
1052 of a GtkEntry to get proper theming.
1054 Fixes: NB#94972 (Hildon Picker with Entry should use HildonEntry
1055 widget, not GtkEntry)
1057 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1059 * src/hildon-wizard-dialog.c: (response): Move forward if there is
1060 no HildonWizardDialogPageFunc.
1062 2008-12-09 Claudio Saavedra <csaavedra@igalia.com>
1064 Patch contributed by Iván Gómez (igomez@igalia.com)
1066 * src/hildon-app-menu.c:
1067 * src/hildon-button.c:
1068 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init):
1069 * src/hildon-stackable-window.c:
1070 * src/hildon-time-selector.c:
1071 * src/hildon-touch-selector.c:
1072 * src/hildon-window.c:
1074 Add more "since" tags to the new API in hildon 2.2.
1076 2008-12-05 Tim Janik <timj@imendio.com>
1078 Patch contributed by Christian Dywan (christian@imendio.com)
1080 * src/hildon-gtk.h: removed hildon_gtk_widget_set_theme_size() and
1081 HildonSizeType, which are supplied by Gtk+ now.
1083 * src/hildon-dialog.c: leave theming and sizing of buttons to GtkDialog.
1085 Partially fixes NB#90867 (Deprecate HildonDialog and use GtkDialog
1086 (with maemo changes) instead)
1088 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1090 Patch contributed by Iván Gómez (igomez@igalia.com)
1092 * src/hildon-pannable-area.c: Add "since" tags to the new API in
1095 2008-12-05 Claudio Saavedra <csaavedra@igalia.com>
1097 * examples/hildon-wizard-dialog-example.c: (on_page_switch),
1098 (some_page_func), (main): Update the example to use a
1099 HildonWizardDialogPageFunc function.
1101 * src/hildon-wizard-dialog-private.h: Add private data for
1102 the HildonWizardDialogPageFunc function usage.
1104 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_class_init),
1105 (destroy), (hildon_wizard_dialog_init), (response),
1106 (hildon_wizard_dialog_set_forward_page_func):
1107 * src/hildon-wizard-dialog.h: Add a HildonWizardDialogPageFunc function,
1108 that applications can use to stop a HildonWizardDialog to jump to
1111 Fixes: NB#94214 (No way to stop HildonWizardDialog from going to
1114 2008-12-04 Alberto Garcia <agarcia@igalia.com>
1116 * src/hildon-program.h
1117 * src/hildon-program-private.h
1118 * src/hildon-program.c (hildon_program_init)
1119 (hildon_program_set_common_app_menu)
1120 (hildon_program_get_common_app_menu):
1121 New API for setting a common HildonAppMenu for all
1122 HildonStackableWindows registered with the HildonProgram.
1124 * src/hildon-stackable-window.c
1125 (hildon_stackable_window_toggle_menu):
1126 Use the common HildonAppMenu if a window doesn't have a specific
1129 * src/hildon-app-menu-private.h
1130 * src/hildon-app-menu.c
1131 (hildon_app_menu_get_parent_window):
1132 Function to obtain the window a HildonAppMenu is attached to.
1133 (hildon_app_menu_set_parent_window):
1134 Hide the menu if the parent window is set to NULL.
1136 2008-12-04 Claudio Saavedra <csaavedra@igalia.com>
1138 * src/hildon-gtk.c: (hildon_gtk_tree_view_new): Explicitly
1139 set GtkTreeView::enable-search to FALSE, to avoid the interactive
1140 search widget to popup.
1142 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1144 * configure.ac: post release version bump
1145 * debian/changelog: version bump
1147 2008-12-03 Claudio Saavedra <csaavedra@igalia.com>
1152 * configure.ac: bump version
1153 * debian/changelog: updates
1155 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1157 Based on a patch by Adam Endrodi (adam.endrodi@blumsoft.eu)
1159 * src/hildon-window-stack.c (hildon_window_stack_get_leader_window)
1160 (hildon_window_stack_window_realized)
1161 (hildon_window_stack_remove, _hildon_window_stack_do_push):
1162 Set the leader GdkWindow when a window is stacked and realized,
1163 unset it when it's unstacked.
1164 (hildon_window_stack_finalize): Destroy the leader GdkWindow.
1166 Fixes: NB#94350 (HildonWindowStack:s have the same X Window group)
1168 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1170 * src/hildon-stackable-window.h
1171 * src/hildon-window-stack.h:
1172 Protect definition of HildonWindowStack using the preprocessor.
1174 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1176 * src/hildon-app-menu.c (hildon_app_menu_repack_items):
1177 Fix warning if all menu items are hidden.
1179 2008-12-02 Claudio Saavedra <csaavedra@igalia.com>
1181 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1183 * src/hildon-controlbar.c:
1184 * src/hildon-hvolumebar.c:
1185 * src/hildon-vvolumebar.c: (hildon_vvolumebar_size_allocate):
1186 Multiple scale size defines updates.
1188 Fixes: NB#94322 (Scale Updates)
1190 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1192 * examples/hildon-app-menu-example.c (create_menu)
1193 Show items after adding them to the menu, as in the future the
1194 menu will no longer call gtk_widget_show() on the added items.
1196 * src/hildon-app-menu.c:
1197 Update example as explained above.
1199 2008-12-02 Alberto Garcia <agarcia@igalia.com>
1201 * src/hildon-app-menu.c
1202 (hildon_app_menu_insert, hildon_app_menu_add_filter):
1203 Make sure that all menu items have finger height.
1205 2008-12-01 Alejandro Pinheiro <apinheiro@igalia.com>
1207 * src/hildon-picker-dialog.c:
1208 (_on_dialog_response), (_save_current_selection),
1209 (_restore_current_selection), (_clean_current_selection),
1210 (hildon_picker_dialog_finalize), (hildon_picker_dialog_show)
1211 Defined new functions in order to save the current internal selector
1212 selection previous open the dialog, in case that the use cancel the
1213 interaction, so the widget restores the previous selection.
1215 Fixes: NB#92032 (In calendar application, date values in 'new event'
1218 (requires_done_button): use of macro HILDON_TOUCH_SELECTOR_HEIGHT
1220 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1222 * src/hildon-button.c: Add a reference to the button examples in
1223 hildon-button-example.c
1225 * examples/hildon-button-example.c: Added examples of the most
1226 common button layouts.
1228 2008-11-28 Alberto Garcia <agarcia@igalia.com>
1230 * src/hildon-app-menu.c (hildon_app_menu_show)
1231 (hildon_app_menu_class_init): Don't show the menu if it's empty.
1233 Fixes: NB#93890 (Empty HildonAppMenu is pop-up)
1235 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1237 * src/hildon-picker-dialog.c:
1238 (hildon_picker_dialog_init): Initialize the signal id for
1239 HildonTouchSelector::columns-changed.
1240 (+on_selector_columns_changed): Set up the interaction mode everytime a
1241 column is added or removed from the HildonTouchSelector.
1242 (_hildon_picker_dialog_set_selector): Connect to
1243 HildonTouchSelector::columns-changed and keep track of it.
1245 Make sure to update the interaction mode of the dialog everytime a
1246 column is added or removed in the HildonTouchSelector.
1248 Fixes: NB#93228 (Done button is not shown always in listpicker)
1250 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1252 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init): Add
1253 a new ::columns-changed signal.
1254 (hildon_touch_selector_append_column): Emit ::columns-changed.
1255 (hildon_touch_selector_remove_column): Emit ::columns-changed.
1257 Add a ::columns-changed signal, emitted when the number of columns in a
1258 HildonTouchSelector changes.
1260 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1262 * src/hildon-picker-dialog.c: (+setup_interaction_mode),
1263 (_hildon_picker_dialog_set_selector): Factor out the code
1264 to set up the dialog interaction mode.
1266 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1268 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init),
1269 (_hildon_picker_dialog_set_selector): Rename signal_id private variable
1270 to signal_changed_id.
1272 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1274 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1277 2008-11-27 Alejandro Pinheiro <apinheiro@igalia.com>
1279 * src/hildon-time-selector.c: (_custom_print_func), (_create_ampm_model)
1280 Updated the logical ids related to ampm format, as now it is required to
1281 show it correctly localized even on languages with no default
1282 abbreviations for am or pm
1283 (_check_am_pm_format): check correctly the 24h format gconf property
1285 Fixes: NB#93680 (HildonTimePicker need fully localized am/pm)
1287 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1289 * src/hildon-button.c: Documentation updates.
1291 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1293 * src/hildon-marshalers.list: Add BOOLEAN:VOID.
1294 * src/hildon-caption.c: (hildon_caption_class_init):
1295 * src/hildon-color-button.c: (hildon_color_button_class_init):
1296 * src/hildon-find-toolbar.c: (hildon_find_toolbar_class_init):
1297 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init):
1298 * src/hildon-volumebar.c: (hildon_volumebar_class_init):
1299 * src/hildon-weekday-picker.c: (hildon_weekday_picker_class_init):
1301 Remove deprecated GTK+ marshalers and replace them with the ones
1302 provided by GLib, for those available, add a marshaler for
1303 BOOLEAN:VOID, which is not available in GLib, and use it.
1305 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1307 * src/hildon-touch-selector.c: (_default_print_func): Do not reuse
1308 the text from the previous column if there is no
1309 HildonTouchSelectorColumn::text-property set.
1311 2008-11-27 Alberto Garcia <agarcia@igalia.com>
1313 * src/hildon-button.h
1314 * src/hildon-button.c (hildon_button_set_property)
1315 (hildon_button_get_property, hildon_button_class_init)
1316 (hildon_button_set_style, hildon_button_get_style):
1317 New "style" property to change the visual appearance of the
1320 * src/hildon-picker-button.c (hildon_picker_button_new):
1321 Set the new "style" property to HILDON_BUTTON_STYLE_PICKER.
1323 Fixes: NB#93281 (new API: hildon_button_set_picker_style() to set
1324 HildonButton look like PickerButton)
1326 2008-11-27 Claudio Saavedra <csaavedra@igalia.com>
1328 * src/hildon-touch-selector.c: (_default_print_func): Get the correct
1329 column while building the default string.
1331 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1333 * src/hildon-touch-selector.c: (_create_new_column): Do not disable the
1334 scroll indicator by default.
1336 Fixes: NB#92230 (Scroll indication not visible in HildonTouchSelector)
1338 2008-11-25 Claudio Saavedra <csaavedra@igalia.com>
1340 * src/hildon-main.c: Fix the documentation for hildon_init()
1342 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1344 * doc/hildon-docs.sgml
1348 * src/hildon-window-stack-private.h
1349 * src/hildon-window-stack.h
1350 * src/hildon-window-stack.c:
1351 New HildonWindowStack object, that adds support for multiple
1352 stacks of windows per process.
1354 * src/hildon-stackable-window-private.h
1355 * src/hildon-stackable-window.h
1356 * src/hildon-stackable-window.c (hildon_stackable_window_set_stack)
1357 (hildon_stackable_window_get_stack, hildon_stackable_window_map)
1358 (hildon_stackable_window_show, hildon_stackable_window_hide)
1359 (hildon_stackable_window_class_init)
1360 (hildon_stackable_window_init):
1361 Use HildonWindowStack for stack management.
1363 * src/hildon-program.c (hildon_program_pop_window_stack)
1364 (hildon_program_peek_window_stack)
1365 (hildon_program_go_to_root_window):
1366 Add a fallback implementation to the deprecated functions using
1369 * examples/hildon-stackable-window-example.c:
1370 Use the new HildonWindowStack API.
1372 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1374 * src/hildon-stackable-window-private.h
1375 * src/hildon-stackable-window.c (hildon_stackable_window_show)
1376 (hildon_stackable_window_hide, hildon_stackable_window_init):
1377 Remove all window stack management.
1379 * src/hildon-program-private.h
1380 * src/hildon-program.h
1381 * src/hildon-program.c (hildon_program_init)
1382 (hildon_program_pop_window_stack)
1383 (hildon_program_peek_window_stack)
1384 (hildon_program_go_to_root_window):
1385 Remove all window stack management and mark functions as
1388 2008-11-25 Alberto Garcia <agarcia@igalia.com>
1390 * src/hildon-app-menu.c (hildon_app_menu_realize):
1391 Use the XA_ATOM type for the _NET_WM_WINDOW_TYPE property.
1393 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1395 * configure.ac: post release version bump
1396 * debian/changelog: version bump
1398 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1403 * configure.ac: bump version
1404 * debian/changelog: updates
1406 2008-11-24 Claudio Saavedra <csaavedra@igalia.com>
1408 Based on initial code by Christian Dywan (christian@imendio.com)
1410 * doc/hildon-docs.sgml: Add section for hildon-main.
1411 * examples/*.c: (main): Replace gtk_main() calls with hildon_gtk_main().
1412 * src/Makefile.am: Add new hildon-main.[ch]
1413 * src/hildon-defines.h: Update the icon sizes.
1414 * src/hildon-main.c: (+hildon_init), (+hildon_gtk_init): Add
1415 new library initialization files and register icon sizes.
1416 * src/hildon-main.h: New declarations.
1417 * src/hildon.h: Include hildon-main.h
1419 Add new initialization functions to the library. These methods
1420 will register the hildon specific icon sizes and can be used in the
1421 future for other hildon specific bits.
1423 Fixes: NB#92476 (Update icon size constants to Fremantle (hildon-defines.h))
1425 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1427 * src/hildon-window.c: (hildon_window_realize),
1428 (hildon_window_notify), (-hildon_window_update_title): Do not set
1429 the application name in the window title.
1431 Fixes: NB#89754 (Applications shouldn't display their names in the
1434 2008-11-21 Claudio Saavedra <csaavedra@igalia.com>
1436 * src/hildon-note-private.h:
1437 * src/hildon-note.c: (hildon_note_set_property),
1438 (hildon_note_get_property), (hildon_note_class_init),
1439 (hildon_note_init), (hildon_note_finalize),
1440 (hildon_note_new_confirmation_with_icon_name),
1441 (hildon_note_new_information_with_icon_name):
1443 No need to mark as deprecated the actual code. Revert
1444 to avoid missing symbols in widgets using deprecated API.
1446 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1448 Based on a patch by Claudio Saavedra (csaavedra@igalia.com)
1450 * src/hildon-volumebar.h
1451 * src/hildon-volumebar.c (hildon_volumebar_set_range_insensitive_message)
1452 (hildon_volumebar_set_range_insensitive_messagef): Mark as deprecated.
1454 * src/hildon-helper.h
1455 * src/hildon-helper.c (hildon_helper_set_insensitive_message)
1456 (hildon_helper_set_insensitive_messagef): Mark as deprecated.
1458 * examples/Makefile.am:
1459 Deprecate hildon-insensitive-example
1461 Fixes: NB#92664 (Deprecate hildon_helper_set_insensitive_message)
1463 2008-11-20 Alberto Garcia <agarcia@igalia.com>
1465 * examples/hildon-pannable-area-buttons-scroll-example.c:
1466 Make all buttons finger height
1468 2008-11-19 Alejandro Pinheiro <apinheiro@igalia.com>
1470 * src/hildon-touch-selector.c: updated the HildonTouchSelector::changed
1472 * src/hildon-date-selector.c: (_update_day_model): Modified in order to
1473 update the day model only if it is really required, and to avoid the
1474 full-reconstruction aproach. Now it only add or remove the required days.
1476 The purpose of this is avoid superfluous HildonTouchSelector::changed
1479 Fixes: NB#92744 (HildonDateSelector emits multiple "changed" singal
1480 with strange parameters)
1482 2008-11-19 Claudio Saavedra <csaavedra@igalia.com>
1484 Patch contributed by Adam Endrodi (adam.endrodi@blumsoft.eu)
1486 * src/hildon-note.c: (hildon_note_init), (hildon_note_realize): Set properly
1487 the WINDOW_TYPE property.
1489 Fixes: NB#92897 (HildonNotes have incorrect WINDOW_TYPE)
1491 2008-11-19 Alberto Garcia <agarcia@igalia.com>
1494 Fix dependency to allow parallel compilation with make -jX
1496 2008-11-18 Claudio Saavedra <csaavedra@igalia.com>
1498 * src/hildon-color-chooser-dialog.c: Use theme colors for the selected
1499 color frame and some minor tweaks to make it more consistent with
1502 Fixes: NB#91769 (HildonColorChooserDialog's selected colour is
1503 highlighted but not visible)
1505 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1507 * examples/Makefile.am: Fixed typo in the Makefile.am.
1509 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1511 Reviewed the use of MAEMO_GTK define, now we add the define in the
1512 compilation line, and we also add it to the pc file.
1514 * configure.ac: Added MAEMO_GTK define to the compilation command
1515 and removed it from the config.h.
1517 * pkgconfig/hildon.pc.in: Added MAEMO_GTK, that way applications
1518 do not have to take care about this define if the library was
1522 * src/hildon-gtk.h: Replaced MAEMO_CHANGES with MAEMO_GTK.
1524 2008-11-14 Alejandro G. Castro <alex@igalia.com>
1526 * examples/Makefile.am,
1527 * examples/hildon-pannable-area-buttons-scroll-example.c,
1528 * examples/hildon-pannable-area-gesture-signals-example.c,
1529 * examples/hildon-pannable-area-scroll-jump-example.c,
1530 * examples/hildon-pannable-area-tree-view-example.c:
1531 Renamed the pannable area examples, now they have more meaningful
1534 2008-11-13 Alejandro Pinheiro <apinheiro@igalia.com>
1536 * src/hildon-touch-selector.c:
1537 (hildon_touch_selector_set_column_selection_mode): Used of
1538 GTK_SELECTION_BROWSE instead of GTK_SELECTION_SINGLE gtk tree selection
1539 mode setting HILDON_TOUCH_SELECTOR_SELECTION_MODE_SINGLE. Added a check
1540 to avoid re-seting the same selection mode.
1542 Fixes: NB#91863 (hildon_touch_selector_set_column_selection_mode()
1543 breaks HildonPickerDialog)
1545 2008-11-13 Alejandro G. Castro <alex@igalia.com>
1547 * examples/Makefile.am: Fixed problem with the USE_MAEMO_GTK
1548 conditional in the Makefile.am
1550 2008-11-12 Claudio Saavedra <csaavedra@igalia.com>
1552 * src/hildon-window.c (-find_findtoolbar_index), (-find_findtoolbar):
1553 Remove unused methods.
1555 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1557 * src/hildon-button.c (hildon_button_init):
1558 Make button images center-aligned by default
1560 2008-11-12 Alejandro G. Castro <alex@igalia.com>
1563 * src/hildon-gtk.h: Fixed compilation problem with MAEMO_CHANGES
1564 activated, we have to think about how to deal with both defines
1565 MAEMO_GTK and MAEMO_CHANGES.
1567 2008-11-12 Alberto Garcia <agarcia@igalia.com>
1569 * examples/hildon-app-menu-example.c (create_menu): Make all
1570 buttons finger size.
1572 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1574 Fixed the compilation without maemo gtk adding ifdefs with
1575 MAEMO_GTK define to the code, we have to check this version more
1578 * examples/Makefile.am: Added control to avoid some examples that
1579 just make sense with maemo gtk.
1582 * src/hildon-gtk.h: Remove some functions that use the maemo gtk
1583 hildon modes with the define.
1585 * examples/hildon-edit-toolbar-example.c,
1586 (create_icon_view): Create the icon view without hildon-gtk
1587 helpers if we are not using maemo gtk.
1589 * src/hildon-touch-selector.c,
1590 (_create_new_column): Create the treeview without hildon-gtk
1591 helpers if we are not using maemo gtk.
1593 2008-11-11 Alejandro G. Castro <alex@igalia.com>
1595 * src/hildon-pnnable-area.c,
1596 (hildon_pannable_area_dispose),
1597 (hildon_pannable_area_button_press_cb),
1598 (hildon_pannable_area_child_mapped),
1599 (hildon_pannable_area_add),
1600 (hildon_pannable_area_remove): Added code to control the position
1601 of the event_window when adding and removing children from the
1602 pannable. We have to raise the event window when the child is
1605 Fixes: NB#89811 (Not able to select first image thumbnail in multi
1606 selection mode using custom widget inside pannable)
1608 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1610 * configure.ac: post release version bump
1611 * debian/changelog: version bump
1613 2008-11-11 Claudio Saavedra <csaavedra@igalia.com>
1618 * configure.ac: bump version
1619 * debian/changelog: updates
1621 2008-11-10 Alejandro Pinheiro <apinheiro@igalia.com>
1623 * src/hildon-touch-selector.c: (_create_new_column): Disable treeview
1624 search mode, in order to avoid lose the focus on the treeview when
1625 a hw key (like enter) is pressed.
1627 Fixes: NB#91995 (Calendar is crashing after pressing 'Enter' HW key
1628 in HildonDateSelector dialog)
1630 2008-11-06 Alejandro Pinheiro <apinheiro@igalia.com>
1632 * debian/rules: Added --enable-maintainer-mode
1633 * Makefile.am: Added ACLOCAL_AMFLAGS
1635 This allows to properly regenerate the Makefiles if you modify the
1636 configure.ac or any Makefile.am.
1638 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1640 * examples/hildon-app-menu-example.c: (main): Do not set RC style
1641 properties, not needed at all.
1643 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1645 * src/hildon-note-private.h: Add strings for the icon and stock_icon
1647 * src/hildon-note.c: (hildon_note_set_property),
1648 (hildon_note_get_property), (hildon_note_class_init),
1649 (hildon_note_init), (hildon_note_finalize), (hildon_note_rebuild),
1650 (hildon_note_new_confirmation_add_buttons): Remove icons.
1651 (hildon_note_new_confirmation_with_icon_name): Deprecate.
1652 (hildon_note_new_information_with_icon_name): Deprecate.
1653 (hildon_note_new_confirmation): Act directly, without calling
1654 the deprecated constructor.
1655 (hildon_note_new_information): Act directly, without calling
1656 the deprecated constructor.
1657 * src/hildon-note.h: Mark deprecate methods as such.
1658 * tests/check-hildon-note.c: (create_hildon_note_suite): Do
1659 not run tests on the deprecated methods if built with deprecation
1662 Fixes: NB#91688 (Never show icons in information notes/confirmation
1665 2008-11-06 Claudio Saavedra <csaavedra@igalia.com>
1667 * src/hildon-app-menu.c: (hildon_app_menu_set_parent_window),
1668 (hildon_app_menu_key_press): Remove leftover usage of the
1669 private structure in HildonAppMenu struct.
1670 * src/hildon-app-menu.h: Remove leftover private structure
1671 from the HildonAppMenu struct.
1673 Fixes a crasher when using the HildonAppMenu.
1675 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1677 * src/hildon-picker-dialog.c: Use appropriate logical id
1678 for the default "Done" text.
1680 2008-11-05 Claudio Saavedra <csaavedra@igalia.com>
1682 * configure.ac: post release version bump
1683 * debian/changelog: version bump
1685 2008-11-05 Alejandro Pinheiro <apinheiro@igalia.com>
1687 Modified the way to scroll to the current selection just when the touch
1688 selector is shown on the screen, avoiding a g_idle. Added too a property
1689 to configure this behaviour. See hildon_pannable_area_jump_to_child
1690 documentation for more information.
1692 * src/hildon-touch-selector.c
1693 Removed unused CENTER_ON_SELECTED_ITEM_DELAY macro
1694 Added 'initial-scroll' property
1695 (hildon_touch_selector_set_property): Added
1696 (hildon_touch_selector_map): Removed as not required anymore
1697 (_hildon_touch_selector_on_selected_items): Modified in order to manage
1698 only a concrete column, instead of iterate along all the columns
1700 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1705 * configure.ac: bump version
1706 * debian/changelog: updates
1708 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1710 * src/hildon-button.c: (hildon_button_set_arrangement): Fix some
1711 compilation time warnings.
1713 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1715 * src/hildon-pannable-area.c: (hildon_pannable_area_class_init): Set
1716 the default value for HildonPannableArea::mov-mode to
1717 HILDON_PANNABLE_AREA_MODE_VERT.
1719 Fixes: NB#91385 (Hildon Touch List panning should be ALWAYS vertical only)
1721 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1723 Reverting following commit:
1725 2008-10-13 Alberto Garcia <agarcia@igalia.com>
1727 * src/hildon-app-menu-private.h
1728 * src/hildon-app-menu.[ch]
1729 * src/hildon-button.[ch]
1730 * src/hildon-check-button.[ch]
1731 * src/hildon-entry.[ch]
1732 * src/hildon-pannable-area.[ch]
1733 * src/hildon-text-view.[ch]:
1734 Added private field to the object's structure.
1736 because it causes an ABI breakage. We will need to introduce these
1737 changes later at some point. See NB#91636 for an extensive
1738 explanation and status.
1740 2008-11-04 Claudio Saavedra <csaavedra@igalia.com>
1742 Patch contributed by Daniel Borgmann (danielb@openismus.com)
1744 * src/hildon-window.c: (paint_toolbar): Update toolbar sizes and
1745 remove special cases that are no longer necessary.
1747 Fixes: NB#91016 (Change toolbar sizes, simplification)
1749 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1751 * src/hildon-note.c: (hildon_note_rebuild): Make sure the cancel button
1752 is shown in the cancel note.
1754 2008-11-03 Claudio Saavedra <csaavedra@igalia.com>
1756 * src/hildon-controlbar.c: (hildon_controlbar_init): Remove steppers.
1757 * src/hildon-seekbar.c: (hildon_seekbar_class_init),
1758 (hildon_seekbar_init): Remove steppers, remove expose event.
1759 * src/hildon-volumebar-range.c: (hildon_volumebar_range_init): Remove steppers.
1761 Fixes: NB#91104 (Remove stepper buttons from legacy hildon widgets)
1763 2008-10-31 Claudio Saavedra <csaavedra@igalia.com>
1765 * src/hildon-button.c: (hildon_button_set_arrangement): Set the value
1766 label font to "SmallSystemFont" for vertically arranged buttons.
1768 Fixes: NB#90662 (HildonButton "value" and "detail" text is
1771 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1773 * src/hildon-check-button.c
1774 (hildon_check_button_set_active, hildon_check_button_clicked):
1775 Don't access private parts directly, use getters instead.
1777 2008-10-31 Alberto Garcia <agarcia@igalia.com>
1779 * src/hildon-check-button.c (hildon_check_button_new):
1780 Align the contents of the check button to the left.
1782 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1784 * src/hildon-pannable-area.c,
1785 (hildon_pannable_area_scroll_to),
1786 (hildon_pannable_area_jump_to),
1787 (hildon_pannable_area_scroll_to_child),
1788 (hildon_pannable_area_jump_to_child): Replace the mapped
1789 precondition of these functions with the realized, it is the
1790 correct state of the widget in this case. Changed the
1791 documentation according to this modification.
1793 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1795 Added a new EXTRA_CFLAGS option to add the deprecated define to
1796 the compilation command. This way we can avoid using the define in
1797 the documentation compilation.
1799 * configure.ac: Defined EXTRA_CFLAGS.
1801 * examples/Makefile.am:
1803 * tests/Makefile.am: Included EXTRA_CFLAGS in the compilation.
1805 2008-10-30 Alejandro Pinheiro <apinheiro@igalia.com>
1807 * src/hildon-picker-dialog.c:
1808 Defined a utility macro with the desired touch selector height
1809 Removed currently unused separator, and title_label variables from
1811 (hildon_picker_dialog_init): Removed code related to the creation
1812 of unused private variables title_label and separator.
1813 (_hildon_picker_dialog_set_selector): Added gtk_widget_set_size_request
1814 to ensure correct visualization of the touch selector inside the dialog.
1815 * src/hildon-touch-selector.c
1816 (hildon_touch_selector_init): Removed a gtk_widget_set_size_request to
1817 ensure a concrete height of the widget.
1819 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1822 * tests/Makefile.am:
1824 Remove spurious whitespaces.
1826 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1828 * src/hildon-code-dialog.c: (hildon_code_dialog_init): Fix a
1829 compilation warning after the cancel button removal.
1831 2008-10-30 Alejandro G. Castro <alex@igalia.com>
1833 Fremantle deprecated widgets marked, HILDON_DISABLE_DEPRECATED
1835 * configure.ac: Added an AM_CONDITIONAL in order to use in the
1836 Makefile.am, that way we can choose not to compile some examples
1837 and tests of the deprecated widgets.
1839 * examples/Makefile.am: Divided the sources in deprecated and
1842 * src/Makefile.am: Added undef statement of the deprecated
1843 symbol to the enums file generation process.
1845 * src/hildon-color-chooser-dialog.c
1846 * src/hildon-color-chooser-dialog.h
1847 * src/hildon-color-button.c
1848 * src/hildon-color-button.h
1849 * src/hildon-color-chooser.c
1850 * src/hildon-color-chooser.h
1851 * src/hildon-controlbar.c
1852 * src/hildon-controlbar.h
1853 * src/hildon-date-editor.c
1854 * src/hildon-date-editor.h
1855 * src/hildon-hvolumebar.c
1856 * src/hildon-hvolumebar.h
1857 * src/hildon-private.c
1858 * src/hildon-private.h
1859 * src/hildon-range-editor.c
1860 * src/hildon-range-editor.h
1861 * src/hildon-seekbar.c
1862 * src/hildon-seekbar.h
1863 * src/hildon-time-editor.c
1864 * src/hildon-time-editor.h
1865 * src/hildon-time-picker.c
1866 * src/hildon-time-picker.h
1867 * src/hildon-volumebar.c
1868 * src/hildon-volumebar.h
1869 * src/hildon-vvolumebar.c
1870 * src/hildon-vvolumebar.h
1871 * src/hildon-bread-crumb-trail.h
1872 * src/hildon-bread-crumb-trail.c
1873 * src/hildon-calendar-popup.c
1874 * src/hildon-calendar-popup.h
1875 * src/hildon-weekday-picker.c:
1876 * src/hildon-weekday-picker.h:
1877 * src/hildon-bread-crumb-widget.c:
1878 * src/hildon-bread-crumb-widget.h:
1879 * src/hildon-bread-crumb.c:
1880 * src/hildon-bread-crumb.h:
1881 * src/hildon-calendar.c:
1882 * src/hildon-calendar.h:
1883 * src/hildon-caption.c:
1884 * src/hildon-code-dialog.c:
1885 * src/hildon-code-dialog.h:
1886 * src/hildon-font-selection-dialog.c:
1887 * src/hildon-font-selection-dialog.h:
1888 * src/hildon-get-password-dialog.c:
1889 * src/hildon-get-password-dialog.h:
1890 * src/hildon-login-dialog.c:
1891 * src/hildon-login-dialog.h:
1892 * src/hildon-number-editor.c:
1893 * src/hildon-number-editor.h:
1894 * src/hildon-set-password-dialog.c:
1895 * src/hildon-set-password-dialog.h:
1896 * src/hildon-sort-dialog.c:
1897 * src/hildon-sort-dialog.h: This is the list of deprecated
1900 * src/hildon-touch-selector.c:
1901 * src/hildon-window.c: Added undef statement to avoid compilation
1904 * tests/Makefile.am: Divided the sources in deprecated and
1907 * tests/check_test.c,
1908 (configure_tests): Marked the deprecated code that was adding
1909 suites with deprecated tests.
1911 Fixes: NB#91135 (Deprecate legacy hildon widgets)
1913 2008-10-30 Claudio Saavedra <csaavedra@igalia.com>
1915 * src/hildon-touch-selector.c: (_default_print_func): Do not
1916 duplicate a string returned by gtk_tree_model_get(), it is already
1919 Fixes: NB#91192 (Memory leak in HildonTouchSelector default print
1922 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1924 * src/hildon-pannable-area.c
1925 (hildon_pannable_area_add_with_viewport): Reviewed the complete
1926 method, it had problems when adding a widget with viewport the
1927 second time. Now checks if it already has a viewport and uses it.
1929 Fixes: NB#90994 (HildonPannableArea does not connect "destroyed"
1932 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1934 * src/hildon-pannable-area.c,
1935 (hildon_pannable_area_scroll_to),
1936 (hildon_pannable_area_jump_to),
1937 (hildon_pannable_area_scroll_to_child),
1938 (hildon_pannable_area_jump_to_child): Added a precondition to the
1939 scroll and jump to functions: the widget must be mapped before we
1940 can safely call these functions. We have also added documentation
1941 to the functions to explain how to use them in this situation.
1944 2008-10-28 Alejandro G. Castro <alex@igalia.com>
1946 Reviewed the threading handling of the pannable widget, we have
1947 used the gdk_threads_add_timeout function instead of the usual
1948 glib handlers. This avoids some problems with the threads.
1950 * src/hildon-pannable-area.c (hildon_pannable_area_grab_notify),
1951 (hildon_pannable_area_initial_effect),
1952 (hildon_pannable_area_scroll_indicator_fade),
1953 (hildon_pannable_area_button_press_cb),
1954 (hildon_pannable_area_timeout),
1955 (hildon_pannable_area_motion_notify_cb),
1956 (hildon_pannable_area_button_release_cb),
1957 (hildon_pannable_area_scroll_cb),
1958 (hildon_pannable_area_scroll_to): Removed the
1959 GDK_THREAD_ENTER/LEAVE and replaced g_timeout_add with
1960 gdk_threads_add_timeout.
1962 Fixes: NB#89541 (Crash in pannable area when closing picker dialog)
1964 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
1969 * configure.ac: bump version
1970 * debian/changelog: updates
1972 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
1974 * src/hildon-calendar-popup.c: (hildon_calendar_popup_init):
1975 * src/hildon-code-dialog.c: (hildon_code_dialog_init):
1976 * src/hildon-color-chooser-dialog.c:
1977 (hildon_color_chooser_dialog_init):
1978 * src/hildon-font-selection-dialog.c:
1979 (hildon_font_selection_dialog_init):
1980 * src/hildon-login-dialog.c: (hildon_login_dialog_init):
1982 Remove all cancel/close-like dialogs, as these are not going to be
1985 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
1987 * src/hildon-note.c: (hildon_note_rebuild),
1988 (hildon_note_new_confirmation_add_buttons): Explicitely show the buttons
1991 Fixes: NB#90661 (Delete dialog is displayed without NO button)
1993 2008-10-27 Claudio Saavedra <csaavedra@igalia.com>
1995 * src/hildon-note.c: (hildon_note_new_confirmation_add_buttons): Make
1996 sure all buttons are shown, even the Cancel/Close-like ones.
1998 Fixes: NB#90861 (Custom Confirmation dialogs should be
1999 protected from cancel button removal)
2001 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2003 * debian/control: Change libhildon1-examples dependency from libhildon1
2005 * debian/libhildon1-examples.install
2007 * Makefile.am: Modified the final install directory for the examples on
2008 package libhildon1-examples
2009 * Makefile.static: Update clean target in order to remove all the binary
2012 Changes suggested by Claudio after review new libhildon1-examples package
2014 2008-10-23 Claudio Saavedra <csaavedra@igalia.com>
2016 * src/hildon-touch-selector-entry.c: Fix some gtk-doc warnings.
2017 * src/hildon-touch-selector.c: Ditto.
2019 2008-10-23 Alejandro Pinheiro <apinheiro@igalia.com>
2021 * debian/control: Added new package libhildon1-examples, in order to pack
2022 the current hildon examples as documentation
2023 * debian/rules: Not to compress .c files, modify some includes on the
2024 examples (as normally are compiled locally, but when installed it will
2025 require to include the installed libhildon1 library), and rename
2027 * examples/Makefile.am: Added examplesdir and examples_DATA, in order to
2028 install all the example files on the new example package
2029 * examples/Makefile.static: Added static makefile that can be used to
2030 compile the examples, once installed the new example package
2031 * examples: Most of the examples were modified in order to grant that
2032 all use only '#include "hildon.h"', in order to be easy to prepare
2033 it on the example package
2035 2008-10-23 Alberto Garcia <agarcia@igalia.com>
2038 * debian/libhildon1-dev.install
2039 * debian/libhildon1-doc.install:
2040 Move all gtk-doc files to a separate libhildon1-doc package.
2042 2008-10-23 Daniel Borgmann <danielb@openismus.com>
2044 reviewed by: Claudio Saavedra <csaavedra@igalia.com>
2046 * src/hildon-gtk.c (hildon_gtk_menu_new): Change capitalization
2048 2008-10-22 Alejandro Pinheiro <apinheiro@igalia.com>
2050 * debian/rules: Fixed a error in order to avoid unnecessary calls
2051 to autogen.sh on package building
2053 2008-10-22 Alberto Garcia <agarcia@igalia.com>
2055 * examples/hildon-app-menu-example.c: Add keyboard accelerator.
2057 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2059 * src/hildon-picker-dialog.h: Add missing HildonTouchSelector
2062 2008-10-21 Alberto Garcia <agarcia@igalia.com>
2064 * src/hildon-picker-button.c
2065 (hildon_picker_button_finalize):
2066 Free priv->done_button_text
2068 * src/hildon-time-button.c
2069 (hildon_time_button_set_time)
2070 * src/hildon-picker-button.c
2071 (hildon_picker_button_clicked)
2072 (hildon_picker_button_selector_selection_changed)
2073 (hildon_picker_button_set_selector)
2074 * src/hildon-date-button.c
2075 (hildon_date_button_set_date):
2076 Free strings returned by hildon_touch_selector_get_current_text()
2078 * src/hildon-button.c (hildon_button_construct_child):
2079 Fix leaks in priv->image and priv->label_box
2081 Fixes: NB#90535 (Memory leak in picker button)
2083 2008-10-21 Claudio Saavedra <csaavedra@igalia.com>
2085 * src/hildon-button.c: (hildon_button_get_property): Do not access
2086 private elements directly, use getters instead.
2088 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2090 * src/hildon-app-menu-private.h
2091 * src/hildon-app-menu.c
2092 (hildon_app_menu_init, hildon_app_menu_set_parent_window):
2093 Store the menu's parent window.
2095 * src/hildon-stackable-window.c
2096 (hildon_stackable_window_toggle_menu)
2097 (hildon_stackable_window_finalize):
2098 Set the menu's parent window when the menu is shown, unset it when
2101 * src/hildon-app-menu.c
2102 (hildon_app_menu_hide_idle, hildon_app_menu_key_press)
2103 (hildon_app_menu_class_init):
2104 Send unhandled keyboard accelerators to the parent window.
2106 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2108 * src/hildon-stackable-window.c
2109 (hildon_stackable_window_finalize): Unref the menu, don't destroy it
2111 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2113 * configure.ac: post release version bump
2115 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2118 * configure.ac: Bump version
2119 * debian/changelog: Updates
2120 * debian/rules: Set PKG_CONFIG_PATH to make docs build with
2123 2008-10-20 Alberto Garcia <agarcia@igalia.com>
2125 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2128 * src/hildon-gtk.c (hildon_gtk_menu_new): New function to create a
2129 GtkMenu with Hildon style.
2131 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2133 * src/hildon-picker-button.c:
2134 (hildon_picker_button_set_done_button_text): Set the dialog's
2135 done button text here as well.
2137 Fixes: NB#90232 (Picker button does not set the label on done button
2138 for the second time)
2140 2008-10-20 Claudio Saavedra <csaavedra@igalia.com>
2142 * src/hildon-picker-button.c: (hildon_picker_button_clicked): Update
2145 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2147 * src/hildon-app-menu.c (hildon_app_menu_insert)
2148 (hildon_app_menu_add_filter, can_activate_accel): Allow items in
2149 the HildonAppMenu to be activatable using keyboard accelerators
2150 when the menu is not being shown.
2152 Fixes: NB#89935 (Shortcuts for menu buttons are not working)
2154 2008-10-16 Alberto Garcia <agarcia@igalia.com>
2156 * src/hildon-stackable-window.c
2157 (hildon_stackable_window_show):
2158 Don't hide old windows automatically when new windows are shown:
2159 this is now a task for the window manager.
2160 (hildon_stackable_window_class_init)
2161 (hildon_stackable_window_hide):
2162 Remove windows from the stack everytime they're hidden.
2163 (hildon_stackable_window_realize):
2164 Don't change the _NET_WM_WINDOW_TYPE property. Use
2165 _HILDON_STACKABLE_WINDOW instead for the window manager to manage
2166 it as a stackable window.
2168 * src/hildon-program.c
2169 (hildon_program_pop_window_stack):
2170 Just hide the window to remove it from the stack.
2171 (hildon_program_go_to_root_window):
2172 Don't call gtk_widget_show(), this is now a task for the window
2175 Fixes: NB#89411 (Window Manager locks caused by HildonStackableWindow)
2177 2008-10-15 Alberto Garcia <agarcia@igalia.com>
2179 * src/hildon-button.c
2180 (hildon_button_construct_child):
2181 Don't pack anything in the button until text or image are
2182 set. This allows adding a custom child after creating the button
2183 with hildon_button_new().
2184 (hildon_button_finalize, hildon_button_class_init)
2185 (hildon_button_init, hildon_button_set_arrangement): Destroy the
2186 alignment and the label box even when they're not packed in the
2189 2008-10-14 Alejandro Pinheiro <apinheiro@igalia.com>
2191 * src/hildon-touch-selector.h:
2192 Set parent_instance and parent_class as GtkVBox and GtkVboxClass, as
2193 currently the type definition was using GTK_TYPE_VBOX
2194 * src/hildon-touch-selector.c:
2195 Added some implementation notes in order to clarify that any other widget
2196 added without the column related API will not be included on the
2197 selection logic, and how the widget is freed, as some people ask about
2199 (hildon_touch_selector_remove): Reimplemented in order to free properly
2200 the column related data when you remove the private hbox.
2201 * doc/hildon.types: Added the type hildon_touch_selector_column, in order
2202 to get a proper HildonTouchSelectorColumn documentation
2204 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2206 * src/hildon-touch-selector-entry.c:
2207 (hildon_touch_selector_entry_print_func): Return NULL if there is no
2208 text in the GtkEntry and there is no item selected. Fixes a
2211 2008-10-13 Alberto Garcia <agarcia@igalia.com>
2213 * src/hildon-app-menu-private.h
2214 * src/hildon-app-menu.[ch]
2215 * src/hildon-button.[ch]
2216 * src/hildon-check-button.[ch]
2217 * src/hildon-entry.[ch]
2218 * src/hildon-pannable-area.[ch]
2219 * src/hildon-text-view.[ch]:
2220 Added private field to the object's structure.
2222 2008-10-13 Claudio Saavedra <csaavedra@igalia.com>
2224 * configure.ac: post-release version bump
2226 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2230 * configure.ac: pre-release version bump
2232 * debian/changelog: updates.
2234 2008-10-10 Claudio Saavedra <csaavedra@igalia.com>
2236 * src/hildon-picker-button.c: (hildon_picker_button_finalize):
2237 Disconnect the handler for HildonTouchSelector::changed.
2239 (hildon_picker_button_selector_selection_changed): Update the button
2240 value if the selection change was not triggered by the
2243 (hildon_picker_button_set_selector): connect to
2244 HildonTouchSelector::changed.
2246 Fixes: NB#89650 (Picker button is not updated, when selection in
2247 selector has changed)
2249 2008-10-09 Alejandro Pinheiro <apinheiro@igalia.com>
2251 * src/hildon-picker-dialog.c
2252 (hildon_picker_dialog_realize): Removed as not required
2253 (hildon_picker_dialog_class_init): Avoid to redefine widget->realize
2254 * src/hildon-picker-button.c
2255 (_current_selector_empty): New function, checks if the selector is empty
2256 (hildon_picker_button_clicked): Now it checks (using _current_selector_empty)
2257 if the current selector is empty, in order to avoid to show the dialog
2258 close the dialog in this case (and shows a g_warning).
2260 Fixes: NB#88946 (Hildon Picker button should disable itself if there are no values)
2262 2008-10-09 Alejandro G. Castro <alex@igalia.com>
2264 * src/hildon-pannable-area.c,
2265 (hildon_pannable_area_scroll): Added clause to stop movement when
2266 the child of pannable is smaller than one page.
2267 (hildon_pannable_area_scroll_to): Added conditions to avoid
2268 starting the scrolling movement if the child is smaller than one
2269 page, the complete child is in the screen, we do not have to move.
2271 Fixes: NB#89632 (Picker button selection doesn't change on first click)
2273 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2275 * src/hildon-app-menu.c: Removed the 'columns' property, as now
2276 this is managed automatically by the widget when the size of the
2279 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2281 * src/hildon-picker-button.c
2282 (hildon_picker_button_set_done_button_text): Make a copy of the
2283 text, and free the previous value.
2285 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2287 * src/hildon-touch-selector-entry.c:
2288 (hildon_touch_selector_entry_print_func): Return the selected row's
2289 text if the entry is empty.
2291 Fixes: NB#89651 (HildonTouchSelectorEntry title is <unnamed>, when
2294 2008-10-09 Claudio Saavedra <csaavedra@igalia.com>
2296 * src/hildon-touch-selector-entry.c: Minor docs fixes.
2298 2008-10-09 Alberto Garcia <agarcia@igalia.com>
2301 * src/hildon-check-button.h
2302 * src/hildon-check-button.c
2303 * examples/hildon-check-button-example.c:
2304 HildonCheckButton is now a new widget. 'toggled' signal added.
2306 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2308 * src/hildon-program-private.h
2309 * src/hildon-program.c (hildon_program_init)
2310 (hildon_program_finalize): Removed unused variables group_leader
2311 and name from HildonProgramPrivate.
2313 2008-10-08 Alberto Garcia <agarcia@igalia.com>
2315 * src/hildon-check-button.c (hildon_check_button_set_active)
2316 (hildon_check_button_get_active, hildon_check_button_new): Use
2317 g_object_[gs]et_qdata() instead of g_object_[gs]et_data().
2319 2008-10-08 Alejandro Pinheiro <apinheiro@igalia.com>
2321 * src/hildon-touch-selector.h
2322 (hildon_touch_selector_set_column_attributes): added deprecation
2323 guard HILDON_DISABLE_DEPRECATED
2324 * src/hildon-time-selector.c
2325 (hildon_time_selector_set_time)
2326 (hildon_time_selector_get_time): Fixed a typo on documentation
2327 * src/hildon-touch-selector.c: update HildonTouchSelector and
2328 HildonTouchSelectorColumn documentation
2329 * src/hildon-touch-selector-entry.c: update "text-column" property
2331 * doc/hildon-docs.sgml: added hildon-touch-selector-column in order
2332 to be added to the general documentation.
2334 2008-10-08 Alejandro G. Castro <alex@igalia.com>
2336 * examples/hildon-pannable-area-example-4.c,
2338 * examples/hildon-pannable-area-example.c,
2339 (main): Modified the code in order to use the container add, with
2340 viewport treeviews could have problems if they are really big.
2342 2008-10-06 Alejandro G. Castro <alex@igalia.com>
2344 * src/hildon-weekday-picker.c,
2345 * src/hildon-weekday-picker.h: Removed the deprecated symbols after
2346 the agreement regarding deprecation in the library.
2348 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2350 * examples/hildon-picker-button-multicolumn-example.c:
2351 (main): Use custom "done" button text.
2353 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
2354 (hildon_picker_button_set_property),
2355 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
2356 (hildon_picker_button_init),
2357 (+hildon_picker_button_get_done_button_text),
2358 (+hildon_picker_button_set_done_button_text): New methods to customize
2359 the "done" button label in the launched HildonPickerDialog. Also,
2362 * src/hildon-picker-button.h: add the public API.
2364 2008-10-06 Claudio Saavedra <csaavedra@igalia.com>
2366 * src/hildon-date-selector.h:
2367 * src/hildon-picker-dialog.h:
2368 * src/hildon-time-selector.h:
2369 * src/hildon-touch-selector-column.h:
2370 * src/hildon-touch-selector.h:
2372 Set the G_GNUC_CONST macro properly in the hildon_*_get_type()
2373 declarations. Fixes gtk-doc warnings.
2375 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2377 * src/hildon-picker-dialog.h
2378 * src/hildon-picker-dialog.c (hildon_picker_dialog_init):
2379 Make HildonPickerDialog derive from HildonDialog, not GtkDialog
2381 Fixes: NB#89329 (selectors in picker dialog are not visible when a
2382 long text is set as label for done button)
2384 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2386 * src/hildon-dialog.c (hildon_dialog_add_button):
2387 Set fixed width to all buttons in the HildonDialog.
2389 2008-10-06 Alberto Garcia <agarcia@igalia.com>
2391 Patch contributed by Daniel Borgmann (danielb@openismus.com)
2393 * src/hildon-gtk.c (hildon_gtk_widget_set_theme_size):
2394 Set widget name using class name plus "-finger" or "-thumb".
2396 2008-10-03 Alberto Garcia <agarcia@igalia.com>
2398 * src/hildon-check-button.c (hildon_check_button_set_active): Emit
2399 'clicked' when the state of the button is manually changed.
2401 2008-10-02 Alberto Garcia <agarcia@igalia.com>
2403 * src/hildon-app-menu.c (hildon_app_menu_realize)
2404 (hildon_app_menu_unrealize, hildon_app_menu_init)
2405 (hildon_app_menu_class_init, item_visibility_changed):
2406 Change the menu layout when the size of the screen changes.
2407 (hildon_app_menu_set_columns, hildon_app_menu_set_property):
2408 Show warning only when changing the number of colums using the
2411 2008-10-02 Claudio Saavedra <csaavedra@igalia.com>
2413 * debian/compat: Set to 5
2414 * debian/control: Update dependencies.
2415 * debian/libhildon1-dbg.install: Remove.
2416 * debian/libhildon1-dev.install: Update according to cdbs paths.
2417 * debian/libhildon1.install: Update according to cdbs paths.
2418 * debian/rules: Switch to cdbs.
2420 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2422 * src/hildon-app-menu.c (hildon_app_menu_repack_filters):
2423 'item' variable renamed to 'filter'
2425 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2427 * src/hildon-app-menu.c (hildon_app_menu_insert)
2428 (hildon_app_menu_add_filter, remove_item_from_list)
2429 (hildon_app_menu_repack_filters, hildon_app_menu_finalize):
2430 Don't leak hidden items when the menu is destroyed.
2432 2008-10-01 Alberto Garcia <agarcia@igalia.com>
2434 * src/hildon-app-menu.c (hildon_app_menu_insert)
2435 (hildon_app_menu_reorder_child, hildon_app_menu_add_filter)
2436 (hildon_app_menu_set_columns, item_visibility_changed)
2437 (filter_visibility_changed, hildon_app_menu_repack_filters)
2438 (hildon_app_menu_repack_items):
2439 Repack items and filters separately.
2441 Don't repack all items, change only the ones that are needed to
2444 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2446 * src/Makefile.am: added hildon-touch-selector-column.h
2448 2008-10-01 Alejandro Pinheiro <apinheiro@igalia.com>
2450 * src/hildon-touch-selector.c: added the property "text-column" to the
2451 class HildonTouchSelectorColumn, and related get/set functions
2452 (_default_printf_func): updated to use "text-column" property
2453 * src/hildon-touch-selector-entry.c: mark as deprecated the property
2454 "text-column" in his documentation, as this is now included on
2455 HildonTouchSelectorColumn. The get/set_property can still be used,
2456 working as a wrapper to the concrete column "text-column" property
2457 (_text_column_modified): callback added in order to handle the signal
2458 "notify::text-column" of the concrete HildonTouchSelectorColumn
2459 (hildon_touch_selector_entry_get_text_column)
2460 (hildon_touch_selector_entry_set_text_column): Added documentation, and
2461 modified in order to use the HildonTouchSelectorColumn "text-column"
2463 * src/hildon-time-selector.c:
2464 * src/hildon-date-selector.c:
2465 * examples/hildon-touch-selector-example.c
2466 * examples/hildon-touch-selector-multi-cells-example.c
2467 * examples/hildon-picker-button-multicolumn-example.c
2468 Set the right value to "text-column" property on the creation of a new
2469 column using hildon_touch_selector_append_column()
2471 Fixes: NB#88644 (Hardcoded first column of the model as text column)
2473 2008-09-30 Alberto Garcia <agarcia@igalia.com>
2475 * src/hildon-app-menu.c
2476 (hildon_app_menu_construct_child, hildon_app_menu_init): When
2477 updating the layout of the menu, don't create all widgets again,
2478 just repack the items in their new places.
2480 2008-09-30 Alejandro Pinheiro <apinheiro@igalia.com>
2482 * src/hildon-time-selector.c
2483 (hildon_time_selector_get_time)
2484 (hildon_time_selector_set_time)
2485 Added documentation of these public methods
2487 * src/hildon-date-button.h
2488 * src/hildon-touch-selector-column.h
2489 * src/hildon-time-button.h
2490 * src/hildon-picker-dialog.h
2491 * src/hildon-time-selector.h
2492 * src/hildon-picker-button.h
2493 * src/hildon-touch-selector.h
2494 * src/hildon-time-picker.h
2495 * src/hildon-date-selector.h
2496 * src/hildon-touch-selector-entry.h
2497 Modified in order to use hildon-widgets code style
2499 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2501 Added deprecated support to the compilation process using
2502 HILDON_DISABLE_DEPRECATED
2504 * configure.ac: Added the --disable-deprecated to the configure
2507 * src/hildon-weekday-picker.c:
2508 * src/hildon-weekday-picker.h: Deprecated widget, example of how
2509 to use the deprecated support. We will update the other deprecated
2510 widgets status in a new patch.
2512 2008-09-30 Alejandro G. Castro <alex@igalia.com>
2514 * configure.ac: Fixed typo with fatal warnings support, the
2515 variable name was not correct
2517 2008-09-29 Alberto Garcia <agarcia@igalia.com>
2519 * src/hildon-app-menu.c
2520 * src/hildon-program.c: Update documentation.
2522 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2524 * configure.ac: Post-release version bump.
2526 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2531 * configure.ac: Pre-release version bump.
2532 * debian/changelog: Updates.
2534 2008-09-29 Claudio Saavedra <csaavedra@igalia.com>
2536 * NEWS: Update news for previous releases.
2538 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2540 * examples/hildon-touch-selector-multi-cells-example.c:
2541 (create_selector): Update the example to use
2542 hildon_touch_selector_append_column() with a NULL renderer and set
2543 the renderers later.
2544 * src/hildon-touch-selector.c: (_create_new_column): Do not warn if
2545 passed a NULL renderer. This is documented behavior now.
2547 Allow passing a NULL renderer to hildon_touch_selector_append_column().
2548 This must be used if the developer wants full control on the layout of
2549 the renderers to be added to the column.
2551 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2553 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2555 * src/hildon-touch-selector.c: Documentation fixes.
2557 2008-09-26 Claudio Saavedra <csaavedra@igalia.com>
2559 * src/hildon-wizard-dialog-private.h: Remove image and box.
2560 * src/hildon-wizard-dialog.c: (hildon_wizard_dialog_init),
2561 (hildon_wizard_dialog_set_property), (response): Completely remove
2562 image/icon support, and the containers required for the layout.
2564 Fixes: NB#88927 (Hildon Wizard should not use icons anymore)
2566 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2568 * src/hildon-app-menu.c: Updated documentation.
2570 * src/hildon-stackable-window.c
2571 (hildon_stackable_window_set_main_menu): Unref the old menu after
2572 ref'ing the new one.
2574 2008-09-25 Alberto Garcia <agarcia@igalia.com>
2576 * src/hildon-stackable-window.c
2577 (hildon_stackable_window_set_main_menu): Unref the previous menu
2578 instead of destroying it.
2580 * src/hildon-app-menu.c (hildon_app_menu_init): Re-enforce the
2581 floating reference and set has_user_ref_count to FALSE to make
2582 HildonAppMenu act like a normal ref-counted widget and not a
2585 Fixes: NB#88923 (Semantics of hildon_stackable_window_set_main_menu()
2588 2008-09-25 Alejandro Pinheiro <apinheiro@igalia.com>
2590 * src/hildon-touch-selector-column.h: new file
2591 * src/hildon-touch-selector.h
2592 * src/hildon-touch-selector.c
2593 Implemented GtkCellLayout interface, in order to allow to configure
2594 the cell layout on each individual selector column
2595 (hildon_touch_selector_set_column_attributes): marked as deprecated
2596 * examples/hildon-touch-selector-multi-cells-example.c
2597 Example of how to use the GtkCellLayout interface on the selector
2599 Fixes: NB#88680 (Limiting API in HildonTouchSelector)
2601 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2603 * src/hildon-app-menu.h
2604 * src/hildon-app-menu.c
2605 (hildon_app_menu_insert, hildon_app_menu_reorder_child)
2606 (hildon_app_menu_append, hildon_app_menu_prepend):
2607 New methods to prepend, insert and move items in the menu.
2609 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2611 * src/hildon-wizard-dialog.c:
2613 (hildon_wizard_dialog_init): Update logical IDs and remove cancel
2615 (create_title): Update logical IDs and related code.
2616 (response): No need to handle HILDON_WIZARD_DIALOG_CANCEL.
2618 * src/hildon-wizard-dialog.h: Note that
2619 HILDON_WIZARD_DIALOG_CANCEL should be marked as deprecated at some
2620 point, as it is not used anymore.
2622 Fixes: NB#88887 (Hildon Wizard changes for Hildon2.2)
2624 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2626 * src/hildon-note.c:
2627 (hildon_note_rebuild): Update logical IDs. Ensure "Cancel" button is
2628 shown. Do not display an icon in confirmation notes nor information
2630 (hildon_note_set_button_text): Update logical ID for cancel button.
2632 Fixes: NB#88850 (Update HildonNote button strings + signals)
2634 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2636 * src/hildon-stackable-window.c
2637 (hildon_stackable_window_set_main_menu): Fix compilation warning.
2639 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2641 * src/hildon-app-menu-private.h
2642 * src/hildon-app-menu.c (hildon_app_menu_set_columns)
2643 (hildon_app_menu_set_property, hildon_app_menu_construct_child)
2644 (hildon_app_menu_init, hildon_app_menu_class_init): Added
2645 temporary property 'columns' to change the number of columns.
2647 2008-09-24 Claudio Saavedra <csaavedra@igalia.com>
2649 Patch contributed by Kimmo Hämäläinen (kimmo.hamalainen@nokia.com)
2651 * examples/hildon-note-example.c: (on_information_clicked),
2652 (on_confirmation_clicked), (on_progress_clicked), (main): Add
2653 debugging information.
2654 * src/hildon-note-private.h: Remove close_if_pressed_outside,
2656 * src/hildon-note.c: (hildon_note_class_init), (hildon_note_init),
2657 (hildon_note_rebuild): Remove special handling of tapping outside/inside
2658 in order to close: this will be handled by the WM from now on.
2660 Fixes: NB#88891 (Allow WM to handle properly close-on-tap-outside behavior)
2662 2008-09-24 Alberto Garcia <agarcia@igalia.com>
2664 * src/hildon-app-menu-private.h
2665 * src/hildon-app-menu.c
2666 (hildon_app_menu_append, hildon_app_menu_add_filter)
2667 (button_visibility_changed, hildon_app_menu_apply_style)
2668 (hildon_app_menu_style_set, hildon_app_menu_construct_child)
2669 (hildon_app_menu_init, hildon_app_menu_finalize): Update the
2670 layout everytime a button (item or filter) is shown or hidden.
2672 * src/hildon-stackable-window.c
2673 (hildon_stackable_window_set_main_menu): Destroy the old menu when
2676 2008-09-22 Alejandro Pinheiro <apinheiro@igalia.com>
2678 * src/hildon-touch-selector.c:
2679 (hildon_touch_selector_class_init): added gtkrc bits in order to ensure
2680 that the treeview inside the touch selector is in fremantle hildon mode
2681 * examples/hildon-date-button-example.c
2682 * examples/hildon-picker-button-multicolumn-example.c
2683 * examples/hildon-touch-selector-entry-example.c
2684 * examples/hildon-touch-selector-example.c
2685 * examples/hildon-time-button-example.c
2686 * examples/hildon-picker-button-example.c:
2687 (main): Remove the gtkrc bits, now hadled by hildon-touch-selector.c
2689 2008-09-22 Claudio Saavedra <csaavedra@igalia.com>
2691 * examples/hildon-text-view-example.c: (main): Remove the
2692 gtkrc bits, now handled by the theme.
2694 2008-09-22 Alberto Garcia <agarcia@igalia.com>
2696 * src/hildon-picker-button.c (hildon_picker_button_set_active):
2699 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2701 * po/Makefile.am: Install properly the mo files.
2702 * po/en_GB.po: Update translation, to ease testing purposes.
2704 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2706 * examples/hildon-picker-button-example.c: (main): Select an item
2707 in the selector before setting it to the button.
2709 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2711 * src/hildon-picker-button.c: (hildon_picker_button_set_selector):
2712 Update button's value if the selector has an item active.
2714 Fixes: NB#88718 (HildonPickerButton not synchronizing its initial
2715 'value' with the selector)
2717 2008-09-19 Claudio Saavedra <csaavedra@igalia.com>
2719 * src/hildon-picker-button.c: (+hildon_picker_button_finalize): unref
2720 the HildonTouchSelector and destroy the underlying HildonPickerDialog.
2721 (hildon_picker_button_class_init): Plug the finalize method.
2722 (hildon_picker_button_set_selector): If there's a previously set
2723 selector, unref'it before setting a new one.
2725 Fixes: NB#88720 (HildonPickerButton leaks a reference to the
2726 HildonTouchSelector)
2728 2008-09-16 Claudio Saavedra <csaavedra@igalia.com>
2730 * src/hildon-touch-selector-entry.c:
2731 (hildon_touch_selector_entry_changed): Check if there is no text
2732 selected before setting the entry text.
2735 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2737 * src/hildon-touch-selector.h
2738 * src/hildon-touch-selector.c
2739 (hildon_touch_selector_get_active)
2740 (hildon_touch_selector_set_active): New methods to set/get the
2741 index of the selected item.
2743 * src/hildon-picker-button.h
2744 * src/hildon-picker-button.c
2745 (hildon_picker_button_get_active)
2746 (hildon_picker_button_set_active): New methods to set/get the
2747 index of the selected item.
2749 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2751 * configure.ac: post-release version bump.
2753 2008-09-15 Claudio Saavedra <csaavedra@igalia.com>
2757 * configure.ac: Pre-release version bump.
2758 * debian/changelog: Updates.
2759 * debian/control: Add myself as maintainer and depend on l10n
2762 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2764 * src/hildon-window.c
2765 (hildon_window_set_main_menu)
2766 * src/hildon-stackable-window.c
2767 (hildon_stackable_window_set_main_menu):
2768 Updated documentation.
2770 2008-09-15 Alberto Garcia <agarcia@igalia.com>
2772 * src/hildon-date-selector.c (hildon_date_selector_finalize):
2773 Don't free selector->priv manually.
2776 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2779 (hildon_gtk_window_set_progress_indicator):
2780 * src/hildon-gtk.h: Added the new API
2781 hildon_gtk_window_set_progress_indicator, it changes the state of
2782 the window progress hint.
2784 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2786 * src/hildon-button.c
2787 * src/hildon-stackable-window.c: Minor documentation updates.
2789 2008-09-12 Alberto Garcia <agarcia@igalia.com>
2791 * src/hildon-stackable-window.c: Updated documentation.
2793 2008-09-12 Claudio Saavedra <csaavedra@igalia.com>
2795 * src/hildon-defines.h: Update margins definitions
2796 to the Fremantle sizes.
2799 2008-09-12 Alejandro G. Castro <alex@igalia.com>
2801 * src/hildon-touch-selector.c,
2802 (_hildon_touch_selector_set_model): Cleaning the code after
2803 review, removed g_print and #if 0 from the code.
2805 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2807 * src/hildon-edit-toolbar.c: Update documentation.
2809 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2811 * src/hildon-check-button.h
2812 * src/hildon-check-button.c
2813 (hildon_check_button_set_label, hildon_check_button_get_label)
2814 * examples/hildon-check-button-example.c
2815 (button_clicked_cb):
2816 Removed deprecated methods.
2818 2008-09-11 Alberto Garcia <agarcia@igalia.com>
2820 * src/hildon-text-view.c:
2821 Add sample code to the documentation.
2823 * src/hildon-entry.h
2824 * src/hildon-text-view.h:
2825 Minor cosmetic changes.
2827 * src/hildon-entry.c:
2828 Add sample code to the documentation.
2829 (hildon_entry_init, hildon_entry_refresh_contents):
2830 Don't allow NULL values in the placeholder.
2832 2008-09-10 Alberto Garcia <agarcia@igalia.com>
2834 * doc/hildon-docs.sgml
2836 * examples/Makefile.am
2837 * examples/hildon-text-view-example.c
2839 * src/hildon-text-view.c
2840 * src/hildon-text-view.h
2842 New HildonTextView widget, with example.
2844 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2846 * po/POTFILES.in: Add missing files with translatable strings.
2847 Partially fixes NB#88287.
2849 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2851 * examples/hildon-pannable-area-example-2.c: (main): No need to
2852 set the cellrenderer height inside hildon touch lists, the theme does
2855 2008-09-10 Claudio Saavedra <csaavedra@igalia.com>
2857 * examples/hildon-entry-example.c: (main): Remove the gtkrc bits, now
2858 they are integrated in the theme.
2860 2008-09-09 Alberto Garcia <agarcia@igalia.com>
2862 * examples/hildon-entry-example.c: Update the example adding
2863 widgets to modify the text and the placeholder of the HildonEntry.
2865 * src/hildon-entry.c: Show the placeholder everytime the widget
2866 is empty and loses the focus.
2868 2008-09-09 Alejandro G. Castro <alex@igalia.com>
2870 Patch contributed by Daniil Ivanov (ext-danil.ivanoc@nokia.com)
2872 * src/hildon-pannable-area.c,
2873 (hildon_pannable_area_size_request): Fixed bug in height
2874 requisition, avoid increasing size and add border twice.
2876 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2878 * configure.ac: postrelease version bump.
2880 2008-09-09 Claudio Saavedra <csaavedra@igalia.com>
2884 * configure.ac: Prerelease version bump.
2885 * debian/changelog: update.
2886 * debian/rules: make -dbg package contain useful debugging symbols.
2888 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2890 * src/hildon-dialog.h
2891 * src/hildon-dialog.c
2892 (hildon_dialog_add_button, hildon_dialog_add_buttons):
2893 New methods to add buttons with finger size.
2894 (hildon_dialog_new_with_buttons):
2895 Create buttons with finger size.
2897 * examples/hildon-dialog-example.c (main): Use HildonDialog
2898 methods to add buttons.
2900 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2902 * src/hildon-entry.c: Updated HildonButton documentation.
2904 2008-09-08 Alberto Garcia <agarcia@igalia.com>
2906 * src/hildon-button.c (hildon_button_set_arrangement): Pack the
2907 button value label with (FALSE, FALSE) to prevent NB#88126 from
2910 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2912 * examples/hildon-pannable-area-example.c,
2913 (main): Removed examples panning a vbox inside a pannable
2914 area. Check bug NB#87965
2916 2008-09-08 Alejandro G. Castro <alex@igalia.com>
2918 Patch contributed by Kris Rietveld (kris@imendio.com)
2920 * src/hildon-pannable-area.c,
2921 (hildon_pannable_area_get_topmost): replaced the get_geometry with
2922 get_size and get_position, this saves an X server roundtrip.
2924 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2926 * doc/hildon-docs.sgml
2928 * examples/Makefile.am
2929 * examples/hildon-entry-example.c
2931 * src/hildon-entry.c
2932 * src/hildon-entry.h
2934 New HildonEntry widget, with example.
2936 2008-09-05 Alberto Garcia <agarcia@igalia.com>
2938 * src/hildon-button.c (hildon_button_construct_child): Pack the
2939 image with expand == fill == FALSE. This is a workaround for a bug
2942 2008-09-05 Claudio Saavedra <csaavedra@igalia.com>
2944 * examples/hildon-pannable-area-example-2.c: (main): Use the stock
2945 labels for the text column, to make it more look more dynamic.
2947 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
2949 * src/hildon-time-selector.c
2950 Define gettext auxiliar macro N_
2951 (_create_minutes_model)
2952 (_create_hours_model)
2953 (_create_ampm_model): use of strftime in order to fill the model
2954 * src/hildon-date-selector.c
2955 (hildon_date_selector_finalize):
2956 (_locales_init): remove the logic related to get the name of the months
2957 using nl_langinfo, as it is not required anymore
2959 (_create_year_model)
2960 (_create_month_model)
2961 (_update_day_model): use of strftime in order to fill the model properly
2964 2008-09-04 Alberto Garcia <agarcia@igalia.com>
2966 * src/hildon-button.h
2967 * src/hildon-button.c (hildon_button_get_image): New method to
2970 2008-09-04 Claudio Saavedra <csaavedra@igalia.com>
2972 * src/hildon-touch-selector.c:
2973 (hildon_touch_selector_remove_column): Remove from the correct parent
2974 and also remove the list element and free it.
2977 2008-09-04 Alejandro Pinheiro <apinheiro@igalia.com>
2979 * src/hildon-time-selector.c
2980 (_create_hours_model): change the range on 12h ampm format in order to use
2981 a 12-11 range instead of previous 01-12 range
2982 (hildon_time_selector_set_time): change the way to select the current time
2983 on 12h ampm format, due the change on the range
2984 (hildon_time_selector_get_time): fix the hour returned on 12 ampm format
2987 2008-09-03 Alejandro Pinheiro <apinheiro@igalia.com>
2989 * src/hildon-touch-selector.c
2990 (hildon_date_touch_selector_get_selected): fix the selection mode check,
2991 in order to allow use this function on multiple row selection mode if
2992 the column is different that the first one
2995 2008-09-03 Claudio Saavedra <csaavedra@igalia.com>
2997 * src/hildon-time-selector.c: (_custom_print_func): Change the logical ids
2998 to "wdgt_va_12h_time" and "wdgt_va_24h_time". Fixes NB#88045.
3000 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3002 * src/hildon-date-selector.h: clean some comments, now on the .c
3003 * src/hildon-date-selector.c
3004 (hildon_date_selector_select_month): first implementation
3005 (hildon_date_selector_select_day): added documentation, reimplemented
3006 using hildon_date_selector_select_current_date to avoid repeat code
3009 2008-09-02 Alejandro G. Castro <alex@igalia.com>
3011 Reviewed interaction logic based on device experiences, refactored
3014 * src/hildon-pannable-area.c,
3015 (hildon_pannable_area_class_init): Updated default vmax speed.
3016 (hildon_pannable_area_calculate_velocity): Added this function, it
3017 avoids duplicate valocity calculation. Adjusted calculation to
3018 avoid problems with zero dist events.
3020 (hildon_pannable_area_motion_notify_cb): Now we use the
3021 calculate_velocity function.
3023 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3025 * src/hildon-date-selector.c
3026 (hildon_date_selector_select_current_date): fix the day range check
3027 as it failed using the last day of the current month
3030 2008-09-02 Alejandro Pinheiro <apinheiro@igalia.com>
3032 * src/hildon-touch-selector.c
3033 (hildon_touch_selector_get_num_columns): added a parameter validation
3036 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3038 * examples/Makefile.am
3039 * examples/hildon-edit-toolbar-example.c: Example of the
3040 HildonEditToolbar widget.
3042 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3044 * configure.ac: postrelease version bump.
3046 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3050 * configure.ac: prerelease version bump.
3051 * debian/changelog: update.
3053 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3055 * examples/hildon-pannable-area-example-2.c: (main): Add a pixbuf
3056 renderer to display stock icons in the touch list. Also, set the sizes
3057 to the recommended in the style guide.
3059 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3060 * src/hildon-touch-selector.h
3061 (hildon_touch_selector_set_active_iter): renamed, now is
3062 hildon_touch_selector_select_iter
3063 (hildon_touch_selector_get_active_iter): renamed, now is
3064 hildon_touch_selector_get_selected
3065 (hildon_touch_selector_unselect_iter): added
3066 * src/hildon-touch-selector.c
3067 Update after API modification (methods renamed)
3068 (hildon_touch_selector_select_iter): remove gtk_tree_view_set_cursor in
3069 order to avoid problems selecting multiple elements on the column
3070 (hildon_touch_selector_unselect_iter): added the implementation
3071 * src/hildon-time-selector.c
3072 * src/hildon-date-selector.c
3073 * src/hildon-touch-selector-entry.c
3074 Update methods calls after hildon-touch-selector.h API modification (methods
3077 2008-08-29 Alberto Garcia <agarcia@igalia.com>
3079 * src/hildon-stackable-window.c
3080 (hildon_stackable_window_finalize): Call the parent class's finalize.
3082 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3084 * examples/hildon-touch-selector-example.c: (create_selector): Use
3085 gtk_cell_renderer_set_fixed_size() instead of a GValue to set the
3088 2008-08-29 Claudio Saavedra <csaavedra@igalia.com>
3090 * examples/hildon-touch-selector-example.c: (create_selector): Do not
3091 set a cell background color, to respect theming.
3093 2008-08-28 Alberto Garcia <agarcia@igalia.com>
3095 * doc/hildon-docs.sgml
3098 * src/hildon-edit-toolbar.c
3099 * src/hildon-edit-toolbar.h
3100 * src/hildon.h: New HildonEditToolbar widget.
3102 2008-08-28 Claudio Saavedra <csaavedra@igalia.com>
3104 * examples/hildon-pannable-area-example-4.c: (main): Remove unneeded
3107 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3108 * src/hildon-touch-selector.c
3109 (_create_new_column): use g_object_set instead of two g_object_set_property
3111 2008-08-28 Alejandro Pinheiro <apinheiro@igalia.com>
3112 * src/hildon-touch-selector.c
3113 (_create_new_column): use of hildon_gtk_tree_view_new to create
3114 the treeview, instead of use directly g_object_new
3115 (_create_new_column): update the property name "vindicator-mode" for the
3116 new one "vscrollbar-policy"
3117 * examples/hildon-date-button-example.c
3118 * examples/hildon-picker-button-multicolumn-example.c
3119 * examples/hildon-touch-selector-entry-example.c
3120 * examples/hildon-touch-selector-example.c
3121 * examples/hildon-time-button-example.c
3122 * examples/hildon-picker-button-example.c
3123 Add a gtk_rc_parse_string in order to set the hildon-mode to HILDON_FREMANTLE
3124 to all the treeviews inside a pannable area.
3126 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3128 * src/hildon-button.h
3129 * src/hildon-button.c (hildon_button_init)
3130 (hildon_button_set_arrangement, hildon_button_set_alignment)
3131 (hildon_button_set_title_alignment)
3132 (hildon_button_set_value_alignment)
3133 (hildon_button_set_image_alignment)
3134 (hildon_button_construct_child): New methods to set the alignment
3135 of the individual components of the button (title, value,
3136 image). Also, new method to alter the xscale and yscale properties
3137 of the GtkAlignment inside the button, so more complex layouts can
3140 2008-08-27 Alberto Garcia <agarcia@igalia.com>
3142 * src/hildon-button.c (hildon_button_style_set)
3143 (hildon_button_class_init, hildon_button_set_arrangement)
3144 (hildon_button_construct_child): Apply style properties
3145 correctly. Use the 'image-spacing' style property too.
3147 2008-08-26 Alberto Garcia <agarcia@igalia.com>
3149 * src/hildon-app-menu.c (hildon_app_menu_style_set)
3150 (hildon_app_menu_init, hildon_app_menu_class_init): Set style
3153 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3155 * src/hildon-pannable-area.c,
3156 (hildon_pannable_area_size_request): Fixed problem with
3157 pannable-area size_request.
3159 2008-08-26 Alejandro G. Castro <alex@igalia.com>
3161 Added management for the grab-focus to a child widget, like a
3162 range, we need to fade out the scrollbar when releasing.
3164 * src/hildon-pannable-area.c,
3165 (hildon_pannable_area_init): Connected the grab-focus signal to
3167 (hildon_pannable_area_grab_notify): Added this function in order
3168 to manage the situation when the grab-focus ends. We have to
3169 fade-out the scrollbar.
3171 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3173 * src/hildon-app-menu.c: Minor documentation update.
3175 2008-08-25 Alberto Garcia <agarcia@igalia.com>
3177 * src/hildon-app-menu.c
3178 * examples/hildon-app-menu-example.c (create_menu): Update
3179 examples and documentation to explain how to connect callbacks.
3181 2008-08-25 Alejandro Pinheiro <apinheiro@igalia.com>
3183 * examples/hildon-button-example.c
3184 (vertical_buttons_window) (horizontal_buttons_window) (main): use of
3185 hildon_stackable_window_new instead of gtk_window_new
3187 2008-08-22 Alejandro G. Castro <alex@igalia.com>
3189 * src/hildon-pannable-area.c (hildon_pannable_area_class_init),
3190 (hildon_pannable_area_init), (hildon_pannable_area_get_property),
3191 (hildon_pannable_area_set_property),
3192 (hildon_pannable_area_dispose), (hildon_pannable_area_realize),
3193 (hildon_pannable_area_unrealize),
3194 (hildon_pannable_area_size_request),
3195 (hildon_pannable_area_size_allocate),
3196 (hildon_pannable_area_style_set), (hildon_pannable_area_map),
3197 (hildon_pannable_area_unmap), (rgb_from_gdkcolor),
3198 (hildon_pannable_draw_vscroll), (hildon_pannable_draw_hscroll),
3199 (hildon_pannable_area_initial_effect),
3200 (hildon_pannable_area_redraw),
3201 (hildon_pannable_area_scroll_indicator_fade),
3202 (hildon_pannable_area_expose_event),
3203 (hildon_pannable_area_get_topmost), (synth_crossing),
3204 (hildon_pannable_area_button_press_cb),
3205 (hildon_pannable_area_refresh), (hildon_pannable_axis_scroll),
3206 (hildon_pannable_area_scroll), (hildon_pannable_area_timeout),
3207 (hildon_pannable_area_motion_notify_cb),
3208 (hildon_pannable_area_button_release_cb),
3209 (hildon_pannable_area_scroll_cb), (hildon_pannable_area_add),
3210 (hildon_pannable_area_remove),
3211 (hildon_pannable_calculate_vel_factor): Widget refactorization,
3212 chage the code layout to a more GtkWidget like. Review the use of
3215 2008-08-21 Alejandro G. Castro <alex@igalia.com>
3217 * examples/hildon-pannable-area-example-4.c,
3218 (main): Modified the name of the hindicator_mode to
3221 * src/hildon-pannable-area.c,
3222 (hildon_pannable_area_class_init),
3223 (hildon_pannable_area_motion_notify_cb),
3224 (hildon_pannable_area_size_allocate): Reviewed the drawing logic,
3225 we have reduced the amount of signals and managed reviewed its
3226 rationale. Changed the default decelerate value.
3228 (hildon_pannable_area_add),
3229 (hildon_pannable_area_redraw): Refactored functions.
3231 (hildon_pannable_area_init),
3232 (hildon_pannable_area_get_property),
3233 (hildon_pannable_area_set_property):
3234 (hildon_pannable_draw_vscroll),
3235 (hildon_pannable_draw_hscroll),
3236 (hildon_pannable_area_initial_effect),
3237 (hildon_pannable_area_expose_event),
3238 (hildon_pannable_area_scroll),
3239 (hildon_pannable_area_button_press_cb),
3240 (hildon_pannable_area_realize): Replaced the names hindicator_mode
3241 and vindicator_mode with hscrollbar_policy and
3242 vscrollbar_policy. Replaced hscroll and vscroll with
3243 hscroll_visible and vscroll_visible.
3245 (hildon_pannable_area_refresh): Refactor the function, remove
3246 variables and check the calls to this function, added resize
3247 conditions in case the children change their layout.
3249 (hildon_pannable_area_size_request): Added more detailed
3250 size_request calculation.
3253 2008-08-21 Alejandro Pinheiro <apinheiro@igalia.com>
3255 * src/hildon-color-chooser.c
3256 (init_borders): use the correct gtk_border_free instead of g_free, to
3257 avoid a crash when this widget is used (ie: the three color selection
3260 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3262 * src/hildon-check-button.c,
3263 (hildon_check_button_set_active): Fixed problem when setting the
3264 active value, the widget was not redrawn.
3266 2008-08-20 Alejandro G. Castro <alex@igalia.com>
3268 * src/hildon-pannable-area.c,
3269 (hildon_pannable_area_refresh),
3270 (hildon_pannable_area_scroll),
3271 (hildon_pannable_area_motion_notify_cb): Small code style change.
3273 (hildon_pannable_area_class_init): Default initial_hint set to
3274 FALSE, it is not in the specs.
3276 (hildon_pannable_area_initial_effect),
3277 (hildon_pannable_area_expose_event),
3278 (hildon_pannable_area_map),
3279 (hildon_pannable_area_init): Moved the launching point of the
3280 initial effect, it was in map but the sizes where not correct in
3281 that method so we do not know if we have the reproduce it. Now it
3282 is placed in the expose_event method and uses a variable to
3283 reproduce it just once.
3285 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3287 * src/hildon-pannable-area.c,
3288 (hildon_pannable_draw_vscroll),
3289 (hildon_pannable_draw_hscroll): Fix error calculating the maximum
3290 position allowed for the scrollbars.
3292 (hildon_pannable_area_size_allocate): Small style change.
3294 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3296 * src/hildon-pannable-area.c,
3297 (hildon_pannable_area_scroll_indicator_fade),
3298 (hildon_pannable_area_button_press_cb),
3299 (hildon_pannable_area_button_release_cb),
3300 (hildon_pannable_area_scroll_cb),
3301 (hildon_pannable_area_expose_event),
3302 (hildon_pannable_area_init): Added the define parameter
3303 SCROLLBAR_FADE_DELAY to control the fade effect of the scrollbars
3304 and refactor the fade variable.
3306 2008-08-19 Alejandro G. Castro <alex@igalia.com>
3308 * src/hildon-pannable-area.c,
3309 (hildon_pannable_area_redraw),
3310 (hildon_pannable_area_scroll_indicator_fade): Refactored redraw
3311 lines, we were reimplemeting the redraw code.
3313 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3315 * src/hildon-pannable-area.c,
3316 (hildon_pannable_area_scroll_cb),
3317 (hildon_pannable_area_realize),
3318 (hildon_pannable_area_class_init): Added scroll_event management
3319 for pannable area, now we can scroll the usual desktop method.
3321 (hildon_pannable_area_jump_to): Fixed the logic of the method, the
3322 initialization of the parameters should depend on idle_id.
3324 (hildon_pannable_area_init),
3325 (hildon_pannable_area_map): Small code style modifications
3327 2008-08-18 Alejandro G. Castro <alex@igalia.com>
3329 * src/hildon-pannable-area.c
3330 (hildon_pannable_area_button_press_cb),
3331 (hildon_pannable_area_motion_notify_cb),
3332 (hildon_pannable_area_button_release_cb),
3333 (hildon_pannable_area_size_allocate),
3334 (hildon_pannable_area_scroll_to): Improved the timeouts
3335 management, we avoid creating them each time.
3337 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3339 * src/hildon-pannable-area.c:
3340 (hildon_pannable_area_refresh),
3341 (hildon_pannable_area_motion_notify_cb),
3342 (hildon_pannable_area_class_init):
3343 * src/hildon-pannable-area.h:
3344 * src/hildon-touch-selector.c
3345 (_create_new_column):
3346 * examples/hildon-pannable-area-example-4.c:
3347 (horizontal_movement),
3348 (vertical_movement),
3350 Replaced the names of enums in the HildonPannableArea:
3351 - HILDON_PANNABLE_AREA_MOV_MODE_* ->
3352 HILDON_MOVEMENT_MODE_*
3353 - HILDON_PANNABLE_AREA_MOV_* ->
3355 - Removed HildonPannableAreaIndicatorMode, now we
3358 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3360 * examples/hildon-pannable-area-touch-grid-example.c
3361 * examples/hildon-pannable-area-touch-list-example.c: Fix
3362 compilation warnings.
3364 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3366 * src/hildon-gtk.c (hildon_gtk_button_new)
3367 (hildon_gtk_toggle_button_new, hildon_gtk_radio_button_new)
3368 (hildon_gtk_radio_button_new_from_widget): Make buttons show their
3369 images overriding the value of the "gtk-button-images" setting.
3371 2008-08-14 Alberto Garcia <agarcia@igalia.com>
3373 * src/hildon-check-button.c (hildon_check_button_new):
3374 Instead of using a custom container, display the label and the
3375 checkbox using the standard GtkButton API.
3377 * examples/hildon-check-button-example.c (main): Don't use
3378 hildon_check_button_set_label() anymore
3380 * src/hildon-check-button.h
3381 * src/hildon-check-button.c
3382 (hildon_check_button_set_label, hildon_check_button_get_label):
3383 Set as deprecated, now we're using gtk_button_{get,set}_label()
3385 2008-08-14 Alejandro G. Castro <alex@igalia.com>
3387 * src/hildon-pannable-area.c,
3388 (hildon_pannable_area_get_topmost): Fixed bug with click in the
3389 GtkTreeview first line we detected it after the inclusion of the
3390 GtkWindowImpl in gtk+. We now check if the window is visible, not
3391 just if the pointer is over the window.
3392 (hildon_pannable_axis_scroll),
3393 (hildon_pannable_area_expose_event): Small style changes.
3395 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3397 * src/hildon-button.c: Update documentation.
3399 2008-08-13 Alberto Garcia <agarcia@igalia.com>
3401 * examples/hildon-button-example.c: Add a switch to show images in
3404 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3406 * doc/hildon-docs.sgml: Some docs reorganization.
3408 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3410 * examples/hildon-pannable-area-touch-list-example.c
3412 * examples/hildon-pannable-area-touch-grid-example.c
3413 (create_icon_view): Use gtk_{tree,icon}_view_new() and
3414 hildon_gtk_{tree,icon}_view_new() instead of g_object_new().
3415 Fix memory leak when setting the tree model.
3417 2008-08-12 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3421 2008-08-12 Claudio Saavedra <csaavedra@igalia.com>
3423 * doc/hildon.types: Remove duplicated hildon_window_get_type
3424 * src/hildon-window.c: (hildon_window_class_init): Remove duplicated
3425 documentation comment.
3427 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3429 * doc/Makefile.am: Complete list of private headers.
3431 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3433 * doc/hildon-docs.sgml
3434 * src/hildon-app-menu.c
3435 * src/hildon-bread-crumb.c
3436 * src/hildon-button.c
3438 * src/hildon-program.c
3439 * src/hildon-stackable-window.c
3440 * src/hildon-window.c: Lots of documentation updates.
3442 2008-08-12 Alberto Garcia <agarcia@igalia.com>
3444 * debian/control: Depend on Gtk 2:2.12.9-0osso3
3446 * configure.ac: Require Gtk+ 2.12.9 at least
3448 2008-08-12 Alejandro G. Castro <alex@igalia.com>
3450 * src/hildon-pannable-area.c
3451 (hildon_pannable_area_scroll_indicator_fade),
3452 (hildon_pannable_area_timeout): Added the GDK_THREADS_LEAVE macro
3453 to protect the return of this timeout callbacks, avoiding deadlocks.
3455 2008-08-12 Christian Dywan <christian@imendio.com>
3458 * src/hildon-*.h: Ensure a consistent include order,
3459 include <gtk/gtk.h> instead of particular files and
3460 only include the topmost header in the gtk stack. See NB #39857
3462 2008-08-12 Christian Dywan <christian@imendio.com>
3464 * src/hildon-picker-dialog.c
3465 * src/hildon-touch-selector.c: Fix warnings about unused and
3466 uninitialized variables.
3468 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3470 * examples/Makefile.am
3471 * examples/hildon-check-button-example.c: Example of the hildon
3474 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3476 * src/hildon-window.h
3477 * src/hildon-window.c (hildon_window_class_init)
3478 (hildon_window_unset_program): Don't make
3479 hildon_window_unset_program a virtual function anymore.
3481 * src/hildon-stackable-window.c: Update documentation
3483 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3486 * doc/hildon-docs.sgml
3487 * doc/visual_index.xml
3488 * src/hildon-defines.c
3490 * src/hildon-helper.c
3491 * src/hildon-range-editor.c: Lots of documentation fixes.
3493 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3495 * examples/hildon-picker-button-multicolumn-example.c
3496 (create_touch_selector): Fix compilation warning.
3498 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3500 * src/hildon-pannable-area.c (hildon_pannable_area_button_press_cb)
3501 (hildon_pannable_area_button_release_cb)
3502 (hildon_pannable_get_child_widget_at): Fix compilation warnings.
3504 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3506 * src/hildon-button.c (hildon_button_add_image_size_group): Fix
3509 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3511 * src/hildon-bread-crumb-trail.h
3512 * src/hildon-date-editor.c
3513 * src/hildon-date-selector.c
3514 * src/hildon-pannable-area.c
3515 * src/hildon-picker-dialog.c
3516 * src/hildon-time-selector.c
3517 * src/hildon-touch-selector-entry.c
3518 * src/hildon-touch-selector.c
3519 * src/hildon-touch-selector.h: Misc documentation fixes
3521 2008-08-11 Alberto Garcia <agarcia@igalia.com>
3523 * examples/hildon-date-editor-example.c (main): Updated date
3526 * examples/hildon-note-example.c (on_confirmation_clicked):
3527 Updated confirmation note example.
3529 * src/hildon-date-editor.c
3530 * src/hildon-note.c: Updated sample programs in documentation.
3533 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3535 * src/hildon-date-button.h:
3536 * src/hildon-picker-button.h:
3537 * src/hildon-time-button.c:
3538 * src/hildon-time-button.h:
3540 Some declarations changes to allow gtk-doc to document the widgets
3543 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3545 * src/hildon-date-button.c: Document the widget.
3546 * src/hildon-time-button.c: Document the widget.
3548 2008-08-08 Claudio Saavedra <csaavedra@igalia.com>
3550 * src/hildon-picker-button.c: Document the widget.
3551 * src/hildon-touch-selector-entry.c: Document the widget.
3553 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3555 * doc/hildon-docs.sgml
3558 * src/hildon-check-button.h
3559 * src/hildon-check-button.c: New functions to create the Hildon
3563 * src/hildon-gtk.c (hildon_gtk_check_button_new): Removed.
3565 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3567 * src/hildon-button.h
3568 * src/hildon-button.c
3569 (hildon_button_add_title_size_group)
3570 (hildon_button_add_value_size_group)
3571 (hildon_button_add_image_size_group)
3572 (hildon_button_add_size_groups): New functions to set size groups
3573 for the button labels and image.
3574 (hildon_button_new_full): Removed
3576 2008-08-08 Alejandro Pinheiro <apinheiro@igalia.com>
3578 * src/hildon-time-selector.c
3579 (_check_ampm_format): use of g_warning instead of g_error with a gconf error
3580 in order to avoid a crash if gconf is not available
3582 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3584 * src/hildon-button.c (hildon_button_set_arrangement)
3585 (hildon_button_construct_child): Don't construct the button child
3586 before setting the arrangement.
3588 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3590 * src/hildon-program-private.h
3591 * src/hildon-program.c
3592 * src/hildon-program.h
3593 (_hildon_program_remove_from_stack, _hildon_program_add_to_stack)
3594 (hildon_program_peek_window_stack)
3595 (hildon_program_pop_window_stack)
3596 (hildon_program_go_to_root_window): HildonProgram now has a
3597 separate list for stackable windows. Functions are provided to
3598 manage that list with a stack-like API.
3600 * src/hildon-stackable-window.c: Stackable window management is
3601 now much simpler with the new HildonProgram API. Windows no
3602 longer need to be manually added to the program, they're
3603 automatically pushed to the top of the stack when shown.
3605 * examples/hildon-stackable-window-example.c: Updated example to
3606 reflect the API changes.
3608 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3610 * src/hildon-touch-selector.c: Comment out unimplemented
3611 hildon_touch_selector_insert_column() to avoid a compile warning.
3613 2008-08-07 Claudio Saavedra <csaavedra@igalia.com>
3615 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3616 (hildon_touch_selector_new), (hildon_touch_selector_remove_column),
3617 (hildon_touch_selector_set_column_selection_mode),
3618 (_hildon_touch_selector_set_model),
3619 (hildon_touch_selector_set_model):
3621 Complete review of HildonTouchSelector documentation.
3623 2008-08-08 Alberto Garcia <agarcia@igalia.com>
3625 * doc/hildon-docs.sgml
3629 * src/hildon-gtk.c: Convenience functions for standard Gtk
3630 widgets, used to easily perform frequent operations.
3632 * src/hildon-button-helpers.h
3633 * src/hildon-button-helpers.c: Removed in favour of hildon-gtk.[ch]
3635 * src/hildon-helper.h
3636 * src/hildon-helper.c (hildon_helper_set_theme_size): Renamed to
3637 hildon_gtk_widget_set_theme_size and moved to hildon-gtk.h
3639 * src/hildon-button.h
3640 * src/hildon-button.c: Use the new hildon-gtk.[ch] functions.
3642 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3644 * src/hildon-button.c (hildon_button_init)
3645 (hildon_button_set_arrangement, hildon_button_construct_child):
3646 Pack the image and the labels inside the same GtkAlignment so
3647 gtk_button_set_alignment() can be used
3649 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3651 * src/hildon-button.h
3652 * src/hildon-button.c
3653 (hildon_button_init, hildon_button_set_image)
3654 (hildon_button_set_image_position)
3655 (hildon_button_construct_child): New functions to add an image to
3658 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3660 * src/hildon-date-button.c
3661 * src/hildon-picker-button.c
3662 * src/hildon-time-button.c
3663 * src/hildon-button.c:
3664 (hildon_button_class_init): "size-flags" renamed to "size"
3665 (hildon_button_set_title): Hide the title label if set to NULL.
3667 2008-08-07 Alberto Garcia <agarcia@igalia.com>
3669 HildonButtonFlags split into HildonButtonArrangement (to set the
3670 button layout) and HildonSizeType (which can be used for any
3673 * src/hildon-button.h
3674 * src/hildon-button.c
3675 (hildon_button_class_init)
3676 (hildon_button_set_arrangement)
3677 (hildon_button_set_property): New "size-flags"
3678 property. "arrangement-flags" renamed to "arrangement".
3679 (hildon_button_new, hildon_button_new_with_text)
3680 (hildon_button_new_full): Constructors updated to reflect type changes.
3682 * src/hildon-helper.h
3683 * src/hildon-helper.c (hildon_helper_set_theme_size): New function
3684 to set the size of a widget.
3688 * src/hildon-button-helpers.c
3689 * src/hildon-button-helpers.h: New hildon-button-helpers module.
3691 * src/hildon-date-button.c
3692 * src/hildon-date-button.h
3693 * src/hildon-picker-button.c
3694 * src/hildon-picker-button.h
3695 * src/hildon-time-button.c
3696 * src/hildon-time-button.h: Updated widgets to reflect
3697 HildonButton API changes.
3699 * examples/hildon-button-example.c
3700 * examples/hildon-date-button-example.c
3701 * examples/hildon-picker-button-example.c
3702 * examples/hildon-picker-button-multicolumn-example.c
3703 * examples/hildon-time-button-example.c
3704 * examples/hildon-touch-selector-entry-example.c
3705 * examples/hildon-touch-selector-example.c: Updated examples to
3706 reflect HildonButton API changes.
3708 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3710 * doc/hildon-docs.sgml:
3712 * examples/Makefile.am:
3713 * examples/hildon-touch-selector-entry-example.c:
3715 * src/hildon-touch-selector-entry.c:
3716 * src/hildon-touch-selector-entry.h:
3719 Moved HildonTouchSelectorEntry from sandbox. Added its
3720 documentation and examples.
3722 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3724 * src/hildon-touch-selector.h:
3725 * examples/hildon-picker-button-multicolumn-example.c:
3726 (hildon_touch_selector_append_text_column): Add a gboolean
3727 parameter to determine if text must be centered in the column.
3729 * src/hildon-date-selector.c: (hildon_date_selector_init):
3730 * src/hildon-time-selector.c: (hildon_time_selector_init):
3731 * src/hildon-touch-selector.c: (hildon_touch_selector_new_text),
3732 (create_touch_selector): Update widgets and example to reflect
3735 2008-08-06 Claudio Saavedra <csaavedra@igalia.com>
3737 * src/hildon-touch-selector.c:
3738 (hildon_touch_selector_set_active_iter): Set also the cursor in
3741 2008-08-06 Alberto Garcia <agarcia@igalia.com>
3743 * doc/hildon-docs.sgml
3746 * src/hildon-toggle-button.c
3747 * src/hildon-toggle-button.h
3748 * src/hildon.h: Removed HildonToggleButton widget, a derived
3749 class is not necessary for this.
3751 2008-08-06 Alejandro G. Castro <alex@igalia.com>
3753 * src/hildon-pannable-area.c,
3754 (hildon_pannable_area_realize),
3755 (hildon_pannable_area_size_allocate): Code refactoring, add tests
3758 2008-08-05 Claudio Saavedra <csaavedra@igalia.com>
3760 * src/hildon-picker-dialog.c: (hildon_picker_dialog_init): Make the
3761 "done" button the default widget for the dialog.
3763 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3765 * src/hildon-touch-selector.c:
3766 (hildon_touch_selector_class_init),
3767 (hildon_touch_selector_get_property),
3768 (_hildon_touch_selector_set_model),
3769 (_hildon_touch_selector_has_multiple_selection),
3770 (hildon_touch_selector_has_multiple_selection):
3771 Add a "has-multiple-selection" property with a virtual
3772 has_multiple_selection() method to allow derived classes to
3773 override the default value for it. See the method and property
3774 documentation for details.
3776 * src/hildon-touch-selector.h: Add the new API.
3778 * src/hildon-picker-dialog.c: (requires_done_button): Call
3779 hildon_touch_selector_has_multiple_selection() instead of
3780 determining the need for a button itself.
3782 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3784 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3785 (_hildon_touch_selector_set_model),
3786 (hildon_touch_selector_set_model): Move working code to
3787 _hildon_touch_selector_set_mode(). Call the class method instead.
3789 * src/hildon-touch-selector.h: Add (*set_model) to
3790 HildonTouchSelectorClass.
3792 Make hildon_touch_selector_set_model() a virtual method, so that
3793 derived classes can extend it and do fancy stuff with the model.
3795 2008-08-04 Claudio Saavedra <csaavedra@igalia.com>
3797 * configure.ac: Set back the tarname in AC_INIT to hildon.
3799 2008-08-04 Kimmo Hämäläinen <kimmo.hamalainen@nokia.com>
3803 * src/hildon-sound.c (hildon_play_system_sound): Use libcanberra
3804 instead of libesd (NB#86876). Volume handling is still an open issue.
3806 * configure.ac, src/Makefile.am: Replace esd with libcanberra. Some
3809 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3811 * src/hildon-touch-selector.c: (hildon_touch_selector_init),
3812 (hildon_touch_selector_append_column): Make the widget a GtkVBox
3813 derived class to ease placement of an entry widget in
3814 HildonTouchSelectorEntry. Added a private GtkHBox, packed at the
3815 end, where the selector columns are packed now.
3817 2008-08-01 Claudio Saavedra <csaavedra@igalia.com>
3819 * src/hildon-picker-button.c: Removed the simple _text() API.
3820 * src/hildon-picker-button.h: Likewise.
3822 * src/hildon-touch-selector.h:
3823 * src/hildon-touch-selector.c:
3824 (hildon_touch_selector_new_text),
3825 (hildon_touch_selector_append_text),
3826 (hildon_touch_selector_prepend_text),
3827 (hildon_touch_selector_insert_text):
3829 Moved the simple _text() API from HildonPickerButton to
3830 HildonTouchPicker, to provide better escalability and not to tie
3831 that API to HildonPickerButton.
3833 * examples/hildon-picker-button-example.c: (main): Example updated.
3835 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3837 * src/hildon-button.c: Updated documentation.
3839 * examples/hildon-button-example.c: Add the posibility to create
3840 the buttons using horizontal layout for title and value.
3842 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3844 * src/hildon-app-menu-private.h
3845 * src/hildon-app-menu.c (hildon_app_menu_add_filter)
3846 (hildon_app_menu_init, hildon_app_menu_finalize): Don't use a
3847 GtkSizeGroup for the filters, use the 'homogeneous' property of
3850 2008-07-31 Alberto Garcia <agarcia@igalia.com>
3852 * examples/hildon-button-example.c: Updated example.
3854 2008-07-30 Claudio Saavedra <csaavedra@igalia.com>
3856 * doc/hildon-docs.sgml:
3859 Update documentation.
3861 * examples/Makefile.am: Update renamed examples.
3863 * examples/hildon-picker-button-multicolumn-example.c:
3864 (create_touch_selector), (main): Update after the rename.
3866 * examples/hildon-touch-picker-example.c: Removed.
3867 * examples/hildon-touch-selector-example.c: (value_changed),
3868 (create_selector), (get_visible_content), (main): Renamed from
3869 hildon-touch-picker-example.c
3871 * src/Makefile.am: Updated renamed files.
3873 * src/hildon-date-button.c: (hildon_date_button_init),
3874 (hildon_date_button_get_date), (hildon_date_button_set_date):
3875 * src/hildon-date-selector.c: (hildon_date_selector_init),
3876 (_custom_print_func), (_update_day_model),
3877 (_manage_selector_change_cb),
3878 (hildon_date_selector_select_current_date),
3879 (hildon_date_selector_get_date), (hildon_date_selector_select_day):
3880 * src/hildon-date-selector.h:
3881 * src/hildon-picker-button.c: (hildon_picker_button_get_property),
3882 (hildon_picker_button_set_property),
3883 (hildon_picker_button_clicked), (hildon_picker_button_class_init),
3884 (hildon_picker_button_init), (hildon_picker_button_new_text),
3885 (hildon_picker_button_append_text),
3886 (hildon_picker_button_prepend_text),
3887 (hildon_picker_button_insert_text),
3888 (hildon_picker_button_set_selector),
3889 (hildon_picker_button_get_selector):
3890 * src/hildon-picker-button.h:
3891 * src/hildon-picker-dialog.c: (hildon_picker_dialog_class_init),
3892 (hildon_picker_dialog_init), (_select_on_selector_changed_cb),
3893 (_update_title_on_selector_changed_cb), (requires_done_button),
3894 (_hildon_picker_dialog_set_selector),
3895 (hildon_picker_dialog_set_selector),
3896 (hildon_picker_dialog_get_selector):
3897 * src/hildon-picker-dialog.h:
3898 * src/hildon-time-button.c: (hildon_time_button_init),
3899 (hildon_time_button_get_time), (hildon_time_button_set_time):
3900 * src/hildon-time-selector.c: (hildon_time_selector_init),
3901 (_custom_print_func), (_manage_ampm_selection_cb), (_set_pm),
3902 (hildon_time_selector_set_time), (hildon_time_selector_get_time):
3903 * src/hildon-time-selector.h:
3906 Massive code updates after the rename.
3908 * src/hildon-touch-picker.c: Removed.
3909 * src/hildon-touch-picker.h: Removed.
3911 * src/hildon-touch-selector.c: (hildon_touch_selector_class_init),
3912 (hildon_touch_selector_init), (hildon_touch_selector_map),
3913 (hildon_touch_selector_remove), (_default_print_func),
3914 (_selection_changed_cb), (_create_new_column),
3915 (hildon_touch_selector_new), (hildon_touch_selector_append_column),
3916 (hildon_touch_selector_append_text_column),
3917 (hildon_touch_selector_remove_column),
3918 (hildon_touch_selector_set_column_attributes),
3919 (hildon_touch_selector_insert_column),
3920 (hildon_touch_selector_get_num_columns),
3921 (hildon_touch_selector_get_column_selection_mode),
3922 (hildon_touch_selector_set_column_selection_mode),
3923 (hildon_touch_selector_set_print_func),
3924 (hildon_touch_selector_get_print_func),
3925 (hildon_touch_selector_get_active_iter),
3926 (hildon_touch_selector_set_active_iter),
3927 (hildon_touch_selector_get_selected_rows),
3928 (hildon_touch_selector_get_model),
3929 (hildon_touch_selector_set_model),
3930 (hildon_touch_selector_get_current_text),
3931 (_hildon_touch_selector_center_on_selected_items):
3932 * src/hildon-touch-selector.h: Renamed from
3933 hildon-touch-picker.[ch]
3935 Rename HildonTouchPicker to HildonTouchSelector. Updated all the
3936 references, code examples, and related documentation.
3938 2008-07-30 Alberto Garcia <agarcia@igalia.com>
3940 * doc/hildon-docs.sgml
3943 * src/hildon-toggle-button.c
3944 * src/hildon-toggle-button.h
3945 * src/hildon.h: New HildonToggleButton widget.
3947 2008-07-30 Alberto Garcia <agarcia@igalia.com>
3949 * src/hildon-button.c: Add API documentation.
3950 (hildon_button_set_size_groups): Check input parameters
3952 2008-07-30 Alejandro G. Castro <alex@igalia.com>
3954 * src/hildon-pannable-area.c
3955 (hildon_pannable_area_motion_notify_cb): Avoid the first jumpy
3956 effect after reaching the movement thredshold. This way we start
3957 using the distance after passing the thredshold.
3959 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3961 * src/hildon-button.c: (hildon_button_set_property): Use the
3962 appropriate g_value_get_flags() method.
3964 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3966 * doc/hildon-docs.sgml:
3969 Add the touch pickers, picker dialogs, and picker button widgets
3970 to the documentation.
3972 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3974 * src/hildon-button.c: (hildon_button_set_property),
3975 (hildon_button_class_init): Make "arrangement-flags" a proper
3976 G_TYPE_FLAGS derived property.
3978 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
3980 * examples/Makefile.am: Add below examples.
3981 * examples/hildon-date-button-example.c:
3982 * examples/hildon-picker-button-example.c:
3983 * examples/hildon-picker-button-multicolumn-example.c:
3984 * examples/hildon-time-button-example.c:
3985 * examples/hildon-touch-picker-example.c:
3987 Add examples for the recently added touch pickers,
3988 picker dialogs, and picker button widgets.
3990 2008-07-29 Alberto Garcia <agarcia@igalia.com>
3992 * src/hildon-button.c: Add some API documentation
3994 2008-07-29 Alberto Garcia <agarcia@igalia.com>
3996 * src/hildon-button.h
3997 * src/hildon-button.c
3999 (hildon_button_new_with_text): New constructor to create a button
4000 with no text at all.
4001 (hildon_button_init, hildon_button_set_arrangement)
4002 (hildon_button_set_title, hildon_button_set_value)
4003 (hildon_button_set_text)
4004 (hildon_button_construct_child): Hide the value when it's not used
4005 so the rest of the text is properly aligned.
4006 Allow creating buttons with arbitrary widgets inside (not just
4007 title/value labels).
4009 * examples/hildon-button-example.c (vertical_buttons_window)
4010 (horizontal_buttons_window): Update example to use new API.
4012 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4014 * src/Makefile.am: Added HildonTimeButton.
4015 * src/hildon-time-button.c: Added missing LGPL header.
4016 * src/hildon-time-button.h: Added missing LGPL header.
4017 * src/hildon.h: Add hildon-time-button.h
4019 Copied HildonTimeButton from sandbox to trunk. Future work on this
4020 widget must take place in trunk.
4022 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4024 * src/Makefile.am: Added HildonDateButton.
4025 * src/hildon-date-button.c: Update includes.
4026 * src/hildon.h: Add hildon-date-button.h
4028 Copied HildonDateButton from sandbox to trunk. Future work on this
4029 widget must take place in trunk.
4031 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4033 * src/Makefile.am: Added HildonPickerButton.
4034 * src/hildon-picker-button.h: Update includes.
4035 * src/hildon.h: Add hildon-picker-button.h
4037 Copied HildonPickerButton from sandbox to trunk. Future work on
4038 this widget must take place in trunk.
4040 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4042 * src/Makefile.am: Added HildonPickerDialog.
4043 * src/hildon-picker-dialog.c: Update includes.
4044 * src/hildon.h: Add hildon-picker-dialog.h
4046 Copied HildonPickerDialog from sandbox to trunk. Future work
4047 on this widget must take place in trunk.
4049 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4051 * src/Makefile.am: Added HildonTimeSelector.
4052 * src/hildon.h: Add hildon-time-selector.h
4054 Copied HildonTimeSelector widget from sandbox to trunk. Future
4055 work on this widget must happen in trunk.
4057 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4059 * src/Makefile.am: Added HildonDateSelector.
4060 * src/hildon.h: Add hildon-date-selector.h
4062 Copied HildonDateSelector widget from sandbox to trunk. Future
4063 work on this widget must happen in trunk.
4065 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4067 * src/Makefile.am: Added HildonTouchPicker.
4068 * src/hildon-touch-picker.c: Update includes.
4069 * src/hildon.h: Add hildon-touch-picker.h
4071 Copied HildonTouchPicker widget from sandbox to trunk. Future work
4072 on this widget must happen in trunk.
4074 2008-07-29 Claudio Saavedra <csaavedra@igalia.com>
4076 * src/hildon-pannable-area.c:
4077 (hildon_pannable_area_motion_notify_cb): Fix a typo.
4079 2008-07-29 Alberto Garcia <agarcia@igalia.com>
4081 * examples/hildon-app-menu-example.c (main): Let the window
4084 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4086 * src/hildon-pannable-area.c
4087 (hildon_pannable_area_class_init): Set the min value of the
4088 overshoot properties to zero, which points out that not
4089 overshooting allowed.
4091 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4093 Modified the procedure to get the widget at a point inside the
4094 pannable area when using the movement type signals. Now the user
4095 has to call a function to get the child, that way we just
4096 calculate the child in case the user really want to use it and not
4099 * src/hildon-marshalers.list: Modified the marshallers, now we do
4100 not have the widget as a parameter.
4102 * src/hildon-pannable-area.c
4103 (hildon_pannable_area_motion_notify_cb),
4104 (hildon_pannable_area_class_init),
4105 (hildon_pannable_get_child_widget_at): Removed the widget
4106 parameter from the signal callback. We have also refactored the
4107 emission of the signals.
4109 * src/hildon-pannable-area.h: Added a new method to the API to
4110 calculate a widget at a point inside the pannable area,
4111 hildon_pannable_get_child_widget_at.
4113 * examples/hildon-pannable-area-example-4.c
4114 (horizontal_movement): Modified the example to use the new API,
4115 added condition to control which widget is under the event. This
4116 way we can avoid scrolling laterally over other widgets.
4118 2008-07-29 Alejandro G. Castro <alex@igalia.com>
4120 * src/hildon-pannable-area.c
4121 (hildon_pannable_area_motion_notify_cb): Fixed bug handling the
4122 modes, we stop getting the pointer events due to returning the
4123 callback without properly calling the get pointer again. Fixed
4124 also an error using the hscroll and vscroll.
4126 2008-07-28 Alberto Garcia <agarcia@igalia.com>
4128 * src/hildon-app-menu-private.h
4129 * src/hildon-app-menu.c (hildon_app_menu_button_press)
4130 (hildon_app_menu_button_release, hildon_app_menu_init)
4131 (hildon_app_menu_class_init): Don't hide the menu on button
4132 release if the user didn't press outside first.
4134 * src/hildon-window.h
4135 * src/hildon-window.c (hildon_window_toggle_menu)
4136 (hildon_window_toggle_menu_real, hildon_window_class_init): Make
4137 hildon_window_toggle_menu a virtual function for the stackable
4138 window to override it.
4140 * src/hildon-stackable-window.h
4141 * src/hildon-stackable-window-private.h
4142 * src/hildon-stackable-window.c
4143 (hildon_stackable_window_realize)
4144 (hildon_stackable_window_finalize)
4145 (hildon_stackable_window_class_init)
4146 (hildon_stackable_window_init)
4147 (hildon_stackable_window_set_main_menu): New function to set the
4148 app menu of a HildonStackableWindow.
4150 * examples/hildon-app-menu-example.c: Remove the button to show
4151 the app menu, now it'll be shown when clicking on the title bar
4154 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4156 * src/hildon-button.c: (hildon_button_set_arrangement): Do not
4157 set the widget name if the arrangement flags do not specify
4160 2008-07-22 Claudio Saavedra <csaavedra@igalia.com>
4162 * src/hildon-button.c: (hildon_button_set_property),
4163 (hildon_button_class_init), (hildon_button_new_full),
4164 (hildon_button_set_arrangement): Added "arrangement-flags"
4167 Make the HildonButtonFlags a construction-only property, to allow
4168 subclasses to set them properly.
4170 2008-07-21 Tim Janik <timj@imendio.com>
4172 * src/hildon-code-dialog.c (hildon_code_dialog_backspace): fixed up
4173 insertion position after backspace, so additional digits are appended,
4176 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4178 * src/hildon-pannable-area.c,
4179 (hildon_pannable_area_get_topmost): Cleaned the code, removed the
4180 TODO list, it was complete and removed the g_debug and g_print
4183 2008-07-17 Alejandro G. Castro <alex@igalia.com>
4185 Added the movement modes to the hildon-pannable-area, with this
4186 modes the developers can control in which directions the widget
4187 can scroll. They can also connect to signals in order to do
4188 something when that happens, allowing applications scroll. There
4189 is an example uploaded showing how to use it.
4191 * examples/Makefile.am:
4192 * examples/hildon-pannable-area-example-4.c: Added this example of
4193 an application using the modes.
4195 * src/hildon-marshalers.list: Added a new marshaller for the new
4198 * src/hildon-pannable-area.h: Added new enumerations and flags in
4199 order to control the movement modes and the new signals to warn
4200 about the movements in the area.
4202 * src/hildon-pannable-area.c:
4203 (hildon_pannable_axis_scroll),
4204 (hildon_pannable_area_scroll),
4205 (hildon_pannable_area_motion_notify_cb),
4206 (hildon_pannable_area_get_property),
4207 (hildon_pannable_area_set_property),
4208 (hildon_pannable_area_map),
4209 (hildon_pannable_area_class_init),
4210 (hildon_pannable_area_init),
4211 (hildon_pannable_area_jump_to): Added the modes to control the
4212 movement in the widget. We have added properties to control it,
4213 signals to warn about the movements and refactored some code.
4215 2008-07-15 Alejandro G. Castro <alex@igalia.com>
4217 Changes required in order to allow vfast_factor set to zero to
4220 * src/hildon-pannable-area.c:
4221 (hildon_pannable_area_button_press_cb): Changed the condition, it
4222 is required for not allowing click when vfast_factor is zero.
4223 (hildon_pannable_area_timeout): Initialized velocity variables
4224 when we stop moving, it was less than 1 but not zero and we need
4225 to check zero in some situations.
4226 (hildon_pannable_area_class_init): Changed the default value of
4227 the speed factor, now the button_press is just sent in case the
4228 speed is 2 per cent of the max speed.
4229 (hildon_pannable_area_init): Initialization with 0.
4231 2008-07-04 Alejandro G. Castro <alex@igalia.com>
4233 * src/hildon-pannable-area.c,
4234 (hildon_pannable_area_get_topmost): replaced
4235 gdk_window_get_children with gdk_window_peek_children, this way we
4236 do not have to free the list because it is not a copy.
4238 (hildon_pannable_axis_scroll),
4239 (hildon_pannable_area_scroll),
4240 (hildon_pannable_area_timeout),
4241 (hildon_pannable_area_motion_notify_cb): Code refactoring, removed
4242 two parameters that were only used inside the
4243 hildon_pannable_area_scroll function.
4245 * examples/hildon-pannable-area-example.c,
4246 (get_sawtooth_label): Fixed small memory leak.
4248 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4250 More checks for the case where the overshoot is bigger than the
4253 * src/hildon-pannable-area.c:
4254 (hildon_pannable_draw_vscroll),
4255 (hildon_pannable_draw_hscroll): with this new calculation we avoid
4256 to draw the slider of the scrollbar under the other scrollbar.
4257 (hildon_pannable_area_expose_event): added new checks to control
4258 the drawing of the overshooting area rectangle, in case it is too
4259 big for the area of the widget.
4260 (hildon_pannable_area_size_allocate): add more checks to avoid
4261 setting a position to the child widget outside the area.
4263 2008-07-03 Alejandro G. Castro <alex@igalia.com>
4265 * src/hildon-pannable-area.c
4266 (hildon_pannable_area_size_allocate): Added conditions to control
4267 when overshooting is bigger than the allocated space for the
4268 children, this avoids negative allocations.
4270 2008-07-02 Alberto Garcia <agarcia@igalia.com>
4272 * doc/hildon-docs.sgml
4274 * examples/Makefile.am
4275 * examples/hildon-button-example.c
4277 * src/hildon-button.c
4278 * src/hildon-button.h
4279 * src/hildon.h: Initial version of the new HildonButton widget,
4282 2008-07-02 Claudio Saavedra <csaavedra@igalia.com>
4284 * src/hildon-pannable-area.c:
4285 (hildon_pannable_area_button_press_cb),
4286 (hildon_pannable_area_refresh), (hildon_pannable_area_scroll),
4287 (hildon_pannable_area_motion_notify_cb),
4288 (hildon_pannable_area_button_release_cb),
4289 (hildon_pannable_area_expose_event), (hildon_pannable_area_remove),
4290 (hildon_pannable_area_jump_to_child):
4292 Use gtk_bin_get_child() instead of accessing GtkBin.child directly.
4294 2008-07-01 Alberto Garcia <agarcia@igalia.com>
4296 * examples/Makefile.am
4297 * examples/hildon-pannable-area-touch-grid-example.c
4298 * examples/hildon-pannable-area-touch-list-example.c: Examples of
4299 the Hildon Touch List and Hildon Touch Grid using the
4300 HildonPannableArea widget.
4302 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4304 * src/hildon-pannable-area.c,
4305 (hildon_pannable_area_button_press_cb),
4306 (hildon_pannable_area_refresh),
4307 (hildon_pannable_area_scroll),
4308 (hildon_pannable_area_motion_notify_cb),
4309 (hildon_pannable_area_button_release_cb),
4310 (hildon_pannable_area_expose_event),
4311 (hildon_pannable_area_add),
4312 (hildon_pannable_area_remove),
4313 (hildon_pannable_area_realize),
4314 (hildon_pannable_area_size_allocate),
4315 (hildon_pannable_area_class_init),
4316 (hildon_pannable_area_init),
4317 (hildon_pannable_area_scroll_to_child),
4318 (hildon_pannable_area_jump_to_child): Fixed the problem of
4319 removing the child from the GtkBin, we have rearranged the widget
4320 hierarchy, now there is no GtkAlignment which was not doing
4321 anything interesting but breaking some of the assumptions of
4322 GtkContainer. Now developers if they want to add a GtkAlignment
4323 they could, but it is not inside the area.
4325 We had to review the whole allocation/expose process, now it is
4326 improved and we save at least three signals which would be saving
4327 some time when rendering the widget. The allocation of the
4328 scrollbars is now made in the allocate method as usual.
4330 We have also added some conditions in order to control when there
4331 is no child of the pannable area. Maybe we will need more work
4334 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4336 * src/hildon-pannable-area.c,
4337 (hildon_pannable_area_dispose): Released the fade-out timeout when
4338 disposing the widget.
4340 2008-06-27 Alejandro G. Castro <alex@igalia.com>
4342 * src/hildon-pannable-area.c: Fixed problem when overshoot_max is
4343 zero, we are going to use that property in order to deactivate the
4345 (hildon_pannable_axis_scroll),
4346 (hildon_pannable_area_size_allocate): Added conditions to control
4347 when overshoot_max is zero. Moved the gtk_adjustment_set_value
4348 call, now it is called in all situations and we can remove calls
4349 in the allocate method.
4350 (hildon_pannable_area_map): Control the situation when
4351 overshoot_max is zero, we do not need the timeout.
4352 (hildon_pannable_area_class_init): Added documentation in order to
4353 point out that setting zero to overshoot_max means deactivate
4356 NOTE: removed trailing whitespaces from my previous comments of
4359 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4361 * src/hildon-pannable-area.c
4362 (hildon_pannable_area_get_property),
4363 (hildon_pannable_area_set_property),
4364 (hildon_pannable_area_map),
4365 (hildon_pannable_area_class_init),
4366 (hildon_pannable_area_init): Add a boolean "initial-hint" property
4367 to cause the widget give a hint about its panning abilities upon
4370 2008-06-26 Claudio Saavedra <csaavedra@igalia.com>
4372 * src/hildon-pannable-area.c: Several documentation improvements.
4374 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4376 * src/hildon-program.c
4377 * src/hildon-stackable-window.c: Update documentation.
4379 2008-06-26 Alberto Garcia <agarcia@igalia.com>
4381 * src/hildon-stackable-window.c (get_previous_window_if_last):
4382 Renamed get_last_window()
4383 (hildon_stackable_window_map, hildon_stackable_window_unmap)
4384 (hildon_stackable_window_unset_program):
4386 (get_previous_window_if_last):
4387 Detect if the window hasn't been added to a HildonProgram.
4389 2008-06-26 Alejandro G. Castro <alex@igalia.com>
4391 contributed and reviewed by: Claudio Saavedra <csaavedra@igalia.com>
4393 * src/hildon-pannable-area.c
4394 (hildon_pannable_area_button_press_cb),
4395 (hildon_pannable_axis_scroll),
4396 (hildon_pannable_area_scroll),
4397 (hildon_pannable_area_timeout),
4398 (hildon_pannable_calculate_vel_factor),
4399 (hildon_pannable_area_get_property),
4400 (hildon_pannable_area_set_property),
4401 (hildon_pannable_area_class_init),
4402 (hildon_pannable_area_init),
4403 (hildon_pannable_area_scroll_to),
4404 (hildon_pannable_area_jump_to),
4405 (hildon_pannable_area_scroll_to_child),
4406 (hildon_pannable_area_jump_to_child):
4407 * src/hildon-pannable-area.h: Added the new API functions:
4408 hildon_pannable_area_scroll_to, hildon_pannable_area_jump_to,
4409 hildon_pannable_area_scroll_to_child,
4410 hildon_pannable_area_jump_to_child
4413 * examples/Makefile.am
4414 * examples/hildon-pannable-area-example-2.c
4415 * examples/hildon-pannable-area-example-3.c: Added these two new
4416 examples in order to test and show how the new APIs work.
4418 2008-06-25 Alberto Garcia <agarcia@igalia.com>
4420 * examples/hildon-stackable-window-example.c (new_window):
4421 * src/Makefile.am (noinst_HEADERS):
4422 * src/hildon-program.c (hildon_program_go_to_root_window):
4423 * src/hildon-program.h:
4424 * src/hildon-stackable-window-private.h:
4425 * src/hildon-stackable-window.c:
4426 * src/hildon-stackable-window.h:
4427 Create hildon-stackable-window-private.h
4428 Move hildon_stackable_window_go_to_root_window() to HildonProgram
4430 * examples/hildon-app-menu-example.c (create_menu):
4431 * examples/hildon-hvolumebar-insensitive-example.c (main):
4432 * examples/hildon-hvolumebar-timer-example.c (on_idle):
4433 * examples/hildon-toolbar-seekbar-example.c (main):
4434 * src/hildon-app-menu.c (hildon_app_menu_add_filter):
4435 * src/hildon-banner.c (hildon_banner_set_property):
4436 * src/hildon-dialog.c (hildon_dialog_new_with_buttons):
4437 Fix compilation warnings
4439 * src/hildon-window.c:
4442 2008-06-24 Alberto Garcia <agarcia@igalia.com>
4444 * src/hildon-stackable-window.c
4445 (hildon_stackable_window_unset_program):
4446 Calculate correctly whether to show the previous window if the
4447 last one is removed from the stack.
4448 (hildon_stackable_window_go_to_root_window):
4449 Send delete events starting from the topmost window.
4450 Stop if one of the windows is not destroyed.
4452 (hildon_stackable_window_delete_event)
4453 (hildon_stackable_window_class_init):
4454 Ignore the delete event if the window is not the topmost one.
4456 2008-06-24 Alejandro G. Castro <alex@igalia.com>
4458 * src/hildon-pannable-area.c
4459 (hildon_pannable_area_expose_event): Fixed a problem when
4460 selecting the background color of the scrollbars.
4462 2008-06-23 Alberto Garcia <agarcia@igalia.com>
4464 * examples/hildon-stackable-window-example.c
4465 * src/hildon-stackable-window.c
4466 * src/hildon-stackable-window.h
4467 hildon_stackable_window_go_home() renamed to
4468 hildon_stackable_window_go_to_root_window()
4469 Send delete events to windows rather than closing them with
4470 gtk_widget_destroy()
4472 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4474 * src/hildon-pannable-area.c
4475 (hildon_pannable_area_button_release_cb): Fix overshooting in
4478 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4480 * src/hildon-pannable-area.c
4481 (hildon_pannable_area_init): Initially show the scroll indicators.
4482 (hildon_pannable_area_map): Fade the scroll indicators out upon mapping.
4484 Add initial effect showing the widget is pannable.
4486 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4488 * src/hildon-pannable-area.c
4489 (hildon_pannable_area_class_init)
4490 (hildon_pannable_area_set_property)
4491 (hildon_pannable_area_get_property)
4492 (hildon_pannable_area_button_press_cb):
4493 New 'velocity_fast_factor' property to decide which velocity is
4496 2008-06-19 Claudio Saavedra <csaavedra@igalia.com>
4498 * src/hildon-pannable-area.c
4499 (hildon_pannable_draw_hscroll)
4500 (hildon_pannable_draw_vscroll):
4501 Use float variables to calculate the size of the scrollbars to
4502 avoid error propagation and resizing during scrolling.
4504 2008-06-19 Alberto Garcia <agarcia@igalia.com>
4506 * src/hildon-pannable-area.c
4507 (hildon_pannable_draw_vscroll)
4508 (hildon_pannable_draw_hscroll):
4509 Define a minimum size for the scroll bars
4511 * src/hildon-stackable-window.c
4512 (hildon_stackable_window_go_home): Fix compilation warning
4513 (get_last_window): Minor optimizations
4514 (hildon_stackable_window_class_init): Fix initialization of
4517 2008-06-18 Alberto Garcia <agarcia@igalia.com>
4519 * src/hildon-stackable-window.c: Fixed typos in doc
4521 2008-06-18 Claudio Saavedra <csaavedra@igalia.com>
4523 * src/hildon-pannable-area.c
4524 (hildon_pannable_area_scroll):
4525 Calculate here whether we need to scroll instead of using the booleans
4526 that tell us whether to /draw/ the scrolling bars.
4528 2008-06-17 Claudio Saavedra <csaavedra@igalia.com>
4530 * src/hildon-app-menu.h
4532 * src/hildon-app-menu.c
4533 (hildon_app_menu_init, hildon_app_menu_class_init): Remove
4534 multiple filter groups related code and API. Now we support only
4536 * examples/hildon-app-menu-example.c:
4538 Update to reflect API changes.
4540 2008-06-16 Claudio Saavedra <csaavedra@igalia.com>
4542 * src/hildon-stackable-window.c
4543 (hildon_stackable_window_class_init):
4544 Add hildon_stackable_window_realize.
4545 (hildon_stackable_window_realize):
4546 Append the window type _HILDON_WM_WINDOW_TYPE_STACKABLE to
4547 the _NET_WM_WINDOW_TYPE hint. Window managers should use this type
4548 to apply theming and behavior specific to HildonStackableWindow
4551 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4553 * src/hildon-note.c (hildon_note_button_release):
4554 Close information notes also when tapping on them
4556 2008-06-12 Alejandro G. Castro <alex@igalia.com>
4558 Added BOUNCE_STEPS define to control the overshoot effect. Removed
4559 ELASTICITY, refactor and review, fix some issues with drawing
4562 * src/hildon-pannable-area.c:
4563 (hildon_pannable_area_button_press_cb): removed the conditions to
4564 avoid clicks when overshooting. It is not required
4566 (hildon_pannable_axis_scroll): Added BOUNCE_STEPS
4567 define. Refatored and reviewed the code, now we do not need to
4568 manage velocity in motion_notify.
4570 (hildon_pannable_area_motion_notify_cb): We have moved the code
4571 that controls the area_scroll to the axis_scroll function and get
4572 rid of duplicated code.
4574 (hildon_pannable_area_scroll): Remove the ELASTICITY define.
4576 (hildon_pannable_area_button_release_cb): Added BOUNCE_STEPS.
4578 (hildon_pannable_draw_vscroll),
4579 (hildon_pannable_draw_hscroll): Fixed the problems with the
4580 scrollbar drawing, now we do not use two surfaces, it is easier
4581 and saves resources.
4583 (hildon_pannable_area_get_property): Style modification.
4585 (hildon_pannable_area_class_init): Changed some default values.
4587 2008-06-12 Claudio Saavedra <csaavedra@igalia.com>
4589 * src/hildon-stackable-window.c: Fix some typos in the
4592 2008-06-12 Alberto Garcia <agarcia@igalia.com>
4594 * src/hildon-dialog.c:
4595 Change indentation style
4598 (hildon_note_button_release):
4599 Use root coordinates to check if the release event happened
4602 * src/hildon-app-menu.c
4603 (hildon_app_menu_button_release):
4604 Remove unnecessary check
4606 * examples/hildon-app-menu-example.c
4608 Add cast to fix warning
4610 * src/hildon-app-menu.c
4611 (hildon_app_menu_class_init):
4612 New inner-border style property.
4613 Set all default spacings to 16
4614 (hildon_app_menu_init):
4615 Use vertical-spacing to set the space between filter buttons and
4616 regular menu buttons.
4617 Set the default container border using the inner-border value.
4619 * examples/hildon-app-menu-example.c
4621 Don't set the menu border explicitly, now we have the inner-border
4622 style property for that.
4624 2008-06-11 Alberto Garcia <agarcia@igalia.com>
4626 * src/hildon-app-menu.c (hildon_app_menu_init):
4627 Make the window modal
4629 * src/hildon-note.c (hildon_note_map)
4630 * src/hildon-app-menu.c (hildon_app_menu_map):
4631 Destroy the grab window if we're unable to grab the pointer
4633 * src/hildon-app-menu-private.h
4634 * src/hildon-app-menu.c
4635 (hildon_app_menu_init, hildon_app_menu_finalize)
4636 (hildon_app_menu_map, hildon_app_menu_unmap)
4637 (hildon_app_menu_button_release)
4638 (grab_transfer_window_get):
4639 Bring back the grab window
4640 (hildon_app_menu_realize):
4641 Decorate the window, set WM hint for Matchbox
4643 * src/hildon-note.c (hildon_note_realize):
4644 * src/hildon-banner.c (hildon_banner_realize):
4645 Add WM hints for Matchbox
4647 2008-06-10 Alberto Garcia <agarcia@igalia.com>
4649 * src/hildon-app-menu-private.h
4650 * src/hildon-app-menu.c
4651 (hildon_app_menu_init, hildon_app_menu_finalize)
4652 (hildon_app_menu_map, hildon_app_menu_unmap)
4653 (hildon_app_menu_button_release):
4654 Remove the grab window, it's not needed anymore
4656 * src/hildon-program.c
4657 Fixed typo in documentation
4659 * src/hildon-app-menu.h
4660 * src/hildon-app-menu.c
4661 * examples/hildon-app-menu-example.c
4662 Remove hildon_app_menu_popup(), use gtk_widget_show() instead
4664 2008-06-09 Alberto Garcia <agarcia@igalia.com>
4667 Added new transfer_window and close_if_pressed_outside private
4669 (hildon_note_rebuild):
4670 Don't add a cancel button to the information note. It will be
4671 closed when tapping outside
4672 Remove the comment about the OK button in the documentation
4673 (hildon_note_realize):
4674 Set the notification type hint
4675 (hildon_note_map, hildon_note_unmap, grab_transfer_window_get):
4676 Grab/ungrab pointer and keyboard if the note has to be closed when
4678 (hildon_note_button_release):
4679 Close the note when tapping outside (if applicable)
4681 * src/hildon-app-menu.c
4682 Grab/ungrab pointer and keyboard on map/unmap
4683 (hildon_app_menu_button_release, hildon_app_menu_class_init):
4684 Close the menu on button release, not button press
4686 * src/hildon-banner.c
4687 (hildon_banner_set_property)
4688 (hildon_banner_check_position):
4689 Make the banner use the full width of the screen
4690 (hildon_banner_show_information)
4691 (hildon_banner_show_information_with_markup):
4692 Don't display an icon by default
4694 2008-06-09 Alejandro G. Castro <alex@igalia.com>
4696 Added fading scrollbars and adapted all the overshooting code to
4697 horizontal scrolling. We have also fixed bugs with overshooting
4698 and current fading implementation.
4700 * src/hildon-pannable-area.c
4701 (hildon_pannable_area_scroll_indicator_fade): Time out function
4702 used to change the transparency of the scrollbars.
4704 (hildon_pannable_area_button_press_cb): Added horizontal overshot
4705 control and fixed a problem with fading, we now remove the fade
4706 timeout before adding a new one.
4708 (hildon_pannable_axis_scroll):
4709 (hildon_pannable_area_scroll):
4710 (hildon_pannable_area_timeout): Added this functions so we can use
4711 the scroll code both for vertical and horizontal.
4713 (hildon_pannable_area_motion_notify_cb):
4714 (hildon_pannable_area_button_release_cb): Added the horizontal
4715 scrolling control, fixed a problem with the overshooting timeout.
4717 (rgb_from_gdkcolor): Added this function, it is used in the cairo
4718 painting of the scrolls.
4720 (hildon_pannable_draw_vscroll):
4721 (hildon_pannable_draw_hscroll):
4722 (hildon_pannable_area_expose_event):
4723 Draw both scrollbars and rectangles in the overshooting area.
4725 (hildon_pannable_area_get_property):
4726 (hildon_pannable_area_set_property):
4727 Modified the overshoot property to overshoot_max
4729 (hildon_pannable_area_map):
4730 Replaced the comments symbols.
4732 (hildon_pannable_area_size_allocate):
4733 (hildon_pannable_area_class_init):
4734 (hildon_pannable_area_init): Added horizontal scroll, fading
4735 effect properties, fixed a problem when overshooting in the bottom
4738 * examples/hildon-pannable-area-example.c:
4739 (get_sawtooth_label): Now we use smaller sawtooths, the effect
4740 looks better in the example.
4742 2008-06-03 Alberto Garcia <agarcia@igalia.com>
4744 * src/hildon-window.c
4745 * src/hildon-window.h
4746 (hildon_window_class_init)
4747 (hildon_window_unset_program)
4748 (hildon_window_unset_program_real):
4749 Make unset_program a virtual function
4751 * src/hildon-stackable-window.c
4752 * src/hildon-stackable-window.h
4753 Added hildon_stackable_window_go_home()
4755 * examples/Makefile.am
4756 * examples/hildon-stackable-window-example.c
4757 HildonStackableWindow example
4759 2008-06-03 Alejandro G. Castro <alex@igalia.com>
4761 * hildon-pannable-area.c: Added the overshoot property and removed
4762 the OVERSHOOT define. Fixed an indent style error.
4763 (hildon_pannable_area_motion_notify_cb):
4764 (hildon_pannable_area_get_property):
4765 (hildon_pannable_area_set_property): Add overshoot property.
4767 (hildon_pannable_area_scroll): replaced OVERSHOOT define with
4770 (hildon_pannable_area_class_init): Installed the new property.
4772 * hildon-pannable-area-example.c: Added a sawtooth function, this
4773 way it is easier to check the movement in the pannable.
4774 (get_sawtooth_label): Added this function.
4775 (main): Now we get the labels from the new get_sawtooth_label
4778 2008-05-26 Alberto Garcia <agarcia@igalia.com>
4780 * src/hildon-app-menu.h
4781 * src/hildon-app-menu.c
4782 Renamed API variables for consistency
4784 (hildon_app_menu_popup): Use also the default window size to
4785 decide where to place the menu
4787 (hildon_app_menu_init, hildon_app_menu_class_init): New
4788 external-border style property
4790 2008-05-26 Michael Natterer <mitch@imendio.com>
4792 * src/hildon-time-editor.c (hildon_time_editor_class_init): The
4793 widget_class->tap_and_hold_setup signal slot doesn't exist any
4794 longer, stop overriding it.
4796 (hildon_time_editor_init): g_signal_connect() to the
4797 tap-and-hold-setup signal instead.
4799 (hildon_time_editor_entry_keypress): add cast to fix warning.
4801 2008-05-23 Alberto Garcia <agarcia@igalia.com>
4803 * doc/hildon-docs.sgml
4805 * examples/Makefile.am
4806 * examples/hildon-app-menu-example.c
4808 * src/hildon-app-menu-private.h
4809 * src/hildon-app-menu.c
4810 * src/hildon-app-menu.h
4812 New HildonAppMenu widget
4814 2008-05-21 Alejandro G. Castro <alex@igalia.com>
4816 Rearranged the inheritance of the pannable area, now it inherits
4817 from GtkBin. This will allow us to control the event_window and
4818 the allocation process of the widget, required for some effects.
4820 * src/hildon-pannable-area.h: Replaced GtkEventBox structures with
4821 GtkBin structures. * src/hildon-pannable-area.c: Added the
4822 event_window variable.
4823 (hildon_pannable_area_button_press_cb):
4824 (hildon_pannable_area_button_release_cb):
4825 (hildon_pannable_area_motion_notify_cb):
4826 Changed the signature of the method, now we override the event
4827 callback instead of connecting to the signal.
4829 (hildon_pannable_area_realize):
4830 (hildon_pannable_area_unrealize):
4831 (hildon_pannable_area_map):
4832 (hildon_pannable_area_unmap):
4833 (hildon_pannable_area_size_allocate):
4834 Added functions to control the widget construction. We add a
4835 INPUT_ONLY window and we put it over the widgets inside the
4836 container, this event_window handles the events.
4838 (hildon_pannable_area_class_init):
4839 Replaced the signal connections with overrides of the event
4842 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4844 Bouncing effect added when touching the borders, you can change
4845 the elasticity of the border changing the ELASTICITY define.
4847 * src/hildon-pannable-area.c: Added ELASTICITY define.
4848 (hildon_pannable_area_timeout): Added inverse velocity when
4849 touching the border of the child widget, that causes a bounce.
4851 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4853 Improved performance, we now do not go to the X server in order to
4854 get the list of window children. Apparently the effect is the
4855 same, we have to be careful and check if this breaks something in
4858 * src/hildon-pannable-area.c:
4859 (get_ordered_children): Removed this function.
4860 (hildon_pannable_area_get_topmost): Replaced the ad-hoc search of
4861 the children windows function with gdk_window_get_children.
4863 2008-05-20 Alejandro G. Castro <alex@igalia.com>
4865 * src/hildon-pannable-area.c:
4866 (hildon_pannable_area_dispose): Fixed a crash when closing the
4867 window and kinetics is activated.
4869 2008-05-19 Alberto Garcia <agarcia@igalia.com>
4871 * src/hildon-pannable-area.h
4872 * src/hildon-pannable-area.c
4873 Changed indentation style to meet the one used in Hildon
4875 2008-05-19 Alejandro G. Castro <alex@igalia.com>
4877 Reviewed the interaction of the AUTO mode, now we use the time
4878 attribute of the events and calculate the velocity in the motion,
4879 doing a gimp like calculation. The velocity is calculated in each
4880 motion event using the last velocity and the current one, the
4881 SMOOTH_FACTOR controls the percentage of the new velocity we use.
4883 * src/hildon-pannable-area.c: Replaced the time based algorithm
4885 (hildon_pannable_area_motion_notify_cb): now we do not launch the
4886 timeout for the AUTO mode when we are still moving the cursor. We
4887 added also the velocity calculation in this function.
4888 (hildon_pannable_area_button_release_cb): launch the timeout in
4889 case we are in AUTO mode. There are still some constants here that
4890 come from the old implementation that should be reviewed and
4893 2008-05-15 Alberto Garcia <agarcia@igalia.com>
4895 * doc/hildon-docs.sgml
4898 * src/hildon-stackable-window.c
4899 * src/hildon-stackable-window.h
4901 New HildonStackableWindow widget
4903 * examples/hildon-dialog-example.c
4904 * examples/hildon-pannable-area-example.c
4907 2008-05-14 Alberto Garcia <agarcia@igalia.com>
4909 * src/hildon-dialog.c
4910 (hildon_dialog_new_with_buttons): New constructor.
4912 * examples/hildon-dialog-example.c
4913 (main): Update the example to use the new
4914 hildon_dialog_new_with_buttons().
4916 * examples/hildon-pannable-area-example.c
4917 (main): Update example.
4919 2008-05-13 Alberto Garcia <agarcia@igalia.com>
4921 * doc/hildon-docs.sgml
4923 Added HildonPannableArea to the documentation.
4925 2008-05-13 Victor Jaquez <vjaquez@igalia.com>
4927 * doc/visual_index.xml
4928 Fix reference to HildonLoginDialog in documentation
4930 * doc/hildon-docs.sgml
4932 * examples/Makefile.am
4933 * examples/hildon-dialog-example.c
4935 * src/hildon-dialog.c
4936 * src/hildon-dialog.h
4938 New HildonDialog widget.
4940 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4942 * src/hildon-pannable-area.c
4943 Merge latest changes (r4318, r4342) from libmokoui trunk
4945 2008-05-09 Alberto Garcia <agarcia@igalia.com>
4947 * examples/Makefile.am
4948 * examples/hildon-pannable-area-example.c
4950 * src/hildon-pannable-area.c
4951 * src/hildon-pannable-area.h
4953 New HildonPannableArea widget.
4955 2008-04-15 18:05:19 <timj@imendio.com>
4957 * src/hildon-banner.c: revert the recent change, that introduced
4958 gtk_window_present() calls. this reopens:
4959 Bug 78481 - [freetest] information banners are hidden under browser menu
4960 But resolves another variant of:
4961 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4963 2008-04-15 13:21:13 <timj@imendio.com>
4965 * src/hildon-banner.c: refetch layout pointer after GtkLabel possibly
4966 recreated its layout, spotted by Kris. this fixes all remaining
4967 artefacts and stability issues with the banner code. in particular:
4968 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4970 2008-04-14 16:52:59 <timj@imendio.com>
4972 * src/hildon-banner.c: guard force_to_wrap_truncated() against
4973 operating on unrealized widgets, fixes:
4974 Bug 83953 - Lock dialog is not visible when device is locked for the first time after flash
4976 * src/hildon-banner-private.h: coalesce boolean fields into bitfield.
4978 2008-04-09 Kristian Rietveld <kris@imendio.com>
4980 Fixes: NB#77775: Media Player, Save Now playing list, too long name
4981 makes banner disappear.
4982 Fixes: NB#79182: info banner flickering with certain message lengts.
4984 * src/hildon-banner.c (hildon_banner_constructor),
4985 (hildon_banner_init), (hildon_banner_set_text),
4986 (hildon_banner_set_markup): call hildon_banner_reset_wrap_state(),
4987 (hildon_banner_reset_wrap_state): new function: reset wrap flags to
4988 FALSE, reset size requests of label and banner,
4989 (force_to_wrap_truncated): when the text is too wide, always enforce
4990 the maximum possible width instead of recalculating it from the
4991 layout; enforce the maximum banner height of 3 lines,
4992 (hildon_banner_init): set WORD_CHAR wrapping, this will result in
4993 nicer wrapping and no truncated chars if space gets tight.
4995 * src/hildon-banner-private.h: add has_been_wrapped and
4996 has_been_truncated fields.
4998 2008-04-07 Sven Herzberg <sven@imendio.com>
5000 Fixes: NB#78896: libhildon code inspection/coverity: uninitialised
5001 local values in hildon_date_editor_size_allocate
5003 * src/hildon-date-editor.c: moved the real allocation code into the
5006 2008-04-07 Sven Herzberg <sven@imendio.com>
5008 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5009 local values in hildon_date_editor_size_allocate
5011 * src/hildon-date-editor.c: merged the two if() branches together
5013 2008-04-07 Sven Herzberg <sven@imendio.com>
5015 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5016 local values in hildon_date_editor_size_allocate
5018 * src/hildon-date-editor.c: changed the arguments of the if()
5021 2008-04-07 Sven Herzberg <sven@imendio.com>
5023 Prepares: NB#78896: libhildon code inspection/coverity: uninitialised
5024 local values in hildon_date_editor_size_allocate
5026 * src/hildon-date-editor.c: split the calculation of the allocation
5027 from the real allocation
5029 2008-03-27 Michael Natterer <mitch@imendio.com>
5031 Fixes: NB#81696: The passcode is not overwritten even after
5034 * src/hildon-code-dialog.c
5035 (hildon_code_dialog_button_clicked)
5036 (hildon_code_dialog_im_commit): don't use gtk_entry_append_text()
5037 because that doesn't overwrite selected text. Instead, emit the
5038 "commit" signal on the entry's im_context so the entry's normal
5039 insert logic is triggered. Set the cursor to the end of the entry
5040 after each insert operation so that we *only* insert in the middle
5041 of the text if something was selected.
5043 2008-03-27 Michael Natterer <mitch@imendio.com>
5045 Enable fixing: NB#79916 and NB#79918: The help topic for Color
5046 selector cannot be opened
5048 * src/hildon-color-button.c: add signal "setup-dialog" and emit it
5049 when the popup color selector is created. Please connect to this
5050 signal in order to set the dialog's help ID.
5052 2008-03-25 Sven Herzberg <sven@imendio.com>
5054 Fixes: MB#1212: Hide info banners (infoprints) on click
5056 * src/hildon-banner.c: (simulate_close), (hildon_banner_timeout):
5057 extracted the close event simulation into an extra function
5058 (hildon_banner_button_press_event): simulate a close event and destroy
5059 the widget if the event wasn't handled
5060 (hildon_banner_class_init): added the button_press_event handler
5061 (hildon_banner_init): added button-press events to the widget
5063 2008-03-25 Sven Herzberg <sven@imendio.com>
5065 Fixes: MB:#924: Hildon widgets doesn't support RTL mode
5066 Patch from: Mohammad Anwari <mdamt@maemo.org>
5068 * src/hildon-banner.c: let the HildonBanners pop up on the left side
5069 instead of the right in RTL mode
5070 * src/hildon-bread-crumb-trail.c: mirror the appearance of the
5071 breadcrumb button list in RTL mode
5072 * src/hildon-caption.c: mirror the appearance of the caption widget in
5074 * src/hildon-date-editor.c: mirror appearance of the date editor in
5076 * src/hildon-time-editor.c: mirror appearance of the time editor in
5078 * src/hildon-window.c: fix the position of the popup in RTL mode
5080 2008-03-25 Sven Herzberg <sven@imendio.com>
5082 Amendment to the fix of NB#22072. Fix compilation.
5084 * src/hildon-banner.c: (hildon_banner_timeout): fix compilation
5086 2008-03-19 Sven Herzberg <sven@imendio.com>
5088 Fixes: NB#22072: Revisiting fix for "Implement robust timer handling
5091 * src/hildon-banner.c: (hildon_banner_timeout): reset the current
5092 timeout id properly when the timeout will disappear this leaves no
5093 artifacts around in the destroy(); there will only be the timeout
5094 created by hildon_banner_ensure_timeout() and adding a new timeout
5095 will also work if the timeout gets removed because the timeout_handler
5098 2008-03-19 Michael Natterer <mitch@imendio.com>
5100 Fixes: NB#79791: Cannot set focus to Master volume using stylus
5102 * src/hildon-volumebar.c
5103 * src/hildon-vvolumebar.c
5104 * src/hildon-hvolumebar.c (init): remove UNSET_FLAGS(CAN_FOCUS) so
5105 the widget becomes focussable at all.
5107 * src/hildon-volumebar.c: implement GtkWidget::grab_focus() and
5108 set the focus to wither the mute button or the volumebar.
5110 Remove own "can-focus" property and instead listen to
5111 notify::can-focus in order to update the widget's state.
5113 Implement GtkWidget::focus() and make sure we can also *leave* the
5114 widget, not only enter it, depending on volumebar orientation and
5115 requested focus direction.
5117 Clean up set_mute() to cooperate nicely with all the above.
5119 2008-03-04 Michael Natterer <mitch@imendio.com>
5121 Fixes: NB#78481: information banners are hidden under browser menu
5123 * src/hildon-banner.c: call gtk_window_present() on the banners so
5124 they are risen if they are already visible.
5126 2008-03-03 Sven Herzberg <sven@imendio.com>
5128 Fixes: MB#1220: HildonWindow should take GtkMenu accel_group into account
5130 * examples/hildon-window-menu-example.c: (main): extended the window
5131 menu example to serve as a testcase for automatically added
5132 accelerator groups, too
5133 * src/hildon-window.c: (hildon_window_add_accel_group),
5134 (hildon_window_set_menu): added patch by Tommi Komulainen
5136 2008-03-03 Sven Herzberg <sven@imendio.com>
5138 Fixes: MB#1276: wrong allocators used in hildon_window_get_borders
5140 * src/hildon-window.c: (hildon_window_get_borders): don't imply any
5141 knowledge about the border allocators used within GTK+
5143 2008-02-26 Sven Herzberg <sven@imendio.com>
5145 Fixes: MB#2981: Build with asserts broken
5147 * src/hildon-date-editor.c,
5148 * src/hildon-number-editor.c,
5149 * src/hildon-time-editor.c,
5150 * src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
5151 the proper GType instance check
5153 2008-02-25 Sven Herzberg <sven@imendio.com>
5155 Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
5157 * doc/Makefile.am: tell gtk-doc about HILDON_DISABLE_DEPRECATED
5158 * examples/hildon-window-menu-example.c: (main): explicitly show
5160 * src/hildon-window.c:
5161 (hildon_window_set_main_menu): moved most of the code from set_menu()
5162 to this place; skipped the call to gtk_widget_show_all(); also didn't
5163 introduce gtk_widget_show() as gtk_menu_popup() will call that anyways
5164 (hildon_window_set_menu): removed most of the code, just keep the
5165 questionable gtk_widget_show_all()
5166 * src/hildon-window.h: added the new function and deprecate the old
5169 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5175 * debian/changelog: Updating.
5177 2008-01-10 Xan Lopez <xan.lopez@nokia.com>
5180 * pkgconfig/Makefile.am:
5181 * pkgconfig/hildon.pc.in:
5184 Do not use PACKAGE_VERSION_MAJOR as the API revision,
5185 use newly created API_MAJOR_VERSION.
5187 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5193 * debian/changelog: Updating.
5195 2008-01-09 Xan Lopez <xan.lopez@nokia.com>
5197 * src/hildon-color-chooser.c (hildon_color_chooser_class_init):
5199 Add outer_border style property, we use it but don't define it (!).
5203 2007-12-21 Xan Lopez <xan.lopez@nokia.com>
5205 * examples/hildon-bread-crumb-trail-example.c (main):
5209 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_remove):
5211 Fix logic for the bread crumb trail node removal.
5215 2007-12-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5221 * debian/changelog: Updating.
5223 2007-11-08 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5225 Patch by Alejandro to get/set passwords dialogs accesibility.
5227 * hildon-1/src/hildon-get-password-dialog.c:
5228 * hildon-1/src/hildon-set-password-dialog.c:
5229 Set atk_set_name to the passwd entries in order to allow
5230 accessibility by name on this entries.
5232 2007-10-11 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5237 * debian/control: Updating gtk dep.
5239 2007-10-10 Mohammad Anwari <Mohammad.Anwari@nokia.com>
5241 * configure.ac, pkgconfig/hildon-1.pc: Turn on -DMAEMO_CHANGES only if
5242 USE_MAEMO_GTK is enabled.
5244 2007-10-10 Xan Lopez <xan.lopez@nokia.com>
5246 * src/hildon-code-dialog.c (hildon_code_dialog_init): check for
5247 MAEMO_GTK or GTK+ > 2.11 before using GTK_BUTTONBOX_CENTER mode.
5249 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5255 * debian/changelog: Updating.
5257 2007-10-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5259 * examples/Makefile.am:
5260 * examples/hildon-logical-color-example.c:
5261 * src/hildon-helper.c: Fixing the way logical colors/fonts are being
5262 applied + adding a test case. Fixes: NB#71660.
5264 2007-10-08 Xan Lopez <xan.lopez@nokia.com>
5266 * src/hildon-window.c (hildon_window_map): only map the vbox if it's supposed
5267 to be visible, fixes warning on map for windows without toolbars.
5269 2007-10-02 Xan Lopez <xan.lopez@nokia.com>
5271 * src/hildon-seekbar.c: gtk_range_get_fill_level is available in GTK+ since
5272 2.11.0, add a check for that besides the MAEMO_GTK check.
5274 2007-09-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5280 * debian/changelog: Updating.
5282 2007-09-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5284 * src/hildon-window.c: Applying patches by Xan to fix the toolbar
5285 visibility. Fixes: NB#70842 and MB#615.
5287 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5289 * src/hildon-bread-crumb-widget.c (hildon_bread_crumb_widget_constructor):
5290 set the separator as no-show-all so it doesn't unintentionally appear when
5291 someone does a show_all.
5293 2007-09-25 Xan Lopez <xan.lopez@nokia.com>
5295 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_text)
5296 (hildon_bread_crumb_trail_push_icon): Do not show the separator for the
5297 toplevel item. Fixes: NB#62031
5299 2007-09-24 Xan Lopez <xan.lopez@nokia.com>
5301 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_push_icon):
5302 fix the name of the function in the docs.
5304 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5310 * debian/changelog: Updating.
5312 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5314 * examples/hildon-banner-long-example.c: Adding a test-case for long
5317 * src/hildon-find-toolbar.c: Fixing the get_last_index function.
5319 2007-09-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5321 * src/hildon-color-chooser-dialog.c:
5322 * src/hildon-color-chooser.c:
5323 * src/hildon-font-selection-dialog.c: Adding two patches by Tommi to fix
5324 memory leaks in font selector and color selector. Fixes: NB#70499 and
5327 2007-09-20 Johan Bilien <johan.bilien@nokia.com>
5329 * src/hildon-helper.c: Fixed the leak of the a GList. Fixes: NB#70273.
5331 2007-09-18 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5333 * src/hildon-code-dialog.c: Making the hardcoded WIDTH/HEIGHT values a
5334 little bit bigger. Fixes: #NB63694.
5336 2007-09-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5342 * debian/changelog: Updating.
5344 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5347 * doc/hildon-docs.sgml:
5348 * doc/images/bread-crumb-trail.png:
5349 * doc/images/calendar-popup.png:
5350 * doc/images/caption.png:
5351 * doc/images/code-dialog.png:
5352 * doc/images/color-button.png:
5353 * doc/images/color-chooser-dialog.png:
5354 * doc/images/color-chooser.png:
5355 * doc/images/controlbar.png:
5356 * doc/images/date-editor.png:
5357 * doc/images/font-selection-dialog.png:
5358 * doc/images/get-password-dialog.png:
5359 * doc/images/hvolumebar.png:
5360 * doc/images/login-dialog.png:
5361 * doc/images/note.png:
5362 * doc/images/number-editor.png:
5363 * doc/images/range-editor.png:
5364 * doc/images/seekbar.png:
5365 * doc/images/set-password-dialog.png:
5366 * doc/images/sort-dialog.png:
5367 * doc/images/time-editor.png:
5368 * doc/images/time-picker.png:
5369 * doc/images/vvolumebar.png:
5370 * doc/images/weekday-picker.png: Adding the new generated widget shots.
5371 Adding the bread-crumb-trial and helpers to the documentation.
5373 2007-09-14 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5375 * examples/hildon-find-toolbar-example.c:
5376 * src/hildon-find-toolbar.c:
5377 * src/hildon-find-toolbar.h: FIxing the default history-append handler to
5378 actually continue firing the other handlers if connected. Adding a new
5380 hildon_find_toolbar_get_last_index that gets the index of the most
5381 recently added (last) item. Fixes: NB#52301.
5383 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5385 * src/hildon-caption.c: Applying a patch by Tommi to fix the focus
5386 behaviour. Fixes: NB#68610.
5388 2007-09-10 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5390 * src/hildon-banner.c: Actually reverting the previous change. It somehow
5393 2007-09-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5395 * src/hildon-banner.c: Changing the infobanner background pixmap to NULL
5396 when realizing the banner. Should make the infonbanner effect a bit more
5399 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5401 * src/hildon-volumebar.c:
5402 * src/hildon-volumebar.h: Changing the GtkWidget to HildonVolumebar in
5403 hildon_volumebar_set_range_insensitive_message and
5404 hildon_volumebar_set_range_insensitive_messagef. Fixes MB#1848.
5406 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5408 * src/hildon-window.c: Fixing the border freeing on destroy.
5410 2007-09-05 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5412 * src/hildon-code-dialog-private.h:
5413 * src/hildon-code-dialog.c: Adding a patch by Tomas Junnonen to fix the
5414 kw keyboard support in HildonCodeDialog.
5416 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5422 * debian/changelog: Updating.
5424 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5426 * src/hildon-date-editor.c:
5427 * src/hildon-number-editor.c:
5428 * src/hildon-private.c:
5429 * src/hildon-private.h:
5430 * src/hildon-time-editor.c:
5431 * src/hildon-weekday-picker.c: A patch by Xan Lopez to fix focus
5432 handling in subclassed composite widgets. Fixes: NB#66628.
5434 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5436 * src/hildon-window.c: Removing extra gtk_main_iteration () processing
5437 from destroy_ callback as it introduces problems in async dbus signal
5438 handlers. Fixes NB#66673.
5440 2007-08-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5442 * examples/hildon-hvolumebar-example.c:
5443 * src/hildon-volumebar.c: Improving the focus handling in the
5444 volumebar widgets. Fixes NB#63955 and NB#65155. Also fixing the
5445 set_property accessor so that "mute" property can be actually set. I'm
5446 scared that nobody noticed it's totally broken.
5448 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5450 * debian/control: Use libesd0-dev or osso-esd-dev as esd dependancy.
5453 2007-08-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5455 * src/hildon-calendar.c:
5456 * src/hildon-number-editor.c:
5457 * src/hildon-time-picker.c: Changing the timeout repeat so that it
5458 matches the spec of 6 chars per second. Fixes: NB#60489.
5460 2007-08-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5462 * src/hildon-helper.c: Really fixing NB#58352. Looks like
5463 gtk_style_lookup_color sometime returns FALSE even though color was
5464 found and values were filled properly. Weird. Removing the warning for the
5467 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5469 * src/hildon-find-toolbar.c: Puting the combobox inside alignment to not
5470 expand vertically. Adding some extra space to the find toolbar buttons to
5471 make them thumbable. Fixes NB#66060.
5473 2007-08-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5475 * src/hildon-calendar-popup.c: Replacing the "Done" button in the calendar
5476 popup with "Ok" and "Cancel". Fixes NB#59299.
5478 2007-08-20 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5480 * src/hildon-calendar.c: Process all window updates before executing next
5481 timeout. Fixes: NB#54146.
5483 2007-08-17 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5489 * debian/changelog: Updating.
5491 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5493 * src/hildon-banner.c: (hildon_banner_client_event): connect directly to
5494 the client event and ignore it, since we use the delete event to close
5497 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5499 * src/hildon-helper.c: Remove the bogus warning about color not being
5500 found. Fixes NB#58352.
5502 2007-08-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5504 * examples/Makefile.am:
5505 * examples/hildon-toolbar-seekbar-example.c: Adding an example to test a
5506 HildonSeekbar widget inside a toolbar.
5508 2007-08-16 Xan Lopez <xan.lopez@nokia.com>
5510 * src/hildon-banner.c (hildon_banner_init): mark the banners as
5511 temporary, depends on maemo-gtk >= 2.10.12-osso7. Also ignore the
5512 delete event that will come from _GTK_DELETE_TEMPORARIES, as we
5513 don't want to be closed by non-temporary windows on map.
5515 Also use G_DEFINE_TYPE instead of manually typed code.
5517 2007-08-06 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5524 * debian/rules: Updating.
5526 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5528 * examples/Makefile.am:
5529 * examples/hildon-hvolumebar-timer-example.c: Adding an exmaple to debug
5530 bug NB#61128. Strangely it works.
5532 2007-08-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5534 * src/hildon-date-editor.c: When the date editor entry has been changed
5535 but the numbers of characters < max, turn off the skip validation flag.
5536 Prevents a situation when we enter first a valid year and later re-write
5537 it with an invalid one. Fixes NB#60154.
5539 2007-07-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5541 * src/hildon-code-dialog.c: Fixing the dialog button alignment inside the
5542 code dialog. Fixes NB#64355.
5544 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5546 * src/hildon-wizard-dialog.c: Don't call the _set_sensitivity again after
5547 switching the page. Fixes NB#49374.
5549 * examples/Makefile.am:
5550 * examples/hildon-wizard-dialog-example.c: Adding an example for
5551 HildonWizardDialog that shows how to handle manual sensitivity setting on
5554 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5558 * src/hildon-version.h.in:
5559 * src/hildon.h: Adding the HILDON_CHECK_VERSION macro. Fixes: NB#62061.
5561 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5563 * src/hildon-volumebar.c: Updating the docs.
5565 2007-07-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5571 * debian/changelog: Updating.
5573 2007-07-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5575 * src/hildon-find-toolbar.c:
5576 * src/hildon-find-toolbar.h: Adding a few new functions to control the
5577 selected item: hildon_find_toolbar_set_active,
5578 hildon_find_toolbar_set_active_iter, hildon_find_toolbar_get_active,
5579 hildon_find_toolbar_get_active_iter . They correspond to respective
5580 GtkComboBox functions.
5582 * examples/Makefile.am:
5583 * examples/hildon-find-toolbar-example.c: Adding the example to test the
5586 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5588 * examples/Makefile.am:
5589 * examples/hildon-seekbar-example.c: Adding the seekbar example to check
5592 * src/hildon-font-selection-dialog.c: Fixing the default focus for dialog
5593 when font size > 32 and we pack a focusable widget inside. Actually using
5594 the default response would work too, but since we don't show default
5595 response state in any way (no theming) it would not be visible to the
5596 user. Fixes NB#63430.
5598 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5600 * src/hildon-date-editor.c: Adding the missing variable setter in the
5601 set_property handler. Fixes NB#54182.
5603 2007-07-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5605 * src/hildon-window.h: Changing the long key press time from 1500ms to
5606 800ms as requested in NB#63700. I have a bad feeling about this, let's
5607 see... Fixes NB#63700.
5609 2007-07-12 Tommi Komulainen <tommi.komulainen@nokia.com>
5611 * src/hildon-time-picker.c (hildon_time_picker_class_init,
5612 hildon_time_picker_map, hildon_time_picker_realize,
5613 hildon_time_picker_style_set): Split the contents of map to more
5614 appropriate functions; set window decorations on realize and update
5615 arrows' size requisitions on style-set. Avoids unnecessary resizing.
5617 2007-07-02 Xan Lopez <xan.lopez@nokia.com>
5622 * debian/changelog: Updating.
5624 2007-07-02 Johan Bilien <johan.bilien@nokia.com>
5626 * src/Makefile.am: fixed installation of the header files
5628 2007-06-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5634 * debian/changelog: Updating.
5636 2007-06-27 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5638 * configure.ac: Removing some remaining of --enable-xan.
5640 2007-06-26 Xan Lopez <xan.lopez@nokia.com>
5642 * src/hildon-date-editor.c: (hildon_date_editor_keypress):
5643 * src/hildon-time-editor.c: (hildon_time_editor_entry_keypress):
5645 Move all focus crazyness to the rc files. This depends on gtk+2.0 >=
5646 2.10.12-osso6 because the move-focus signal needs to be available in
5649 2007-06-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5651 * examples/Makefile.am:
5652 * examples/hildon-hvolumebar-insensitive-map-example.c: Adding an example
5653 that makes a HildonVolumebar insensitive before mapping it. Seems to work
5654 fine. Prolly NB#61128 is fixed now.
5656 2007-06-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5658 * src/hildon-volumebar.c:
5659 * src/hildon-volumebar.h: Adding the
5660 hildon_volumebar_set_range_insensitive_message and
5661 hildon_volumebar_set_range_insensitive_messagef functions to set
5662 insensitive message on the slider of the volumebar. Fixes NB#61129.
5664 * examples/Makefile.am:
5665 * examples/hildon-hvolumebar-insensitive-example.c: Adding an example to
5666 test the new insensitive messsage functionality on HildonVolumebar.
5668 2007-06-14 Xan Lopez <xan.lopez@nokia.com>
5670 * src/hildon-private.c (hildon_private_composite_focus): make the focus handler
5673 2007-06-13 Xan Lopez <xan.lopez@nokia.com>
5675 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_clear): workaround
5676 http://bugzilla.gnome.org/show_bug.cgi?id=56070 hiding and showing the back
5677 button on after clearing the trail.
5679 2007-06-13 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5681 * src/hildon-code-dialog.c: Removing the separator from the dialog.
5683 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5685 * src/Makefile.am: remove circular dependency in hildon-enum-types.h creation
5686 by splitting the installed headers in generated and non-generated groups. Use
5687 only the non-generated headers to create the hildon-enum-types.h file.
5689 * src/hildon-seekbar.h: gtkscale.h already includes gtkrange.h.
5691 2007-06-12 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5693 * src/hildon-window.c: Hide the window before performing the destroy.
5694 Should make the app closing a little tiny bit more snappy.
5696 2007-06-12 Xan Lopez <xan.lopez@nokia.com>
5698 * src/hildon-seekbar.c: add gtkrange.h header
5699 * src/hildon-caption.c: remove unused variable
5701 2007-06-08 Tommi Komulainen <tommi.komulainen@nokia.com>
5703 * configure.ac: Remove dysfunctional AC_ARG_ENABLE. Pointed out by
5706 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5712 * debian/changelog: Updating.
5714 2007-06-07 Tommi Komulainen <tommi.komulainen@nokia.com>
5716 * src/hildon-window.c (hildon_window_window_state_event,
5717 hildon_window_is_topmost_notify, hildon_window_class_init): Stop the
5718 escape timeout on focus-out-event rather than notify::is-topmost; the
5719 latter doesn't get called when menus pop up. Fixes: NB#52946, MB#1101
5721 2007-06-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5723 * src/hildon-window.c: Adding a patch from Tommi Komulainen to pass the
5724 correct timestamp and button to gtk_menu_popup. Fixes MB#1466.
5726 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5728 * src/hildon-window: actually, you need to use the macro always, there's
5729 no private pointer in the instance structure. We should have cleaned this up
5730 when we had the chance...
5732 2007-06-07 Xan Lopez <xan.lopez@nokia.com>
5734 * src/hildon-window.c: do not get the private date from HildonWindow before
5735 it passes the g_return_if_fail check. Once it's passed the test, there's no
5736 need to g_assert that it exists. Do not create a HildonWindowPrivate variable
5737 if you are only going to access the data once. Whitespace cleanups.
5739 2007-06-04 Xan Lopez <xan.lopez@nokia.com>
5741 * src/hildon-bread-crumb-trail.c: set children visible before allocation.
5742 * src/hildon-bread-crumb-widget.c: set xalign to 0.0 for labels.
5744 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5750 * debian/changelog: Updating.
5752 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5754 * src/hildon-window.c: When destroying the window, remove (if exists) the
5755 escape timeout handler. Fixes #NB59276.
5757 2007-06-01 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5759 * src/hildon-banner.c: When realizing the widget, set the window
5760 transiency. Setting the transiency in the gobject constructor is not
5761 good, as the widget is not realized at that point. Fixes: #NB56624.
5763 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5765 * src/hildon-bread-crumb-trail.h (struct _HildonBreadCrumbTrailClass):
5766 Add padding for future expansions.
5768 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5770 * src/hildon-bread-crumb-trail.c (hildon_bread_crumb_trail_class_init):
5771 Add a new signal "move-parent", bind Escape and BackSpace to it. The handler
5772 will fake an activation on the previous to the last item of the trail, so
5773 the effect can be overrided by the developer as usual.
5774 Also change the callback for the back button to do the same thing, so its
5775 effect can be overrided too. Fixes: NB#58982
5777 2007-05-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5779 * src/hildon-caption.c: Implementing the proper focus grabbing in the
5780 HildonCaption. Fixes NB#52379.
5782 2007-05-30 Xan Lopez <xan.lopez@nokia.com>
5784 * src/hildon-bread-crumb-trail.c (crumb_activated_cb): be very paranoid about
5785 the internal state of the trail after the user has had the chance of executing
5786 his handler for the signal. Specifically, it may happen that the activated button
5787 is removed and the user still lets the default handler run. This would segfault
5790 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5792 * src/hildon-font-selection-dialog.c: When the font is really big, add the
5793 scrollbar to the preview dialog. Fixes NB#54147.
5795 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5797 * src/hildon-date-editor.c: Changing the default max year to 2037. The
5798 max/min year properties can be altered, so the client can modify it
5799 anyways. 1970 - 2037 sounds like a sane default. Fixes NB#54147.
5801 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5803 * src/hildon-calendar.c: Removing the unused 'hildonlike' property, making
5804 hildonlike by default. Fixing a problem with disappearing arrows when
5805 scrolling through months and years. Fixes NB#54127.
5807 2007-05-28 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5809 * examples/hildon-date-editor-example.c: Adding error callback to the date
5812 2007-05-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5818 * configure.ac: Updating.
5820 2007-05-24 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5822 * configure.ac: Adding a special '--enable-xan' configure option that
5823 turns off the -Werror compilation setting. Usefull for development.
5825 * src/hildon-calendar.c:
5826 * src/hildon-number-editor.c:
5827 * src/hildon-time-picker.c: Adding the 5* multiplier to
5830 2007-05-24 Xan Lopez <xan.lopez@nokia.com>
5832 * src/hildon-note.c (hildon_note_init): Use g_object_ref_sink
5833 instead of g_object_ref + gtk_object_sink.
5835 2007-05-22 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5841 * debian/changelog: Updating.
5843 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5845 * src/hildon-color-chooser-dialog.c:
5846 * src/hildon-color-chooser.c: A few more GdkColor struct allocation fixes
5847 straight from Tommi labs.
5849 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5851 * examples/hildon-finger-example.c: Correcting the header file path.
5853 * src/hildon-color-chooser-dialog.c: Allocate the color on the stack for
5854 the changed signal. Fixes a small memory leak.
5856 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5860 * src/hildon-banner.c: Importing several usefull fixes from the
5861 ubuntu-mobile branch.
5863 2007-05-21 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5865 * examples/Makefile.am:
5866 * examples/hildon-finger-example.c: Adding a finger-checking code
5869 * src/hildon-font-selection-dialog.c: Do not allocate the color
5870 structure using the g_new. Fixes NB#54061.
5872 2007-05-09 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5874 * src/hildon-helper.c: Correcting tabs in file.
5876 2007-05-08 Xan Lopez <xan.lopez@nokia.com>
5878 * src/hildon-bread-crumb-trail.c: Use set_child_visible only to
5879 control the visibility of the children.
5881 * examples/hildon-bread-crumb-trail-example.c: Plug leak.
5883 2007-05-07 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5889 * debian/changelog: Updating.
5891 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5893 * src/hildon-bread-crumb-trail.c:
5894 (hildon_bread_crumb_trail_size_allocate):
5896 Make the back button always a square.
5898 2007-05-04 Xan Lopez <xan.lopez@nokia.com>
5900 * src/hildon-bread-crumb-trail.h: Include hildon-bread-crumb-widget.h
5901 from the .c file as it's a private file.
5903 2007-05-03 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5905 * examples/hildon-vvolumebar-example.c: The VVolumebar example now
5906 uses slightly bigger height.
5908 * src/hildon-font-selection-dialog.c: Adding some checks before
5909 freeing memory in the font selection dialog.
5911 2007-05-02 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5913 * src/hildon-font-selection-dialog.c: Adding a small check when
5916 * src/hildon-wizard-dialog.c: Applying a patch by Iain Holmes to fix
5917 buttons sensitivity on page switching.
5919 2007-04-27 Xan Lopez <xan.lopez@nokia.com>
5921 * src/hildon-bread-crumb-trail.c: make the add method handle all the
5922 internal details of adding a bread crumb to the trail.
5924 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5930 * debian/changelog: Updating.
5932 * src/hildon-bread-crumb-trail.h:
5933 * src/hildon-bread-crumb.h: Changing the API guard to
5934 HILDON_ENABLE_UNSTABLE_API.
5936 2007-04-26 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5944 * src/hildon-helper.h: Updating.
5946 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5954 2007-04-25 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5958 * src/hildon-helper.h: Small fix to make the package actually compile.
5960 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
5962 * src/hildon-bread-crumb-trail.h:
5963 * src/hildon-bread-crumb.h:
5965 Guard with ENABLE_UNSTABLE_API. To use the bread crumb you'll need
5966 to define ENABLE_UNSTABLE_API in the code that includes these headers.
5968 2007-04-25 Xan Lopez <xan.lopez@nokia.com>
5970 * examples/hildon-bread-crumb-trail-example.c:
5972 * src/hildon-bread-crumb-trail.c:
5973 * src/hildon-bread-crumb-trail.h:
5974 * src/hildon-bread-crumb.c:
5975 * src/hildon-bread-crumb.h:
5976 * src/hildon-marshalers.list:
5977 * src/hildon-bread-crumb-widget.c:
5978 * src/hildon-bread-crumb-widget.h:
5980 Slight change in the widget design. The bread crumb trail API is
5981 unchanged, but HildonBreadCrumb is now an interface. A *private*
5982 implementation, hildon-bread-crumb-widget, is provided and used
5983 internally by the trail for the push_text/push_icon functions.
5985 The generic push API is still available, so anyone can implement
5986 and use its own bread crumb widget.
5988 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5990 * debian/rules: Fixing the shlibs.
5992 2007-04-19 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
5994 * src/hildon-banner.c: Fixing a problem with timed banners having
5995 their parrent destroyed before they are.
5997 2007-04-17 Xan Lopez <xan.lopez@nokia.com>
5999 * src/hildon-bread-crumb.c:
6000 * src/hildon-bread-crumb.h:
6002 Make the get_natural_size function a vfunc.
6004 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6006 * src/hildon-bread-crumb.c:
6007 * src/hildon-bread-crumb-trail.c:
6011 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6018 * debian/changelog: Updating for release.
6020 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6022 * src/hildon-bread-crumb.c (hildon_bread_crumb_get_natural_size):
6023 don't leak the pango layout.
6025 2007-04-16 Xan Lopez <xan.lopez@nokia.com>
6028 * examples/hildon-bread-crumb-trail-example.c:
6032 2007-04-16 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6034 * debian/changelog: Removing the bug-fixed entries that were actually
6035 resolved as WONTFIX.
6037 * src/hildon-date-editor.c: Removing a redundant check. Fixes
6040 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6042 * src/hildon-bread-crumb-trail.c:
6043 * src/hildon-bread-crumb-trail.h:
6044 * src/hildon-bread-crumb.c:
6045 * src/hildon-bread-crumb.h:
6049 2007-04-13 Xan Lopez <xan.lopez@nokia.com>
6051 * src/hildon-bread-crumb-trail.c: don't use the priv data of bct
6052 until it's passed the type check.
6054 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6056 * examples/hildon-bread-crumb-trail-example.c
6060 2007-04-12 Xan Lopez <xan.lopez@nokia.com>
6062 * examples/Makefile.am
6063 * examples/hildon-bread-crumb-trail-example.c
6065 * src/hildon-bread-crumb-trail.c
6066 * src/hildon-bread-crumb-trail.h
6067 * src/hildon-bread-crumb.c
6068 * src/hildon-bread-crumb.h
6070 New HildonBreadCrumbTrail widget.
6072 2007-04-02 Lucas Rocha <lucas.rocha@nokia.com>
6074 * src/hildon-range-editor.c (hildon_range_editor_init),
6075 src/hildon-seekbar.c (hildon_seekbar_get_fraction,
6076 hildon_seekbar_set_fraction, hildon_seekbar_set_position),
6077 src/hildon-time-editor.c (hildon_time_editor_tap_and_hold_setup,
6078 hildon_time_editor_class_init, hildon_time_editor_init),
6079 src/hildon-get-password-dialog.c (invalid_input,
6080 hildon_get_password_set_property, hildon_get_password_get_property,
6081 create_contents, hildon_get_password_dialog_set_max_characters),
6082 src/hildon-set-password-dialog.c (create_contents),
6083 src/hildon-date-editor.c (hildon_date_editor_init),
6084 src/hildon-login-dialog.c (hildon_login_dialog_init),
6085 src/hildon-number-editor.c (hildon_number_editor_init),
6086 src/hildon-find-toolbar.c (hildon_find_toolbar_emit_invalid_input,
6087 hildon_find_toolbar_emit_close, hildon_find_toolbar_init): made all
6088 the Maemo GTK+ specific API optional by adding a --with-maemo-gtk
6089 configure option and adding the respective checks in the code.
6090 * src/hildon-calendar.c (hildon_calendar_paint_week_numbers,
6091 hildon_calendar_drag_data_received): fixed some build warnings.
6093 2007-03-29 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
6095 * debian/changelog: A 1.0.0 release notes.